# 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_type7tbxqpyg/tests/tests_states_nm.yml PLAY [Run playbook 'playbooks/tests_states.yml' with nm as provider] *********** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-route_type7tbxqpyg/tests/tests_states_nm.yml:6 Monday 08 January 2024 14:11:33 +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_type7tbxqpyg/tests/tests_states_nm.yml:9 Monday 08 January 2024 14:11:34 +0000 (0:00:00.939) 0:00:00.952 ******** included: /WORKDIR/git-route_type7tbxqpyg/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_type7tbxqpyg/tests/tasks/el_repo_setup.yml:3 Monday 08 January 2024 14:11:34 +0000 (0:00:00.036) 0:00:00.988 ******** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-route_type7tbxqpyg/tests/tasks/el_repo_setup.yml:19 Monday 08 January 2024 14:11:35 +0000 (0:00:00.530) 0:00:01.518 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-route_type7tbxqpyg/tests/tasks/el_repo_setup.yml:24 Monday 08 January 2024 14:11:35 +0000 (0:00:00.267) 0:00:01.786 ******** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-route_type7tbxqpyg/tests/tasks/el_repo_setup.yml:28 Monday 08 January 2024 14:11:35 +0000 (0:00:00.023) 0:00:01.809 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-route_type7tbxqpyg/tests/tasks/el_repo_setup.yml:53 Monday 08 January 2024 14:11:35 +0000 (0:00:00.018) 0:00:01.827 ******** included: /WORKDIR/git-route_type7tbxqpyg/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 38] ********************************************************** task path: /WORKDIR/git-route_type7tbxqpyg/tests/tasks/enable_epel.yml:8 Monday 08 January 2024 14:11:35 +0000 (0:00:00.043) 0:00:01.871 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Install yum-utils package] *********************************************** task path: /WORKDIR/git-route_type7tbxqpyg/tests/tasks/enable_epel.yml:24 Monday 08 January 2024 14:11:35 +0000 (0:00:00.027) 0:00:01.899 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-route_type7tbxqpyg/tests/tasks/enable_epel.yml:30 Monday 08 January 2024 14:11:35 +0000 (0:00:00.033) 0:00:01.932 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-route_type7tbxqpyg/tests/tasks/enable_epel.yml:35 Monday 08 January 2024 14:11:35 +0000 (0:00:00.015) 0:00:01.948 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-route_type7tbxqpyg/tests/tasks/enable_epel.yml:40 Monday 08 January 2024 14:11:35 +0000 (0:00:00.009) 0:00:01.958 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /WORKDIR/git-route_type7tbxqpyg/tests/tests_states_nm.yml:11 Monday 08 January 2024 14:11:35 +0000 (0:00:00.008) 0:00:01.966 ******** 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_type7tbxqpyg/tests/playbooks/tests_states.yml:3 Monday 08 January 2024 14:11:35 +0000 (0:00:00.010) 0:00:01.977 ******** ok: [sut] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-route_type7tbxqpyg/tests/playbooks/tests_states.yml:11 Monday 08 January 2024 14:11:36 +0000 (0:00:00.775) 0:00:02.753 ******** ok: [sut] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-route_type7tbxqpyg/tests/playbooks/tests_states.yml:22 Monday 08 January 2024 14:11:36 +0000 (0:00:00.010) 0:00:02.763 ******** included: /WORKDIR/git-route_type7tbxqpyg/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile] ******************************************** task path: /WORKDIR/git-route_type7tbxqpyg/tests/playbooks/tasks/run_test.yml:5 Monday 08 January 2024 14:11:36 +0000 (0:00:00.015) 0:00:02.779 ******** ok: [sut] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_type7tbxqpyg/tests/playbooks/tasks/run_test.yml:9 Monday 08 January 2024 14:11:36 +0000 (0:00:00.010) 0:00:02.790 ******** 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_type7tbxqpyg/tests/playbooks/tasks/run_test.yml:21 Monday 08 January 2024 14:11:36 +0000 (0:00:00.031) 0:00:02.822 ******** included: /WORKDIR/git-route_type7tbxqpyg/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_type7tbxqpyg/tests/playbooks/tasks/show_interfaces.yml:3 Monday 08 January 2024 14:11:36 +0000 (0:00:00.013) 0:00:02.836 ******** included: /WORKDIR/git-route_type7tbxqpyg/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_type7tbxqpyg/tests/playbooks/tasks/get_current_interfaces.yml:3 Monday 08 January 2024 14:11:36 +0000 (0:00:00.013) 0:00:02.849 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.003905", "end": "2024-01-08 14:11:37.774035", "rc": 0, "start": "2024-01-08 14:11:36.770130" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_type7tbxqpyg/tests/playbooks/tasks/get_current_interfaces.yml:9 Monday 08 January 2024 14:11:37 +0000 (0:00:01.253) 0:00:04.102 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_type7tbxqpyg/tests/playbooks/tasks/show_interfaces.yml:5 Monday 08 January 2024 14:11:37 +0000 (0:00:00.012) 0:00:04.115 ******** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_type7tbxqpyg/tests/playbooks/tasks/run_test.yml:24 Monday 08 January 2024 14:11:37 +0000 (0:00:00.011) 0:00:04.126 ******** included: /WORKDIR/git-route_type7tbxqpyg/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-route_type7tbxqpyg/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-route_type7tbxqpyg/tests/playbooks/tasks/delete_interface.yml:3 Monday 08 January 2024 14:11:37 +0000 (0:00:00.022) 0:00:04.149 ******** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.008053", "end": "2024-01-08 14:11:38.026502", "rc": 1, "start": "2024-01-08 14:11:38.018449" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_type7tbxqpyg/tests/playbooks/tasks/assert_device_absent.yml:3 Monday 08 January 2024 14:11:38 +0000 (0:00:00.204) 0:00:04.354 ******** included: /WORKDIR/git-route_type7tbxqpyg/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_type7tbxqpyg/tests/playbooks/tasks/get_interface_stat.yml:3 Monday 08 January 2024 14:11:38 +0000 (0:00:00.015) 0:00:04.369 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_type7tbxqpyg/tests/playbooks/tasks/assert_device_absent.yml:5 Monday 08 January 2024 14:11:38 +0000 (0:00:00.199) 0:00:04.568 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_type7tbxqpyg/tests/playbooks/tasks/run_test.yml:30 Monday 08 January 2024 14:11:38 +0000 (0:00:00.014) 0:00:04.582 ******** included: /WORKDIR/git-route_type7tbxqpyg/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type7tbxqpyg/tests/playbooks/tasks/create_bridge_profile.yml:3 Monday 08 January 2024 14:11:38 +0000 (0:00:00.017) 0:00:04.600 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 08 January 2024 14:11:38 +0000 (0:00:00.035) 0:00:04.636 ******** included: /WORKDIR/git-route_type7tbxqpyg/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_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 08 January 2024 14:11:38 +0000 (0:00:00.071) 0:00:04.707 ******** 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_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 08 January 2024 14:11:38 +0000 (0:00:00.012) 0:00:04.719 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-route_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 08 January 2024 14:11:38 +0000 (0:00:00.010) 0:00:04.729 ******** 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_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 08 January 2024 14:11:38 +0000 (0:00:00.022) 0:00:04.752 ******** 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_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 08 January 2024 14:11:40 +0000 (0:00:02.315) 0:00:07.067 ******** 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_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 08 January 2024 14:11:41 +0000 (0:00:01.072) 0:00:08.140 ******** 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_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 08 January 2024 14:11:41 +0000 (0:00:00.034) 0:00:08.174 ******** 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_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 08 January 2024 14:11:41 +0000 (0:00:00.023) 0:00:08.197 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/main.yml:30 Monday 08 January 2024 14:11:41 +0000 (0:00:00.026) 0:00:08.223 ******** 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_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/main.yml:40 Monday 08 January 2024 14:11:41 +0000 (0:00:00.046) 0:00:08.270 ******** 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_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/main.yml:55 Monday 08 January 2024 14:11:41 +0000 (0:00:00.023) 0:00:08.294 ******** 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_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/main.yml:71 Monday 08 January 2024 14:11:42 +0000 (0:00:00.023) 0:00:08.318 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/main.yml:85 Monday 08 January 2024 14:11:42 +0000 (0:00:00.029) 0:00:08.347 ******** 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_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/main.yml:96 Monday 08 January 2024 14:11:42 +0000 (0:00:00.746) 0:00:09.094 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/main.yml:105 Monday 08 January 2024 14:11:42 +0000 (0:00:00.034) 0:00:09.129 ******** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/main.yml:113 Monday 08 January 2024 14:11:42 +0000 (0:00:00.031) 0:00:09.160 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/main.yml:122 Monday 08 January 2024 14:11:42 +0000 (0:00:00.025) 0:00:09.186 ******** 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, 11d30f01-039a-4d7d-bb6a-9276940e3953 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/main.yml:134 Monday 08 January 2024 14:11:43 +0000 (0:00:00.564) 0:00:09.750 ******** 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_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/main.yml:140 Monday 08 January 2024 14:11:43 +0000 (0:00:00.023) 0:00:09.773 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 11d30f01-039a-4d7d-bb6a-9276940e3953" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/main.yml:144 Monday 08 January 2024 14:11:43 +0000 (0:00:00.023) 0:00:09.797 ******** 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, 11d30f01-039a-4d7d-bb6a-9276940e3953\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 11d30f01-039a-4d7d-bb6a-9276940e3953" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/main.yml:149 Monday 08 January 2024 14:11:43 +0000 (0:00:00.023) 0:00:09.820 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/main.yml:155 Monday 08 January 2024 14:11:43 +0000 (0:00:00.023) 0:00:09.844 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_type7tbxqpyg/tests/playbooks/tasks/create_bridge_profile.yml:14 Monday 08 January 2024 14:11:43 +0000 (0:00:00.301) 0:00:10.146 ******** 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, 11d30f01-039a-4d7d-bb6a-9276940e3953\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 11d30f01-039a-4d7d-bb6a-9276940e3953" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_type7tbxqpyg/tests/playbooks/tasks/run_test.yml:36 Monday 08 January 2024 14:11:43 +0000 (0:00:00.026) 0:00:10.172 ******** included: /WORKDIR/git-route_type7tbxqpyg/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_type7tbxqpyg/tests/playbooks/tasks/assert_profile_present.yml:3 Monday 08 January 2024 14:11:43 +0000 (0:00:00.045) 0:00:10.218 ******** included: /WORKDIR/git-route_type7tbxqpyg/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_type7tbxqpyg/tests/playbooks/tasks/get_profile_stat.yml:3 Monday 08 January 2024 14:11:43 +0000 (0:00:00.064) 0:00:10.283 ******** 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_type7tbxqpyg/tests/playbooks/tasks/get_profile_stat.yml:9 Monday 08 January 2024 14:11:44 +0000 (0:00:00.024) 0:00:10.307 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_type7tbxqpyg/tests/playbooks/tasks/get_profile_stat.yml:17 Monday 08 January 2024 14:11:44 +0000 (0:00:00.210) 0:00:10.517 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_type7tbxqpyg/tests/playbooks/tasks/get_profile_stat.yml:25 Monday 08 January 2024 14:11:44 +0000 (0:00:00.022) 0:00:10.540 ******** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.023157", "end": "2024-01-08 14:11:44.433993", "rc": 0, "start": "2024-01-08 14:11:44.410836" } 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_type7tbxqpyg/tests/playbooks/tasks/get_profile_stat.yml:35 Monday 08 January 2024 14:11:44 +0000 (0:00:00.234) 0:00:10.774 ******** 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_type7tbxqpyg/tests/playbooks/tasks/get_profile_stat.yml:49 Monday 08 January 2024 14:11:44 +0000 (0:00:00.025) 0:00:10.799 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_type7tbxqpyg/tests/playbooks/tasks/get_profile_stat.yml:56 Monday 08 January 2024 14:11:44 +0000 (0:00:00.023) 0:00:10.822 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_type7tbxqpyg/tests/playbooks/tasks/get_profile_stat.yml:62 Monday 08 January 2024 14:11:44 +0000 (0:00:00.024) 0:00:10.847 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_type7tbxqpyg/tests/playbooks/tasks/get_profile_stat.yml:69 Monday 08 January 2024 14:11:44 +0000 (0:00:00.026) 0:00:10.874 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-route_type7tbxqpyg/tests/playbooks/tasks/assert_profile_present.yml:5 Monday 08 January 2024 14:11:44 +0000 (0:00:00.024) 0:00:10.898 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-route_type7tbxqpyg/tests/playbooks/tasks/assert_profile_present.yml:10 Monday 08 January 2024 14:11:44 +0000 (0:00:00.025) 0:00:10.924 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-route_type7tbxqpyg/tests/playbooks/tasks/assert_profile_present.yml:15 Monday 08 January 2024 14:11:44 +0000 (0:00:00.035) 0:00:10.960 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_type7tbxqpyg/tests/playbooks/tasks/run_test.yml:42 Monday 08 January 2024 14:11:44 +0000 (0:00:00.032) 0:00:10.993 ******** included: /WORKDIR/git-route_type7tbxqpyg/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_type7tbxqpyg/tests/playbooks/tasks/assert_device_present.yml:3 Monday 08 January 2024 14:11:44 +0000 (0:00:00.074) 0:00:11.067 ******** included: /WORKDIR/git-route_type7tbxqpyg/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_type7tbxqpyg/tests/playbooks/tasks/get_interface_stat.yml:3 Monday 08 January 2024 14:11:44 +0000 (0:00:00.039) 0:00:11.107 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1704723103.3505776, "block_size": 4096, "blocks": 0, "ctime": 1704723103.3505776, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 38647, "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": 1704723103.3505776, "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_type7tbxqpyg/tests/playbooks/tasks/assert_device_present.yml:5 Monday 08 January 2024 14:11:45 +0000 (0:00:00.219) 0:00:11.326 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can create a profile'] ******************************** task path: /WORKDIR/git-route_type7tbxqpyg/tests/playbooks/tasks/run_test.yml:47 Monday 08 January 2024 14:11:45 +0000 (0:00:00.031) 0:00:11.357 ******** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_type7tbxqpyg/tests/playbooks/tasks/run_test.yml:66 Monday 08 January 2024 14:11:45 +0000 (0:00:00.024) 0:00:11.382 ******** included: /WORKDIR/git-route_type7tbxqpyg/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_type7tbxqpyg/tests/playbooks/tasks/cleanup_profile+device.yml:3 Monday 08 January 2024 14:11:45 +0000 (0:00:00.043) 0:00:11.425 ******** 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.066995", "end": "2024-01-08 14:11:45.365461", "rc": 1, "start": "2024-01-08 14:11:45.298466" } STDOUT: Connection 'statebr' (11d30f01-039a-4d7d-bb6a-9276940e3953) successfully deleted. STDERR: Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-route_type7tbxqpyg/tests/playbooks/tests_states.yml:45 Monday 08 January 2024 14:11:45 +0000 (0:00:00.279) 0:00:11.705 ******** included: /WORKDIR/git-route_type7tbxqpyg/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile without autoconnect] ************************ task path: /WORKDIR/git-route_type7tbxqpyg/tests/playbooks/tasks/run_test.yml:5 Monday 08 January 2024 14:11:45 +0000 (0:00:00.039) 0:00:11.745 ******** ok: [sut] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_type7tbxqpyg/tests/playbooks/tasks/run_test.yml:9 Monday 08 January 2024 14:11:45 +0000 (0:00:00.023) 0:00:11.768 ******** 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_type7tbxqpyg/tests/playbooks/tasks/run_test.yml:21 Monday 08 January 2024 14:11:45 +0000 (0:00:00.048) 0:00:11.817 ******** included: /WORKDIR/git-route_type7tbxqpyg/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_type7tbxqpyg/tests/playbooks/tasks/show_interfaces.yml:3 Monday 08 January 2024 14:11:45 +0000 (0:00:00.064) 0:00:11.881 ******** included: /WORKDIR/git-route_type7tbxqpyg/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_type7tbxqpyg/tests/playbooks/tasks/get_current_interfaces.yml:3 Monday 08 January 2024 14:11:45 +0000 (0:00:00.041) 0:00:11.923 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003798", "end": "2024-01-08 14:11:45.798752", "rc": 0, "start": "2024-01-08 14:11:45.794954" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_type7tbxqpyg/tests/playbooks/tasks/get_current_interfaces.yml:9 Monday 08 January 2024 14:11:45 +0000 (0:00:00.218) 0:00:12.141 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_type7tbxqpyg/tests/playbooks/tasks/show_interfaces.yml:5 Monday 08 January 2024 14:11:45 +0000 (0:00:00.031) 0:00:12.173 ******** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_type7tbxqpyg/tests/playbooks/tasks/run_test.yml:24 Monday 08 January 2024 14:11:45 +0000 (0:00:00.024) 0:00:12.197 ******** included: /WORKDIR/git-route_type7tbxqpyg/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-route_type7tbxqpyg/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-route_type7tbxqpyg/tests/playbooks/tasks/delete_interface.yml:3 Monday 08 January 2024 14:11:45 +0000 (0:00:00.051) 0:00:12.249 ******** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.006856", "end": "2024-01-08 14:11:46.143633", "rc": 1, "start": "2024-01-08 14:11:46.136777" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_type7tbxqpyg/tests/playbooks/tasks/assert_device_absent.yml:3 Monday 08 January 2024 14:11:46 +0000 (0:00:00.233) 0:00:12.483 ******** included: /WORKDIR/git-route_type7tbxqpyg/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_type7tbxqpyg/tests/playbooks/tasks/get_interface_stat.yml:3 Monday 08 January 2024 14:11:46 +0000 (0:00:00.038) 0:00:12.521 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_type7tbxqpyg/tests/playbooks/tasks/assert_device_absent.yml:5 Monday 08 January 2024 14:11:46 +0000 (0:00:00.215) 0:00:12.736 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_type7tbxqpyg/tests/playbooks/tasks/run_test.yml:30 Monday 08 January 2024 14:11:46 +0000 (0:00:00.028) 0:00:12.765 ******** included: /WORKDIR/git-route_type7tbxqpyg/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type7tbxqpyg/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Monday 08 January 2024 14:11:46 +0000 (0:00:00.093) 0:00:12.858 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 08 January 2024 14:11:46 +0000 (0:00:00.081) 0:00:12.939 ******** included: /WORKDIR/git-route_type7tbxqpyg/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_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 08 January 2024 14:11:46 +0000 (0:00:00.072) 0:00:13.012 ******** 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_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 08 January 2024 14:11:46 +0000 (0:00:00.040) 0:00:13.052 ******** 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_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 08 January 2024 14:11:46 +0000 (0:00:00.026) 0:00:13.079 ******** 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_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 08 January 2024 14:11:46 +0000 (0:00:00.032) 0:00:13.111 ******** 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_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 08 January 2024 14:11:49 +0000 (0:00:02.261) 0:00:15.373 ******** 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_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 08 January 2024 14:11:49 +0000 (0:00:00.916) 0:00:16.289 ******** 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_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 08 January 2024 14:11:50 +0000 (0:00:00.026) 0:00:16.316 ******** 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_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 08 January 2024 14:11:50 +0000 (0:00:00.042) 0:00:16.358 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/main.yml:30 Monday 08 January 2024 14:11:50 +0000 (0:00:00.055) 0:00:16.414 ******** 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_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/main.yml:40 Monday 08 January 2024 14:11:50 +0000 (0:00:00.049) 0:00:16.463 ******** 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_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/main.yml:55 Monday 08 January 2024 14:11:50 +0000 (0:00:00.023) 0:00:16.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_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/main.yml:71 Monday 08 January 2024 14:11:50 +0000 (0:00:00.022) 0:00:16.510 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/main.yml:85 Monday 08 January 2024 14:11:50 +0000 (0:00:00.028) 0:00:16.539 ******** 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_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/main.yml:96 Monday 08 January 2024 14:11:50 +0000 (0:00:00.576) 0:00:17.115 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/main.yml:105 Monday 08 January 2024 14:11:50 +0000 (0:00:00.028) 0:00:17.143 ******** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/main.yml:113 Monday 08 January 2024 14:11:50 +0000 (0:00:00.030) 0:00:17.174 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/main.yml:122 Monday 08 January 2024 14:11:50 +0000 (0:00:00.042) 0:00:17.217 ******** 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, 2a38c7d7-e135-4281-a01a-47ef34ab58f9 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/main.yml:134 Monday 08 January 2024 14:11:51 +0000 (0:00:00.387) 0:00:17.604 ******** 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_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/main.yml:140 Monday 08 January 2024 14:11:51 +0000 (0:00:00.025) 0:00:17.629 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 2a38c7d7-e135-4281-a01a-47ef34ab58f9" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/main.yml:144 Monday 08 January 2024 14:11:51 +0000 (0:00:00.024) 0:00:17.653 ******** 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, 2a38c7d7-e135-4281-a01a-47ef34ab58f9\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 2a38c7d7-e135-4281-a01a-47ef34ab58f9" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/main.yml:149 Monday 08 January 2024 14:11:51 +0000 (0:00:00.029) 0:00:17.682 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/main.yml:155 Monday 08 January 2024 14:11:51 +0000 (0:00:00.024) 0:00:17.707 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_type7tbxqpyg/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Monday 08 January 2024 14:11:51 +0000 (0:00:00.209) 0:00:17.916 ******** 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, 2a38c7d7-e135-4281-a01a-47ef34ab58f9\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 2a38c7d7-e135-4281-a01a-47ef34ab58f9" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_type7tbxqpyg/tests/playbooks/tasks/run_test.yml:36 Monday 08 January 2024 14:11:51 +0000 (0:00:00.028) 0:00:17.945 ******** included: /WORKDIR/git-route_type7tbxqpyg/tests/playbooks/tasks/assert_device_absent.yml for sut included: /WORKDIR/git-route_type7tbxqpyg/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_type7tbxqpyg/tests/playbooks/tasks/assert_device_absent.yml:3 Monday 08 January 2024 14:11:51 +0000 (0:00:00.052) 0:00:17.997 ******** included: /WORKDIR/git-route_type7tbxqpyg/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_type7tbxqpyg/tests/playbooks/tasks/get_interface_stat.yml:3 Monday 08 January 2024 14:11:51 +0000 (0:00:00.069) 0:00:18.067 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_type7tbxqpyg/tests/playbooks/tasks/assert_device_absent.yml:5 Monday 08 January 2024 14:11:51 +0000 (0:00:00.214) 0:00:18.282 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_type7tbxqpyg/tests/playbooks/tasks/assert_profile_present.yml:3 Monday 08 January 2024 14:11:52 +0000 (0:00:00.044) 0:00:18.327 ******** included: /WORKDIR/git-route_type7tbxqpyg/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_type7tbxqpyg/tests/playbooks/tasks/get_profile_stat.yml:3 Monday 08 January 2024 14:11:52 +0000 (0:00:00.041) 0:00:18.368 ******** 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_type7tbxqpyg/tests/playbooks/tasks/get_profile_stat.yml:9 Monday 08 January 2024 14:11:52 +0000 (0:00:00.025) 0:00:18.394 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_type7tbxqpyg/tests/playbooks/tasks/get_profile_stat.yml:17 Monday 08 January 2024 14:11:52 +0000 (0:00:00.209) 0:00:18.603 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_type7tbxqpyg/tests/playbooks/tasks/get_profile_stat.yml:25 Monday 08 January 2024 14:11:52 +0000 (0:00:00.023) 0:00:18.627 ******** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022814", "end": "2024-01-08 14:11:52.521210", "rc": 0, "start": "2024-01-08 14:11:52.498396" } 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_type7tbxqpyg/tests/playbooks/tasks/get_profile_stat.yml:35 Monday 08 January 2024 14:11:52 +0000 (0:00:00.234) 0:00:18.862 ******** 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_type7tbxqpyg/tests/playbooks/tasks/get_profile_stat.yml:49 Monday 08 January 2024 14:11:52 +0000 (0:00:00.025) 0:00:18.887 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_type7tbxqpyg/tests/playbooks/tasks/get_profile_stat.yml:56 Monday 08 January 2024 14:11:52 +0000 (0:00:00.025) 0:00:18.913 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_type7tbxqpyg/tests/playbooks/tasks/get_profile_stat.yml:62 Monday 08 January 2024 14:11:52 +0000 (0:00:00.025) 0:00:18.938 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_type7tbxqpyg/tests/playbooks/tasks/get_profile_stat.yml:69 Monday 08 January 2024 14:11:52 +0000 (0:00:00.027) 0:00:18.966 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-route_type7tbxqpyg/tests/playbooks/tasks/assert_profile_present.yml:5 Monday 08 January 2024 14:11:52 +0000 (0:00:00.062) 0:00:19.028 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-route_type7tbxqpyg/tests/playbooks/tasks/assert_profile_present.yml:10 Monday 08 January 2024 14:11:52 +0000 (0:00:00.032) 0:00:19.061 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-route_type7tbxqpyg/tests/playbooks/tasks/assert_profile_present.yml:15 Monday 08 January 2024 14:11:52 +0000 (0:00:00.028) 0:00:19.090 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_type7tbxqpyg/tests/playbooks/tasks/run_test.yml:42 Monday 08 January 2024 14:11:52 +0000 (0:00:00.027) 0:00:19.117 ******** TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /WORKDIR/git-route_type7tbxqpyg/tests/playbooks/tasks/run_test.yml:47 Monday 08 January 2024 14:11:52 +0000 (0:00:00.033) 0:00:19.150 ******** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_type7tbxqpyg/tests/playbooks/tasks/run_test.yml:66 Monday 08 January 2024 14:11:52 +0000 (0:00:00.033) 0:00:19.184 ******** included: /WORKDIR/git-route_type7tbxqpyg/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_type7tbxqpyg/tests/playbooks/tasks/cleanup_profile+device.yml:3 Monday 08 January 2024 14:11:52 +0000 (0:00:00.049) 0:00:19.233 ******** 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.044123", "end": "2024-01-08 14:11:53.152369", "rc": 1, "start": "2024-01-08 14:11:53.108246" } STDOUT: Connection 'statebr' (2a38c7d7-e135-4281-a01a-47ef34ab58f9) successfully deleted. STDERR: Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-route_type7tbxqpyg/tests/playbooks/tests_states.yml:65 Monday 08 January 2024 14:11:53 +0000 (0:00:00.258) 0:00:19.492 ******** included: /WORKDIR/git-route_type7tbxqpyg/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can activate an existing profile] ******************************** task path: /WORKDIR/git-route_type7tbxqpyg/tests/playbooks/tasks/run_test.yml:5 Monday 08 January 2024 14:11:53 +0000 (0:00:00.039) 0:00:19.532 ******** ok: [sut] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_type7tbxqpyg/tests/playbooks/tasks/run_test.yml:9 Monday 08 January 2024 14:11:53 +0000 (0:00:00.022) 0:00:19.554 ******** 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_type7tbxqpyg/tests/playbooks/tasks/run_test.yml:21 Monday 08 January 2024 14:11:53 +0000 (0:00:00.045) 0:00:19.600 ******** included: /WORKDIR/git-route_type7tbxqpyg/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_type7tbxqpyg/tests/playbooks/tasks/show_interfaces.yml:3 Monday 08 January 2024 14:11:53 +0000 (0:00:00.037) 0:00:19.637 ******** included: /WORKDIR/git-route_type7tbxqpyg/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_type7tbxqpyg/tests/playbooks/tasks/get_current_interfaces.yml:3 Monday 08 January 2024 14:11:53 +0000 (0:00:00.067) 0:00:19.704 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003706", "end": "2024-01-08 14:11:53.586061", "rc": 0, "start": "2024-01-08 14:11:53.582355" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_type7tbxqpyg/tests/playbooks/tasks/get_current_interfaces.yml:9 Monday 08 January 2024 14:11:53 +0000 (0:00:00.223) 0:00:19.927 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_type7tbxqpyg/tests/playbooks/tasks/show_interfaces.yml:5 Monday 08 January 2024 14:11:53 +0000 (0:00:00.026) 0:00:19.954 ******** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_type7tbxqpyg/tests/playbooks/tasks/run_test.yml:24 Monday 08 January 2024 14:11:53 +0000 (0:00:00.026) 0:00:19.980 ******** included: /WORKDIR/git-route_type7tbxqpyg/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type7tbxqpyg/tests/playbooks/tasks/create_bridge_profile.yml:3 Monday 08 January 2024 14:11:53 +0000 (0:00:00.045) 0:00:20.026 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 08 January 2024 14:11:53 +0000 (0:00:00.058) 0:00:20.085 ******** included: /WORKDIR/git-route_type7tbxqpyg/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_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 08 January 2024 14:11:53 +0000 (0:00:00.044) 0:00:20.129 ******** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-route_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 08 January 2024 14:11:53 +0000 (0:00:00.029) 0:00:20.159 ******** 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_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 08 January 2024 14:11:53 +0000 (0:00:00.023) 0:00:20.183 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 08 January 2024 14:11:53 +0000 (0:00:00.031) 0:00:20.215 ******** 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_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 08 January 2024 14:11:56 +0000 (0:00:02.259) 0:00:22.474 ******** 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_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 08 January 2024 14:11:57 +0000 (0:00:00.918) 0:00:23.393 ******** 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_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 08 January 2024 14:11:57 +0000 (0:00:00.052) 0:00:23.445 ******** 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_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 08 January 2024 14:11:57 +0000 (0:00:00.024) 0:00:23.469 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/main.yml:30 Monday 08 January 2024 14:11:57 +0000 (0:00:00.024) 0:00:23.493 ******** 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_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/main.yml:40 Monday 08 January 2024 14:11:57 +0000 (0:00:00.051) 0:00:23.545 ******** 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_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/main.yml:55 Monday 08 January 2024 14:11:57 +0000 (0:00:00.023) 0:00:23.568 ******** 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_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/main.yml:71 Monday 08 January 2024 14:11:57 +0000 (0:00:00.024) 0:00:23.592 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/main.yml:85 Monday 08 January 2024 14:11:57 +0000 (0:00:00.028) 0:00:23.621 ******** 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_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/main.yml:96 Monday 08 January 2024 14:11:57 +0000 (0:00:00.563) 0:00:24.184 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/main.yml:105 Monday 08 January 2024 14:11:57 +0000 (0:00:00.027) 0:00:24.212 ******** 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_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/main.yml:113 Monday 08 January 2024 14:11:57 +0000 (0:00:00.029) 0:00:24.241 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/main.yml:122 Monday 08 January 2024 14:11:57 +0000 (0:00:00.027) 0:00:24.269 ******** 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, 00ed0cd1-fcb2-4f3a-9389-718142b13a1b TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/main.yml:134 Monday 08 January 2024 14:11:58 +0000 (0:00:00.433) 0:00:24.703 ******** 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_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/main.yml:140 Monday 08 January 2024 14:11:58 +0000 (0:00:00.034) 0:00:24.738 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 00ed0cd1-fcb2-4f3a-9389-718142b13a1b" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/main.yml:144 Monday 08 January 2024 14:11:58 +0000 (0:00:00.064) 0:00:24.803 ******** 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, 00ed0cd1-fcb2-4f3a-9389-718142b13a1b\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 00ed0cd1-fcb2-4f3a-9389-718142b13a1b" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/main.yml:149 Monday 08 January 2024 14:11:58 +0000 (0:00:00.028) 0:00:24.831 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/main.yml:155 Monday 08 January 2024 14:11:58 +0000 (0:00:00.023) 0:00:24.855 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_type7tbxqpyg/tests/playbooks/tasks/create_bridge_profile.yml:14 Monday 08 January 2024 14:11:58 +0000 (0:00:00.211) 0:00:25.066 ******** 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, 00ed0cd1-fcb2-4f3a-9389-718142b13a1b\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 00ed0cd1-fcb2-4f3a-9389-718142b13a1b" ] } } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_type7tbxqpyg/tests/playbooks/tasks/run_test.yml:30 Monday 08 January 2024 14:11:58 +0000 (0:00:00.039) 0:00:25.106 ******** included: /WORKDIR/git-route_type7tbxqpyg/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type7tbxqpyg/tests/playbooks/tasks/activate_profile.yml:3 Monday 08 January 2024 14:11:58 +0000 (0:00:00.042) 0:00:25.148 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 08 January 2024 14:11:58 +0000 (0:00:00.042) 0:00:25.191 ******** included: /WORKDIR/git-route_type7tbxqpyg/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_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 08 January 2024 14:11:58 +0000 (0:00:00.042) 0:00:25.234 ******** 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_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 08 January 2024 14:11:58 +0000 (0:00:00.029) 0:00:25.264 ******** 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_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 08 January 2024 14:11:58 +0000 (0:00:00.023) 0:00:25.287 ******** 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_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 08 January 2024 14:11:59 +0000 (0:00:00.023) 0:00:25.311 ******** 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_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 08 January 2024 14:12:01 +0000 (0:00:02.261) 0:00:27.572 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-route_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 08 January 2024 14:12:02 +0000 (0:00:00.929) 0:00:28.502 ******** 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_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 08 January 2024 14:12:02 +0000 (0:00:00.028) 0:00:28.530 ******** 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_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 08 January 2024 14:12:02 +0000 (0:00:00.059) 0:00:28.590 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/main.yml:30 Monday 08 January 2024 14:12:02 +0000 (0:00:00.065) 0:00:28.655 ******** 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_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/main.yml:40 Monday 08 January 2024 14:12:02 +0000 (0:00:00.056) 0:00:28.712 ******** 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_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/main.yml:55 Monday 08 January 2024 14:12:02 +0000 (0:00:00.038) 0:00:28.750 ******** 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_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/main.yml:71 Monday 08 January 2024 14:12:02 +0000 (0:00:00.024) 0:00:28.774 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/main.yml:85 Monday 08 January 2024 14:12:02 +0000 (0:00:00.058) 0:00:28.833 ******** 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_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/main.yml:96 Monday 08 January 2024 14:12:03 +0000 (0:00:00.594) 0:00:29.427 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/main.yml:105 Monday 08 January 2024 14:12:03 +0000 (0:00:00.040) 0:00:29.468 ******** 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_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/main.yml:113 Monday 08 January 2024 14:12:03 +0000 (0:00:00.029) 0:00:29.497 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/main.yml:122 Monday 08 January 2024 14:12:03 +0000 (0:00:00.022) 0:00:29.520 ******** 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, 00ed0cd1-fcb2-4f3a-9389-718142b13a1b skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/main.yml:134 Monday 08 January 2024 14:12:03 +0000 (0:00:00.376) 0:00:29.897 ******** 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_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/main.yml:140 Monday 08 January 2024 14:12:03 +0000 (0:00:00.024) 0:00:29.921 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 00ed0cd1-fcb2-4f3a-9389-718142b13a1b skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/main.yml:144 Monday 08 January 2024 14:12:03 +0000 (0:00:00.027) 0:00:29.949 ******** 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, 00ed0cd1-fcb2-4f3a-9389-718142b13a1b skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 00ed0cd1-fcb2-4f3a-9389-718142b13a1b skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/main.yml:149 Monday 08 January 2024 14:12:03 +0000 (0:00:00.050) 0:00:29.999 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/main.yml:155 Monday 08 January 2024 14:12:03 +0000 (0:00:00.023) 0:00:30.023 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_type7tbxqpyg/tests/playbooks/tasks/run_test.yml:36 Monday 08 January 2024 14:12:03 +0000 (0:00:00.215) 0:00:30.238 ******** included: /WORKDIR/git-route_type7tbxqpyg/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-route_type7tbxqpyg/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_type7tbxqpyg/tests/playbooks/tasks/assert_device_present.yml:3 Monday 08 January 2024 14:12:03 +0000 (0:00:00.046) 0:00:30.284 ******** included: /WORKDIR/git-route_type7tbxqpyg/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_type7tbxqpyg/tests/playbooks/tasks/get_interface_stat.yml:3 Monday 08 January 2024 14:12:04 +0000 (0:00:00.041) 0:00:30.326 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1704723118.300329, "block_size": 4096, "blocks": 0, "ctime": 1704723118.300329, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 38778, "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": 1704723118.300329, "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_type7tbxqpyg/tests/playbooks/tasks/assert_device_present.yml:5 Monday 08 January 2024 14:12:04 +0000 (0:00:00.214) 0:00:30.540 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_type7tbxqpyg/tests/playbooks/tasks/assert_profile_present.yml:3 Monday 08 January 2024 14:12:04 +0000 (0:00:00.039) 0:00:30.579 ******** included: /WORKDIR/git-route_type7tbxqpyg/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_type7tbxqpyg/tests/playbooks/tasks/get_profile_stat.yml:3 Monday 08 January 2024 14:12:04 +0000 (0:00:00.049) 0:00:30.629 ******** 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_type7tbxqpyg/tests/playbooks/tasks/get_profile_stat.yml:9 Monday 08 January 2024 14:12:04 +0000 (0:00:00.025) 0:00:30.655 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_type7tbxqpyg/tests/playbooks/tasks/get_profile_stat.yml:17 Monday 08 January 2024 14:12:04 +0000 (0:00:00.215) 0:00:30.871 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_type7tbxqpyg/tests/playbooks/tasks/get_profile_stat.yml:25 Monday 08 January 2024 14:12:04 +0000 (0:00:00.025) 0:00:30.896 ******** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.023163", "end": "2024-01-08 14:12:04.790963", "rc": 0, "start": "2024-01-08 14:12:04.767800" } 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_type7tbxqpyg/tests/playbooks/tasks/get_profile_stat.yml:35 Monday 08 January 2024 14:12:04 +0000 (0:00:00.233) 0:00:31.130 ******** 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_type7tbxqpyg/tests/playbooks/tasks/get_profile_stat.yml:49 Monday 08 January 2024 14:12:04 +0000 (0:00:00.026) 0:00:31.156 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_type7tbxqpyg/tests/playbooks/tasks/get_profile_stat.yml:56 Monday 08 January 2024 14:12:04 +0000 (0:00:00.025) 0:00:31.181 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_type7tbxqpyg/tests/playbooks/tasks/get_profile_stat.yml:62 Monday 08 January 2024 14:12:04 +0000 (0:00:00.024) 0:00:31.206 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_type7tbxqpyg/tests/playbooks/tasks/get_profile_stat.yml:69 Monday 08 January 2024 14:12:04 +0000 (0:00:00.025) 0:00:31.231 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-route_type7tbxqpyg/tests/playbooks/tasks/assert_profile_present.yml:5 Monday 08 January 2024 14:12:04 +0000 (0:00:00.026) 0:00:31.257 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-route_type7tbxqpyg/tests/playbooks/tasks/assert_profile_present.yml:10 Monday 08 January 2024 14:12:04 +0000 (0:00:00.025) 0:00:31.283 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-route_type7tbxqpyg/tests/playbooks/tasks/assert_profile_present.yml:15 Monday 08 January 2024 14:12:05 +0000 (0:00:00.025) 0:00:31.309 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_type7tbxqpyg/tests/playbooks/tasks/run_test.yml:42 Monday 08 January 2024 14:12:05 +0000 (0:00:00.023) 0:00:31.332 ******** TASK [Success in test 'I can activate an existing profile'] ******************** task path: /WORKDIR/git-route_type7tbxqpyg/tests/playbooks/tasks/run_test.yml:47 Monday 08 January 2024 14:12:05 +0000 (0:00:00.020) 0:00:31.353 ******** ok: [sut] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_type7tbxqpyg/tests/playbooks/tasks/run_test.yml:66 Monday 08 January 2024 14:12:05 +0000 (0:00:00.024) 0:00:31.377 ******** included: /WORKDIR/git-route_type7tbxqpyg/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_type7tbxqpyg/tests/playbooks/tasks/cleanup_profile+device.yml:3 Monday 08 January 2024 14:12:05 +0000 (0:00:00.044) 0:00:31.422 ******** 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.080401", "end": "2024-01-08 14:12:05.377680", "rc": 1, "start": "2024-01-08 14:12:05.297279" } STDOUT: Connection 'statebr' (00ed0cd1-fcb2-4f3a-9389-718142b13a1b) successfully deleted. STDERR: Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-route_type7tbxqpyg/tests/playbooks/tests_states.yml:83 Monday 08 January 2024 14:12:05 +0000 (0:00:00.314) 0:00:31.736 ******** included: /WORKDIR/git-route_type7tbxqpyg/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_type7tbxqpyg/tests/playbooks/tasks/run_test.yml:5 Monday 08 January 2024 14:12:05 +0000 (0:00:00.072) 0:00:31.809 ******** ok: [sut] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_type7tbxqpyg/tests/playbooks/tasks/run_test.yml:9 Monday 08 January 2024 14:12:05 +0000 (0:00:00.024) 0:00:31.833 ******** 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_type7tbxqpyg/tests/playbooks/tasks/run_test.yml:21 Monday 08 January 2024 14:12:05 +0000 (0:00:00.044) 0:00:31.878 ******** included: /WORKDIR/git-route_type7tbxqpyg/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_type7tbxqpyg/tests/playbooks/tasks/show_interfaces.yml:3 Monday 08 January 2024 14:12:05 +0000 (0:00:00.037) 0:00:31.915 ******** included: /WORKDIR/git-route_type7tbxqpyg/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_type7tbxqpyg/tests/playbooks/tasks/get_current_interfaces.yml:3 Monday 08 January 2024 14:12:05 +0000 (0:00:00.036) 0:00:31.952 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003664", "end": "2024-01-08 14:12:05.825383", "rc": 0, "start": "2024-01-08 14:12:05.821719" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_type7tbxqpyg/tests/playbooks/tasks/get_current_interfaces.yml:9 Monday 08 January 2024 14:12:05 +0000 (0:00:00.213) 0:00:32.165 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_type7tbxqpyg/tests/playbooks/tasks/show_interfaces.yml:5 Monday 08 January 2024 14:12:05 +0000 (0:00:00.023) 0:00:32.189 ******** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_type7tbxqpyg/tests/playbooks/tasks/run_test.yml:24 Monday 08 January 2024 14:12:05 +0000 (0:00:00.022) 0:00:32.212 ******** included: /WORKDIR/git-route_type7tbxqpyg/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-route_type7tbxqpyg/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type7tbxqpyg/tests/playbooks/tasks/create_bridge_profile.yml:3 Monday 08 January 2024 14:12:05 +0000 (0:00:00.042) 0:00:32.254 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 08 January 2024 14:12:05 +0000 (0:00:00.037) 0:00:32.292 ******** included: /WORKDIR/git-route_type7tbxqpyg/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_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 08 January 2024 14:12:06 +0000 (0:00:00.065) 0:00:32.357 ******** 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_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 08 January 2024 14:12:06 +0000 (0:00:00.032) 0:00:32.390 ******** 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_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 08 January 2024 14:12:06 +0000 (0:00:00.024) 0:00:32.414 ******** 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_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 08 January 2024 14:12:06 +0000 (0:00:00.023) 0:00:32.438 ******** 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_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 08 January 2024 14:12:08 +0000 (0:00:02.292) 0:00:34.731 ******** 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_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 08 January 2024 14:12:09 +0000 (0:00:00.953) 0:00:35.684 ******** 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_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 08 January 2024 14:12:09 +0000 (0:00:00.024) 0:00:35.709 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-route_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 08 January 2024 14:12:09 +0000 (0:00:00.023) 0:00:35.733 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/main.yml:30 Monday 08 January 2024 14:12:09 +0000 (0:00:00.024) 0:00:35.757 ******** 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_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/main.yml:40 Monday 08 January 2024 14:12:09 +0000 (0:00:00.058) 0:00:35.816 ******** 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_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/main.yml:55 Monday 08 January 2024 14:12:09 +0000 (0:00:00.024) 0:00:35.841 ******** 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_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/main.yml:71 Monday 08 January 2024 14:12:09 +0000 (0:00:00.056) 0:00:35.897 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/main.yml:85 Monday 08 January 2024 14:12:09 +0000 (0:00:00.039) 0:00:35.937 ******** 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_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/main.yml:96 Monday 08 January 2024 14:12:10 +0000 (0:00:00.599) 0:00:36.536 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/main.yml:105 Monday 08 January 2024 14:12:10 +0000 (0:00:00.036) 0:00:36.573 ******** 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_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/main.yml:113 Monday 08 January 2024 14:12:10 +0000 (0:00:00.023) 0:00:36.597 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/main.yml:122 Monday 08 January 2024 14:12:10 +0000 (0:00:00.056) 0:00:36.653 ******** 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, 7d792fac-6e12-4fdf-8b6b-f1c7777fa295 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/main.yml:134 Monday 08 January 2024 14:12:10 +0000 (0:00:00.423) 0:00:37.077 ******** 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_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/main.yml:140 Monday 08 January 2024 14:12:10 +0000 (0:00:00.022) 0:00:37.099 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 7d792fac-6e12-4fdf-8b6b-f1c7777fa295" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/main.yml:144 Monday 08 January 2024 14:12:10 +0000 (0:00:00.024) 0:00:37.124 ******** 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, 7d792fac-6e12-4fdf-8b6b-f1c7777fa295\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 7d792fac-6e12-4fdf-8b6b-f1c7777fa295" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/main.yml:149 Monday 08 January 2024 14:12:10 +0000 (0:00:00.024) 0:00:37.148 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/main.yml:155 Monday 08 January 2024 14:12:10 +0000 (0:00:00.021) 0:00:37.170 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_type7tbxqpyg/tests/playbooks/tasks/create_bridge_profile.yml:14 Monday 08 January 2024 14:12:11 +0000 (0:00:00.205) 0:00:37.375 ******** 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, 7d792fac-6e12-4fdf-8b6b-f1c7777fa295\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 7d792fac-6e12-4fdf-8b6b-f1c7777fa295" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type7tbxqpyg/tests/playbooks/tasks/activate_profile.yml:3 Monday 08 January 2024 14:12:11 +0000 (0:00:00.023) 0:00:37.399 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 08 January 2024 14:12:11 +0000 (0:00:00.037) 0:00:37.437 ******** included: /WORKDIR/git-route_type7tbxqpyg/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_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 08 January 2024 14:12:11 +0000 (0:00:00.042) 0:00:37.479 ******** 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_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 08 January 2024 14:12:11 +0000 (0:00:00.032) 0:00:37.511 ******** 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_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 08 January 2024 14:12:11 +0000 (0:00:00.025) 0:00:37.537 ******** 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_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 08 January 2024 14:12:11 +0000 (0:00:00.056) 0:00:37.593 ******** 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_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 08 January 2024 14:12:13 +0000 (0:00:02.262) 0:00:39.856 ******** 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_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 08 January 2024 14:12:14 +0000 (0:00:00.991) 0:00:40.847 ******** 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_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 08 January 2024 14:12:14 +0000 (0:00:00.028) 0:00:40.875 ******** 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_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 08 January 2024 14:12:14 +0000 (0:00:00.036) 0:00:40.912 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/main.yml:30 Monday 08 January 2024 14:12:14 +0000 (0:00:00.044) 0:00:40.956 ******** 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_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/main.yml:40 Monday 08 January 2024 14:12:14 +0000 (0:00:00.056) 0:00:41.012 ******** 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_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/main.yml:55 Monday 08 January 2024 14:12:14 +0000 (0:00:00.044) 0:00:41.057 ******** 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_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/main.yml:71 Monday 08 January 2024 14:12:14 +0000 (0:00:00.041) 0:00:41.098 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/main.yml:85 Monday 08 January 2024 14:12:14 +0000 (0:00:00.041) 0:00:41.140 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-route_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/main.yml:96 Monday 08 January 2024 14:12:15 +0000 (0:00:00.566) 0:00:41.707 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/main.yml:105 Monday 08 January 2024 14:12:15 +0000 (0:00:00.029) 0:00:41.737 ******** 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_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/main.yml:113 Monday 08 January 2024 14:12:15 +0000 (0:00:00.037) 0:00:41.774 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/main.yml:122 Monday 08 January 2024 14:12:15 +0000 (0:00:00.039) 0:00:41.813 ******** 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, 7d792fac-6e12-4fdf-8b6b-f1c7777fa295 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/main.yml:134 Monday 08 January 2024 14:12:15 +0000 (0:00:00.453) 0:00:42.266 ******** 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_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/main.yml:140 Monday 08 January 2024 14:12:15 +0000 (0:00:00.023) 0:00:42.290 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 7d792fac-6e12-4fdf-8b6b-f1c7777fa295 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/main.yml:144 Monday 08 January 2024 14:12:16 +0000 (0:00:00.024) 0:00:42.314 ******** 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, 7d792fac-6e12-4fdf-8b6b-f1c7777fa295 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 7d792fac-6e12-4fdf-8b6b-f1c7777fa295 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/main.yml:149 Monday 08 January 2024 14:12:16 +0000 (0:00:00.026) 0:00:42.341 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/main.yml:155 Monday 08 January 2024 14:12:16 +0000 (0:00:00.023) 0:00:42.364 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_type7tbxqpyg/tests/playbooks/tasks/run_test.yml:30 Monday 08 January 2024 14:12:16 +0000 (0:00:00.208) 0:00:42.572 ******** included: /WORKDIR/git-route_type7tbxqpyg/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type7tbxqpyg/tests/playbooks/tasks/remove_profile.yml:3 Monday 08 January 2024 14:12:16 +0000 (0:00:00.043) 0:00:42.616 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 08 January 2024 14:12:16 +0000 (0:00:00.043) 0:00:42.659 ******** included: /WORKDIR/git-route_type7tbxqpyg/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_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 08 January 2024 14:12:16 +0000 (0:00:00.043) 0:00:42.703 ******** 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_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 08 January 2024 14:12:16 +0000 (0:00:00.032) 0:00:42.736 ******** 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_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 08 January 2024 14:12:16 +0000 (0:00:00.024) 0:00:42.760 ******** 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_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 08 January 2024 14:12:16 +0000 (0:00:00.025) 0:00:42.785 ******** 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_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 08 January 2024 14:12:18 +0000 (0:00:02.226) 0:00:45.012 ******** 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_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 08 January 2024 14:12:19 +0000 (0:00:00.920) 0:00:45.933 ******** 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_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 08 January 2024 14:12:19 +0000 (0:00:00.045) 0:00:45.978 ******** 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_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 08 January 2024 14:12:19 +0000 (0:00:00.023) 0:00:46.002 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/main.yml:30 Monday 08 January 2024 14:12:19 +0000 (0:00:00.027) 0:00:46.029 ******** 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_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/main.yml:40 Monday 08 January 2024 14:12:19 +0000 (0:00:00.050) 0:00:46.080 ******** 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_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/main.yml:55 Monday 08 January 2024 14:12:19 +0000 (0:00:00.024) 0:00:46.104 ******** 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_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/main.yml:71 Monday 08 January 2024 14:12:19 +0000 (0:00:00.031) 0:00:46.136 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/main.yml:85 Monday 08 January 2024 14:12:19 +0000 (0:00:00.039) 0:00:46.176 ******** 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_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/main.yml:96 Monday 08 January 2024 14:12:20 +0000 (0:00:00.577) 0:00:46.753 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/main.yml:105 Monday 08 January 2024 14:12:20 +0000 (0:00:00.026) 0:00:46.779 ******** 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_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/main.yml:113 Monday 08 January 2024 14:12:20 +0000 (0:00:00.021) 0:00:46.801 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/main.yml:122 Monday 08 January 2024 14:12:20 +0000 (0:00:00.021) 0:00:46.823 ******** 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_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/main.yml:134 Monday 08 January 2024 14:12:20 +0000 (0:00:00.411) 0:00:47.234 ******** 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_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/main.yml:140 Monday 08 January 2024 14:12:20 +0000 (0:00:00.024) 0:00:47.259 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/main.yml:144 Monday 08 January 2024 14:12:21 +0000 (0:00:00.055) 0:00:47.314 ******** 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_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/main.yml:149 Monday 08 January 2024 14:12:21 +0000 (0:00:00.028) 0:00:47.342 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/main.yml:155 Monday 08 January 2024 14:12:21 +0000 (0:00:00.024) 0:00:47.367 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_type7tbxqpyg/tests/playbooks/tasks/run_test.yml:36 Monday 08 January 2024 14:12:21 +0000 (0:00:00.208) 0:00:47.576 ******** included: /WORKDIR/git-route_type7tbxqpyg/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-route_type7tbxqpyg/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_type7tbxqpyg/tests/playbooks/tasks/assert_device_present.yml:3 Monday 08 January 2024 14:12:21 +0000 (0:00:00.049) 0:00:47.625 ******** included: /WORKDIR/git-route_type7tbxqpyg/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_type7tbxqpyg/tests/playbooks/tasks/get_interface_stat.yml:3 Monday 08 January 2024 14:12:21 +0000 (0:00:00.039) 0:00:47.664 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1704723130.6829169, "block_size": 4096, "blocks": 0, "ctime": 1704723130.6829169, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 38909, "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": 1704723130.6829169, "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_type7tbxqpyg/tests/playbooks/tasks/assert_device_present.yml:5 Monday 08 January 2024 14:12:21 +0000 (0:00:00.212) 0:00:47.877 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_type7tbxqpyg/tests/playbooks/tasks/assert_profile_absent.yml:3 Monday 08 January 2024 14:12:21 +0000 (0:00:00.025) 0:00:47.903 ******** included: /WORKDIR/git-route_type7tbxqpyg/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_type7tbxqpyg/tests/playbooks/tasks/get_profile_stat.yml:3 Monday 08 January 2024 14:12:21 +0000 (0:00:00.040) 0:00:47.943 ******** 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_type7tbxqpyg/tests/playbooks/tasks/get_profile_stat.yml:9 Monday 08 January 2024 14:12:21 +0000 (0:00:00.023) 0:00:47.966 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_type7tbxqpyg/tests/playbooks/tasks/get_profile_stat.yml:17 Monday 08 January 2024 14:12:21 +0000 (0:00:00.246) 0:00:48.213 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_type7tbxqpyg/tests/playbooks/tasks/get_profile_stat.yml:25 Monday 08 January 2024 14:12:21 +0000 (0:00:00.023) 0:00:48.237 ******** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022414", "end": "2024-01-08 14:12:22.131822", "rc": 1, "start": "2024-01-08 14:12:22.109408" } 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_type7tbxqpyg/tests/playbooks/tasks/get_profile_stat.yml:35 Monday 08 January 2024 14:12:22 +0000 (0:00:00.237) 0:00:48.474 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_type7tbxqpyg/tests/playbooks/tasks/get_profile_stat.yml:49 Monday 08 January 2024 14:12:22 +0000 (0:00:00.026) 0:00:48.501 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_type7tbxqpyg/tests/playbooks/tasks/get_profile_stat.yml:56 Monday 08 January 2024 14:12:22 +0000 (0:00:00.025) 0:00:48.527 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_type7tbxqpyg/tests/playbooks/tasks/get_profile_stat.yml:62 Monday 08 January 2024 14:12:22 +0000 (0:00:00.025) 0:00:48.552 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_type7tbxqpyg/tests/playbooks/tasks/get_profile_stat.yml:69 Monday 08 January 2024 14:12:22 +0000 (0:00:00.024) 0:00:48.576 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-route_type7tbxqpyg/tests/playbooks/tasks/assert_profile_absent.yml:5 Monday 08 January 2024 14:12:22 +0000 (0:00:00.026) 0:00:48.603 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_type7tbxqpyg/tests/playbooks/tasks/run_test.yml:42 Monday 08 January 2024 14:12:22 +0000 (0:00:00.031) 0:00:48.635 ******** TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /WORKDIR/git-route_type7tbxqpyg/tests/playbooks/tasks/run_test.yml:47 Monday 08 January 2024 14:12:22 +0000 (0:00:00.029) 0:00:48.665 ******** ok: [sut] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_type7tbxqpyg/tests/playbooks/tasks/run_test.yml:66 Monday 08 January 2024 14:12:22 +0000 (0:00:00.027) 0:00:48.692 ******** included: /WORKDIR/git-route_type7tbxqpyg/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_type7tbxqpyg/tests/playbooks/tasks/cleanup_profile+device.yml:3 Monday 08 January 2024 14:12:22 +0000 (0:00:00.044) 0:00:48.737 ******** ok: [sut] => { "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.078136", "end": "2024-01-08 14:12:22.685421", "rc": 0, "start": "2024-01-08 14:12:22.607285" } STDOUT: Connection 'statebr' (7d792fac-6e12-4fdf-8b6b-f1c7777fa295) successfully deleted. STDERR: Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-route_type7tbxqpyg/tests/playbooks/tests_states.yml:103 Monday 08 January 2024 14:12:22 +0000 (0:00:00.289) 0:00:49.027 ******** included: /WORKDIR/git-route_type7tbxqpyg/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can take a profile down that is absent] ************************** task path: /WORKDIR/git-route_type7tbxqpyg/tests/playbooks/tasks/run_test.yml:5 Monday 08 January 2024 14:12:22 +0000 (0:00:00.079) 0:00:49.106 ******** ok: [sut] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_type7tbxqpyg/tests/playbooks/tasks/run_test.yml:9 Monday 08 January 2024 14:12:22 +0000 (0:00:00.041) 0:00:49.147 ******** 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_type7tbxqpyg/tests/playbooks/tasks/run_test.yml:21 Monday 08 January 2024 14:12:22 +0000 (0:00:00.049) 0:00:49.197 ******** included: /WORKDIR/git-route_type7tbxqpyg/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_type7tbxqpyg/tests/playbooks/tasks/show_interfaces.yml:3 Monday 08 January 2024 14:12:22 +0000 (0:00:00.045) 0:00:49.243 ******** included: /WORKDIR/git-route_type7tbxqpyg/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_type7tbxqpyg/tests/playbooks/tasks/get_current_interfaces.yml:3 Monday 08 January 2024 14:12:22 +0000 (0:00:00.041) 0:00:49.285 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003632", "end": "2024-01-08 14:12:23.168635", "rc": 0, "start": "2024-01-08 14:12:23.165003" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_type7tbxqpyg/tests/playbooks/tasks/get_current_interfaces.yml:9 Monday 08 January 2024 14:12:23 +0000 (0:00:00.254) 0:00:49.540 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_type7tbxqpyg/tests/playbooks/tasks/show_interfaces.yml:5 Monday 08 January 2024 14:12:23 +0000 (0:00:00.025) 0:00:49.565 ******** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_type7tbxqpyg/tests/playbooks/tasks/run_test.yml:24 Monday 08 January 2024 14:12:23 +0000 (0:00:00.027) 0:00:49.592 ******** included: /WORKDIR/git-route_type7tbxqpyg/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-route_type7tbxqpyg/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-route_type7tbxqpyg/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type7tbxqpyg/tests/playbooks/tasks/create_bridge_profile.yml:3 Monday 08 January 2024 14:12:23 +0000 (0:00:00.053) 0:00:49.645 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 08 January 2024 14:12:23 +0000 (0:00:00.058) 0:00:49.704 ******** included: /WORKDIR/git-route_type7tbxqpyg/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_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 08 January 2024 14:12:23 +0000 (0:00:00.100) 0:00:49.804 ******** 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_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 08 January 2024 14:12:23 +0000 (0:00:00.035) 0:00:49.840 ******** 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_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 08 January 2024 14:12:23 +0000 (0:00:00.025) 0:00:49.865 ******** 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_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 08 January 2024 14:12:23 +0000 (0:00:00.024) 0:00:49.890 ******** 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_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 08 January 2024 14:12:25 +0000 (0:00:02.258) 0:00:52.149 ******** 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_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 08 January 2024 14:12:26 +0000 (0:00:00.948) 0:00:53.098 ******** 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_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 08 January 2024 14:12:26 +0000 (0:00:00.031) 0:00:53.129 ******** 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_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 08 January 2024 14:12:26 +0000 (0:00:00.035) 0:00:53.165 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/main.yml:30 Monday 08 January 2024 14:12:26 +0000 (0:00:00.036) 0:00:53.202 ******** 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_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/main.yml:40 Monday 08 January 2024 14:12:26 +0000 (0:00:00.049) 0:00:53.252 ******** 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_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/main.yml:55 Monday 08 January 2024 14:12:27 +0000 (0:00:00.054) 0:00:53.306 ******** 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_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/main.yml:71 Monday 08 January 2024 14:12:27 +0000 (0:00:00.038) 0:00:53.345 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/main.yml:85 Monday 08 January 2024 14:12:27 +0000 (0:00:00.040) 0:00:53.385 ******** 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_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/main.yml:96 Monday 08 January 2024 14:12:27 +0000 (0:00:00.563) 0:00:53.949 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/main.yml:105 Monday 08 January 2024 14:12:27 +0000 (0:00:00.060) 0:00:54.009 ******** 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_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/main.yml:113 Monday 08 January 2024 14:12:27 +0000 (0:00:00.025) 0:00:54.035 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/main.yml:122 Monday 08 January 2024 14:12:27 +0000 (0:00:00.024) 0:00:54.059 ******** 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, 879cf1a4-a00d-4b16-ac76-fd19abd91129 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/main.yml:134 Monday 08 January 2024 14:12:28 +0000 (0:00:00.432) 0:00:54.492 ******** 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_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/main.yml:140 Monday 08 January 2024 14:12:28 +0000 (0:00:00.026) 0:00:54.518 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 879cf1a4-a00d-4b16-ac76-fd19abd91129" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/main.yml:144 Monday 08 January 2024 14:12:28 +0000 (0:00:00.035) 0:00:54.554 ******** 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, 879cf1a4-a00d-4b16-ac76-fd19abd91129\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 879cf1a4-a00d-4b16-ac76-fd19abd91129" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/main.yml:149 Monday 08 January 2024 14:12:28 +0000 (0:00:00.024) 0:00:54.579 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/main.yml:155 Monday 08 January 2024 14:12:28 +0000 (0:00:00.023) 0:00:54.602 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_type7tbxqpyg/tests/playbooks/tasks/create_bridge_profile.yml:14 Monday 08 January 2024 14:12:28 +0000 (0:00:00.215) 0:00:54.817 ******** 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, 879cf1a4-a00d-4b16-ac76-fd19abd91129\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 879cf1a4-a00d-4b16-ac76-fd19abd91129" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type7tbxqpyg/tests/playbooks/tasks/activate_profile.yml:3 Monday 08 January 2024 14:12:28 +0000 (0:00:00.039) 0:00:54.857 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 08 January 2024 14:12:28 +0000 (0:00:00.053) 0:00:54.911 ******** included: /WORKDIR/git-route_type7tbxqpyg/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_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 08 January 2024 14:12:28 +0000 (0:00:00.070) 0:00:54.981 ******** 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_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 08 January 2024 14:12:28 +0000 (0:00:00.071) 0:00:55.053 ******** 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_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 08 January 2024 14:12:28 +0000 (0:00:00.042) 0:00:55.095 ******** 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_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 08 January 2024 14:12:28 +0000 (0:00:00.037) 0:00:55.132 ******** 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_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 08 January 2024 14:12:31 +0000 (0:00:02.257) 0:00:57.390 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-route_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 08 January 2024 14:12:32 +0000 (0:00:00.948) 0:00:58.338 ******** 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_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 08 January 2024 14:12:32 +0000 (0:00:00.025) 0:00:58.364 ******** 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_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 08 January 2024 14:12:32 +0000 (0:00:00.023) 0:00:58.387 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/main.yml:30 Monday 08 January 2024 14:12:32 +0000 (0:00:00.024) 0:00:58.411 ******** 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_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/main.yml:40 Monday 08 January 2024 14:12:32 +0000 (0:00:00.046) 0:00:58.457 ******** 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_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/main.yml:55 Monday 08 January 2024 14:12:32 +0000 (0:00:00.023) 0:00:58.481 ******** 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_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/main.yml:71 Monday 08 January 2024 14:12:32 +0000 (0:00:00.023) 0:00:58.505 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/main.yml:85 Monday 08 January 2024 14:12:32 +0000 (0:00:00.028) 0:00:58.533 ******** 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_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/main.yml:96 Monday 08 January 2024 14:12:32 +0000 (0:00:00.558) 0:00:59.092 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/main.yml:105 Monday 08 January 2024 14:12:32 +0000 (0:00:00.033) 0:00:59.125 ******** 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_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/main.yml:113 Monday 08 January 2024 14:12:32 +0000 (0:00:00.027) 0:00:59.153 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/main.yml:122 Monday 08 January 2024 14:12:32 +0000 (0:00:00.026) 0:00:59.180 ******** 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, 879cf1a4-a00d-4b16-ac76-fd19abd91129 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/main.yml:134 Monday 08 January 2024 14:12:33 +0000 (0:00:00.410) 0:00:59.590 ******** 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_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/main.yml:140 Monday 08 January 2024 14:12:33 +0000 (0:00:00.048) 0:00:59.639 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 879cf1a4-a00d-4b16-ac76-fd19abd91129 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/main.yml:144 Monday 08 January 2024 14:12:33 +0000 (0:00:00.024) 0:00:59.664 ******** 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, 879cf1a4-a00d-4b16-ac76-fd19abd91129 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 879cf1a4-a00d-4b16-ac76-fd19abd91129 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/main.yml:149 Monday 08 January 2024 14:12:33 +0000 (0:00:00.023) 0:00:59.688 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/main.yml:155 Monday 08 January 2024 14:12:33 +0000 (0:00:00.022) 0:00:59.710 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type7tbxqpyg/tests/playbooks/tasks/remove_profile.yml:3 Monday 08 January 2024 14:12:33 +0000 (0:00:00.205) 0:00:59.915 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 08 January 2024 14:12:33 +0000 (0:00:00.041) 0:00:59.957 ******** included: /WORKDIR/git-route_type7tbxqpyg/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_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 08 January 2024 14:12:33 +0000 (0:00:00.044) 0:01:00.002 ******** 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_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 08 January 2024 14:12:33 +0000 (0:00:00.030) 0:01:00.032 ******** 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_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 08 January 2024 14:12:33 +0000 (0:00:00.026) 0:01:00.059 ******** 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_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 08 January 2024 14:12:33 +0000 (0:00:00.023) 0:01:00.082 ******** 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_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 08 January 2024 14:12:36 +0000 (0:00:02.253) 0:01:02.336 ******** 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_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 08 January 2024 14:12:36 +0000 (0:00:00.940) 0:01:03.276 ******** 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_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 08 January 2024 14:12:37 +0000 (0:00:00.032) 0:01:03.309 ******** 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_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 08 January 2024 14:12:37 +0000 (0:00:00.035) 0:01:03.344 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/main.yml:30 Monday 08 January 2024 14:12:37 +0000 (0:00:00.030) 0:01:03.374 ******** 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_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/main.yml:40 Monday 08 January 2024 14:12:37 +0000 (0:00:00.071) 0:01:03.445 ******** 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_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/main.yml:55 Monday 08 January 2024 14:12:37 +0000 (0:00:00.023) 0:01:03.469 ******** 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_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/main.yml:71 Monday 08 January 2024 14:12:37 +0000 (0:00:00.023) 0:01:03.492 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/main.yml:85 Monday 08 January 2024 14:12:37 +0000 (0:00:00.029) 0:01:03.521 ******** 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_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/main.yml:96 Monday 08 January 2024 14:12:37 +0000 (0:00:00.579) 0:01:04.101 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/main.yml:105 Monday 08 January 2024 14:12:37 +0000 (0:00:00.030) 0:01:04.131 ******** 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_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/main.yml:113 Monday 08 January 2024 14:12:37 +0000 (0:00:00.028) 0:01:04.159 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/main.yml:122 Monday 08 January 2024 14:12:37 +0000 (0:00:00.026) 0:01:04.185 ******** 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_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/main.yml:134 Monday 08 January 2024 14:12:38 +0000 (0:00:00.426) 0:01:04.612 ******** 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_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/main.yml:140 Monday 08 January 2024 14:12:38 +0000 (0:00:00.031) 0:01:04.643 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/main.yml:144 Monday 08 January 2024 14:12:38 +0000 (0:00:00.033) 0:01:04.677 ******** 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_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/main.yml:149 Monday 08 January 2024 14:12:38 +0000 (0:00:00.055) 0:01:04.733 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/main.yml:155 Monday 08 January 2024 14:12:38 +0000 (0:00:00.027) 0:01:04.760 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_type7tbxqpyg/tests/playbooks/tasks/run_test.yml:30 Monday 08 January 2024 14:12:38 +0000 (0:00:00.278) 0:01:05.039 ******** included: /WORKDIR/git-route_type7tbxqpyg/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type7tbxqpyg/tests/playbooks/tasks/remove+down_profile.yml:3 Monday 08 January 2024 14:12:38 +0000 (0:00:00.076) 0:01:05.116 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 08 January 2024 14:12:38 +0000 (0:00:00.045) 0:01:05.161 ******** included: /WORKDIR/git-route_type7tbxqpyg/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_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 08 January 2024 14:12:38 +0000 (0:00:00.043) 0:01:05.205 ******** 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_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 08 January 2024 14:12:38 +0000 (0:00:00.029) 0:01:05.234 ******** 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_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 08 January 2024 14:12:38 +0000 (0:00:00.023) 0:01:05.258 ******** 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_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 08 January 2024 14:12:38 +0000 (0:00:00.023) 0:01:05.282 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-route_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 08 January 2024 14:12:41 +0000 (0:00:02.267) 0:01:07.550 ******** 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_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 08 January 2024 14:12:42 +0000 (0:00:00.937) 0:01:08.487 ******** 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_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 08 January 2024 14:12:42 +0000 (0:00:00.030) 0:01:08.518 ******** 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_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 08 January 2024 14:12:42 +0000 (0:00:00.025) 0:01:08.544 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/main.yml:30 Monday 08 January 2024 14:12:42 +0000 (0:00:00.026) 0:01:08.570 ******** 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_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/main.yml:40 Monday 08 January 2024 14:12:42 +0000 (0:00:00.051) 0:01:08.621 ******** 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_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/main.yml:55 Monday 08 January 2024 14:12:42 +0000 (0:00:00.023) 0:01:08.645 ******** 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_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/main.yml:71 Monday 08 January 2024 14:12:42 +0000 (0:00:00.070) 0:01:08.715 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/main.yml:85 Monday 08 January 2024 14:12:42 +0000 (0:00:00.055) 0:01:08.771 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-route_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/main.yml:96 Monday 08 January 2024 14:12:43 +0000 (0:00:00.571) 0:01:09.342 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/main.yml:105 Monday 08 January 2024 14:12:43 +0000 (0:00:00.029) 0:01:09.372 ******** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/main.yml:113 Monday 08 January 2024 14:12:43 +0000 (0:00:00.030) 0:01:09.403 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/main.yml:122 Monday 08 January 2024 14:12:43 +0000 (0:00:00.025) 0:01:09.428 ******** 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_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/main.yml:134 Monday 08 January 2024 14:12:43 +0000 (0:00:00.490) 0:01:09.919 ******** 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_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/main.yml:140 Monday 08 January 2024 14:12:43 +0000 (0:00:00.041) 0:01:09.961 ******** 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_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/main.yml:144 Monday 08 January 2024 14:12:43 +0000 (0:00:00.037) 0:01:09.998 ******** 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_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/main.yml:149 Monday 08 January 2024 14:12:43 +0000 (0:00:00.035) 0:01:10.033 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/main.yml:155 Monday 08 January 2024 14:12:43 +0000 (0:00:00.027) 0:01:10.061 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_type7tbxqpyg/tests/playbooks/tasks/run_test.yml:36 Monday 08 January 2024 14:12:43 +0000 (0:00:00.219) 0:01:10.280 ******** included: /WORKDIR/git-route_type7tbxqpyg/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_type7tbxqpyg/tests/playbooks/tasks/assert_profile_absent.yml:3 Monday 08 January 2024 14:12:44 +0000 (0:00:00.080) 0:01:10.361 ******** included: /WORKDIR/git-route_type7tbxqpyg/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_type7tbxqpyg/tests/playbooks/tasks/get_profile_stat.yml:3 Monday 08 January 2024 14:12:44 +0000 (0:00:00.043) 0:01:10.405 ******** 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_type7tbxqpyg/tests/playbooks/tasks/get_profile_stat.yml:9 Monday 08 January 2024 14:12:44 +0000 (0:00:00.027) 0:01:10.432 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_type7tbxqpyg/tests/playbooks/tasks/get_profile_stat.yml:17 Monday 08 January 2024 14:12:44 +0000 (0:00:00.235) 0:01:10.668 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_type7tbxqpyg/tests/playbooks/tasks/get_profile_stat.yml:25 Monday 08 January 2024 14:12:44 +0000 (0:00:00.024) 0:01:10.692 ******** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022125", "end": "2024-01-08 14:12:44.586672", "rc": 1, "start": "2024-01-08 14:12:44.564547" } 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_type7tbxqpyg/tests/playbooks/tasks/get_profile_stat.yml:35 Monday 08 January 2024 14:12:44 +0000 (0:00:00.234) 0:01:10.927 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_type7tbxqpyg/tests/playbooks/tasks/get_profile_stat.yml:49 Monday 08 January 2024 14:12:44 +0000 (0:00:00.027) 0:01:10.954 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_type7tbxqpyg/tests/playbooks/tasks/get_profile_stat.yml:56 Monday 08 January 2024 14:12:44 +0000 (0:00:00.026) 0:01:10.981 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_type7tbxqpyg/tests/playbooks/tasks/get_profile_stat.yml:62 Monday 08 January 2024 14:12:44 +0000 (0:00:00.051) 0:01:11.032 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_type7tbxqpyg/tests/playbooks/tasks/get_profile_stat.yml:69 Monday 08 January 2024 14:12:44 +0000 (0:00:00.033) 0:01:11.066 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-route_type7tbxqpyg/tests/playbooks/tasks/assert_profile_absent.yml:5 Monday 08 January 2024 14:12:44 +0000 (0:00:00.026) 0:01:11.093 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_type7tbxqpyg/tests/playbooks/tasks/run_test.yml:42 Monday 08 January 2024 14:12:44 +0000 (0:00:00.027) 0:01:11.121 ******** included: /WORKDIR/git-route_type7tbxqpyg/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_type7tbxqpyg/tests/playbooks/tasks/assert_device_absent.yml:3 Monday 08 January 2024 14:12:44 +0000 (0:00:00.045) 0:01:11.166 ******** included: /WORKDIR/git-route_type7tbxqpyg/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_type7tbxqpyg/tests/playbooks/tasks/get_interface_stat.yml:3 Monday 08 January 2024 14:12:44 +0000 (0:00:00.076) 0:01:11.243 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_type7tbxqpyg/tests/playbooks/tasks/assert_device_absent.yml:5 Monday 08 January 2024 14:12:45 +0000 (0:00:00.224) 0:01:11.467 ******** 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_type7tbxqpyg/tests/playbooks/tasks/run_test.yml:47 Monday 08 January 2024 14:12:45 +0000 (0:00:00.027) 0:01:11.495 ******** ok: [sut] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_type7tbxqpyg/tests/playbooks/tasks/run_test.yml:66 Monday 08 January 2024 14:12:45 +0000 (0:00:00.024) 0:01:11.519 ******** included: /WORKDIR/git-route_type7tbxqpyg/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_type7tbxqpyg/tests/playbooks/tasks/cleanup_profile+device.yml:3 Monday 08 January 2024 14:12:45 +0000 (0:00:00.043) 0:01:11.563 ******** 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.042584", "end": "2024-01-08 14:12:45.478982", "rc": 1, "start": "2024-01-08 14:12:45.436398" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-route_type7tbxqpyg/tests/playbooks/tests_states.yml:126 Monday 08 January 2024 14:12:45 +0000 (0:00:00.256) 0:01:11.819 ******** included: /WORKDIR/git-route_type7tbxqpyg/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_type7tbxqpyg/tests/playbooks/tasks/run_test.yml:5 Monday 08 January 2024 14:12:45 +0000 (0:00:00.043) 0:01:11.863 ******** 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_type7tbxqpyg/tests/playbooks/tasks/run_test.yml:9 Monday 08 January 2024 14:12:45 +0000 (0:00:00.024) 0:01:11.888 ******** 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_type7tbxqpyg/tests/playbooks/tasks/run_test.yml:21 Monday 08 January 2024 14:12:45 +0000 (0:00:00.045) 0:01:11.933 ******** included: /WORKDIR/git-route_type7tbxqpyg/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_type7tbxqpyg/tests/playbooks/tasks/show_interfaces.yml:3 Monday 08 January 2024 14:12:45 +0000 (0:00:00.037) 0:01:11.971 ******** included: /WORKDIR/git-route_type7tbxqpyg/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_type7tbxqpyg/tests/playbooks/tasks/get_current_interfaces.yml:3 Monday 08 January 2024 14:12:45 +0000 (0:00:00.066) 0:01:12.038 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003728", "end": "2024-01-08 14:12:45.912981", "rc": 0, "start": "2024-01-08 14:12:45.909253" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_type7tbxqpyg/tests/playbooks/tasks/get_current_interfaces.yml:9 Monday 08 January 2024 14:12:45 +0000 (0:00:00.215) 0:01:12.253 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_type7tbxqpyg/tests/playbooks/tasks/show_interfaces.yml:5 Monday 08 January 2024 14:12:45 +0000 (0:00:00.025) 0:01:12.279 ******** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_type7tbxqpyg/tests/playbooks/tasks/run_test.yml:24 Monday 08 January 2024 14:12:45 +0000 (0:00:00.022) 0:01:12.302 ******** included: /WORKDIR/git-route_type7tbxqpyg/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-route_type7tbxqpyg/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-route_type7tbxqpyg/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type7tbxqpyg/tests/playbooks/tasks/create_bridge_profile.yml:3 Monday 08 January 2024 14:12:46 +0000 (0:00:00.047) 0:01:12.349 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 08 January 2024 14:12:46 +0000 (0:00:00.039) 0:01:12.389 ******** included: /WORKDIR/git-route_type7tbxqpyg/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_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 08 January 2024 14:12:46 +0000 (0:00:00.044) 0:01:12.433 ******** 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_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 08 January 2024 14:12:46 +0000 (0:00:00.028) 0:01:12.462 ******** 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_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 08 January 2024 14:12:46 +0000 (0:00:00.023) 0:01:12.485 ******** 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_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 08 January 2024 14:12:46 +0000 (0:00:00.022) 0:01:12.507 ******** 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_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 08 January 2024 14:12:48 +0000 (0:00:02.263) 0:01:14.771 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-route_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 08 January 2024 14:12:49 +0000 (0:00:00.942) 0:01:15.713 ******** 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_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 08 January 2024 14:12:49 +0000 (0:00:00.026) 0:01:15.740 ******** 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_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 08 January 2024 14:12:49 +0000 (0:00:00.045) 0:01:15.785 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/main.yml:30 Monday 08 January 2024 14:12:49 +0000 (0:00:00.023) 0:01:15.808 ******** 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_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/main.yml:40 Monday 08 January 2024 14:12:49 +0000 (0:00:00.046) 0:01:15.855 ******** 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_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/main.yml:55 Monday 08 January 2024 14:12:49 +0000 (0:00:00.023) 0:01:15.879 ******** 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_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/main.yml:71 Monday 08 January 2024 14:12:49 +0000 (0:00:00.023) 0:01:15.903 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/main.yml:85 Monday 08 January 2024 14:12:49 +0000 (0:00:00.027) 0:01:15.931 ******** 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_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/main.yml:96 Monday 08 January 2024 14:12:50 +0000 (0:00:00.562) 0:01:16.493 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/main.yml:105 Monday 08 January 2024 14:12:50 +0000 (0:00:00.037) 0:01:16.531 ******** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/main.yml:113 Monday 08 January 2024 14:12:50 +0000 (0:00:00.027) 0:01:16.558 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/main.yml:122 Monday 08 January 2024 14:12:50 +0000 (0:00:00.026) 0:01:16.585 ******** 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, b8781a49-2a56-4e9d-83b9-3851e6823f09 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/main.yml:134 Monday 08 January 2024 14:12:50 +0000 (0:00:00.424) 0:01:17.009 ******** 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_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/main.yml:140 Monday 08 January 2024 14:12:50 +0000 (0:00:00.023) 0:01:17.032 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, b8781a49-2a56-4e9d-83b9-3851e6823f09" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/main.yml:144 Monday 08 January 2024 14:12:50 +0000 (0:00:00.023) 0:01:17.056 ******** 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, b8781a49-2a56-4e9d-83b9-3851e6823f09\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, b8781a49-2a56-4e9d-83b9-3851e6823f09" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/main.yml:149 Monday 08 January 2024 14:12:50 +0000 (0:00:00.049) 0:01:17.105 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/main.yml:155 Monday 08 January 2024 14:12:50 +0000 (0:00:00.023) 0:01:17.129 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_type7tbxqpyg/tests/playbooks/tasks/create_bridge_profile.yml:14 Monday 08 January 2024 14:12:51 +0000 (0:00:00.234) 0:01:17.364 ******** 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, b8781a49-2a56-4e9d-83b9-3851e6823f09\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, b8781a49-2a56-4e9d-83b9-3851e6823f09" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type7tbxqpyg/tests/playbooks/tasks/activate_profile.yml:3 Monday 08 January 2024 14:12:51 +0000 (0:00:00.033) 0:01:17.398 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 08 January 2024 14:12:51 +0000 (0:00:00.046) 0:01:17.444 ******** included: /WORKDIR/git-route_type7tbxqpyg/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_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 08 January 2024 14:12:51 +0000 (0:00:00.050) 0:01:17.495 ******** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-route_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 08 January 2024 14:12:51 +0000 (0:00:00.031) 0:01:17.526 ******** 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_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 08 January 2024 14:12:51 +0000 (0:00:00.043) 0:01:17.569 ******** 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_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 08 January 2024 14:12:51 +0000 (0:00:00.038) 0:01:17.608 ******** 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_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 08 January 2024 14:12:53 +0000 (0:00:02.245) 0:01:19.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 : Print network provider] ********************* task path: /WORKDIR/git-route_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 08 January 2024 14:12:54 +0000 (0:00:00.923) 0:01:20.777 ******** 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_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 08 January 2024 14:12:54 +0000 (0:00:00.026) 0:01:20.803 ******** 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_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 08 January 2024 14:12:54 +0000 (0:00:00.023) 0:01:20.827 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/main.yml:30 Monday 08 January 2024 14:12:54 +0000 (0:00:00.022) 0:01:20.850 ******** 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_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/main.yml:40 Monday 08 January 2024 14:12:54 +0000 (0:00:00.045) 0:01:20.895 ******** 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_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/main.yml:55 Monday 08 January 2024 14:12:54 +0000 (0:00:00.049) 0:01:20.944 ******** 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_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/main.yml:71 Monday 08 January 2024 14:12:54 +0000 (0:00:00.023) 0:01:20.968 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/main.yml:85 Monday 08 January 2024 14:12:54 +0000 (0:00:00.025) 0:01:20.994 ******** 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_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/main.yml:96 Monday 08 January 2024 14:12:55 +0000 (0:00:00.558) 0:01:21.553 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/main.yml:105 Monday 08 January 2024 14:12:55 +0000 (0:00:00.027) 0:01:21.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_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/main.yml:113 Monday 08 January 2024 14:12:55 +0000 (0:00:00.024) 0:01:21.605 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/main.yml:122 Monday 08 January 2024 14:12:55 +0000 (0:00:00.022) 0:01:21.628 ******** 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, b8781a49-2a56-4e9d-83b9-3851e6823f09 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/main.yml:134 Monday 08 January 2024 14:12:55 +0000 (0:00:00.376) 0:01:22.004 ******** 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_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/main.yml:140 Monday 08 January 2024 14:12:55 +0000 (0:00:00.028) 0:01:22.033 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, b8781a49-2a56-4e9d-83b9-3851e6823f09 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/main.yml:144 Monday 08 January 2024 14:12:55 +0000 (0:00:00.035) 0:01:22.068 ******** 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, b8781a49-2a56-4e9d-83b9-3851e6823f09 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, b8781a49-2a56-4e9d-83b9-3851e6823f09 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/main.yml:149 Monday 08 January 2024 14:12:55 +0000 (0:00:00.038) 0:01:22.106 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/main.yml:155 Monday 08 January 2024 14:12:55 +0000 (0:00:00.026) 0:01:22.133 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type7tbxqpyg/tests/playbooks/tasks/remove+down_profile.yml:3 Monday 08 January 2024 14:12:56 +0000 (0:00:00.233) 0:01:22.367 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 08 January 2024 14:12:56 +0000 (0:00:00.039) 0:01:22.407 ******** included: /WORKDIR/git-route_type7tbxqpyg/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_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 08 January 2024 14:12:56 +0000 (0:00:00.043) 0:01:22.450 ******** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-route_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 08 January 2024 14:12:56 +0000 (0:00:00.030) 0:01:22.481 ******** 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_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 08 January 2024 14:12:56 +0000 (0:00:00.023) 0:01:22.505 ******** 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_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 08 January 2024 14:12:56 +0000 (0:00:00.024) 0:01:22.529 ******** 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_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 08 January 2024 14:12:58 +0000 (0:00:02.276) 0:01:24.805 ******** 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_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 08 January 2024 14:12:59 +0000 (0:00:00.921) 0:01:25.726 ******** 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_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 08 January 2024 14:12:59 +0000 (0:00:00.024) 0:01:25.750 ******** 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_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 08 January 2024 14:12:59 +0000 (0:00:00.025) 0:01:25.776 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/main.yml:30 Monday 08 January 2024 14:12:59 +0000 (0:00:00.024) 0:01:25.800 ******** 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_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/main.yml:40 Monday 08 January 2024 14:12:59 +0000 (0:00:00.046) 0:01:25.847 ******** 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_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/main.yml:55 Monday 08 January 2024 14:12:59 +0000 (0:00:00.023) 0:01:25.871 ******** 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_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/main.yml:71 Monday 08 January 2024 14:12:59 +0000 (0:00:00.024) 0:01:25.895 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/main.yml:85 Monday 08 January 2024 14:12:59 +0000 (0:00:00.028) 0:01:25.924 ******** 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_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/main.yml:96 Monday 08 January 2024 14:13:00 +0000 (0:00:00.565) 0:01:26.490 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/main.yml:105 Monday 08 January 2024 14:13:00 +0000 (0:00:00.026) 0:01:26.516 ******** 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_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/main.yml:113 Monday 08 January 2024 14:13:00 +0000 (0:00:00.025) 0:01:26.542 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/main.yml:122 Monday 08 January 2024 14:13:00 +0000 (0:00:00.027) 0:01:26.569 ******** 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_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/main.yml:134 Monday 08 January 2024 14:13:00 +0000 (0:00:00.515) 0:01:27.085 ******** 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_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/main.yml:140 Monday 08 January 2024 14:13:00 +0000 (0:00:00.023) 0:01:27.108 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/main.yml:144 Monday 08 January 2024 14:13:00 +0000 (0:00:00.024) 0:01:27.132 ******** 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_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/main.yml:149 Monday 08 January 2024 14:13:00 +0000 (0:00:00.024) 0:01:27.157 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/main.yml:155 Monday 08 January 2024 14:13:00 +0000 (0:00:00.021) 0:01:27.178 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_type7tbxqpyg/tests/playbooks/tasks/run_test.yml:30 Monday 08 January 2024 14:13:01 +0000 (0:00:00.206) 0:01:27.385 ******** included: /WORKDIR/git-route_type7tbxqpyg/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type7tbxqpyg/tests/playbooks/tasks/remove+down_profile.yml:3 Monday 08 January 2024 14:13:01 +0000 (0:00:00.043) 0:01:27.428 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 08 January 2024 14:13:01 +0000 (0:00:00.070) 0:01:27.499 ******** included: /WORKDIR/git-route_type7tbxqpyg/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_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 08 January 2024 14:13:01 +0000 (0:00:00.043) 0:01:27.543 ******** 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_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 08 January 2024 14:13:01 +0000 (0:00:00.029) 0:01:27.572 ******** 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_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 08 January 2024 14:13:01 +0000 (0:00:00.023) 0:01:27.595 ******** 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_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 08 January 2024 14:13:01 +0000 (0:00:00.027) 0:01:27.623 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-route_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 08 January 2024 14:13:03 +0000 (0:00:02.281) 0:01:29.905 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-route_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 08 January 2024 14:13:04 +0000 (0:00:00.960) 0:01:30.865 ******** 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_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 08 January 2024 14:13:04 +0000 (0:00:00.031) 0:01:30.896 ******** 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_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 08 January 2024 14:13:04 +0000 (0:00:00.026) 0:01:30.923 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/main.yml:30 Monday 08 January 2024 14:13:04 +0000 (0:00:00.033) 0:01:30.956 ******** 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_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/main.yml:40 Monday 08 January 2024 14:13:04 +0000 (0:00:00.047) 0:01:31.004 ******** 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_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/main.yml:55 Monday 08 January 2024 14:13:04 +0000 (0:00:00.039) 0:01:31.043 ******** 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_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/main.yml:71 Monday 08 January 2024 14:13:04 +0000 (0:00:00.030) 0:01:31.074 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/main.yml:85 Monday 08 January 2024 14:13:04 +0000 (0:00:00.033) 0:01:31.108 ******** 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_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/main.yml:96 Monday 08 January 2024 14:13:05 +0000 (0:00:00.606) 0:01:31.715 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/main.yml:105 Monday 08 January 2024 14:13:05 +0000 (0:00:00.027) 0:01:31.743 ******** 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_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/main.yml:113 Monday 08 January 2024 14:13:05 +0000 (0:00:00.024) 0:01:31.767 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/main.yml:122 Monday 08 January 2024 14:13:05 +0000 (0:00:00.038) 0:01:31.806 ******** 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_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/main.yml:134 Monday 08 January 2024 14:13:05 +0000 (0:00:00.396) 0:01:32.202 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-route_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/main.yml:140 Monday 08 January 2024 14:13:05 +0000 (0:00:00.023) 0:01:32.225 ******** 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_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/main.yml:144 Monday 08 January 2024 14:13:05 +0000 (0:00:00.025) 0:01:32.251 ******** 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_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/main.yml:149 Monday 08 January 2024 14:13:05 +0000 (0:00:00.026) 0:01:32.277 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/main.yml:155 Monday 08 January 2024 14:13:05 +0000 (0:00:00.025) 0:01:32.302 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_type7tbxqpyg/tests/playbooks/tasks/run_test.yml:36 Monday 08 January 2024 14:13:06 +0000 (0:00:00.231) 0:01:32.533 ******** included: /WORKDIR/git-route_type7tbxqpyg/tests/playbooks/tasks/assert_profile_absent.yml for sut included: /WORKDIR/git-route_type7tbxqpyg/tests/playbooks/tasks/get_NetworkManager_NVR.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_type7tbxqpyg/tests/playbooks/tasks/assert_profile_absent.yml:3 Monday 08 January 2024 14:13:06 +0000 (0:00:00.046) 0:01:32.580 ******** included: /WORKDIR/git-route_type7tbxqpyg/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_type7tbxqpyg/tests/playbooks/tasks/get_profile_stat.yml:3 Monday 08 January 2024 14:13:06 +0000 (0:00:00.039) 0:01:32.619 ******** 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_type7tbxqpyg/tests/playbooks/tasks/get_profile_stat.yml:9 Monday 08 January 2024 14:13:06 +0000 (0:00:00.052) 0:01:32.672 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_type7tbxqpyg/tests/playbooks/tasks/get_profile_stat.yml:17 Monday 08 January 2024 14:13:06 +0000 (0:00:00.217) 0:01:32.889 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_type7tbxqpyg/tests/playbooks/tasks/get_profile_stat.yml:25 Monday 08 January 2024 14:13:06 +0000 (0:00:00.023) 0:01:32.913 ******** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021994", "end": "2024-01-08 14:13:06.807319", "rc": 1, "start": "2024-01-08 14:13:06.785325" } 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_type7tbxqpyg/tests/playbooks/tasks/get_profile_stat.yml:35 Monday 08 January 2024 14:13:06 +0000 (0:00:00.235) 0:01:33.148 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_type7tbxqpyg/tests/playbooks/tasks/get_profile_stat.yml:49 Monday 08 January 2024 14:13:06 +0000 (0:00:00.025) 0:01:33.173 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_type7tbxqpyg/tests/playbooks/tasks/get_profile_stat.yml:56 Monday 08 January 2024 14:13:06 +0000 (0:00:00.024) 0:01:33.198 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_type7tbxqpyg/tests/playbooks/tasks/get_profile_stat.yml:62 Monday 08 January 2024 14:13:06 +0000 (0:00:00.024) 0:01:33.223 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_type7tbxqpyg/tests/playbooks/tasks/get_profile_stat.yml:69 Monday 08 January 2024 14:13:06 +0000 (0:00:00.025) 0:01:33.249 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-route_type7tbxqpyg/tests/playbooks/tasks/assert_profile_absent.yml:5 Monday 08 January 2024 14:13:06 +0000 (0:00:00.025) 0:01:33.275 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /WORKDIR/git-route_type7tbxqpyg/tests/playbooks/tasks/get_NetworkManager_NVR.yml:7 Monday 08 January 2024 14:13:06 +0000 (0:00:00.026) 0:01:33.301 ******** ok: [sut] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.363797", "end": "2024-01-08 14:13:07.537456", "rc": 0, "start": "2024-01-08 14:13:07.173659" } STDOUT: NetworkManager-1.42.8-1.fc38 TASK [Store NetworkManager version] ******************************************** task path: /WORKDIR/git-route_type7tbxqpyg/tests/playbooks/tasks/get_NetworkManager_NVR.yml:14 Monday 08 January 2024 14:13:07 +0000 (0:00:00.577) 0:01:33.879 ******** ok: [sut] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.42.8-1.fc38" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /WORKDIR/git-route_type7tbxqpyg/tests/playbooks/tasks/get_NetworkManager_NVR.yml:18 Monday 08 January 2024 14:13:07 +0000 (0:00:00.023) 0:01:33.902 ******** ok: [sut] => { "networkmanager_nvr": "NetworkManager-1.42.8-1.fc38" } TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_type7tbxqpyg/tests/playbooks/tasks/run_test.yml:42 Monday 08 January 2024 14:13:07 +0000 (0:00:00.023) 0:01:33.926 ******** included: /WORKDIR/git-route_type7tbxqpyg/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_type7tbxqpyg/tests/playbooks/tasks/assert_device_absent.yml:3 Monday 08 January 2024 14:13:07 +0000 (0:00:00.075) 0:01:34.001 ******** included: /WORKDIR/git-route_type7tbxqpyg/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_type7tbxqpyg/tests/playbooks/tasks/get_interface_stat.yml:3 Monday 08 January 2024 14:13:07 +0000 (0:00:00.039) 0:01:34.041 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_type7tbxqpyg/tests/playbooks/tasks/assert_device_absent.yml:5 Monday 08 January 2024 14:13:07 +0000 (0:00:00.210) 0:01:34.252 ******** 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_type7tbxqpyg/tests/playbooks/tasks/run_test.yml:47 Monday 08 January 2024 14:13:07 +0000 (0:00:00.027) 0:01:34.280 ******** 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_type7tbxqpyg/tests/playbooks/tasks/run_test.yml:66 Monday 08 January 2024 14:13:07 +0000 (0:00:00.023) 0:01:34.303 ******** included: /WORKDIR/git-route_type7tbxqpyg/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_type7tbxqpyg/tests/playbooks/tasks/cleanup_profile+device.yml:3 Monday 08 January 2024 14:13:08 +0000 (0:00:00.044) 0:01:34.347 ******** 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.043478", "end": "2024-01-08 14:13:08.263374", "rc": 1, "start": "2024-01-08 14:13:08.219896" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' Cannot find device "statebr" MSG: non-zero return code ...ignoring META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=316 changed=10 unreachable=0 failed=0 skipped=252 rescued=0 ignored=10 Monday 08 January 2024 14:13:08 +0000 (0:00:00.241) 0:01:34.589 ******** =============================================================================== linux-system-roles.network : Enable and start NetworkManager ------------ 3.04s /WORKDIR/git-route_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/main.yml:85 linux-system-roles.network : Check which services are running ----------- 2.32s /WORKDIR/git-route_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.29s /WORKDIR/git-route_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.28s /WORKDIR/git-route_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Enable and start NetworkManager ------------ 2.28s /WORKDIR/git-route_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/main.yml:85 linux-system-roles.network : Configure networking connection profiles --- 2.28s /WORKDIR/git-route_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Check which services are running ----------- 2.28s /WORKDIR/git-route_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.27s /WORKDIR/git-route_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.26s /WORKDIR/git-route_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.26s /WORKDIR/git-route_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.26s /WORKDIR/git-route_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.26s /WORKDIR/git-route_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.26s /WORKDIR/git-route_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.26s /WORKDIR/git-route_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.26s /WORKDIR/git-route_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.25s /WORKDIR/git-route_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.25s /WORKDIR/git-route_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.23s /WORKDIR/git-route_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Enable and start NetworkManager ------------ 1.74s /WORKDIR/git-route_type7tbxqpyg/tests/roles/linux-system-roles.network/tasks/main.yml:85 linux-system-roles.network : Configure networking connection profiles --- 1.62s /WORKDIR/git-route_type7tbxqpyg/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. ---^---^---^---^---^---