# 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_typegi73ufu7/tests/tests_states_nm.yml PLAY [Run playbook 'playbooks/tests_states.yml' with nm as provider] *********** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-route_typegi73ufu7/tests/tests_states_nm.yml:6 Thursday 11 January 2024 00:05:37 +0000 (0:00:00.011) 0:00:00.011 ****** ok: [sut] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-route_typegi73ufu7/tests/tests_states_nm.yml:9 Thursday 11 January 2024 00:05:38 +0000 (0:00:00.641) 0:00:00.653 ****** included: /WORKDIR/git-route_typegi73ufu7/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_typegi73ufu7/tests/tasks/el_repo_setup.yml:3 Thursday 11 January 2024 00:05:38 +0000 (0:00:00.022) 0:00:00.675 ****** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-route_typegi73ufu7/tests/tasks/el_repo_setup.yml:19 Thursday 11 January 2024 00:05:38 +0000 (0:00:00.324) 0:00:01.000 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-route_typegi73ufu7/tests/tasks/el_repo_setup.yml:24 Thursday 11 January 2024 00:05:38 +0000 (0:00:00.248) 0:00:01.249 ****** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-route_typegi73ufu7/tests/tasks/el_repo_setup.yml:28 Thursday 11 January 2024 00:05:38 +0000 (0:00:00.020) 0:00:01.269 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-route_typegi73ufu7/tests/tasks/el_repo_setup.yml:53 Thursday 11 January 2024 00:05:38 +0000 (0:00:00.017) 0:00:01.286 ****** included: /WORKDIR/git-route_typegi73ufu7/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 9] *********************************************************** task path: /WORKDIR/git-route_typegi73ufu7/tests/tasks/enable_epel.yml:8 Thursday 11 January 2024 00:05:38 +0000 (0:00:00.030) 0:00:01.317 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Install yum-utils package] *********************************************** task path: /WORKDIR/git-route_typegi73ufu7/tests/tasks/enable_epel.yml:24 Thursday 11 January 2024 00:05:39 +0000 (0:00:00.010) 0:00:01.327 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-route_typegi73ufu7/tests/tasks/enable_epel.yml:30 Thursday 11 January 2024 00:05:39 +0000 (0:00:00.011) 0:00:01.338 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-route_typegi73ufu7/tests/tasks/enable_epel.yml:35 Thursday 11 January 2024 00:05:39 +0000 (0:00:00.035) 0:00:01.374 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-route_typegi73ufu7/tests/tasks/enable_epel.yml:40 Thursday 11 January 2024 00:05:39 +0000 (0:00:00.010) 0:00:01.385 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /WORKDIR/git-route_typegi73ufu7/tests/tests_states_nm.yml:11 Thursday 11 January 2024 00:05:39 +0000 (0:00:00.009) 0:00:01.395 ****** 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_typegi73ufu7/tests/playbooks/tests_states.yml:3 Thursday 11 January 2024 00:05:39 +0000 (0:00:00.009) 0:00:01.404 ****** ok: [sut] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-route_typegi73ufu7/tests/playbooks/tests_states.yml:11 Thursday 11 January 2024 00:05:39 +0000 (0:00:00.497) 0:00:01.901 ****** ok: [sut] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-route_typegi73ufu7/tests/playbooks/tests_states.yml:22 Thursday 11 January 2024 00:05:39 +0000 (0:00:00.011) 0:00:01.913 ****** included: /WORKDIR/git-route_typegi73ufu7/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile] ******************************************** task path: /WORKDIR/git-route_typegi73ufu7/tests/playbooks/tasks/run_test.yml:5 Thursday 11 January 2024 00:05:39 +0000 (0:00:00.017) 0:00:01.930 ****** ok: [sut] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_typegi73ufu7/tests/playbooks/tasks/run_test.yml:9 Thursday 11 January 2024 00:05:39 +0000 (0:00:00.011) 0:00:01.942 ****** 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_typegi73ufu7/tests/playbooks/tasks/run_test.yml:21 Thursday 11 January 2024 00:05:39 +0000 (0:00:00.033) 0:00:01.975 ****** included: /WORKDIR/git-route_typegi73ufu7/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typegi73ufu7/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 11 January 2024 00:05:39 +0000 (0:00:00.013) 0:00:01.989 ****** included: /WORKDIR/git-route_typegi73ufu7/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typegi73ufu7/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 11 January 2024 00:05:39 +0000 (0:00:00.012) 0:00:02.001 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003074", "end": "2024-01-11 00:05:39.891895", "rc": 0, "start": "2024-01-11 00:05:39.888821" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typegi73ufu7/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 11 January 2024 00:05:39 +0000 (0:00:00.232) 0:00:02.234 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typegi73ufu7/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 11 January 2024 00:05:39 +0000 (0:00:00.012) 0:00:02.246 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typegi73ufu7/tests/playbooks/tasks/run_test.yml:24 Thursday 11 January 2024 00:05:39 +0000 (0:00:00.010) 0:00:02.257 ****** included: /WORKDIR/git-route_typegi73ufu7/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-route_typegi73ufu7/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-route_typegi73ufu7/tests/playbooks/tasks/delete_interface.yml:3 Thursday 11 January 2024 00:05:39 +0000 (0:00:00.020) 0:00:02.277 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.007026", "end": "2024-01-11 00:05:40.120279", "rc": 1, "start": "2024-01-11 00:05:40.113253" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typegi73ufu7/tests/playbooks/tasks/assert_device_absent.yml:3 Thursday 11 January 2024 00:05:40 +0000 (0:00:00.184) 0:00:02.462 ****** included: /WORKDIR/git-route_typegi73ufu7/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typegi73ufu7/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 11 January 2024 00:05:40 +0000 (0:00:00.016) 0:00:02.479 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_typegi73ufu7/tests/playbooks/tasks/assert_device_absent.yml:5 Thursday 11 January 2024 00:05:40 +0000 (0:00:00.178) 0:00:02.658 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_typegi73ufu7/tests/playbooks/tasks/run_test.yml:30 Thursday 11 January 2024 00:05:40 +0000 (0:00:00.013) 0:00:02.671 ****** included: /WORKDIR/git-route_typegi73ufu7/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typegi73ufu7/tests/playbooks/tasks/create_bridge_profile.yml:3 Thursday 11 January 2024 00:05:40 +0000 (0:00:00.018) 0:00:02.689 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 11 January 2024 00:05:40 +0000 (0:00:00.033) 0:00:02.722 ****** included: /WORKDIR/git-route_typegi73ufu7/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_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 11 January 2024 00:05:40 +0000 (0:00:00.068) 0:00:02.791 ****** 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_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 11 January 2024 00:05:40 +0000 (0:00:00.012) 0:00:02.804 ****** 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_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 11 January 2024 00:05:40 +0000 (0:00:00.011) 0:00:02.816 ****** 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_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 11 January 2024 00:05:40 +0000 (0:00:00.011) 0:00:02.827 ****** 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_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 11 January 2024 00:05:41 +0000 (0:00:01.465) 0:00:04.292 ****** 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_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 11 January 2024 00:05:43 +0000 (0:00:01.091) 0:00:05.384 ****** 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_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 11 January 2024 00:05:43 +0000 (0:00:00.030) 0:00:05.415 ****** 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_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 11 January 2024 00:05:43 +0000 (0:00:00.024) 0:00:05.439 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 11 January 2024 00:05:43 +0000 (0:00:00.020) 0:00:05.460 ****** 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_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 11 January 2024 00:05:43 +0000 (0:00:00.042) 0:00:05.503 ****** 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_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 11 January 2024 00:05:43 +0000 (0:00:00.021) 0:00:05.524 ****** 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_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 11 January 2024 00:05:43 +0000 (0:00:00.020) 0:00:05.545 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 11 January 2024 00:05:43 +0000 (0:00:00.025) 0:00:05.570 ****** 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_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 11 January 2024 00:05:43 +0000 (0:00:00.493) 0:00:06.063 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 11 January 2024 00:05:43 +0000 (0:00:00.047) 0:00:06.110 ****** 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_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 11 January 2024 00:05:43 +0000 (0:00:00.042) 0:00:06.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_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 11 January 2024 00:05:43 +0000 (0:00:00.046) 0:00:06.200 ****** 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, fed2feeb-0e83-406a-a72c-00f18a9bcc4e TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 11 January 2024 00:05:44 +0000 (0:00:00.563) 0:00:06.764 ****** 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_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 11 January 2024 00:05:44 +0000 (0:00:00.022) 0:00:06.786 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, fed2feeb-0e83-406a-a72c-00f18a9bcc4e" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 11 January 2024 00:05:44 +0000 (0:00:00.022) 0:00:06.809 ****** 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, fed2feeb-0e83-406a-a72c-00f18a9bcc4e\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, fed2feeb-0e83-406a-a72c-00f18a9bcc4e" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 11 January 2024 00:05:44 +0000 (0:00:00.023) 0:00:06.832 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 11 January 2024 00:05:44 +0000 (0:00:00.021) 0:00:06.854 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typegi73ufu7/tests/playbooks/tasks/create_bridge_profile.yml:14 Thursday 11 January 2024 00:05:44 +0000 (0:00:00.314) 0:00:07.168 ****** 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, fed2feeb-0e83-406a-a72c-00f18a9bcc4e\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, fed2feeb-0e83-406a-a72c-00f18a9bcc4e" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_typegi73ufu7/tests/playbooks/tasks/run_test.yml:36 Thursday 11 January 2024 00:05:44 +0000 (0:00:00.022) 0:00:07.191 ****** included: /WORKDIR/git-route_typegi73ufu7/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typegi73ufu7/tests/playbooks/tasks/assert_profile_present.yml:3 Thursday 11 January 2024 00:05:44 +0000 (0:00:00.040) 0:00:07.232 ****** included: /WORKDIR/git-route_typegi73ufu7/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typegi73ufu7/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 11 January 2024 00:05:44 +0000 (0:00:00.037) 0:00:07.270 ****** 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_typegi73ufu7/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 11 January 2024 00:05:44 +0000 (0:00:00.021) 0:00:07.291 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_typegi73ufu7/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 11 January 2024 00:05:45 +0000 (0:00:00.190) 0:00:07.481 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typegi73ufu7/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 11 January 2024 00:05:45 +0000 (0:00:00.021) 0:00:07.503 ****** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021315", "end": "2024-01-11 00:05:45.363077", "rc": 0, "start": "2024-01-11 00:05:45.341762" } 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_typegi73ufu7/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 11 January 2024 00:05:45 +0000 (0:00:00.213) 0:00:07.717 ****** 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_typegi73ufu7/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 11 January 2024 00:05:45 +0000 (0:00:00.053) 0:00:07.770 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_typegi73ufu7/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 11 January 2024 00:05:45 +0000 (0:00:00.022) 0:00:07.793 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_typegi73ufu7/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 11 January 2024 00:05:45 +0000 (0:00:00.024) 0:00:07.818 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_typegi73ufu7/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 11 January 2024 00:05:45 +0000 (0:00:00.025) 0:00:07.843 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-route_typegi73ufu7/tests/playbooks/tasks/assert_profile_present.yml:5 Thursday 11 January 2024 00:05:45 +0000 (0:00:00.026) 0:00:07.869 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-route_typegi73ufu7/tests/playbooks/tasks/assert_profile_present.yml:10 Thursday 11 January 2024 00:05:45 +0000 (0:00:00.025) 0:00:07.895 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-route_typegi73ufu7/tests/playbooks/tasks/assert_profile_present.yml:15 Thursday 11 January 2024 00:05:45 +0000 (0:00:00.024) 0:00:07.919 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typegi73ufu7/tests/playbooks/tasks/run_test.yml:42 Thursday 11 January 2024 00:05:45 +0000 (0:00:00.022) 0:00:07.941 ****** included: /WORKDIR/git-route_typegi73ufu7/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typegi73ufu7/tests/playbooks/tasks/assert_device_present.yml:3 Thursday 11 January 2024 00:05:45 +0000 (0:00:00.042) 0:00:07.983 ****** included: /WORKDIR/git-route_typegi73ufu7/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typegi73ufu7/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 11 January 2024 00:05:45 +0000 (0:00:00.035) 0:00:08.019 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1704931544.3287199, "block_size": 4096, "blocks": 0, "ctime": 1704931544.3287199, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 29819, "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": 1704931544.3287199, "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_typegi73ufu7/tests/playbooks/tasks/assert_device_present.yml:5 Thursday 11 January 2024 00:05:45 +0000 (0:00:00.189) 0:00:08.209 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can create a profile'] ******************************** task path: /WORKDIR/git-route_typegi73ufu7/tests/playbooks/tasks/run_test.yml:47 Thursday 11 January 2024 00:05:45 +0000 (0:00:00.023) 0:00:08.233 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_typegi73ufu7/tests/playbooks/tasks/run_test.yml:66 Thursday 11 January 2024 00:05:45 +0000 (0:00:00.023) 0:00:08.256 ****** included: /WORKDIR/git-route_typegi73ufu7/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_typegi73ufu7/tests/playbooks/tasks/cleanup_profile+device.yml:3 Thursday 11 January 2024 00:05:45 +0000 (0:00:00.039) 0:00:08.295 ****** 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.055724", "end": "2024-01-11 00:05:46.187769", "rc": 1, "start": "2024-01-11 00:05:46.132045" } STDOUT: Connection 'statebr' (fed2feeb-0e83-406a-a72c-00f18a9bcc4e) successfully deleted. STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-route_typegi73ufu7/tests/playbooks/tests_states.yml:45 Thursday 11 January 2024 00:05:46 +0000 (0:00:00.244) 0:00:08.540 ****** included: /WORKDIR/git-route_typegi73ufu7/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile without autoconnect] ************************ task path: /WORKDIR/git-route_typegi73ufu7/tests/playbooks/tasks/run_test.yml:5 Thursday 11 January 2024 00:05:46 +0000 (0:00:00.037) 0:00:08.577 ****** ok: [sut] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_typegi73ufu7/tests/playbooks/tasks/run_test.yml:9 Thursday 11 January 2024 00:05:46 +0000 (0:00:00.021) 0:00:08.598 ****** 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_typegi73ufu7/tests/playbooks/tasks/run_test.yml:21 Thursday 11 January 2024 00:05:46 +0000 (0:00:00.044) 0:00:08.643 ****** included: /WORKDIR/git-route_typegi73ufu7/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typegi73ufu7/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 11 January 2024 00:05:46 +0000 (0:00:00.034) 0:00:08.678 ****** included: /WORKDIR/git-route_typegi73ufu7/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typegi73ufu7/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 11 January 2024 00:05:46 +0000 (0:00:00.033) 0:00:08.711 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003458", "end": "2024-01-11 00:05:46.551077", "rc": 0, "start": "2024-01-11 00:05:46.547619" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typegi73ufu7/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 11 January 2024 00:05:46 +0000 (0:00:00.192) 0:00:08.903 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typegi73ufu7/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 11 January 2024 00:05:46 +0000 (0:00:00.022) 0:00:08.926 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typegi73ufu7/tests/playbooks/tasks/run_test.yml:24 Thursday 11 January 2024 00:05:46 +0000 (0:00:00.022) 0:00:08.948 ****** included: /WORKDIR/git-route_typegi73ufu7/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-route_typegi73ufu7/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-route_typegi73ufu7/tests/playbooks/tasks/delete_interface.yml:3 Thursday 11 January 2024 00:05:46 +0000 (0:00:00.041) 0:00:08.990 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.005827", "end": "2024-01-11 00:05:46.833396", "rc": 1, "start": "2024-01-11 00:05:46.827569" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typegi73ufu7/tests/playbooks/tasks/assert_device_absent.yml:3 Thursday 11 January 2024 00:05:46 +0000 (0:00:00.206) 0:00:09.197 ****** included: /WORKDIR/git-route_typegi73ufu7/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typegi73ufu7/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 11 January 2024 00:05:46 +0000 (0:00:00.065) 0:00:09.262 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_typegi73ufu7/tests/playbooks/tasks/assert_device_absent.yml:5 Thursday 11 January 2024 00:05:47 +0000 (0:00:00.194) 0:00:09.457 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_typegi73ufu7/tests/playbooks/tasks/run_test.yml:30 Thursday 11 January 2024 00:05:47 +0000 (0:00:00.027) 0:00:09.484 ****** included: /WORKDIR/git-route_typegi73ufu7/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typegi73ufu7/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Thursday 11 January 2024 00:05:47 +0000 (0:00:00.043) 0:00:09.528 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 11 January 2024 00:05:47 +0000 (0:00:00.047) 0:00:09.575 ****** included: /WORKDIR/git-route_typegi73ufu7/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_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 11 January 2024 00:05:47 +0000 (0:00:00.053) 0:00:09.629 ****** 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_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 11 January 2024 00:05:47 +0000 (0:00:00.028) 0:00:09.658 ****** 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_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 11 January 2024 00:05:47 +0000 (0:00:00.034) 0:00:09.693 ****** 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_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 11 January 2024 00:05:47 +0000 (0:00:00.028) 0:00:09.721 ****** 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_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 11 January 2024 00:05:48 +0000 (0:00:01.379) 0:00:11.100 ****** 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_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 11 January 2024 00:05:49 +0000 (0:00:00.919) 0:00:12.020 ****** 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_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 11 January 2024 00:05:49 +0000 (0:00:00.028) 0:00:12.049 ****** 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_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 11 January 2024 00:05:49 +0000 (0:00:00.022) 0:00:12.072 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 11 January 2024 00:05:49 +0000 (0:00:00.026) 0:00:12.098 ****** 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_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 11 January 2024 00:05:49 +0000 (0:00:00.057) 0:00:12.155 ****** 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_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 11 January 2024 00:05:49 +0000 (0:00:00.037) 0:00:12.193 ****** 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_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 11 January 2024 00:05:49 +0000 (0:00:00.031) 0:00:12.225 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 11 January 2024 00:05:49 +0000 (0:00:00.026) 0:00:12.251 ****** 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_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 11 January 2024 00:05:50 +0000 (0:00:00.353) 0:00:12.605 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 11 January 2024 00:05:50 +0000 (0:00:00.028) 0:00:12.634 ****** 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_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 11 January 2024 00:05:50 +0000 (0:00:00.021) 0:00:12.655 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 11 January 2024 00:05:50 +0000 (0:00:00.020) 0:00:12.676 ****** 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, 183c9922-d716-4a77-bce6-7eae9dfe1af7 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 11 January 2024 00:05:50 +0000 (0:00:00.361) 0:00:13.037 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-route_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 11 January 2024 00:05:50 +0000 (0:00:00.023) 0:00:13.060 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 183c9922-d716-4a77-bce6-7eae9dfe1af7" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 11 January 2024 00:05:50 +0000 (0:00:00.022) 0:00:13.083 ****** 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, 183c9922-d716-4a77-bce6-7eae9dfe1af7\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 183c9922-d716-4a77-bce6-7eae9dfe1af7" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 11 January 2024 00:05:50 +0000 (0:00:00.022) 0:00:13.106 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 11 January 2024 00:05:50 +0000 (0:00:00.021) 0:00:13.128 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typegi73ufu7/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Thursday 11 January 2024 00:05:50 +0000 (0:00:00.187) 0:00:13.316 ****** 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, 183c9922-d716-4a77-bce6-7eae9dfe1af7\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 183c9922-d716-4a77-bce6-7eae9dfe1af7" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_typegi73ufu7/tests/playbooks/tasks/run_test.yml:36 Thursday 11 January 2024 00:05:51 +0000 (0:00:00.022) 0:00:13.339 ****** included: /WORKDIR/git-route_typegi73ufu7/tests/playbooks/tasks/assert_device_absent.yml for sut included: /WORKDIR/git-route_typegi73ufu7/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typegi73ufu7/tests/playbooks/tasks/assert_device_absent.yml:3 Thursday 11 January 2024 00:05:51 +0000 (0:00:00.044) 0:00:13.383 ****** included: /WORKDIR/git-route_typegi73ufu7/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typegi73ufu7/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 11 January 2024 00:05:51 +0000 (0:00:00.035) 0:00:13.419 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_typegi73ufu7/tests/playbooks/tasks/assert_device_absent.yml:5 Thursday 11 January 2024 00:05:51 +0000 (0:00:00.217) 0:00:13.636 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typegi73ufu7/tests/playbooks/tasks/assert_profile_present.yml:3 Thursday 11 January 2024 00:05:51 +0000 (0:00:00.025) 0:00:13.662 ****** included: /WORKDIR/git-route_typegi73ufu7/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typegi73ufu7/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 11 January 2024 00:05:51 +0000 (0:00:00.038) 0:00:13.700 ****** 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_typegi73ufu7/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 11 January 2024 00:05:51 +0000 (0:00:00.022) 0:00:13.723 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_typegi73ufu7/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 11 January 2024 00:05:51 +0000 (0:00:00.197) 0:00:13.920 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typegi73ufu7/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 11 January 2024 00:05:51 +0000 (0:00:00.021) 0:00:13.942 ****** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020801", "end": "2024-01-11 00:05:51.799310", "rc": 0, "start": "2024-01-11 00:05:51.778509" } 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_typegi73ufu7/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 11 January 2024 00:05:51 +0000 (0:00:00.210) 0:00:14.152 ****** 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_typegi73ufu7/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 11 January 2024 00:05:51 +0000 (0:00:00.025) 0:00:14.178 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_typegi73ufu7/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 11 January 2024 00:05:51 +0000 (0:00:00.022) 0:00:14.201 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_typegi73ufu7/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 11 January 2024 00:05:51 +0000 (0:00:00.021) 0:00:14.223 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_typegi73ufu7/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 11 January 2024 00:05:51 +0000 (0:00:00.022) 0:00:14.245 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-route_typegi73ufu7/tests/playbooks/tasks/assert_profile_present.yml:5 Thursday 11 January 2024 00:05:51 +0000 (0:00:00.021) 0:00:14.266 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-route_typegi73ufu7/tests/playbooks/tasks/assert_profile_present.yml:10 Thursday 11 January 2024 00:05:51 +0000 (0:00:00.024) 0:00:14.290 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-route_typegi73ufu7/tests/playbooks/tasks/assert_profile_present.yml:15 Thursday 11 January 2024 00:05:51 +0000 (0:00:00.024) 0:00:14.315 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typegi73ufu7/tests/playbooks/tasks/run_test.yml:42 Thursday 11 January 2024 00:05:52 +0000 (0:00:00.022) 0:00:14.337 ****** TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /WORKDIR/git-route_typegi73ufu7/tests/playbooks/tasks/run_test.yml:47 Thursday 11 January 2024 00:05:52 +0000 (0:00:00.047) 0:00:14.385 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_typegi73ufu7/tests/playbooks/tasks/run_test.yml:66 Thursday 11 January 2024 00:05:52 +0000 (0:00:00.022) 0:00:14.407 ****** included: /WORKDIR/git-route_typegi73ufu7/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_typegi73ufu7/tests/playbooks/tasks/cleanup_profile+device.yml:3 Thursday 11 January 2024 00:05:52 +0000 (0:00:00.044) 0:00:14.452 ****** 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.041190", "end": "2024-01-11 00:05:52.330670", "rc": 1, "start": "2024-01-11 00:05:52.289480" } STDOUT: Connection 'statebr' (183c9922-d716-4a77-bce6-7eae9dfe1af7) successfully deleted. STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-route_typegi73ufu7/tests/playbooks/tests_states.yml:65 Thursday 11 January 2024 00:05:52 +0000 (0:00:00.230) 0:00:14.683 ****** included: /WORKDIR/git-route_typegi73ufu7/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can activate an existing profile] ******************************** task path: /WORKDIR/git-route_typegi73ufu7/tests/playbooks/tasks/run_test.yml:5 Thursday 11 January 2024 00:05:52 +0000 (0:00:00.037) 0:00:14.721 ****** ok: [sut] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_typegi73ufu7/tests/playbooks/tasks/run_test.yml:9 Thursday 11 January 2024 00:05:52 +0000 (0:00:00.022) 0:00:14.743 ****** 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_typegi73ufu7/tests/playbooks/tasks/run_test.yml:21 Thursday 11 January 2024 00:05:52 +0000 (0:00:00.042) 0:00:14.786 ****** included: /WORKDIR/git-route_typegi73ufu7/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typegi73ufu7/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 11 January 2024 00:05:52 +0000 (0:00:00.036) 0:00:14.822 ****** included: /WORKDIR/git-route_typegi73ufu7/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typegi73ufu7/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 11 January 2024 00:05:52 +0000 (0:00:00.034) 0:00:14.856 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.004191", "end": "2024-01-11 00:05:53.696550", "rc": 0, "start": "2024-01-11 00:05:52.692359" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typegi73ufu7/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 11 January 2024 00:05:53 +0000 (0:00:01.195) 0:00:16.051 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typegi73ufu7/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 11 January 2024 00:05:53 +0000 (0:00:00.039) 0:00:16.091 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typegi73ufu7/tests/playbooks/tasks/run_test.yml:24 Thursday 11 January 2024 00:05:53 +0000 (0:00:00.029) 0:00:16.120 ****** included: /WORKDIR/git-route_typegi73ufu7/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typegi73ufu7/tests/playbooks/tasks/create_bridge_profile.yml:3 Thursday 11 January 2024 00:05:53 +0000 (0:00:00.046) 0:00:16.167 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 11 January 2024 00:05:53 +0000 (0:00:00.038) 0:00:16.206 ****** included: /WORKDIR/git-route_typegi73ufu7/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_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 11 January 2024 00:05:53 +0000 (0:00:00.041) 0:00:16.248 ****** 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_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 11 January 2024 00:05:53 +0000 (0:00:00.029) 0:00:16.277 ****** 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_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 11 January 2024 00:05:53 +0000 (0:00:00.023) 0:00:16.300 ****** 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_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 11 January 2024 00:05:54 +0000 (0:00:00.039) 0:00:16.340 ****** 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_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 11 January 2024 00:05:55 +0000 (0:00:01.392) 0:00:17.732 ****** 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_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 11 January 2024 00:05:56 +0000 (0:00:00.910) 0:00:18.643 ****** 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_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 11 January 2024 00:05:56 +0000 (0:00:00.024) 0:00:18.668 ****** 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_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 11 January 2024 00:05:56 +0000 (0:00:00.023) 0:00:18.691 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 11 January 2024 00:05:56 +0000 (0:00:00.037) 0:00:18.728 ****** 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_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 11 January 2024 00:05:56 +0000 (0:00:00.072) 0:00:18.801 ****** 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_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 11 January 2024 00:05:56 +0000 (0:00:00.024) 0:00:18.825 ****** 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_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 11 January 2024 00:05:56 +0000 (0:00:00.023) 0:00:18.849 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 11 January 2024 00:05:56 +0000 (0:00:00.025) 0:00:18.874 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-route_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 11 January 2024 00:05:56 +0000 (0:00:00.388) 0:00:19.263 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 11 January 2024 00:05:56 +0000 (0:00:00.026) 0:00:19.289 ****** 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_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 11 January 2024 00:05:56 +0000 (0:00:00.022) 0:00:19.311 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 11 January 2024 00:05:57 +0000 (0:00:00.020) 0:00:19.332 ****** 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, 7abaf468-85e9-450c-96f1-e051358ed68a TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 11 January 2024 00:05:57 +0000 (0:00:00.394) 0:00:19.726 ****** 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_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 11 January 2024 00:05:57 +0000 (0:00:00.022) 0:00:19.748 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 7abaf468-85e9-450c-96f1-e051358ed68a" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 11 January 2024 00:05:57 +0000 (0:00:00.022) 0:00:19.771 ****** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 7abaf468-85e9-450c-96f1-e051358ed68a\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 7abaf468-85e9-450c-96f1-e051358ed68a" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 11 January 2024 00:05:57 +0000 (0:00:00.023) 0:00:19.794 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 11 January 2024 00:05:57 +0000 (0:00:00.020) 0:00:19.814 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typegi73ufu7/tests/playbooks/tasks/create_bridge_profile.yml:14 Thursday 11 January 2024 00:05:57 +0000 (0:00:00.188) 0:00:20.003 ****** 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, 7abaf468-85e9-450c-96f1-e051358ed68a\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 7abaf468-85e9-450c-96f1-e051358ed68a" ] } } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_typegi73ufu7/tests/playbooks/tasks/run_test.yml:30 Thursday 11 January 2024 00:05:57 +0000 (0:00:00.022) 0:00:20.026 ****** included: /WORKDIR/git-route_typegi73ufu7/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typegi73ufu7/tests/playbooks/tasks/activate_profile.yml:3 Thursday 11 January 2024 00:05:57 +0000 (0:00:00.037) 0:00:20.064 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 11 January 2024 00:05:57 +0000 (0:00:00.040) 0:00:20.104 ****** included: /WORKDIR/git-route_typegi73ufu7/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_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 11 January 2024 00:05:57 +0000 (0:00:00.066) 0:00:20.171 ****** 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_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 11 January 2024 00:05:57 +0000 (0:00:00.028) 0:00:20.200 ****** 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_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 11 January 2024 00:05:57 +0000 (0:00:00.021) 0:00:20.221 ****** 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_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 11 January 2024 00:05:57 +0000 (0:00:00.023) 0:00:20.244 ****** 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_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 11 January 2024 00:05:59 +0000 (0:00:01.361) 0:00:21.606 ****** 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_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 11 January 2024 00:06:00 +0000 (0:00:00.914) 0:00:22.521 ****** 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_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 11 January 2024 00:06:00 +0000 (0:00:00.047) 0:00:22.568 ****** 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_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 11 January 2024 00:06:00 +0000 (0:00:00.023) 0:00:22.592 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 11 January 2024 00:06:00 +0000 (0:00:00.023) 0:00:22.616 ****** 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_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 11 January 2024 00:06:00 +0000 (0:00:00.049) 0:00:22.665 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-route_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 11 January 2024 00:06:00 +0000 (0:00:00.037) 0:00:22.703 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-route_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 11 January 2024 00:06:00 +0000 (0:00:00.045) 0:00:22.748 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 11 January 2024 00:06:00 +0000 (0:00:00.035) 0:00:22.784 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-route_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 11 January 2024 00:06:00 +0000 (0:00:00.366) 0:00:23.151 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 11 January 2024 00:06:00 +0000 (0:00:00.026) 0:00:23.177 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 11 January 2024 00:06:00 +0000 (0:00:00.023) 0:00:23.201 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 11 January 2024 00:06:00 +0000 (0:00:00.022) 0:00:23.224 ****** 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, 7abaf468-85e9-450c-96f1-e051358ed68a skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 11 January 2024 00:06:01 +0000 (0:00:00.343) 0:00:23.567 ****** 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_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 11 January 2024 00:06:01 +0000 (0:00:00.022) 0:00:23.589 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 7abaf468-85e9-450c-96f1-e051358ed68a skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 11 January 2024 00:06:01 +0000 (0:00:00.023) 0:00:23.612 ****** 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, 7abaf468-85e9-450c-96f1-e051358ed68a skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 7abaf468-85e9-450c-96f1-e051358ed68a skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 11 January 2024 00:06:01 +0000 (0:00:00.024) 0:00:23.637 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 11 January 2024 00:06:01 +0000 (0:00:00.021) 0:00:23.659 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_typegi73ufu7/tests/playbooks/tasks/run_test.yml:36 Thursday 11 January 2024 00:06:01 +0000 (0:00:00.196) 0:00:23.856 ****** included: /WORKDIR/git-route_typegi73ufu7/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-route_typegi73ufu7/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typegi73ufu7/tests/playbooks/tasks/assert_device_present.yml:3 Thursday 11 January 2024 00:06:01 +0000 (0:00:00.044) 0:00:23.901 ****** included: /WORKDIR/git-route_typegi73ufu7/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typegi73ufu7/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 11 January 2024 00:06:01 +0000 (0:00:00.037) 0:00:23.938 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1704931557.3162987, "block_size": 4096, "blocks": 0, "ctime": 1704931557.3162987, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 29950, "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": 1704931557.3162987, "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_typegi73ufu7/tests/playbooks/tasks/assert_device_present.yml:5 Thursday 11 January 2024 00:06:01 +0000 (0:00:00.201) 0:00:24.140 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typegi73ufu7/tests/playbooks/tasks/assert_profile_present.yml:3 Thursday 11 January 2024 00:06:01 +0000 (0:00:00.027) 0:00:24.167 ****** included: /WORKDIR/git-route_typegi73ufu7/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typegi73ufu7/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 11 January 2024 00:06:01 +0000 (0:00:00.043) 0:00:24.210 ****** 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_typegi73ufu7/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 11 January 2024 00:06:01 +0000 (0:00:00.024) 0:00:24.235 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_typegi73ufu7/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 11 January 2024 00:06:02 +0000 (0:00:00.191) 0:00:24.427 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typegi73ufu7/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 11 January 2024 00:06:02 +0000 (0:00:00.024) 0:00:24.452 ****** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021111", "end": "2024-01-11 00:06:02.312994", "rc": 0, "start": "2024-01-11 00:06:02.291883" } 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_typegi73ufu7/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 11 January 2024 00:06:02 +0000 (0:00:00.214) 0:00:24.667 ****** 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_typegi73ufu7/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 11 January 2024 00:06:02 +0000 (0:00:00.025) 0:00:24.692 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_typegi73ufu7/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 11 January 2024 00:06:02 +0000 (0:00:00.023) 0:00:24.716 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_typegi73ufu7/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 11 January 2024 00:06:02 +0000 (0:00:00.049) 0:00:24.765 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_typegi73ufu7/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 11 January 2024 00:06:02 +0000 (0:00:00.022) 0:00:24.787 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-route_typegi73ufu7/tests/playbooks/tasks/assert_profile_present.yml:5 Thursday 11 January 2024 00:06:02 +0000 (0:00:00.022) 0:00:24.810 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-route_typegi73ufu7/tests/playbooks/tasks/assert_profile_present.yml:10 Thursday 11 January 2024 00:06:02 +0000 (0:00:00.023) 0:00:24.834 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-route_typegi73ufu7/tests/playbooks/tasks/assert_profile_present.yml:15 Thursday 11 January 2024 00:06:02 +0000 (0:00:00.025) 0:00:24.859 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typegi73ufu7/tests/playbooks/tasks/run_test.yml:42 Thursday 11 January 2024 00:06:02 +0000 (0:00:00.022) 0:00:24.882 ****** TASK [Success in test 'I can activate an existing profile'] ******************** task path: /WORKDIR/git-route_typegi73ufu7/tests/playbooks/tasks/run_test.yml:47 Thursday 11 January 2024 00:06:02 +0000 (0:00:00.020) 0:00:24.902 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_typegi73ufu7/tests/playbooks/tasks/run_test.yml:66 Thursday 11 January 2024 00:06:02 +0000 (0:00:00.022) 0:00:24.924 ****** included: /WORKDIR/git-route_typegi73ufu7/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_typegi73ufu7/tests/playbooks/tasks/cleanup_profile+device.yml:3 Thursday 11 January 2024 00:06:02 +0000 (0:00:00.042) 0:00:24.966 ****** 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.063813", "end": "2024-01-11 00:06:02.868108", "rc": 1, "start": "2024-01-11 00:06:02.804295" } STDOUT: Connection 'statebr' (7abaf468-85e9-450c-96f1-e051358ed68a) successfully deleted. STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-route_typegi73ufu7/tests/playbooks/tests_states.yml:83 Thursday 11 January 2024 00:06:02 +0000 (0:00:00.255) 0:00:25.221 ****** included: /WORKDIR/git-route_typegi73ufu7/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_typegi73ufu7/tests/playbooks/tasks/run_test.yml:5 Thursday 11 January 2024 00:06:02 +0000 (0:00:00.037) 0:00:25.259 ****** ok: [sut] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_typegi73ufu7/tests/playbooks/tasks/run_test.yml:9 Thursday 11 January 2024 00:06:02 +0000 (0:00:00.021) 0:00:25.280 ****** 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_typegi73ufu7/tests/playbooks/tasks/run_test.yml:21 Thursday 11 January 2024 00:06:03 +0000 (0:00:00.044) 0:00:25.325 ****** included: /WORKDIR/git-route_typegi73ufu7/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typegi73ufu7/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 11 January 2024 00:06:03 +0000 (0:00:00.036) 0:00:25.361 ****** included: /WORKDIR/git-route_typegi73ufu7/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typegi73ufu7/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 11 January 2024 00:06:03 +0000 (0:00:00.085) 0:00:25.447 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003145", "end": "2024-01-11 00:06:03.311780", "rc": 0, "start": "2024-01-11 00:06:03.308635" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typegi73ufu7/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 11 January 2024 00:06:03 +0000 (0:00:00.221) 0:00:25.669 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typegi73ufu7/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 11 January 2024 00:06:03 +0000 (0:00:00.023) 0:00:25.693 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typegi73ufu7/tests/playbooks/tasks/run_test.yml:24 Thursday 11 January 2024 00:06:03 +0000 (0:00:00.023) 0:00:25.716 ****** included: /WORKDIR/git-route_typegi73ufu7/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-route_typegi73ufu7/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typegi73ufu7/tests/playbooks/tasks/create_bridge_profile.yml:3 Thursday 11 January 2024 00:06:03 +0000 (0:00:00.040) 0:00:25.756 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 11 January 2024 00:06:03 +0000 (0:00:00.035) 0:00:25.792 ****** included: /WORKDIR/git-route_typegi73ufu7/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_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 11 January 2024 00:06:03 +0000 (0:00:00.040) 0:00:25.832 ****** 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_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 11 January 2024 00:06:03 +0000 (0:00:00.026) 0:00:25.858 ****** 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_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 11 January 2024 00:06:03 +0000 (0:00:00.021) 0:00:25.880 ****** 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_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 11 January 2024 00:06:03 +0000 (0:00:00.020) 0:00:25.900 ****** 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_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 11 January 2024 00:06:04 +0000 (0:00:01.368) 0:00:27.268 ****** 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_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 11 January 2024 00:06:05 +0000 (0:00:00.910) 0:00:28.179 ****** 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_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 11 January 2024 00:06:05 +0000 (0:00:00.028) 0:00:28.208 ****** 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_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 11 January 2024 00:06:05 +0000 (0:00:00.024) 0:00:28.233 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 11 January 2024 00:06:05 +0000 (0:00:00.026) 0:00:28.259 ****** 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_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 11 January 2024 00:06:05 +0000 (0:00:00.054) 0:00:28.314 ****** 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_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 11 January 2024 00:06:06 +0000 (0:00:00.022) 0:00:28.337 ****** 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_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 11 January 2024 00:06:06 +0000 (0:00:00.022) 0:00:28.359 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 11 January 2024 00:06:06 +0000 (0:00:00.025) 0:00:28.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_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 11 January 2024 00:06:06 +0000 (0:00:00.350) 0:00:28.735 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 11 January 2024 00:06:06 +0000 (0:00:00.027) 0:00:28.762 ****** 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_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 11 January 2024 00:06:06 +0000 (0:00:00.021) 0:00:28.783 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 11 January 2024 00:06:06 +0000 (0:00:00.021) 0:00:28.805 ****** 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, 68e11a36-bf68-41f1-b136-477a6d33bdc4 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 11 January 2024 00:06:06 +0000 (0:00:00.391) 0:00:29.196 ****** 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_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 11 January 2024 00:06:06 +0000 (0:00:00.023) 0:00:29.220 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 68e11a36-bf68-41f1-b136-477a6d33bdc4" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 11 January 2024 00:06:06 +0000 (0:00:00.025) 0:00:29.246 ****** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "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, 68e11a36-bf68-41f1-b136-477a6d33bdc4\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 68e11a36-bf68-41f1-b136-477a6d33bdc4" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 11 January 2024 00:06:06 +0000 (0:00:00.025) 0:00:29.272 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 11 January 2024 00:06:06 +0000 (0:00:00.025) 0:00:29.297 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typegi73ufu7/tests/playbooks/tasks/create_bridge_profile.yml:14 Thursday 11 January 2024 00:06:07 +0000 (0:00:00.193) 0:00:29.491 ****** 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, 68e11a36-bf68-41f1-b136-477a6d33bdc4\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 68e11a36-bf68-41f1-b136-477a6d33bdc4" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typegi73ufu7/tests/playbooks/tasks/activate_profile.yml:3 Thursday 11 January 2024 00:06:07 +0000 (0:00:00.037) 0:00:29.529 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 11 January 2024 00:06:07 +0000 (0:00:00.037) 0:00:29.566 ****** included: /WORKDIR/git-route_typegi73ufu7/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_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 11 January 2024 00:06:07 +0000 (0:00:00.049) 0:00:29.616 ****** 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_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 11 January 2024 00:06:07 +0000 (0:00:00.073) 0:00:29.689 ****** 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_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 11 January 2024 00:06:07 +0000 (0:00:00.023) 0:00:29.713 ****** 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_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 11 January 2024 00:06:07 +0000 (0:00:00.021) 0:00:29.734 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-route_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 11 January 2024 00:06:08 +0000 (0:00:01.369) 0:00:31.104 ****** 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_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 11 January 2024 00:06:09 +0000 (0:00:00.899) 0:00:32.003 ****** 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_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 11 January 2024 00:06:09 +0000 (0:00:00.045) 0:00:32.049 ****** 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_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 11 January 2024 00:06:09 +0000 (0:00:00.021) 0:00:32.071 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 11 January 2024 00:06:09 +0000 (0:00:00.021) 0:00:32.093 ****** 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_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 11 January 2024 00:06:09 +0000 (0:00:00.043) 0:00:32.136 ****** 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_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 11 January 2024 00:06:09 +0000 (0:00:00.021) 0:00:32.157 ****** 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_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 11 January 2024 00:06:09 +0000 (0:00:00.021) 0:00:32.179 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 11 January 2024 00:06:09 +0000 (0:00:00.023) 0:00:32.203 ****** 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_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 11 January 2024 00:06:10 +0000 (0:00:00.351) 0:00:32.554 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 11 January 2024 00:06:10 +0000 (0:00:00.031) 0:00:32.586 ****** 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_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 11 January 2024 00:06:10 +0000 (0:00:00.036) 0:00:32.623 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 11 January 2024 00:06:10 +0000 (0:00:00.022) 0:00:32.645 ****** ok: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 68e11a36-bf68-41f1-b136-477a6d33bdc4 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 11 January 2024 00:06:10 +0000 (0:00:00.341) 0:00:32.987 ****** 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_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 11 January 2024 00:06:10 +0000 (0:00:00.022) 0:00:33.010 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 68e11a36-bf68-41f1-b136-477a6d33bdc4 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 11 January 2024 00:06:10 +0000 (0:00:00.023) 0:00:33.034 ****** 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, 68e11a36-bf68-41f1-b136-477a6d33bdc4 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 68e11a36-bf68-41f1-b136-477a6d33bdc4 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 11 January 2024 00:06:10 +0000 (0:00:00.025) 0:00:33.059 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 11 January 2024 00:06:10 +0000 (0:00:00.022) 0:00:33.081 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_typegi73ufu7/tests/playbooks/tasks/run_test.yml:30 Thursday 11 January 2024 00:06:10 +0000 (0:00:00.185) 0:00:33.267 ****** included: /WORKDIR/git-route_typegi73ufu7/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typegi73ufu7/tests/playbooks/tasks/remove_profile.yml:3 Thursday 11 January 2024 00:06:10 +0000 (0:00:00.042) 0:00:33.310 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 11 January 2024 00:06:11 +0000 (0:00:00.043) 0:00:33.353 ****** included: /WORKDIR/git-route_typegi73ufu7/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_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 11 January 2024 00:06:11 +0000 (0:00:00.043) 0:00:33.397 ****** 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_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 11 January 2024 00:06:11 +0000 (0:00:00.027) 0:00:33.425 ****** 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_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 11 January 2024 00:06:11 +0000 (0:00:00.022) 0:00:33.448 ****** 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_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 11 January 2024 00:06:11 +0000 (0:00:00.023) 0:00:33.472 ****** 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_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 11 January 2024 00:06:12 +0000 (0:00:01.384) 0:00:34.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_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 11 January 2024 00:06:13 +0000 (0:00:00.908) 0:00:35.764 ****** 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_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 11 January 2024 00:06:13 +0000 (0:00:00.027) 0:00:35.792 ****** 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_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 11 January 2024 00:06:13 +0000 (0:00:00.048) 0:00:35.841 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 11 January 2024 00:06:13 +0000 (0:00:00.047) 0:00:35.888 ****** 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_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 11 January 2024 00:06:13 +0000 (0:00:00.044) 0:00:35.932 ****** 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_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 11 January 2024 00:06:13 +0000 (0:00:00.022) 0:00:35.955 ****** 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_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 11 January 2024 00:06:13 +0000 (0:00:00.021) 0:00:35.976 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 11 January 2024 00:06:13 +0000 (0:00:00.024) 0:00:36.001 ****** 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_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 11 January 2024 00:06:14 +0000 (0:00:00.349) 0:00:36.350 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 11 January 2024 00:06:14 +0000 (0:00:00.025) 0:00:36.375 ****** 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_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 11 January 2024 00:06:14 +0000 (0:00:00.045) 0:00:36.420 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 11 January 2024 00:06:14 +0000 (0:00:00.022) 0:00:36.442 ****** 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_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 11 January 2024 00:06:14 +0000 (0:00:00.377) 0:00:36.820 ****** 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_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 11 January 2024 00:06:14 +0000 (0:00:00.022) 0:00:36.842 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 11 January 2024 00:06:14 +0000 (0:00:00.023) 0:00:36.866 ****** 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_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 11 January 2024 00:06:14 +0000 (0:00:00.023) 0:00:36.889 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 11 January 2024 00:06:14 +0000 (0:00:00.021) 0:00:36.911 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_typegi73ufu7/tests/playbooks/tasks/run_test.yml:36 Thursday 11 January 2024 00:06:14 +0000 (0:00:00.185) 0:00:37.097 ****** included: /WORKDIR/git-route_typegi73ufu7/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-route_typegi73ufu7/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typegi73ufu7/tests/playbooks/tasks/assert_device_present.yml:3 Thursday 11 January 2024 00:06:14 +0000 (0:00:00.054) 0:00:37.151 ****** included: /WORKDIR/git-route_typegi73ufu7/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typegi73ufu7/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 11 January 2024 00:06:14 +0000 (0:00:00.061) 0:00:37.213 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1704931566.7911859, "block_size": 4096, "blocks": 0, "ctime": 1704931566.7911859, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 30081, "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": 1704931566.7911859, "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_typegi73ufu7/tests/playbooks/tasks/assert_device_present.yml:5 Thursday 11 January 2024 00:06:15 +0000 (0:00:00.195) 0:00:37.408 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typegi73ufu7/tests/playbooks/tasks/assert_profile_absent.yml:3 Thursday 11 January 2024 00:06:15 +0000 (0:00:00.026) 0:00:37.434 ****** included: /WORKDIR/git-route_typegi73ufu7/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typegi73ufu7/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 11 January 2024 00:06:15 +0000 (0:00:00.067) 0:00:37.502 ****** 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_typegi73ufu7/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 11 January 2024 00:06:15 +0000 (0:00:00.024) 0:00:37.527 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_typegi73ufu7/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 11 January 2024 00:06:15 +0000 (0:00:00.192) 0:00:37.719 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typegi73ufu7/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 11 January 2024 00:06:15 +0000 (0:00:00.022) 0:00:37.741 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021405", "end": "2024-01-11 00:06:15.600652", "rc": 1, "start": "2024-01-11 00:06:15.579247" } 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_typegi73ufu7/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 11 January 2024 00:06:15 +0000 (0:00:00.212) 0:00:37.954 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_typegi73ufu7/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 11 January 2024 00:06:15 +0000 (0:00:00.024) 0:00:37.978 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_typegi73ufu7/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 11 January 2024 00:06:15 +0000 (0:00:00.025) 0:00:38.004 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_typegi73ufu7/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 11 January 2024 00:06:15 +0000 (0:00:00.024) 0:00:38.028 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_typegi73ufu7/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 11 January 2024 00:06:15 +0000 (0:00:00.027) 0:00:38.055 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-route_typegi73ufu7/tests/playbooks/tasks/assert_profile_absent.yml:5 Thursday 11 January 2024 00:06:15 +0000 (0:00:00.024) 0:00:38.080 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typegi73ufu7/tests/playbooks/tasks/run_test.yml:42 Thursday 11 January 2024 00:06:15 +0000 (0:00:00.025) 0:00:38.105 ****** TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /WORKDIR/git-route_typegi73ufu7/tests/playbooks/tasks/run_test.yml:47 Thursday 11 January 2024 00:06:15 +0000 (0:00:00.033) 0:00:38.139 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_typegi73ufu7/tests/playbooks/tasks/run_test.yml:66 Thursday 11 January 2024 00:06:15 +0000 (0:00:00.026) 0:00:38.166 ****** included: /WORKDIR/git-route_typegi73ufu7/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_typegi73ufu7/tests/playbooks/tasks/cleanup_profile+device.yml:3 Thursday 11 January 2024 00:06:15 +0000 (0:00:00.052) 0:00:38.218 ****** 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.064696", "end": "2024-01-11 00:06:16.129051", "rc": 1, "start": "2024-01-11 00:06:16.064355" } STDOUT: Connection 'statebr' (68e11a36-bf68-41f1-b136-477a6d33bdc4) successfully deleted. STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-route_typegi73ufu7/tests/playbooks/tests_states.yml:103 Thursday 11 January 2024 00:06:16 +0000 (0:00:00.264) 0:00:38.483 ****** included: /WORKDIR/git-route_typegi73ufu7/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can take a profile down that is absent] ************************** task path: /WORKDIR/git-route_typegi73ufu7/tests/playbooks/tasks/run_test.yml:5 Thursday 11 January 2024 00:06:16 +0000 (0:00:00.062) 0:00:38.545 ****** ok: [sut] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_typegi73ufu7/tests/playbooks/tasks/run_test.yml:9 Thursday 11 January 2024 00:06:16 +0000 (0:00:00.021) 0:00:38.566 ****** 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_typegi73ufu7/tests/playbooks/tasks/run_test.yml:21 Thursday 11 January 2024 00:06:16 +0000 (0:00:00.045) 0:00:38.612 ****** included: /WORKDIR/git-route_typegi73ufu7/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typegi73ufu7/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 11 January 2024 00:06:16 +0000 (0:00:00.034) 0:00:38.647 ****** included: /WORKDIR/git-route_typegi73ufu7/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typegi73ufu7/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 11 January 2024 00:06:16 +0000 (0:00:00.034) 0:00:38.682 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002997", "end": "2024-01-11 00:06:16.521674", "rc": 0, "start": "2024-01-11 00:06:16.518677" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typegi73ufu7/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 11 January 2024 00:06:16 +0000 (0:00:00.192) 0:00:38.874 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typegi73ufu7/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 11 January 2024 00:06:16 +0000 (0:00:00.022) 0:00:38.897 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typegi73ufu7/tests/playbooks/tasks/run_test.yml:24 Thursday 11 January 2024 00:06:16 +0000 (0:00:00.022) 0:00:38.920 ****** included: /WORKDIR/git-route_typegi73ufu7/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-route_typegi73ufu7/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-route_typegi73ufu7/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typegi73ufu7/tests/playbooks/tasks/create_bridge_profile.yml:3 Thursday 11 January 2024 00:06:16 +0000 (0:00:00.049) 0:00:38.969 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 11 January 2024 00:06:16 +0000 (0:00:00.037) 0:00:39.006 ****** included: /WORKDIR/git-route_typegi73ufu7/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_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 11 January 2024 00:06:16 +0000 (0:00:00.066) 0:00:39.073 ****** 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_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 11 January 2024 00:06:16 +0000 (0:00:00.026) 0:00:39.100 ****** 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_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 11 January 2024 00:06:16 +0000 (0:00:00.022) 0:00:39.123 ****** 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_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 11 January 2024 00:06:16 +0000 (0:00:00.023) 0:00:39.146 ****** 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_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 11 January 2024 00:06:18 +0000 (0:00:01.356) 0:00:40.503 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-route_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 11 January 2024 00:06:19 +0000 (0:00:00.906) 0:00:41.409 ****** 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_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 11 January 2024 00:06:19 +0000 (0:00:00.049) 0:00:41.459 ****** 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_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 11 January 2024 00:06:19 +0000 (0:00:00.022) 0:00:41.482 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 11 January 2024 00:06:19 +0000 (0:00:00.022) 0:00:41.504 ****** 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_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 11 January 2024 00:06:19 +0000 (0:00:00.045) 0:00:41.549 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-route_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 11 January 2024 00:06:19 +0000 (0:00:00.022) 0:00:41.572 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-route_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 11 January 2024 00:06:19 +0000 (0:00:00.022) 0:00:41.595 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 11 January 2024 00:06:19 +0000 (0:00:00.025) 0:00:41.620 ****** 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_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 11 January 2024 00:06:19 +0000 (0:00:00.350) 0:00:41.971 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 11 January 2024 00:06:19 +0000 (0:00:00.028) 0:00:42.000 ****** 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_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 11 January 2024 00:06:19 +0000 (0:00:00.023) 0:00:42.023 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 11 January 2024 00:06:19 +0000 (0:00:00.021) 0:00:42.045 ****** 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, c2b578fb-cce5-49ea-a09b-70526494b893 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 11 January 2024 00:06:20 +0000 (0:00:00.406) 0:00:42.451 ****** 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_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 11 January 2024 00:06:20 +0000 (0:00:00.038) 0:00:42.489 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, c2b578fb-cce5-49ea-a09b-70526494b893" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 11 January 2024 00:06:20 +0000 (0:00:00.024) 0:00:42.513 ****** 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, c2b578fb-cce5-49ea-a09b-70526494b893\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, c2b578fb-cce5-49ea-a09b-70526494b893" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 11 January 2024 00:06:20 +0000 (0:00:00.022) 0:00:42.536 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 11 January 2024 00:06:20 +0000 (0:00:00.046) 0:00:42.583 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typegi73ufu7/tests/playbooks/tasks/create_bridge_profile.yml:14 Thursday 11 January 2024 00:06:20 +0000 (0:00:00.193) 0:00:42.776 ****** 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, c2b578fb-cce5-49ea-a09b-70526494b893\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, c2b578fb-cce5-49ea-a09b-70526494b893" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typegi73ufu7/tests/playbooks/tasks/activate_profile.yml:3 Thursday 11 January 2024 00:06:20 +0000 (0:00:00.023) 0:00:42.799 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 11 January 2024 00:06:20 +0000 (0:00:00.039) 0:00:42.838 ****** included: /WORKDIR/git-route_typegi73ufu7/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_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 11 January 2024 00:06:20 +0000 (0:00:00.043) 0:00:42.882 ****** 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_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 11 January 2024 00:06:20 +0000 (0:00:00.029) 0:00:42.911 ****** 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_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 11 January 2024 00:06:20 +0000 (0:00:00.024) 0:00:42.935 ****** 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_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 11 January 2024 00:06:20 +0000 (0:00:00.024) 0:00:42.960 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-route_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 11 January 2024 00:06:21 +0000 (0:00:01.355) 0:00:44.315 ****** 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_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 11 January 2024 00:06:22 +0000 (0:00:00.931) 0:00:45.247 ****** 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_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 11 January 2024 00:06:22 +0000 (0:00:00.022) 0:00:45.269 ****** 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_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 11 January 2024 00:06:22 +0000 (0:00:00.023) 0:00:45.293 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 11 January 2024 00:06:22 +0000 (0:00:00.023) 0:00:45.316 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-route_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 11 January 2024 00:06:23 +0000 (0:00:00.046) 0:00:45.363 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-route_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 11 January 2024 00:06:23 +0000 (0:00:00.023) 0:00:45.386 ****** 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_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 11 January 2024 00:06:23 +0000 (0:00:00.021) 0:00:45.408 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 11 January 2024 00:06:23 +0000 (0:00:00.025) 0:00:45.433 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-route_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 11 January 2024 00:06:23 +0000 (0:00:00.351) 0:00:45.785 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 11 January 2024 00:06:23 +0000 (0:00:00.025) 0:00:45.811 ****** 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_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 11 January 2024 00:06:23 +0000 (0:00:00.021) 0:00:45.833 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 11 January 2024 00:06:23 +0000 (0:00:00.053) 0:00:45.886 ****** 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, c2b578fb-cce5-49ea-a09b-70526494b893 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 11 January 2024 00:06:23 +0000 (0:00:00.341) 0:00:46.227 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-route_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 11 January 2024 00:06:23 +0000 (0:00:00.020) 0:00:46.248 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, c2b578fb-cce5-49ea-a09b-70526494b893 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 11 January 2024 00:06:23 +0000 (0:00:00.023) 0:00:46.272 ****** 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, c2b578fb-cce5-49ea-a09b-70526494b893 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, c2b578fb-cce5-49ea-a09b-70526494b893 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 11 January 2024 00:06:23 +0000 (0:00:00.023) 0:00:46.295 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 11 January 2024 00:06:23 +0000 (0:00:00.025) 0:00:46.320 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typegi73ufu7/tests/playbooks/tasks/remove_profile.yml:3 Thursday 11 January 2024 00:06:24 +0000 (0:00:00.185) 0:00:46.506 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 11 January 2024 00:06:24 +0000 (0:00:00.037) 0:00:46.543 ****** included: /WORKDIR/git-route_typegi73ufu7/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_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 11 January 2024 00:06:24 +0000 (0:00:00.041) 0:00:46.585 ****** 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_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 11 January 2024 00:06:24 +0000 (0:00:00.026) 0:00:46.611 ****** 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_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 11 January 2024 00:06:24 +0000 (0:00:00.021) 0:00:46.632 ****** 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_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 11 January 2024 00:06:24 +0000 (0:00:00.020) 0:00:46.653 ****** 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_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 11 January 2024 00:06:25 +0000 (0:00:01.356) 0:00:48.010 ****** 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_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 11 January 2024 00:06:26 +0000 (0:00:00.913) 0:00:48.923 ****** 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_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 11 January 2024 00:06:26 +0000 (0:00:00.025) 0:00:48.948 ****** 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_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 11 January 2024 00:06:26 +0000 (0:00:00.022) 0:00:48.971 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 11 January 2024 00:06:26 +0000 (0:00:00.035) 0:00:49.007 ****** 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_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 11 January 2024 00:06:26 +0000 (0:00:00.074) 0:00:49.082 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-route_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 11 January 2024 00:06:26 +0000 (0:00:00.039) 0:00:49.121 ****** 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_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 11 January 2024 00:06:26 +0000 (0:00:00.055) 0:00:49.176 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 11 January 2024 00:06:26 +0000 (0:00:00.029) 0:00:49.205 ****** 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_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 11 January 2024 00:06:27 +0000 (0:00:00.388) 0:00:49.594 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 11 January 2024 00:06:27 +0000 (0:00:00.042) 0:00:49.636 ****** 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_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 11 January 2024 00:06:27 +0000 (0:00:00.023) 0:00:49.659 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 11 January 2024 00:06:27 +0000 (0:00:00.032) 0:00:49.691 ****** 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_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 11 January 2024 00:06:27 +0000 (0:00:00.384) 0:00:50.076 ****** 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_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 11 January 2024 00:06:27 +0000 (0:00:00.041) 0:00:50.117 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 11 January 2024 00:06:27 +0000 (0:00:00.050) 0:00:50.168 ****** 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_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 11 January 2024 00:06:27 +0000 (0:00:00.064) 0:00:50.232 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 11 January 2024 00:06:27 +0000 (0:00:00.025) 0:00:50.258 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_typegi73ufu7/tests/playbooks/tasks/run_test.yml:30 Thursday 11 January 2024 00:06:28 +0000 (0:00:00.187) 0:00:50.445 ****** included: /WORKDIR/git-route_typegi73ufu7/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typegi73ufu7/tests/playbooks/tasks/remove+down_profile.yml:3 Thursday 11 January 2024 00:06:28 +0000 (0:00:00.042) 0:00:50.487 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 11 January 2024 00:06:28 +0000 (0:00:00.084) 0:00:50.571 ****** included: /WORKDIR/git-route_typegi73ufu7/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_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 11 January 2024 00:06:28 +0000 (0:00:00.044) 0:00:50.616 ****** 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_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 11 January 2024 00:06:28 +0000 (0:00:00.026) 0:00:50.643 ****** 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_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 11 January 2024 00:06:28 +0000 (0:00:00.021) 0:00:50.664 ****** 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_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 11 January 2024 00:06:28 +0000 (0:00:00.020) 0:00:50.685 ****** 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_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 11 January 2024 00:06:29 +0000 (0:00:01.356) 0:00:52.041 ****** 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_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 11 January 2024 00:06:30 +0000 (0:00:00.937) 0:00:52.979 ****** 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_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 11 January 2024 00:06:30 +0000 (0:00:00.024) 0:00:53.004 ****** 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_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 11 January 2024 00:06:30 +0000 (0:00:00.023) 0:00:53.027 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 11 January 2024 00:06:30 +0000 (0:00:00.023) 0:00:53.051 ****** 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_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 11 January 2024 00:06:30 +0000 (0:00:00.049) 0:00:53.100 ****** 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_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 11 January 2024 00:06:30 +0000 (0:00:00.024) 0:00:53.124 ****** 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_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 11 January 2024 00:06:30 +0000 (0:00:00.023) 0:00:53.148 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 11 January 2024 00:06:30 +0000 (0:00:00.033) 0:00:53.182 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-route_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 11 January 2024 00:06:31 +0000 (0:00:00.376) 0:00:53.558 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 11 January 2024 00:06:31 +0000 (0:00:00.027) 0:00:53.586 ****** 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_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 11 January 2024 00:06:31 +0000 (0:00:00.021) 0:00:53.608 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 11 January 2024 00:06:31 +0000 (0:00:00.024) 0:00:53.632 ****** 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_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 11 January 2024 00:06:31 +0000 (0:00:00.425) 0:00:54.058 ****** 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_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 11 January 2024 00:06:31 +0000 (0:00:00.054) 0:00:54.112 ****** 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_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 11 January 2024 00:06:31 +0000 (0:00:00.025) 0:00:54.138 ****** 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_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 11 January 2024 00:06:31 +0000 (0:00:00.044) 0:00:54.182 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 11 January 2024 00:06:31 +0000 (0:00:00.023) 0:00:54.206 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_typegi73ufu7/tests/playbooks/tasks/run_test.yml:36 Thursday 11 January 2024 00:06:32 +0000 (0:00:00.190) 0:00:54.397 ****** included: /WORKDIR/git-route_typegi73ufu7/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typegi73ufu7/tests/playbooks/tasks/assert_profile_absent.yml:3 Thursday 11 January 2024 00:06:32 +0000 (0:00:00.043) 0:00:54.440 ****** included: /WORKDIR/git-route_typegi73ufu7/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typegi73ufu7/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 11 January 2024 00:06:32 +0000 (0:00:00.038) 0:00:54.479 ****** 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_typegi73ufu7/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 11 January 2024 00:06:32 +0000 (0:00:00.042) 0:00:54.521 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_typegi73ufu7/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 11 January 2024 00:06:32 +0000 (0:00:00.192) 0:00:54.713 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typegi73ufu7/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 11 January 2024 00:06:32 +0000 (0:00:00.022) 0:00:54.736 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020648", "end": "2024-01-11 00:06:32.596634", "rc": 1, "start": "2024-01-11 00:06:32.575986" } 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_typegi73ufu7/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 11 January 2024 00:06:32 +0000 (0:00:00.213) 0:00:54.949 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_typegi73ufu7/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 11 January 2024 00:06:32 +0000 (0:00:00.022) 0:00:54.972 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_typegi73ufu7/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 11 January 2024 00:06:32 +0000 (0:00:00.023) 0:00:54.995 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_typegi73ufu7/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 11 January 2024 00:06:32 +0000 (0:00:00.021) 0:00:55.017 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_typegi73ufu7/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 11 January 2024 00:06:32 +0000 (0:00:00.052) 0:00:55.069 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-route_typegi73ufu7/tests/playbooks/tasks/assert_profile_absent.yml:5 Thursday 11 January 2024 00:06:32 +0000 (0:00:00.023) 0:00:55.092 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typegi73ufu7/tests/playbooks/tasks/run_test.yml:42 Thursday 11 January 2024 00:06:32 +0000 (0:00:00.028) 0:00:55.120 ****** included: /WORKDIR/git-route_typegi73ufu7/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typegi73ufu7/tests/playbooks/tasks/assert_device_absent.yml:3 Thursday 11 January 2024 00:06:32 +0000 (0:00:00.044) 0:00:55.165 ****** included: /WORKDIR/git-route_typegi73ufu7/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typegi73ufu7/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 11 January 2024 00:06:32 +0000 (0:00:00.037) 0:00:55.202 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_typegi73ufu7/tests/playbooks/tasks/assert_device_absent.yml:5 Thursday 11 January 2024 00:06:33 +0000 (0:00:00.191) 0:00:55.394 ****** 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_typegi73ufu7/tests/playbooks/tasks/run_test.yml:47 Thursday 11 January 2024 00:06:33 +0000 (0:00:00.024) 0:00:55.418 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_typegi73ufu7/tests/playbooks/tasks/run_test.yml:66 Thursday 11 January 2024 00:06:33 +0000 (0:00:00.022) 0:00:55.440 ****** included: /WORKDIR/git-route_typegi73ufu7/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_typegi73ufu7/tests/playbooks/tasks/cleanup_profile+device.yml:3 Thursday 11 January 2024 00:06:33 +0000 (0:00:00.040) 0:00:55.481 ****** 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.039915", "end": "2024-01-11 00:06:33.358272", "rc": 1, "start": "2024-01-11 00:06:33.318357" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-route_typegi73ufu7/tests/playbooks/tests_states.yml:126 Thursday 11 January 2024 00:06:33 +0000 (0:00:00.230) 0:00:55.711 ****** included: /WORKDIR/git-route_typegi73ufu7/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_typegi73ufu7/tests/playbooks/tasks/run_test.yml:5 Thursday 11 January 2024 00:06:33 +0000 (0:00:00.038) 0:00:55.750 ****** 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_typegi73ufu7/tests/playbooks/tasks/run_test.yml:9 Thursday 11 January 2024 00:06:33 +0000 (0:00:00.030) 0:00:55.781 ****** 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_typegi73ufu7/tests/playbooks/tasks/run_test.yml:21 Thursday 11 January 2024 00:06:33 +0000 (0:00:00.080) 0:00:55.861 ****** included: /WORKDIR/git-route_typegi73ufu7/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typegi73ufu7/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 11 January 2024 00:06:33 +0000 (0:00:00.039) 0:00:55.901 ****** included: /WORKDIR/git-route_typegi73ufu7/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typegi73ufu7/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 11 January 2024 00:06:33 +0000 (0:00:00.041) 0:00:55.942 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003132", "end": "2024-01-11 00:06:33.783790", "rc": 0, "start": "2024-01-11 00:06:33.780658" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typegi73ufu7/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 11 January 2024 00:06:33 +0000 (0:00:00.201) 0:00:56.144 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typegi73ufu7/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 11 January 2024 00:06:33 +0000 (0:00:00.027) 0:00:56.171 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typegi73ufu7/tests/playbooks/tasks/run_test.yml:24 Thursday 11 January 2024 00:06:33 +0000 (0:00:00.027) 0:00:56.199 ****** included: /WORKDIR/git-route_typegi73ufu7/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-route_typegi73ufu7/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-route_typegi73ufu7/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typegi73ufu7/tests/playbooks/tasks/create_bridge_profile.yml:3 Thursday 11 January 2024 00:06:33 +0000 (0:00:00.045) 0:00:56.245 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 11 January 2024 00:06:33 +0000 (0:00:00.038) 0:00:56.283 ****** included: /WORKDIR/git-route_typegi73ufu7/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_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 11 January 2024 00:06:34 +0000 (0:00:00.042) 0:00:56.326 ****** 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_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 11 January 2024 00:06:34 +0000 (0:00:00.027) 0:00:56.354 ****** 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_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 11 January 2024 00:06:34 +0000 (0:00:00.024) 0:00:56.378 ****** 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_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 11 January 2024 00:06:34 +0000 (0:00:00.025) 0:00:56.404 ****** 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_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 11 January 2024 00:06:35 +0000 (0:00:01.406) 0:00:57.811 ****** 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_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 11 January 2024 00:06:36 +0000 (0:00:00.907) 0:00:58.718 ****** 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_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 11 January 2024 00:06:36 +0000 (0:00:00.023) 0:00:58.742 ****** 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_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 11 January 2024 00:06:36 +0000 (0:00:00.024) 0:00:58.766 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 11 January 2024 00:06:36 +0000 (0:00:00.024) 0:00:58.791 ****** 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_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 11 January 2024 00:06:36 +0000 (0:00:00.046) 0:00:58.838 ****** 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_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 11 January 2024 00:06:36 +0000 (0:00:00.060) 0:00:58.898 ****** 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_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 11 January 2024 00:06:36 +0000 (0:00:00.027) 0:00:58.925 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 11 January 2024 00:06:36 +0000 (0:00:00.025) 0:00:58.951 ****** 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_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 11 January 2024 00:06:36 +0000 (0:00:00.356) 0:00:59.307 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 11 January 2024 00:06:37 +0000 (0:00:00.032) 0:00:59.339 ****** 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_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 11 January 2024 00:06:37 +0000 (0:00:00.023) 0:00:59.363 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 11 January 2024 00:06:37 +0000 (0:00:00.023) 0:00:59.387 ****** 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, 16a30875-b0b6-4741-b0cc-1ae7697ecbdb TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 11 January 2024 00:06:37 +0000 (0:00:00.392) 0:00:59.780 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-route_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 11 January 2024 00:06:37 +0000 (0:00:00.023) 0:00:59.803 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 16a30875-b0b6-4741-b0cc-1ae7697ecbdb" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 11 January 2024 00:06:37 +0000 (0:00:00.031) 0:00:59.834 ****** 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, 16a30875-b0b6-4741-b0cc-1ae7697ecbdb\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 16a30875-b0b6-4741-b0cc-1ae7697ecbdb" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 11 January 2024 00:06:37 +0000 (0:00:00.035) 0:00:59.870 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 11 January 2024 00:06:37 +0000 (0:00:00.024) 0:00:59.895 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typegi73ufu7/tests/playbooks/tasks/create_bridge_profile.yml:14 Thursday 11 January 2024 00:06:37 +0000 (0:00:00.190) 0:01:00.085 ****** 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, 16a30875-b0b6-4741-b0cc-1ae7697ecbdb\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 16a30875-b0b6-4741-b0cc-1ae7697ecbdb" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typegi73ufu7/tests/playbooks/tasks/activate_profile.yml:3 Thursday 11 January 2024 00:06:37 +0000 (0:00:00.024) 0:01:00.110 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 11 January 2024 00:06:37 +0000 (0:00:00.067) 0:01:00.178 ****** included: /WORKDIR/git-route_typegi73ufu7/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_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 11 January 2024 00:06:37 +0000 (0:00:00.060) 0:01:00.238 ****** 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_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 11 January 2024 00:06:37 +0000 (0:00:00.045) 0:01:00.283 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-route_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 11 January 2024 00:06:37 +0000 (0:00:00.035) 0:01:00.319 ****** 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_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 11 January 2024 00:06:38 +0000 (0:00:00.029) 0:01:00.348 ****** 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_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 11 January 2024 00:06:39 +0000 (0:00:01.412) 0:01:01.761 ****** 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_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 11 January 2024 00:06:40 +0000 (0:00:00.934) 0:01:02.696 ****** 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_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 11 January 2024 00:06:40 +0000 (0:00:00.024) 0:01:02.720 ****** 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_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 11 January 2024 00:06:40 +0000 (0:00:00.022) 0:01:02.742 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 11 January 2024 00:06:40 +0000 (0:00:00.021) 0:01:02.764 ****** 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_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 11 January 2024 00:06:40 +0000 (0:00:00.043) 0:01:02.808 ****** 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_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 11 January 2024 00:06:40 +0000 (0:00:00.021) 0:01:02.830 ****** 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_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 11 January 2024 00:06:40 +0000 (0:00:00.022) 0:01:02.852 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 11 January 2024 00:06:40 +0000 (0:00:00.025) 0:01:02.878 ****** 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_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 11 January 2024 00:06:40 +0000 (0:00:00.370) 0:01:03.249 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 11 January 2024 00:06:40 +0000 (0:00:00.026) 0:01:03.276 ****** 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_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 11 January 2024 00:06:40 +0000 (0:00:00.023) 0:01:03.299 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 11 January 2024 00:06:40 +0000 (0:00:00.023) 0:01:03.323 ****** 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, 16a30875-b0b6-4741-b0cc-1ae7697ecbdb skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 11 January 2024 00:06:41 +0000 (0:00:00.368) 0:01:03.691 ****** 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_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 11 January 2024 00:06:41 +0000 (0:00:00.061) 0:01:03.753 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 16a30875-b0b6-4741-b0cc-1ae7697ecbdb skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 11 January 2024 00:06:41 +0000 (0:00:00.023) 0:01:03.777 ****** 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, 16a30875-b0b6-4741-b0cc-1ae7697ecbdb skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 16a30875-b0b6-4741-b0cc-1ae7697ecbdb skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 11 January 2024 00:06:41 +0000 (0:00:00.023) 0:01:03.800 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 11 January 2024 00:06:41 +0000 (0:00:00.020) 0:01:03.821 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typegi73ufu7/tests/playbooks/tasks/remove+down_profile.yml:3 Thursday 11 January 2024 00:06:41 +0000 (0:00:00.184) 0:01:04.005 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 11 January 2024 00:06:41 +0000 (0:00:00.036) 0:01:04.042 ****** included: /WORKDIR/git-route_typegi73ufu7/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_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 11 January 2024 00:06:41 +0000 (0:00:00.040) 0:01:04.083 ****** 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_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 11 January 2024 00:06:41 +0000 (0:00:00.030) 0:01:04.113 ****** 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_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 11 January 2024 00:06:41 +0000 (0:00:00.024) 0:01:04.137 ****** 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_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 11 January 2024 00:06:41 +0000 (0:00:00.023) 0:01:04.161 ****** 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_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 11 January 2024 00:06:43 +0000 (0:00:01.382) 0:01:05.543 ****** 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_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 11 January 2024 00:06:44 +0000 (0:00:00.908) 0:01:06.451 ****** 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_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 11 January 2024 00:06:44 +0000 (0:00:00.023) 0:01:06.475 ****** 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_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 11 January 2024 00:06:44 +0000 (0:00:00.021) 0:01:06.497 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 11 January 2024 00:06:44 +0000 (0:00:00.021) 0:01:06.518 ****** 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_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 11 January 2024 00:06:44 +0000 (0:00:00.043) 0:01:06.562 ****** 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_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 11 January 2024 00:06:44 +0000 (0:00:00.021) 0:01:06.584 ****** 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_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 11 January 2024 00:06:44 +0000 (0:00:00.022) 0:01:06.606 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 11 January 2024 00:06:44 +0000 (0:00:00.025) 0:01:06.631 ****** 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_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 11 January 2024 00:06:44 +0000 (0:00:00.389) 0:01:07.021 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 11 January 2024 00:06:44 +0000 (0:00:00.027) 0:01:07.048 ****** 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_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 11 January 2024 00:06:44 +0000 (0:00:00.021) 0:01:07.070 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 11 January 2024 00:06:44 +0000 (0:00:00.022) 0:01:07.093 ****** 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_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 11 January 2024 00:06:45 +0000 (0:00:00.437) 0:01:07.531 ****** 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_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 11 January 2024 00:06:45 +0000 (0:00:00.027) 0:01:07.559 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 11 January 2024 00:06:45 +0000 (0:00:00.022) 0:01:07.582 ****** 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_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 11 January 2024 00:06:45 +0000 (0:00:00.024) 0:01:07.607 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 11 January 2024 00:06:45 +0000 (0:00:00.023) 0:01:07.631 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_typegi73ufu7/tests/playbooks/tasks/run_test.yml:30 Thursday 11 January 2024 00:06:45 +0000 (0:00:00.198) 0:01:07.829 ****** included: /WORKDIR/git-route_typegi73ufu7/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typegi73ufu7/tests/playbooks/tasks/remove+down_profile.yml:3 Thursday 11 January 2024 00:06:45 +0000 (0:00:00.040) 0:01:07.870 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 11 January 2024 00:06:45 +0000 (0:00:00.037) 0:01:07.907 ****** included: /WORKDIR/git-route_typegi73ufu7/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_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 11 January 2024 00:06:45 +0000 (0:00:00.046) 0:01:07.953 ****** 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_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 11 January 2024 00:06:45 +0000 (0:00:00.092) 0:01:08.046 ****** 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_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 11 January 2024 00:06:45 +0000 (0:00:00.036) 0:01:08.082 ****** 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_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 11 January 2024 00:06:45 +0000 (0:00:00.027) 0:01:08.110 ****** 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_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 11 January 2024 00:06:47 +0000 (0:00:01.364) 0:01:09.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_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 11 January 2024 00:06:48 +0000 (0:00:00.901) 0:01:10.376 ****** 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_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 11 January 2024 00:06:48 +0000 (0:00:00.046) 0:01:10.422 ****** 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_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 11 January 2024 00:06:48 +0000 (0:00:00.022) 0:01:10.444 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 11 January 2024 00:06:48 +0000 (0:00:00.021) 0:01:10.466 ****** 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_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 11 January 2024 00:06:48 +0000 (0:00:00.043) 0:01:10.509 ****** 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_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 11 January 2024 00:06:48 +0000 (0:00:00.021) 0:01:10.530 ****** 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_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 11 January 2024 00:06:48 +0000 (0:00:00.022) 0:01:10.553 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 11 January 2024 00:06:48 +0000 (0:00:00.025) 0:01:10.578 ****** 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_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 11 January 2024 00:06:48 +0000 (0:00:00.352) 0:01:10.930 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 11 January 2024 00:06:48 +0000 (0:00:00.027) 0:01:10.958 ****** 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_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 11 January 2024 00:06:48 +0000 (0:00:00.023) 0:01:10.981 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 11 January 2024 00:06:48 +0000 (0:00:00.025) 0:01:11.007 ****** 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_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 11 January 2024 00:06:49 +0000 (0:00:00.387) 0:01:11.394 ****** 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_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 11 January 2024 00:06:49 +0000 (0:00:00.031) 0:01:11.426 ****** 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_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 11 January 2024 00:06:49 +0000 (0:00:00.032) 0:01:11.459 ****** 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_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 11 January 2024 00:06:49 +0000 (0:00:00.028) 0:01:11.488 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 11 January 2024 00:06:49 +0000 (0:00:00.029) 0:01:11.517 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_typegi73ufu7/tests/playbooks/tasks/run_test.yml:36 Thursday 11 January 2024 00:06:49 +0000 (0:00:00.200) 0:01:11.718 ****** included: /WORKDIR/git-route_typegi73ufu7/tests/playbooks/tasks/assert_profile_absent.yml for sut included: /WORKDIR/git-route_typegi73ufu7/tests/playbooks/tasks/get_NetworkManager_NVR.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typegi73ufu7/tests/playbooks/tasks/assert_profile_absent.yml:3 Thursday 11 January 2024 00:06:49 +0000 (0:00:00.055) 0:01:11.773 ****** included: /WORKDIR/git-route_typegi73ufu7/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typegi73ufu7/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 11 January 2024 00:06:49 +0000 (0:00:00.039) 0:01:11.812 ****** 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_typegi73ufu7/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 11 January 2024 00:06:49 +0000 (0:00:00.022) 0:01:11.835 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_typegi73ufu7/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 11 January 2024 00:06:49 +0000 (0:00:00.188) 0:01:12.023 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typegi73ufu7/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 11 January 2024 00:06:49 +0000 (0:00:00.022) 0:01:12.045 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020785", "end": "2024-01-11 00:06:49.904292", "rc": 1, "start": "2024-01-11 00:06:49.883507" } 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_typegi73ufu7/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 11 January 2024 00:06:49 +0000 (0:00:00.214) 0:01:12.259 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_typegi73ufu7/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 11 January 2024 00:06:49 +0000 (0:00:00.028) 0:01:12.287 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_typegi73ufu7/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 11 January 2024 00:06:49 +0000 (0:00:00.023) 0:01:12.311 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_typegi73ufu7/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 11 January 2024 00:06:50 +0000 (0:00:00.026) 0:01:12.338 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_typegi73ufu7/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 11 January 2024 00:06:50 +0000 (0:00:00.023) 0:01:12.362 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-route_typegi73ufu7/tests/playbooks/tasks/assert_profile_absent.yml:5 Thursday 11 January 2024 00:06:50 +0000 (0:00:00.022) 0:01:12.385 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /WORKDIR/git-route_typegi73ufu7/tests/playbooks/tasks/get_NetworkManager_NVR.yml:7 Thursday 11 January 2024 00:06:50 +0000 (0:00:00.023) 0:01:12.409 ****** ok: [sut] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.553686", "end": "2024-01-11 00:06:50.799122", "rc": 0, "start": "2024-01-11 00:06:50.245436" } STDOUT: NetworkManager-1.45.7-1.el9 TASK [Store NetworkManager version] ******************************************** task path: /WORKDIR/git-route_typegi73ufu7/tests/playbooks/tasks/get_NetworkManager_NVR.yml:14 Thursday 11 January 2024 00:06:50 +0000 (0:00:00.743) 0:01:13.152 ****** ok: [sut] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.45.7-1.el9" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /WORKDIR/git-route_typegi73ufu7/tests/playbooks/tasks/get_NetworkManager_NVR.yml:18 Thursday 11 January 2024 00:06:50 +0000 (0:00:00.023) 0:01:13.176 ****** ok: [sut] => { "networkmanager_nvr": "NetworkManager-1.45.7-1.el9" } TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typegi73ufu7/tests/playbooks/tasks/run_test.yml:42 Thursday 11 January 2024 00:06:50 +0000 (0:00:00.022) 0:01:13.199 ****** included: /WORKDIR/git-route_typegi73ufu7/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typegi73ufu7/tests/playbooks/tasks/assert_device_absent.yml:3 Thursday 11 January 2024 00:06:50 +0000 (0:00:00.042) 0:01:13.241 ****** included: /WORKDIR/git-route_typegi73ufu7/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typegi73ufu7/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 11 January 2024 00:06:50 +0000 (0:00:00.036) 0:01:13.278 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_typegi73ufu7/tests/playbooks/tasks/assert_device_absent.yml:5 Thursday 11 January 2024 00:06:51 +0000 (0:00:00.199) 0:01:13.477 ****** 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_typegi73ufu7/tests/playbooks/tasks/run_test.yml:47 Thursday 11 January 2024 00:06:51 +0000 (0:00:00.025) 0:01:13.503 ****** 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_typegi73ufu7/tests/playbooks/tasks/run_test.yml:66 Thursday 11 January 2024 00:06:51 +0000 (0:00:00.021) 0:01:13.525 ****** included: /WORKDIR/git-route_typegi73ufu7/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_typegi73ufu7/tests/playbooks/tasks/cleanup_profile+device.yml:3 Thursday 11 January 2024 00:06:51 +0000 (0:00:00.041) 0:01:13.566 ****** 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.040320", "end": "2024-01-11 00:06:51.444774", "rc": 1, "start": "2024-01-11 00:06:51.404454" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. Cannot find device "statebr" MSG: non-zero return code ...ignoring META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=316 changed=10 unreachable=0 failed=0 skipped=252 rescued=0 ignored=11 Thursday 11 January 2024 00:06:51 +0000 (0:00:00.222) 0:01:13.789 ****** =============================================================================== linux-system-roles.network : Configure networking connection profiles --- 2.15s /WORKDIR/git-route_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Enable and start NetworkManager ------------ 1.94s /WORKDIR/git-route_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/main.yml:85 linux-system-roles.network : Check which services are running ----------- 1.47s /WORKDIR/git-route_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Enable and start NetworkManager ------------ 1.44s /WORKDIR/git-route_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/main.yml:85 linux-system-roles.network : Check which services are running ----------- 1.41s /WORKDIR/git-route_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.41s /WORKDIR/git-route_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Configure networking connection profiles --- 1.39s /WORKDIR/git-route_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Check which services are running ----------- 1.39s /WORKDIR/git-route_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.38s /WORKDIR/git-route_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.38s /WORKDIR/git-route_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.38s /WORKDIR/git-route_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.37s /WORKDIR/git-route_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.37s /WORKDIR/git-route_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.36s /WORKDIR/git-route_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.36s /WORKDIR/git-route_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.36s /WORKDIR/git-route_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.36s /WORKDIR/git-route_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.36s /WORKDIR/git-route_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.36s /WORKDIR/git-route_typegi73ufu7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Configure networking connection profiles --- 1.25s /WORKDIR/git-route_typegi73ufu7/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. ---^---^---^---^---^---