# 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_type_qla6794/tests/tests_states_nm.yml PLAY [Run playbook 'playbooks/tests_states.yml' with nm as provider] *********** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-route_type_qla6794/tests/tests_states_nm.yml:5 Tuesday 02 January 2024 19:47:16 +0000 (0:00:00.013) 0:00:00.013 ******* ok: [sut] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-route_type_qla6794/tests/tests_states_nm.yml:9 Tuesday 02 January 2024 19:47:17 +0000 (0:00:00.714) 0:00:00.728 ******* included: /WORKDIR/git-route_type_qla6794/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_type_qla6794/tests/tasks/el_repo_setup.yml:3 Tuesday 02 January 2024 19:47:17 +0000 (0:00:00.023) 0:00:00.751 ******* ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-route_type_qla6794/tests/tasks/el_repo_setup.yml:19 Tuesday 02 January 2024 19:47:17 +0000 (0:00:00.335) 0:00:01.086 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-route_type_qla6794/tests/tasks/el_repo_setup.yml:24 Tuesday 02 January 2024 19:47:17 +0000 (0:00:00.265) 0:00:01.352 ******* ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-route_type_qla6794/tests/tasks/el_repo_setup.yml:28 Tuesday 02 January 2024 19:47:18 +0000 (0:00:00.020) 0:00:01.372 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-route_type_qla6794/tests/tasks/el_repo_setup.yml:53 Tuesday 02 January 2024 19:47:18 +0000 (0:00:00.018) 0:00:01.390 ******* included: /WORKDIR/git-route_type_qla6794/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 8] *********************************************************** task path: /WORKDIR/git-route_type_qla6794/tests/tasks/enable_epel.yml:8 Tuesday 02 January 2024 19:47:18 +0000 (0:00:00.067) 0:00:01.458 ******* ok: [sut] => { "attempts": 1, "changed": false, "cmd": [ "rpm", "-iv", "https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm" ], "rc": 0 } STDOUT: skipped, since /etc/yum.repos.d/epel.repo exists TASK [Install yum-utils package] *********************************************** task path: /WORKDIR/git-route_type_qla6794/tests/tasks/enable_epel.yml:24 Tuesday 02 January 2024 19:47:18 +0000 (0:00:00.275) 0:00:01.734 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-route_type_qla6794/tests/tasks/enable_epel.yml:30 Tuesday 02 January 2024 19:47:18 +0000 (0:00:00.050) 0:00:01.785 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-route_type_qla6794/tests/tasks/enable_epel.yml:35 Tuesday 02 January 2024 19:47:18 +0000 (0:00:00.043) 0:00:01.828 ******* ok: [sut] => { "changed": false, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:00.242979", "end": "2024-01-02 19:47:18.898014", "rc": 0, "start": "2024-01-02 19:47:18.655035" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-route_type_qla6794/tests/tasks/enable_epel.yml:40 Tuesday 02 January 2024 19:47:18 +0000 (0:00:00.454) 0:00:02.283 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /WORKDIR/git-route_type_qla6794/tests/tests_states_nm.yml:11 Tuesday 02 January 2024 19:47:18 +0000 (0:00:00.011) 0:00:02.294 ******* 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_type_qla6794/tests/playbooks/tests_states.yml:3 Tuesday 02 January 2024 19:47:18 +0000 (0:00:00.011) 0:00:02.306 ******* ok: [sut] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tests_states.yml:11 Tuesday 02 January 2024 19:47:19 +0000 (0:00:00.564) 0:00:02.871 ******* ok: [sut] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tests_states.yml:22 Tuesday 02 January 2024 19:47:19 +0000 (0:00:00.012) 0:00:02.883 ******* included: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile] ******************************************** task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/run_test.yml:5 Tuesday 02 January 2024 19:47:19 +0000 (0:00:00.016) 0:00:02.900 ******* ok: [sut] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/run_test.yml:9 Tuesday 02 January 2024 19:47:19 +0000 (0:00:00.011) 0:00:02.912 ******* 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_type_qla6794/tests/playbooks/tasks/run_test.yml:21 Tuesday 02 January 2024 19:47:19 +0000 (0:00:00.035) 0:00:02.947 ******* included: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 02 January 2024 19:47:19 +0000 (0:00:00.015) 0:00:02.963 ******* included: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 02 January 2024 19:47:19 +0000 (0:00:00.017) 0:00:02.980 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003478", "end": "2024-01-02 19:47:19.798532", "rc": 0, "start": "2024-01-02 19:47:19.795054" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 02 January 2024 19:47:19 +0000 (0:00:00.190) 0:00:03.171 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 02 January 2024 19:47:19 +0000 (0:00:00.012) 0:00:03.183 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/run_test.yml:24 Tuesday 02 January 2024 19:47:19 +0000 (0:00:00.011) 0:00:03.195 ******* included: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/delete_interface.yml:3 Tuesday 02 January 2024 19:47:19 +0000 (0:00:00.021) 0:00:03.216 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.007803", "end": "2024-01-02 19:47:20.036680", "rc": 1, "start": "2024-01-02 19:47:20.028877" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 02 January 2024 19:47:20 +0000 (0:00:00.200) 0:00:03.417 ******* included: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 02 January 2024 19:47:20 +0000 (0:00:00.025) 0:00:03.442 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 02 January 2024 19:47:20 +0000 (0:00:00.189) 0:00:03.631 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/run_test.yml:30 Tuesday 02 January 2024 19:47:20 +0000 (0:00:00.014) 0:00:03.646 ******* included: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 02 January 2024 19:47:20 +0000 (0:00:00.019) 0:00:03.666 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 02 January 2024 19:47:20 +0000 (0:00:00.033) 0:00:03.699 ******* included: /WORKDIR/git-route_type_qla6794/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_type_qla6794/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 02 January 2024 19:47:20 +0000 (0:00:00.084) 0:00:03.783 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 02 January 2024 19:47:20 +0000 (0:00:00.013) 0:00:03.797 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 02 January 2024 19:47:20 +0000 (0:00:00.011) 0:00:03.809 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 02 January 2024 19:47:20 +0000 (0:00:00.011) 0:00:03.820 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 02 January 2024 19:47:22 +0000 (0:00:01.642) 0:00:05.463 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 02 January 2024 19:47:23 +0000 (0:00:01.469) 0:00:06.933 ******* ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-route_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 02 January 2024 19:47:23 +0000 (0:00:00.025) 0:00:06.958 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 02 January 2024 19:47:23 +0000 (0:00:00.026) 0:00:06.984 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 02 January 2024 19:47:23 +0000 (0:00:00.025) 0:00:07.009 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 02 January 2024 19:47:23 +0000 (0:00:00.053) 0:00:07.062 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 02 January 2024 19:47:23 +0000 (0:00:00.047) 0:00:07.110 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 02 January 2024 19:47:23 +0000 (0:00:00.026) 0:00:07.136 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 02 January 2024 19:47:23 +0000 (0:00:00.030) 0:00:07.167 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 02 January 2024 19:47:24 +0000 (0:00:00.544) 0:00:07.712 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 02 January 2024 19:47:24 +0000 (0:00:00.027) 0:00:07.740 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 02 January 2024 19:47:24 +0000 (0:00:00.023) 0:00:07.764 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 02 January 2024 19:47:24 +0000 (0:00:00.025) 0:00:07.789 ******* 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, 0d97b2ae-84e4-4505-bf22-6d884040bcf6 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 02 January 2024 19:47:24 +0000 (0:00:00.515) 0:00:08.305 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 02 January 2024 19:47:24 +0000 (0:00:00.023) 0:00:08.328 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 0d97b2ae-84e4-4505-bf22-6d884040bcf6" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 02 January 2024 19:47:25 +0000 (0:00:00.026) 0:00:08.355 ******* 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, 0d97b2ae-84e4-4505-bf22-6d884040bcf6\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 0d97b2ae-84e4-4505-bf22-6d884040bcf6" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 02 January 2024 19:47:25 +0000 (0:00:00.023) 0:00:08.378 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 02 January 2024 19:47:25 +0000 (0:00:00.022) 0:00:08.401 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 02 January 2024 19:47:25 +0000 (0:00:00.282) 0:00:08.684 ******* 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, 0d97b2ae-84e4-4505-bf22-6d884040bcf6\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 0d97b2ae-84e4-4505-bf22-6d884040bcf6" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/run_test.yml:36 Tuesday 02 January 2024 19:47:25 +0000 (0:00:00.026) 0:00:08.710 ******* included: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 02 January 2024 19:47:25 +0000 (0:00:00.045) 0:00:08.756 ******* included: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 02 January 2024 19:47:25 +0000 (0:00:00.075) 0:00:08.832 ******* 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_type_qla6794/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 02 January 2024 19:47:25 +0000 (0:00:00.045) 0:00:08.878 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1704224844.9108787, "block_size": 4096, "blocks": 8, "ctime": 1704224844.8548796, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 5533383, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1704224844.8548796, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 221, "uid": 0, "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 02 January 2024 19:47:25 +0000 (0:00:00.214) 0:00:09.092 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 02 January 2024 19:47:25 +0000 (0:00:00.024) 0:00:09.116 ******* ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022249", "end": "2024-01-02 19:47:25.951488", "rc": 0, "start": "2024-01-02 19:47:25.929239" } STDOUT: statebr /etc/sysconfig/network-scripts/ifcfg-statebr TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 02 January 2024 19:47:25 +0000 (0:00:00.220) 0:00:09.337 ******* 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_type_qla6794/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 02 January 2024 19:47:26 +0000 (0:00:00.026) 0:00:09.364 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 02 January 2024 19:47:26 +0000 (0:00:00.025) 0:00:09.389 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 02 January 2024 19:47:26 +0000 (0:00:00.023) 0:00:09.413 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 02 January 2024 19:47:26 +0000 (0:00:00.027) 0:00:09.440 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 02 January 2024 19:47:26 +0000 (0:00:00.026) 0:00:09.466 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 02 January 2024 19:47:26 +0000 (0:00:00.025) 0:00:09.491 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 02 January 2024 19:47:26 +0000 (0:00:00.031) 0:00:09.523 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/run_test.yml:42 Tuesday 02 January 2024 19:47:26 +0000 (0:00:00.038) 0:00:09.562 ******* included: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 02 January 2024 19:47:26 +0000 (0:00:00.095) 0:00:09.657 ******* included: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 02 January 2024 19:47:26 +0000 (0:00:00.049) 0:00:09.707 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1704224844.8571851, "block_size": 4096, "blocks": 0, "ctime": 1704224844.8571851, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 38735, "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": 1704224844.8571851, "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_type_qla6794/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 02 January 2024 19:47:26 +0000 (0:00:00.200) 0:00:09.908 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can create a profile'] ******************************** task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/run_test.yml:47 Tuesday 02 January 2024 19:47:26 +0000 (0:00:00.029) 0:00:09.937 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/run_test.yml:66 Tuesday 02 January 2024 19:47:26 +0000 (0:00:00.025) 0:00:09.963 ******* included: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 02 January 2024 19:47:26 +0000 (0:00:00.044) 0:00:10.007 ******* 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.062492", "end": "2024-01-02 19:47:26.881823", "rc": 1, "start": "2024-01-02 19:47:26.819331" } STDOUT: Connection 'statebr' (0d97b2ae-84e4-4505-bf22-6d884040bcf6) 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_type_qla6794/tests/playbooks/tests_states.yml:45 Tuesday 02 January 2024 19:47:26 +0000 (0:00:00.259) 0:00:10.266 ******* included: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile without autoconnect] ************************ task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/run_test.yml:5 Tuesday 02 January 2024 19:47:26 +0000 (0:00:00.039) 0:00:10.305 ******* ok: [sut] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/run_test.yml:9 Tuesday 02 January 2024 19:47:26 +0000 (0:00:00.025) 0:00:10.330 ******* 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_type_qla6794/tests/playbooks/tasks/run_test.yml:21 Tuesday 02 January 2024 19:47:27 +0000 (0:00:00.048) 0:00:10.379 ******* included: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 02 January 2024 19:47:27 +0000 (0:00:00.070) 0:00:10.449 ******* included: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 02 January 2024 19:47:27 +0000 (0:00:00.037) 0:00:10.487 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003005", "end": "2024-01-02 19:47:27.302093", "rc": 0, "start": "2024-01-02 19:47:27.299088" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 02 January 2024 19:47:27 +0000 (0:00:00.199) 0:00:10.686 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 02 January 2024 19:47:27 +0000 (0:00:00.026) 0:00:10.713 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/run_test.yml:24 Tuesday 02 January 2024 19:47:27 +0000 (0:00:00.030) 0:00:10.743 ******* included: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/delete_interface.yml:3 Tuesday 02 January 2024 19:47:27 +0000 (0:00:00.054) 0:00:10.798 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.006364", "end": "2024-01-02 19:47:27.616998", "rc": 1, "start": "2024-01-02 19:47:27.610634" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 02 January 2024 19:47:27 +0000 (0:00:00.213) 0:00:11.012 ******* included: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 02 January 2024 19:47:27 +0000 (0:00:00.047) 0:00:11.059 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 02 January 2024 19:47:27 +0000 (0:00:00.197) 0:00:11.256 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/run_test.yml:30 Tuesday 02 January 2024 19:47:27 +0000 (0:00:00.026) 0:00:11.283 ******* included: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Tuesday 02 January 2024 19:47:27 +0000 (0:00:00.044) 0:00:11.327 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 02 January 2024 19:47:28 +0000 (0:00:00.107) 0:00:11.435 ******* included: /WORKDIR/git-route_type_qla6794/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_type_qla6794/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 02 January 2024 19:47:28 +0000 (0:00:00.044) 0:00:11.479 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-route_type_qla6794/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 02 January 2024 19:47:28 +0000 (0:00:00.029) 0:00:11.509 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 02 January 2024 19:47:28 +0000 (0:00:00.026) 0:00:11.535 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 02 January 2024 19:47:28 +0000 (0:00:00.032) 0:00:11.568 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-route_type_qla6794/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 02 January 2024 19:47:29 +0000 (0:00:01.574) 0:00:13.142 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 02 January 2024 19:47:31 +0000 (0:00:01.351) 0:00:14.494 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 02 January 2024 19:47:31 +0000 (0:00:00.053) 0:00:14.548 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 02 January 2024 19:47:31 +0000 (0:00:00.039) 0:00:14.587 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 02 January 2024 19:47:31 +0000 (0:00:00.042) 0:00:14.630 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 02 January 2024 19:47:31 +0000 (0:00:00.046) 0:00:14.676 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 02 January 2024 19:47:31 +0000 (0:00:00.023) 0:00:14.700 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 02 January 2024 19:47:31 +0000 (0:00:00.023) 0:00:14.723 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 02 January 2024 19:47:31 +0000 (0:00:00.032) 0:00:14.756 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 02 January 2024 19:47:31 +0000 (0:00:00.371) 0:00:15.128 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 02 January 2024 19:47:31 +0000 (0:00:00.055) 0:00:15.183 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 02 January 2024 19:47:31 +0000 (0:00:00.084) 0:00:15.268 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 02 January 2024 19:47:31 +0000 (0:00:00.025) 0:00:15.293 ******* 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, 6c561cb0-c1f1-4bf1-b10e-943f72e39be7 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 02 January 2024 19:47:32 +0000 (0:00:00.372) 0:00:15.665 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 02 January 2024 19:47:32 +0000 (0:00:00.052) 0:00:15.717 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 6c561cb0-c1f1-4bf1-b10e-943f72e39be7" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 02 January 2024 19:47:32 +0000 (0:00:00.044) 0:00:15.762 ******* 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, 6c561cb0-c1f1-4bf1-b10e-943f72e39be7\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 6c561cb0-c1f1-4bf1-b10e-943f72e39be7" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 02 January 2024 19:47:32 +0000 (0:00:00.047) 0:00:15.809 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 02 January 2024 19:47:32 +0000 (0:00:00.062) 0:00:15.871 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Tuesday 02 January 2024 19:47:32 +0000 (0:00:00.201) 0:00:16.073 ******* 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, 6c561cb0-c1f1-4bf1-b10e-943f72e39be7\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 6c561cb0-c1f1-4bf1-b10e-943f72e39be7" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/run_test.yml:36 Tuesday 02 January 2024 19:47:32 +0000 (0:00:00.046) 0:00:16.120 ******* included: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/assert_device_absent.yml for sut included: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 02 January 2024 19:47:32 +0000 (0:00:00.054) 0:00:16.175 ******* included: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 02 January 2024 19:47:32 +0000 (0:00:00.059) 0:00:16.235 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 02 January 2024 19:47:33 +0000 (0:00:00.215) 0:00:16.450 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 02 January 2024 19:47:33 +0000 (0:00:00.069) 0:00:16.520 ******* included: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 02 January 2024 19:47:33 +0000 (0:00:00.067) 0:00:16.588 ******* 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_type_qla6794/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 02 January 2024 19:47:33 +0000 (0:00:00.037) 0:00:16.625 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1704224852.2537677, "block_size": 4096, "blocks": 8, "ctime": 1704224852.2537677, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 5533383, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1704224852.2537677, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 220, "uid": 0, "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 02 January 2024 19:47:33 +0000 (0:00:00.213) 0:00:16.839 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 02 January 2024 19:47:33 +0000 (0:00:00.026) 0:00:16.865 ******* ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020968", "end": "2024-01-02 19:47:33.712486", "rc": 0, "start": "2024-01-02 19:47:33.691518" } STDOUT: statebr /etc/sysconfig/network-scripts/ifcfg-statebr TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 02 January 2024 19:47:33 +0000 (0:00:00.240) 0:00:17.106 ******* 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_type_qla6794/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 02 January 2024 19:47:33 +0000 (0:00:00.038) 0:00:17.144 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 02 January 2024 19:47:33 +0000 (0:00:00.031) 0:00:17.176 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 02 January 2024 19:47:33 +0000 (0:00:00.046) 0:00:17.223 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 02 January 2024 19:47:33 +0000 (0:00:00.032) 0:00:17.256 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 02 January 2024 19:47:33 +0000 (0:00:00.025) 0:00:17.281 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 02 January 2024 19:47:33 +0000 (0:00:00.026) 0:00:17.308 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 02 January 2024 19:47:33 +0000 (0:00:00.026) 0:00:17.335 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/run_test.yml:42 Tuesday 02 January 2024 19:47:34 +0000 (0:00:00.024) 0:00:17.360 ******* TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/run_test.yml:47 Tuesday 02 January 2024 19:47:34 +0000 (0:00:00.068) 0:00:17.428 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/run_test.yml:66 Tuesday 02 January 2024 19:47:34 +0000 (0:00:00.055) 0:00:17.483 ******* included: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 02 January 2024 19:47:34 +0000 (0:00:00.050) 0:00:17.534 ******* 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.042290", "end": "2024-01-02 19:47:34.390797", "rc": 1, "start": "2024-01-02 19:47:34.348507" } STDOUT: Connection 'statebr' (6c561cb0-c1f1-4bf1-b10e-943f72e39be7) 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_type_qla6794/tests/playbooks/tests_states.yml:65 Tuesday 02 January 2024 19:47:34 +0000 (0:00:00.272) 0:00:17.806 ******* included: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can activate an existing profile] ******************************** task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/run_test.yml:5 Tuesday 02 January 2024 19:47:34 +0000 (0:00:00.062) 0:00:17.868 ******* ok: [sut] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/run_test.yml:9 Tuesday 02 January 2024 19:47:34 +0000 (0:00:00.026) 0:00:17.894 ******* 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_type_qla6794/tests/playbooks/tasks/run_test.yml:21 Tuesday 02 January 2024 19:47:34 +0000 (0:00:00.053) 0:00:17.948 ******* included: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 02 January 2024 19:47:34 +0000 (0:00:00.053) 0:00:18.001 ******* included: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 02 January 2024 19:47:34 +0000 (0:00:00.041) 0:00:18.042 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002861", "end": "2024-01-02 19:47:34.856501", "rc": 0, "start": "2024-01-02 19:47:34.853640" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 02 January 2024 19:47:34 +0000 (0:00:00.196) 0:00:18.239 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 02 January 2024 19:47:34 +0000 (0:00:00.024) 0:00:18.263 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/run_test.yml:24 Tuesday 02 January 2024 19:47:34 +0000 (0:00:00.052) 0:00:18.316 ******* included: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 02 January 2024 19:47:35 +0000 (0:00:00.044) 0:00:18.360 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 02 January 2024 19:47:35 +0000 (0:00:00.052) 0:00:18.413 ******* included: /WORKDIR/git-route_type_qla6794/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_type_qla6794/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 02 January 2024 19:47:35 +0000 (0:00:00.048) 0:00:18.461 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 02 January 2024 19:47:35 +0000 (0:00:00.028) 0:00:18.490 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 02 January 2024 19:47:35 +0000 (0:00:00.023) 0:00:18.513 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 02 January 2024 19:47:35 +0000 (0:00:00.024) 0:00:18.537 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 02 January 2024 19:47:36 +0000 (0:00:01.516) 0:00:20.053 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 02 January 2024 19:47:38 +0000 (0:00:01.357) 0:00:21.411 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 02 January 2024 19:47:38 +0000 (0:00:00.028) 0:00:21.439 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 02 January 2024 19:47:38 +0000 (0:00:00.024) 0:00:21.463 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 02 January 2024 19:47:38 +0000 (0:00:00.023) 0:00:21.487 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 02 January 2024 19:47:38 +0000 (0:00:00.059) 0:00:21.546 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 02 January 2024 19:47:38 +0000 (0:00:00.024) 0:00:21.571 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 02 January 2024 19:47:38 +0000 (0:00:00.027) 0:00:21.599 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 02 January 2024 19:47:38 +0000 (0:00:00.030) 0:00:21.630 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 02 January 2024 19:47:38 +0000 (0:00:00.351) 0:00:21.981 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 02 January 2024 19:47:38 +0000 (0:00:00.061) 0:00:22.043 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 02 January 2024 19:47:38 +0000 (0:00:00.024) 0:00:22.067 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 02 January 2024 19:47:38 +0000 (0:00:00.024) 0:00:22.091 ******* 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, 2800a5d2-33bb-46ab-a04a-0a4d82892124 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 02 January 2024 19:47:39 +0000 (0:00:00.384) 0:00:22.476 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 02 January 2024 19:47:39 +0000 (0:00:00.023) 0:00:22.500 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 2800a5d2-33bb-46ab-a04a-0a4d82892124" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 02 January 2024 19:47:39 +0000 (0:00:00.024) 0:00:22.524 ******* 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, 2800a5d2-33bb-46ab-a04a-0a4d82892124\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 2800a5d2-33bb-46ab-a04a-0a4d82892124" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 02 January 2024 19:47:39 +0000 (0:00:00.026) 0:00:22.551 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 02 January 2024 19:47:39 +0000 (0:00:00.024) 0:00:22.575 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 02 January 2024 19:47:39 +0000 (0:00:00.194) 0:00:22.770 ******* 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, 2800a5d2-33bb-46ab-a04a-0a4d82892124\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 2800a5d2-33bb-46ab-a04a-0a4d82892124" ] } } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/run_test.yml:30 Tuesday 02 January 2024 19:47:39 +0000 (0:00:00.025) 0:00:22.795 ******* included: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 02 January 2024 19:47:39 +0000 (0:00:00.042) 0:00:22.838 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 02 January 2024 19:47:39 +0000 (0:00:00.043) 0:00:22.881 ******* included: /WORKDIR/git-route_type_qla6794/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_type_qla6794/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 02 January 2024 19:47:39 +0000 (0:00:00.075) 0:00:22.956 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 02 January 2024 19:47:39 +0000 (0:00:00.028) 0:00:22.985 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 02 January 2024 19:47:39 +0000 (0:00:00.023) 0:00:23.008 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 02 January 2024 19:47:39 +0000 (0:00:00.024) 0:00:23.032 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-route_type_qla6794/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 02 January 2024 19:47:41 +0000 (0:00:01.525) 0:00:24.557 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 02 January 2024 19:47:42 +0000 (0:00:01.292) 0:00:25.850 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 02 January 2024 19:47:42 +0000 (0:00:00.025) 0:00:25.876 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 02 January 2024 19:47:42 +0000 (0:00:00.024) 0:00:25.900 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 02 January 2024 19:47:42 +0000 (0:00:00.040) 0:00:25.940 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 02 January 2024 19:47:42 +0000 (0:00:00.047) 0:00:25.988 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 02 January 2024 19:47:42 +0000 (0:00:00.024) 0:00:26.012 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 02 January 2024 19:47:42 +0000 (0:00:00.025) 0:00:26.037 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 02 January 2024 19:47:42 +0000 (0:00:00.027) 0:00:26.065 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 02 January 2024 19:47:43 +0000 (0:00:00.343) 0:00:26.408 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 02 January 2024 19:47:43 +0000 (0:00:00.028) 0:00:26.437 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 02 January 2024 19:47:43 +0000 (0:00:00.024) 0:00:26.461 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 02 January 2024 19:47:43 +0000 (0:00:00.026) 0:00:26.488 ******* 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, 2800a5d2-33bb-46ab-a04a-0a4d82892124 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 02 January 2024 19:47:43 +0000 (0:00:00.374) 0:00:26.862 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 02 January 2024 19:47:43 +0000 (0:00:00.025) 0:00:26.888 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 2800a5d2-33bb-46ab-a04a-0a4d82892124 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 02 January 2024 19:47:43 +0000 (0:00:00.024) 0:00:26.913 ******* 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, 2800a5d2-33bb-46ab-a04a-0a4d82892124 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 2800a5d2-33bb-46ab-a04a-0a4d82892124 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 02 January 2024 19:47:43 +0000 (0:00:00.027) 0:00:26.940 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 02 January 2024 19:47:43 +0000 (0:00:00.023) 0:00:26.963 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/run_test.yml:36 Tuesday 02 January 2024 19:47:43 +0000 (0:00:00.193) 0:00:27.157 ******* included: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 02 January 2024 19:47:43 +0000 (0:00:00.050) 0:00:27.207 ******* included: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 02 January 2024 19:47:43 +0000 (0:00:00.040) 0:00:27.247 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1704224859.0414655, "block_size": 4096, "blocks": 0, "ctime": 1704224859.0414655, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 38866, "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": 1704224859.0414655, "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_type_qla6794/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 02 January 2024 19:47:44 +0000 (0:00:00.199) 0:00:27.447 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 02 January 2024 19:47:44 +0000 (0:00:00.026) 0:00:27.473 ******* included: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 02 January 2024 19:47:44 +0000 (0:00:00.080) 0:00:27.554 ******* 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_type_qla6794/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 02 January 2024 19:47:44 +0000 (0:00:00.025) 0:00:27.579 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1704224859.0996642, "block_size": 4096, "blocks": 8, "ctime": 1704224859.039665, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 5533383, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1704224859.039665, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 221, "uid": 0, "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 02 January 2024 19:47:44 +0000 (0:00:00.198) 0:00:27.777 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 02 January 2024 19:47:44 +0000 (0:00:00.025) 0:00:27.802 ******* ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020880", "end": "2024-01-02 19:47:44.635243", "rc": 0, "start": "2024-01-02 19:47:44.614363" } STDOUT: statebr /etc/sysconfig/network-scripts/ifcfg-statebr TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 02 January 2024 19:47:44 +0000 (0:00:00.219) 0:00:28.021 ******* 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_type_qla6794/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 02 January 2024 19:47:44 +0000 (0:00:00.028) 0:00:28.049 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 02 January 2024 19:47:44 +0000 (0:00:00.026) 0:00:28.076 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 02 January 2024 19:47:44 +0000 (0:00:00.026) 0:00:28.103 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 02 January 2024 19:47:44 +0000 (0:00:00.026) 0:00:28.130 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 02 January 2024 19:47:44 +0000 (0:00:00.026) 0:00:28.156 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 02 January 2024 19:47:44 +0000 (0:00:00.025) 0:00:28.182 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 02 January 2024 19:47:44 +0000 (0:00:00.026) 0:00:28.208 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/run_test.yml:42 Tuesday 02 January 2024 19:47:44 +0000 (0:00:00.025) 0:00:28.233 ******* TASK [Success in test 'I can activate an existing profile'] ******************** task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/run_test.yml:47 Tuesday 02 January 2024 19:47:44 +0000 (0:00:00.022) 0:00:28.256 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/run_test.yml:66 Tuesday 02 January 2024 19:47:44 +0000 (0:00:00.029) 0:00:28.286 ******* included: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 02 January 2024 19:47:45 +0000 (0:00:00.089) 0:00:28.375 ******* 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.061515", "end": "2024-01-02 19:47:45.249054", "rc": 1, "start": "2024-01-02 19:47:45.187539" } STDOUT: Connection 'statebr' (2800a5d2-33bb-46ab-a04a-0a4d82892124) 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_type_qla6794/tests/playbooks/tests_states.yml:83 Tuesday 02 January 2024 19:47:45 +0000 (0:00:00.259) 0:00:28.634 ******* included: /WORKDIR/git-route_type_qla6794/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_type_qla6794/tests/playbooks/tasks/run_test.yml:5 Tuesday 02 January 2024 19:47:45 +0000 (0:00:00.040) 0:00:28.675 ******* ok: [sut] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/run_test.yml:9 Tuesday 02 January 2024 19:47:45 +0000 (0:00:00.025) 0:00:28.701 ******* ok: [sut] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can remove an existing profile without taking it down" } ok: [sut] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml", "tasks/activate_profile.yml" ] } ok: [sut] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove_profile.yml" ] } ok: [sut] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_present.yml", "tasks/assert_profile_absent.yml" ] } ok: [sut] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": "VARIABLE IS NOT DEFINED!: 'lsr_assert_when' is undefined" } ok: [sut] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [sut] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/run_test.yml:21 Tuesday 02 January 2024 19:47:45 +0000 (0:00:00.048) 0:00:28.749 ******* included: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 02 January 2024 19:47:45 +0000 (0:00:00.039) 0:00:28.788 ******* included: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 02 January 2024 19:47:45 +0000 (0:00:00.041) 0:00:28.829 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003399", "end": "2024-01-02 19:47:45.645886", "rc": 0, "start": "2024-01-02 19:47:45.642487" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 02 January 2024 19:47:45 +0000 (0:00:00.201) 0:00:29.030 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 02 January 2024 19:47:45 +0000 (0:00:00.025) 0:00:29.056 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/run_test.yml:24 Tuesday 02 January 2024 19:47:45 +0000 (0:00:00.024) 0:00:29.081 ******* included: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 02 January 2024 19:47:45 +0000 (0:00:00.088) 0:00:29.169 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 02 January 2024 19:47:45 +0000 (0:00:00.042) 0:00:29.212 ******* included: /WORKDIR/git-route_type_qla6794/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_type_qla6794/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 02 January 2024 19:47:45 +0000 (0:00:00.050) 0:00:29.263 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 02 January 2024 19:47:45 +0000 (0:00:00.037) 0:00:29.300 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 02 January 2024 19:47:45 +0000 (0:00:00.026) 0:00:29.326 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 02 January 2024 19:47:46 +0000 (0:00:00.028) 0:00:29.355 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 02 January 2024 19:47:47 +0000 (0:00:01.535) 0:00:30.890 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-route_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 02 January 2024 19:47:48 +0000 (0:00:01.317) 0:00:32.208 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 02 January 2024 19:47:48 +0000 (0:00:00.024) 0:00:32.233 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 02 January 2024 19:47:48 +0000 (0:00:00.025) 0:00:32.258 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 02 January 2024 19:47:48 +0000 (0:00:00.024) 0:00:32.282 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 02 January 2024 19:47:48 +0000 (0:00:00.046) 0:00:32.329 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 02 January 2024 19:47:48 +0000 (0:00:00.023) 0:00:32.352 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 02 January 2024 19:47:49 +0000 (0:00:00.024) 0:00:32.376 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 02 January 2024 19:47:49 +0000 (0:00:00.027) 0:00:32.403 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 02 January 2024 19:47:49 +0000 (0:00:00.342) 0:00:32.746 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 02 January 2024 19:47:49 +0000 (0:00:00.059) 0:00:32.805 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 02 January 2024 19:47:49 +0000 (0:00:00.023) 0:00:32.829 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 02 January 2024 19:47:49 +0000 (0:00:00.024) 0:00:32.854 ******* 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, 9ab26e41-762a-4738-af41-13bcc03b042f TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 02 January 2024 19:47:49 +0000 (0:00:00.382) 0:00:33.237 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 02 January 2024 19:47:49 +0000 (0:00:00.025) 0:00:33.262 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 9ab26e41-762a-4738-af41-13bcc03b042f" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 02 January 2024 19:47:49 +0000 (0:00:00.025) 0:00:33.287 ******* 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, 9ab26e41-762a-4738-af41-13bcc03b042f\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 9ab26e41-762a-4738-af41-13bcc03b042f" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 02 January 2024 19:47:49 +0000 (0:00:00.026) 0:00:33.313 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 02 January 2024 19:47:49 +0000 (0:00:00.023) 0:00:33.337 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 02 January 2024 19:47:50 +0000 (0:00:00.191) 0:00:33.529 ******* 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, 9ab26e41-762a-4738-af41-13bcc03b042f\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 9ab26e41-762a-4738-af41-13bcc03b042f" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 02 January 2024 19:47:50 +0000 (0:00:00.024) 0:00:33.554 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 02 January 2024 19:47:50 +0000 (0:00:00.039) 0:00:33.593 ******* included: /WORKDIR/git-route_type_qla6794/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_type_qla6794/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 02 January 2024 19:47:50 +0000 (0:00:00.043) 0:00:33.637 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 02 January 2024 19:47:50 +0000 (0:00:00.062) 0:00:33.700 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 02 January 2024 19:47:50 +0000 (0:00:00.023) 0:00:33.724 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 02 January 2024 19:47:50 +0000 (0:00:00.025) 0:00:33.750 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-route_type_qla6794/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 02 January 2024 19:47:51 +0000 (0:00:01.518) 0:00:35.269 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 02 January 2024 19:47:53 +0000 (0:00:01.314) 0:00:36.583 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 02 January 2024 19:47:53 +0000 (0:00:00.024) 0:00:36.608 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 02 January 2024 19:47:53 +0000 (0:00:00.024) 0:00:36.632 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 02 January 2024 19:47:53 +0000 (0:00:00.024) 0:00:36.656 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 02 January 2024 19:47:53 +0000 (0:00:00.046) 0:00:36.703 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 02 January 2024 19:47:53 +0000 (0:00:00.023) 0:00:36.726 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 02 January 2024 19:47:53 +0000 (0:00:00.024) 0:00:36.750 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 02 January 2024 19:47:53 +0000 (0:00:00.027) 0:00:36.777 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 02 January 2024 19:47:53 +0000 (0:00:00.341) 0:00:37.119 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 02 January 2024 19:47:53 +0000 (0:00:00.028) 0:00:37.148 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 02 January 2024 19:47:53 +0000 (0:00:00.023) 0:00:37.171 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 02 January 2024 19:47:53 +0000 (0:00:00.023) 0:00:37.195 ******* 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, 9ab26e41-762a-4738-af41-13bcc03b042f skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 02 January 2024 19:47:54 +0000 (0:00:00.333) 0:00:37.528 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 02 January 2024 19:47:54 +0000 (0:00:00.023) 0:00:37.552 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 9ab26e41-762a-4738-af41-13bcc03b042f skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 02 January 2024 19:47:54 +0000 (0:00:00.063) 0:00:37.616 ******* 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, 9ab26e41-762a-4738-af41-13bcc03b042f skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 9ab26e41-762a-4738-af41-13bcc03b042f skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 02 January 2024 19:47:54 +0000 (0:00:00.029) 0:00:37.646 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 02 January 2024 19:47:54 +0000 (0:00:00.028) 0:00:37.674 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/run_test.yml:30 Tuesday 02 January 2024 19:47:54 +0000 (0:00:00.198) 0:00:37.872 ******* included: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/remove_profile.yml:3 Tuesday 02 January 2024 19:47:54 +0000 (0:00:00.046) 0:00:37.918 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 02 January 2024 19:47:54 +0000 (0:00:00.045) 0:00:37.964 ******* included: /WORKDIR/git-route_type_qla6794/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_type_qla6794/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 02 January 2024 19:47:54 +0000 (0:00:00.051) 0:00:38.016 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-route_type_qla6794/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 02 January 2024 19:47:54 +0000 (0:00:00.041) 0:00:38.057 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 02 January 2024 19:47:54 +0000 (0:00:00.024) 0:00:38.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_type_qla6794/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 02 January 2024 19:47:54 +0000 (0:00:00.023) 0:00:38.105 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-route_type_qla6794/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 02 January 2024 19:47:56 +0000 (0:00:01.511) 0:00:39.616 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 02 January 2024 19:47:57 +0000 (0:00:01.310) 0:00:40.927 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 02 January 2024 19:47:57 +0000 (0:00:00.049) 0:00:40.977 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 02 January 2024 19:47:57 +0000 (0:00:00.035) 0:00:41.012 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 02 January 2024 19:47:57 +0000 (0:00:00.037) 0:00:41.050 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 02 January 2024 19:47:57 +0000 (0:00:00.068) 0:00:41.118 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 02 January 2024 19:47:57 +0000 (0:00:00.070) 0:00:41.189 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 02 January 2024 19:47:57 +0000 (0:00:00.032) 0:00:41.221 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 02 January 2024 19:47:57 +0000 (0:00:00.041) 0:00:41.263 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 02 January 2024 19:47:58 +0000 (0:00:00.375) 0:00:41.638 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 02 January 2024 19:47:58 +0000 (0:00:00.029) 0:00:41.667 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 02 January 2024 19:47:58 +0000 (0:00:00.026) 0:00:41.694 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 02 January 2024 19:47:58 +0000 (0:00:00.030) 0:00:41.724 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 02 January 2024 19:47:58 +0000 (0:00:00.359) 0:00:42.083 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 02 January 2024 19:47:58 +0000 (0:00:00.024) 0:00:42.108 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 02 January 2024 19:47:58 +0000 (0:00:00.024) 0:00:42.132 ******* ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "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_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 02 January 2024 19:47:58 +0000 (0:00:00.027) 0:00:42.160 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 02 January 2024 19:47:58 +0000 (0:00:00.048) 0:00:42.209 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/run_test.yml:36 Tuesday 02 January 2024 19:47:59 +0000 (0:00:00.199) 0:00:42.409 ******* included: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 02 January 2024 19:47:59 +0000 (0:00:00.095) 0:00:42.504 ******* included: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 02 January 2024 19:47:59 +0000 (0:00:00.044) 0:00:42.548 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1704224869.7998984, "block_size": 4096, "blocks": 0, "ctime": 1704224869.7998984, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 38997, "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": 1704224869.7998984, "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_type_qla6794/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 02 January 2024 19:47:59 +0000 (0:00:00.200) 0:00:42.748 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/assert_profile_absent.yml:3 Tuesday 02 January 2024 19:47:59 +0000 (0:00:00.028) 0:00:42.776 ******* included: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 02 January 2024 19:47:59 +0000 (0:00:00.041) 0:00:42.818 ******* 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_type_qla6794/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 02 January 2024 19:47:59 +0000 (0:00:00.031) 0:00:42.850 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 02 January 2024 19:47:59 +0000 (0:00:00.202) 0:00:43.052 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 02 January 2024 19:47:59 +0000 (0:00:00.030) 0:00:43.082 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.025589", "end": "2024-01-02 19:47:59.918493", "rc": 1, "start": "2024-01-02 19:47:59.892904" } 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_type_qla6794/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 02 January 2024 19:47:59 +0000 (0:00:00.221) 0:00:43.303 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 02 January 2024 19:47:59 +0000 (0:00:00.025) 0:00:43.329 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 02 January 2024 19:47:59 +0000 (0:00:00.025) 0:00:43.354 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 02 January 2024 19:48:00 +0000 (0:00:00.025) 0:00:43.379 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 02 January 2024 19:48:00 +0000 (0:00:00.063) 0:00:43.443 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/assert_profile_absent.yml:5 Tuesday 02 January 2024 19:48:00 +0000 (0:00:00.025) 0:00:43.468 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/run_test.yml:42 Tuesday 02 January 2024 19:48:00 +0000 (0:00:00.031) 0:00:43.500 ******* TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/run_test.yml:47 Tuesday 02 January 2024 19:48:00 +0000 (0:00:00.024) 0:00:43.524 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/run_test.yml:66 Tuesday 02 January 2024 19:48:00 +0000 (0:00:00.026) 0:00:43.550 ******* included: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 02 January 2024 19:48:00 +0000 (0:00:00.049) 0:00:43.599 ******* 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.077179", "end": "2024-01-02 19:48:00.489398", "rc": 1, "start": "2024-01-02 19:48:00.412219" } STDOUT: Connection 'statebr' (9ab26e41-762a-4738-af41-13bcc03b042f) 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_type_qla6794/tests/playbooks/tests_states.yml:103 Tuesday 02 January 2024 19:48:00 +0000 (0:00:00.274) 0:00:43.874 ******* included: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can take a profile down that is absent] ************************** task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/run_test.yml:5 Tuesday 02 January 2024 19:48:00 +0000 (0:00:00.042) 0:00:43.916 ******* ok: [sut] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/run_test.yml:9 Tuesday 02 January 2024 19:48:00 +0000 (0:00:00.027) 0:00:43.944 ******* 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_type_qla6794/tests/playbooks/tasks/run_test.yml:21 Tuesday 02 January 2024 19:48:00 +0000 (0:00:00.049) 0:00:43.993 ******* included: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 02 January 2024 19:48:00 +0000 (0:00:00.038) 0:00:44.031 ******* included: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 02 January 2024 19:48:00 +0000 (0:00:00.037) 0:00:44.069 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003295", "end": "2024-01-02 19:48:00.885894", "rc": 0, "start": "2024-01-02 19:48:00.882599" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 02 January 2024 19:48:00 +0000 (0:00:00.200) 0:00:44.270 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 02 January 2024 19:48:00 +0000 (0:00:00.024) 0:00:44.294 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/run_test.yml:24 Tuesday 02 January 2024 19:48:00 +0000 (0:00:00.025) 0:00:44.320 ******* included: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 02 January 2024 19:48:01 +0000 (0:00:00.048) 0:00:44.368 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 02 January 2024 19:48:01 +0000 (0:00:00.040) 0:00:44.409 ******* included: /WORKDIR/git-route_type_qla6794/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_type_qla6794/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 02 January 2024 19:48:01 +0000 (0:00:00.053) 0:00:44.462 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 02 January 2024 19:48:01 +0000 (0:00:00.029) 0:00:44.492 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 02 January 2024 19:48:01 +0000 (0:00:00.024) 0:00:44.516 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 02 January 2024 19:48:01 +0000 (0:00:00.025) 0:00:44.542 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 02 January 2024 19:48:02 +0000 (0:00:01.552) 0:00:46.094 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 02 January 2024 19:48:04 +0000 (0:00:01.319) 0:00:47.414 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 02 January 2024 19:48:04 +0000 (0:00:00.030) 0:00:47.444 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 02 January 2024 19:48:04 +0000 (0:00:00.024) 0:00:47.469 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 02 January 2024 19:48:04 +0000 (0:00:00.030) 0:00:47.499 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 02 January 2024 19:48:04 +0000 (0:00:00.056) 0:00:47.555 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 02 January 2024 19:48:04 +0000 (0:00:00.024) 0:00:47.580 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-route_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 02 January 2024 19:48:04 +0000 (0:00:00.053) 0:00:47.634 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 02 January 2024 19:48:04 +0000 (0:00:00.037) 0:00:47.672 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 02 January 2024 19:48:04 +0000 (0:00:00.346) 0:00:48.018 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 02 January 2024 19:48:04 +0000 (0:00:00.035) 0:00:48.054 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 02 January 2024 19:48:04 +0000 (0:00:00.027) 0:00:48.081 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 02 January 2024 19:48:04 +0000 (0:00:00.026) 0:00:48.107 ******* 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, 2654804b-2beb-4d63-802b-fdd8de8ad8e9 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 02 January 2024 19:48:05 +0000 (0:00:00.389) 0:00:48.497 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 02 January 2024 19:48:05 +0000 (0:00:00.023) 0:00:48.520 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 2654804b-2beb-4d63-802b-fdd8de8ad8e9" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 02 January 2024 19:48:05 +0000 (0:00:00.027) 0:00:48.548 ******* 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, 2654804b-2beb-4d63-802b-fdd8de8ad8e9\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 2654804b-2beb-4d63-802b-fdd8de8ad8e9" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 02 January 2024 19:48:05 +0000 (0:00:00.025) 0:00:48.574 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 02 January 2024 19:48:05 +0000 (0:00:00.022) 0:00:48.596 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 02 January 2024 19:48:05 +0000 (0:00:00.198) 0:00:48.795 ******* 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, 2654804b-2beb-4d63-802b-fdd8de8ad8e9\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 2654804b-2beb-4d63-802b-fdd8de8ad8e9" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 02 January 2024 19:48:05 +0000 (0:00:00.026) 0:00:48.821 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 02 January 2024 19:48:05 +0000 (0:00:00.079) 0:00:48.901 ******* included: /WORKDIR/git-route_type_qla6794/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_type_qla6794/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 02 January 2024 19:48:05 +0000 (0:00:00.045) 0:00:48.947 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-route_type_qla6794/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 02 January 2024 19:48:05 +0000 (0:00:00.028) 0:00:48.975 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 02 January 2024 19:48:05 +0000 (0:00:00.023) 0:00:48.998 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 02 January 2024 19:48:05 +0000 (0:00:00.024) 0:00:49.023 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 02 January 2024 19:48:07 +0000 (0:00:01.544) 0:00:50.567 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 02 January 2024 19:48:08 +0000 (0:00:01.339) 0:00:51.907 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 02 January 2024 19:48:08 +0000 (0:00:00.025) 0:00:51.932 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 02 January 2024 19:48:08 +0000 (0:00:00.025) 0:00:51.957 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 02 January 2024 19:48:08 +0000 (0:00:00.024) 0:00:51.981 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 02 January 2024 19:48:08 +0000 (0:00:00.051) 0:00:52.032 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 02 January 2024 19:48:08 +0000 (0:00:00.034) 0:00:52.067 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 02 January 2024 19:48:08 +0000 (0:00:00.029) 0:00:52.096 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 02 January 2024 19:48:08 +0000 (0:00:00.058) 0:00:52.155 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 02 January 2024 19:48:09 +0000 (0:00:00.361) 0:00:52.517 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 02 January 2024 19:48:09 +0000 (0:00:00.041) 0:00:52.559 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 02 January 2024 19:48:09 +0000 (0:00:00.031) 0:00:52.590 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 02 January 2024 19:48:09 +0000 (0:00:00.075) 0:00:52.666 ******* 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, 2654804b-2beb-4d63-802b-fdd8de8ad8e9 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 02 January 2024 19:48:09 +0000 (0:00:00.352) 0:00:53.018 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 02 January 2024 19:48:09 +0000 (0:00:00.031) 0:00:53.049 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 2654804b-2beb-4d63-802b-fdd8de8ad8e9 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 02 January 2024 19:48:09 +0000 (0:00:00.026) 0:00:53.076 ******* 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, 2654804b-2beb-4d63-802b-fdd8de8ad8e9 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 2654804b-2beb-4d63-802b-fdd8de8ad8e9 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 02 January 2024 19:48:09 +0000 (0:00:00.041) 0:00:53.117 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 02 January 2024 19:48:09 +0000 (0:00:00.025) 0:00:53.143 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/remove_profile.yml:3 Tuesday 02 January 2024 19:48:10 +0000 (0:00:00.226) 0:00:53.370 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 02 January 2024 19:48:10 +0000 (0:00:00.040) 0:00:53.410 ******* included: /WORKDIR/git-route_type_qla6794/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_type_qla6794/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 02 January 2024 19:48:10 +0000 (0:00:00.051) 0:00:53.462 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 02 January 2024 19:48:10 +0000 (0:00:00.029) 0:00:53.491 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 02 January 2024 19:48:10 +0000 (0:00:00.027) 0:00:53.519 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 02 January 2024 19:48:10 +0000 (0:00:00.025) 0:00:53.544 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-route_type_qla6794/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 02 January 2024 19:48:11 +0000 (0:00:01.517) 0:00:55.061 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 02 January 2024 19:48:13 +0000 (0:00:01.298) 0:00:56.359 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 02 January 2024 19:48:13 +0000 (0:00:00.029) 0:00:56.388 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 02 January 2024 19:48:13 +0000 (0:00:00.027) 0:00:56.415 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 02 January 2024 19:48:13 +0000 (0:00:00.030) 0:00:56.446 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 02 January 2024 19:48:13 +0000 (0:00:00.111) 0:00:56.557 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-route_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 02 January 2024 19:48:13 +0000 (0:00:00.024) 0:00:56.582 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 02 January 2024 19:48:13 +0000 (0:00:00.035) 0:00:56.617 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 02 January 2024 19:48:13 +0000 (0:00:00.081) 0:00:56.698 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 02 January 2024 19:48:13 +0000 (0:00:00.373) 0:00:57.072 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 02 January 2024 19:48:13 +0000 (0:00:00.034) 0:00:57.107 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 02 January 2024 19:48:13 +0000 (0:00:00.025) 0:00:57.133 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 02 January 2024 19:48:13 +0000 (0:00:00.025) 0:00:57.158 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 02 January 2024 19:48:14 +0000 (0:00:00.357) 0:00:57.515 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 02 January 2024 19:48:14 +0000 (0:00:00.024) 0:00:57.540 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 02 January 2024 19:48:14 +0000 (0:00:00.025) 0:00:57.566 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 02 January 2024 19:48:14 +0000 (0:00:00.026) 0:00:57.592 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 02 January 2024 19:48:14 +0000 (0:00:00.023) 0:00:57.616 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/run_test.yml:30 Tuesday 02 January 2024 19:48:14 +0000 (0:00:00.231) 0:00:57.847 ******* included: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/remove+down_profile.yml:3 Tuesday 02 January 2024 19:48:14 +0000 (0:00:00.043) 0:00:57.891 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 02 January 2024 19:48:14 +0000 (0:00:00.046) 0:00:57.938 ******* included: /WORKDIR/git-route_type_qla6794/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_type_qla6794/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 02 January 2024 19:48:14 +0000 (0:00:00.045) 0:00:57.983 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 02 January 2024 19:48:14 +0000 (0:00:00.030) 0:00:58.013 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-route_type_qla6794/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 02 January 2024 19:48:14 +0000 (0:00:00.025) 0:00:58.039 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 02 January 2024 19:48:14 +0000 (0:00:00.024) 0:00:58.064 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 02 January 2024 19:48:16 +0000 (0:00:01.551) 0:00:59.615 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 02 January 2024 19:48:17 +0000 (0:00:01.313) 0:01:00.928 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 02 January 2024 19:48:17 +0000 (0:00:00.026) 0:01:00.955 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 02 January 2024 19:48:17 +0000 (0:00:00.030) 0:01:00.986 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 02 January 2024 19:48:17 +0000 (0:00:00.035) 0:01:01.022 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 02 January 2024 19:48:17 +0000 (0:00:00.059) 0:01:01.081 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 02 January 2024 19:48:17 +0000 (0:00:00.049) 0:01:01.130 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 02 January 2024 19:48:17 +0000 (0:00:00.033) 0:01:01.164 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 02 January 2024 19:48:17 +0000 (0:00:00.030) 0:01:01.194 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 02 January 2024 19:48:18 +0000 (0:00:00.364) 0:01:01.558 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 02 January 2024 19:48:18 +0000 (0:00:00.029) 0:01:01.588 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 02 January 2024 19:48:18 +0000 (0:00:00.036) 0:01:01.624 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 02 January 2024 19:48:18 +0000 (0:00:00.051) 0:01:01.676 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 02 January 2024 19:48:18 +0000 (0:00:00.440) 0:01:02.117 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 02 January 2024 19:48:18 +0000 (0:00:00.030) 0:01:02.148 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 02 January 2024 19:48:18 +0000 (0:00:00.039) 0:01:02.188 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 02 January 2024 19:48:18 +0000 (0:00:00.026) 0:01:02.214 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 02 January 2024 19:48:18 +0000 (0:00:00.030) 0:01:02.244 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/run_test.yml:36 Tuesday 02 January 2024 19:48:19 +0000 (0:00:00.193) 0:01:02.438 ******* included: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/assert_profile_absent.yml:3 Tuesday 02 January 2024 19:48:19 +0000 (0:00:00.044) 0:01:02.483 ******* included: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 02 January 2024 19:48:19 +0000 (0:00:00.077) 0:01:02.560 ******* 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_type_qla6794/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 02 January 2024 19:48:19 +0000 (0:00:00.023) 0:01:02.583 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 02 January 2024 19:48:19 +0000 (0:00:00.198) 0:01:02.782 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 02 January 2024 19:48:19 +0000 (0:00:00.024) 0:01:02.806 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020079", "end": "2024-01-02 19:48:19.639335", "rc": 1, "start": "2024-01-02 19:48:19.619256" } 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_type_qla6794/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 02 January 2024 19:48:19 +0000 (0:00:00.217) 0:01:03.024 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 02 January 2024 19:48:19 +0000 (0:00:00.027) 0:01:03.051 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 02 January 2024 19:48:19 +0000 (0:00:00.025) 0:01:03.076 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 02 January 2024 19:48:19 +0000 (0:00:00.025) 0:01:03.102 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 02 January 2024 19:48:19 +0000 (0:00:00.026) 0:01:03.128 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/assert_profile_absent.yml:5 Tuesday 02 January 2024 19:48:19 +0000 (0:00:00.025) 0:01:03.154 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/run_test.yml:42 Tuesday 02 January 2024 19:48:19 +0000 (0:00:00.026) 0:01:03.180 ******* included: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 02 January 2024 19:48:19 +0000 (0:00:00.045) 0:01:03.226 ******* included: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 02 January 2024 19:48:19 +0000 (0:00:00.040) 0:01:03.266 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 02 January 2024 19:48:20 +0000 (0:00:00.231) 0:01:03.498 ******* 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_type_qla6794/tests/playbooks/tasks/run_test.yml:47 Tuesday 02 January 2024 19:48:20 +0000 (0:00:00.027) 0:01:03.525 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/run_test.yml:66 Tuesday 02 January 2024 19:48:20 +0000 (0:00:00.035) 0:01:03.561 ******* included: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 02 January 2024 19:48:20 +0000 (0:00:00.046) 0:01:03.608 ******* 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.040833", "end": "2024-01-02 19:48:20.461527", "rc": 1, "start": "2024-01-02 19:48:20.420694" } 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_type_qla6794/tests/playbooks/tests_states.yml:126 Tuesday 02 January 2024 19:48:20 +0000 (0:00:00.240) 0:01:03.849 ******* included: /WORKDIR/git-route_type_qla6794/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_type_qla6794/tests/playbooks/tasks/run_test.yml:5 Tuesday 02 January 2024 19:48:20 +0000 (0:00:00.054) 0:01:03.903 ******* 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_type_qla6794/tests/playbooks/tasks/run_test.yml:9 Tuesday 02 January 2024 19:48:20 +0000 (0:00:00.030) 0:01:03.933 ******* 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_type_qla6794/tests/playbooks/tasks/run_test.yml:21 Tuesday 02 January 2024 19:48:20 +0000 (0:00:00.047) 0:01:03.981 ******* included: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 02 January 2024 19:48:20 +0000 (0:00:00.037) 0:01:04.019 ******* included: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 02 January 2024 19:48:20 +0000 (0:00:00.037) 0:01:04.056 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002969", "end": "2024-01-02 19:48:20.872858", "rc": 0, "start": "2024-01-02 19:48:20.869889" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 02 January 2024 19:48:20 +0000 (0:00:00.203) 0:01:04.260 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 02 January 2024 19:48:20 +0000 (0:00:00.068) 0:01:04.328 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/run_test.yml:24 Tuesday 02 January 2024 19:48:21 +0000 (0:00:00.026) 0:01:04.354 ******* included: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 02 January 2024 19:48:21 +0000 (0:00:00.050) 0:01:04.405 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 02 January 2024 19:48:21 +0000 (0:00:00.058) 0:01:04.463 ******* included: /WORKDIR/git-route_type_qla6794/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_type_qla6794/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 02 January 2024 19:48:21 +0000 (0:00:00.046) 0:01:04.509 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 02 January 2024 19:48:21 +0000 (0:00:00.031) 0:01:04.540 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 02 January 2024 19:48:21 +0000 (0:00:00.023) 0:01:04.564 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 02 January 2024 19:48:21 +0000 (0:00:00.026) 0:01:04.591 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 02 January 2024 19:48:22 +0000 (0:00:01.530) 0:01:06.121 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 02 January 2024 19:48:24 +0000 (0:00:01.296) 0:01:07.418 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 02 January 2024 19:48:24 +0000 (0:00:00.026) 0:01:07.444 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 02 January 2024 19:48:24 +0000 (0:00:00.024) 0:01:07.468 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 02 January 2024 19:48:24 +0000 (0:00:00.025) 0:01:07.493 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-route_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 02 January 2024 19:48:24 +0000 (0:00:00.048) 0:01:07.542 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 02 January 2024 19:48:24 +0000 (0:00:00.025) 0:01:07.567 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 02 January 2024 19:48:24 +0000 (0:00:00.024) 0:01:07.592 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 02 January 2024 19:48:24 +0000 (0:00:00.066) 0:01:07.658 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 02 January 2024 19:48:24 +0000 (0:00:00.349) 0:01:08.007 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 02 January 2024 19:48:24 +0000 (0:00:00.030) 0:01:08.037 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 02 January 2024 19:48:24 +0000 (0:00:00.023) 0:01:08.061 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 02 January 2024 19:48:24 +0000 (0:00:00.025) 0:01:08.087 ******* 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, fde5da32-f0e7-44a4-a6bd-02fa55beedbe TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 02 January 2024 19:48:25 +0000 (0:00:00.392) 0:01:08.479 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 02 January 2024 19:48:25 +0000 (0:00:00.041) 0:01:08.521 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, fde5da32-f0e7-44a4-a6bd-02fa55beedbe" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 02 January 2024 19:48:25 +0000 (0:00:00.046) 0:01:08.568 ******* 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, fde5da32-f0e7-44a4-a6bd-02fa55beedbe\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, fde5da32-f0e7-44a4-a6bd-02fa55beedbe" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 02 January 2024 19:48:25 +0000 (0:00:00.027) 0:01:08.595 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 02 January 2024 19:48:25 +0000 (0:00:00.043) 0:01:08.638 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 02 January 2024 19:48:25 +0000 (0:00:00.250) 0:01:08.889 ******* 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, fde5da32-f0e7-44a4-a6bd-02fa55beedbe\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, fde5da32-f0e7-44a4-a6bd-02fa55beedbe" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 02 January 2024 19:48:25 +0000 (0:00:00.027) 0:01:08.916 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 02 January 2024 19:48:25 +0000 (0:00:00.085) 0:01:09.002 ******* included: /WORKDIR/git-route_type_qla6794/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_type_qla6794/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 02 January 2024 19:48:25 +0000 (0:00:00.052) 0:01:09.055 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 02 January 2024 19:48:25 +0000 (0:00:00.032) 0:01:09.087 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 02 January 2024 19:48:25 +0000 (0:00:00.036) 0:01:09.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_type_qla6794/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 02 January 2024 19:48:25 +0000 (0:00:00.031) 0:01:09.154 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 02 January 2024 19:48:27 +0000 (0:00:01.515) 0:01:10.670 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 02 January 2024 19:48:28 +0000 (0:00:01.297) 0:01:11.967 ******* ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-route_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 02 January 2024 19:48:28 +0000 (0:00:00.025) 0:01:11.993 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 02 January 2024 19:48:28 +0000 (0:00:00.023) 0:01:12.016 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 02 January 2024 19:48:28 +0000 (0:00:00.025) 0:01:12.042 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 02 January 2024 19:48:28 +0000 (0:00:00.046) 0:01:12.088 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 02 January 2024 19:48:28 +0000 (0:00:00.023) 0:01:12.111 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 02 January 2024 19:48:28 +0000 (0:00:00.024) 0:01:12.136 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 02 January 2024 19:48:28 +0000 (0:00:00.040) 0:01:12.176 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-route_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 02 January 2024 19:48:29 +0000 (0:00:00.341) 0:01:12.517 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 02 January 2024 19:48:29 +0000 (0:00:00.029) 0:01:12.546 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 02 January 2024 19:48:29 +0000 (0:00:00.023) 0:01:12.570 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 02 January 2024 19:48:29 +0000 (0:00:00.023) 0:01:12.593 ******* 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, fde5da32-f0e7-44a4-a6bd-02fa55beedbe skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 02 January 2024 19:48:29 +0000 (0:00:00.393) 0:01:12.986 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 02 January 2024 19:48:29 +0000 (0:00:00.023) 0:01:13.010 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, fde5da32-f0e7-44a4-a6bd-02fa55beedbe skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 02 January 2024 19:48:29 +0000 (0:00:00.026) 0:01:13.036 ******* 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, fde5da32-f0e7-44a4-a6bd-02fa55beedbe skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, fde5da32-f0e7-44a4-a6bd-02fa55beedbe skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 02 January 2024 19:48:29 +0000 (0:00:00.037) 0:01:13.074 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 02 January 2024 19:48:29 +0000 (0:00:00.027) 0:01:13.101 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/remove+down_profile.yml:3 Tuesday 02 January 2024 19:48:29 +0000 (0:00:00.193) 0:01:13.295 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 02 January 2024 19:48:29 +0000 (0:00:00.043) 0:01:13.338 ******* included: /WORKDIR/git-route_type_qla6794/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_type_qla6794/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 02 January 2024 19:48:30 +0000 (0:00:00.046) 0:01:13.385 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 02 January 2024 19:48:30 +0000 (0:00:00.030) 0:01:13.415 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 02 January 2024 19:48:30 +0000 (0:00:00.025) 0:01:13.441 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 02 January 2024 19:48:30 +0000 (0:00:00.030) 0:01:13.471 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 02 January 2024 19:48:31 +0000 (0:00:01.524) 0:01:14.996 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 02 January 2024 19:48:32 +0000 (0:00:01.306) 0:01:16.302 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 02 January 2024 19:48:32 +0000 (0:00:00.030) 0:01:16.333 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 02 January 2024 19:48:33 +0000 (0:00:00.034) 0:01:16.368 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 02 January 2024 19:48:33 +0000 (0:00:00.029) 0:01:16.398 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 02 January 2024 19:48:33 +0000 (0:00:00.106) 0:01:16.505 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 02 January 2024 19:48:33 +0000 (0:00:00.047) 0:01:16.552 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 02 January 2024 19:48:33 +0000 (0:00:00.028) 0:01:16.581 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 02 January 2024 19:48:33 +0000 (0:00:00.027) 0:01:16.608 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-route_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 02 January 2024 19:48:33 +0000 (0:00:00.346) 0:01:16.955 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 02 January 2024 19:48:33 +0000 (0:00:00.029) 0:01:16.984 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 02 January 2024 19:48:33 +0000 (0:00:00.024) 0:01:17.008 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 02 January 2024 19:48:33 +0000 (0:00:00.025) 0:01:17.033 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 02 January 2024 19:48:34 +0000 (0:00:00.401) 0:01:17.435 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 02 January 2024 19:48:34 +0000 (0:00:00.024) 0:01:17.459 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 02 January 2024 19:48:34 +0000 (0:00:00.024) 0:01:17.484 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 02 January 2024 19:48:34 +0000 (0:00:00.025) 0:01:17.509 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 02 January 2024 19:48:34 +0000 (0:00:00.023) 0:01:17.532 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/run_test.yml:30 Tuesday 02 January 2024 19:48:34 +0000 (0:00:00.191) 0:01:17.724 ******* included: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/remove+down_profile.yml:3 Tuesday 02 January 2024 19:48:34 +0000 (0:00:00.125) 0:01:17.849 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 02 January 2024 19:48:34 +0000 (0:00:00.040) 0:01:17.889 ******* included: /WORKDIR/git-route_type_qla6794/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_type_qla6794/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 02 January 2024 19:48:34 +0000 (0:00:00.046) 0:01:17.936 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 02 January 2024 19:48:34 +0000 (0:00:00.029) 0:01:17.966 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 02 January 2024 19:48:34 +0000 (0:00:00.023) 0:01:17.990 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 02 January 2024 19:48:34 +0000 (0:00:00.024) 0:01:18.014 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 02 January 2024 19:48:36 +0000 (0:00:01.556) 0:01:19.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 : Print network provider] ********************* task path: /WORKDIR/git-route_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 02 January 2024 19:48:37 +0000 (0:00:01.303) 0:01:20.874 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 02 January 2024 19:48:37 +0000 (0:00:00.034) 0:01:20.908 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 02 January 2024 19:48:37 +0000 (0:00:00.034) 0:01:20.943 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 02 January 2024 19:48:37 +0000 (0:00:00.024) 0:01:20.967 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 02 January 2024 19:48:37 +0000 (0:00:00.055) 0:01:21.022 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 02 January 2024 19:48:37 +0000 (0:00:00.029) 0:01:21.052 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 02 January 2024 19:48:37 +0000 (0:00:00.029) 0:01:21.081 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 02 January 2024 19:48:37 +0000 (0:00:00.033) 0:01:21.115 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 02 January 2024 19:48:38 +0000 (0:00:00.383) 0:01:21.498 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 02 January 2024 19:48:38 +0000 (0:00:00.028) 0:01:21.526 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 02 January 2024 19:48:38 +0000 (0:00:00.024) 0:01:21.551 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 02 January 2024 19:48:38 +0000 (0:00:00.024) 0:01:21.575 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 02 January 2024 19:48:38 +0000 (0:00:00.348) 0:01:21.924 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 02 January 2024 19:48:38 +0000 (0:00:00.041) 0:01:21.966 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 02 January 2024 19:48:38 +0000 (0:00:00.026) 0:01:21.992 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 02 January 2024 19:48:38 +0000 (0:00:00.025) 0:01:22.017 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 02 January 2024 19:48:38 +0000 (0:00:00.026) 0:01:22.044 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/run_test.yml:36 Tuesday 02 January 2024 19:48:38 +0000 (0:00:00.202) 0:01:22.246 ******* included: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/assert_profile_absent.yml for sut included: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/get_NetworkManager_NVR.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/assert_profile_absent.yml:3 Tuesday 02 January 2024 19:48:38 +0000 (0:00:00.047) 0:01:22.294 ******* included: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 02 January 2024 19:48:38 +0000 (0:00:00.041) 0:01:22.335 ******* 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_type_qla6794/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 02 January 2024 19:48:39 +0000 (0:00:00.080) 0:01:22.415 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 02 January 2024 19:48:39 +0000 (0:00:00.212) 0:01:22.628 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 02 January 2024 19:48:39 +0000 (0:00:00.026) 0:01:22.655 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020680", "end": "2024-01-02 19:48:39.491881", "rc": 1, "start": "2024-01-02 19:48:39.471201" } 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_type_qla6794/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 02 January 2024 19:48:39 +0000 (0:00:00.221) 0:01:22.876 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 02 January 2024 19:48:39 +0000 (0:00:00.035) 0:01:22.911 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 02 January 2024 19:48:39 +0000 (0:00:00.049) 0:01:22.961 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 02 January 2024 19:48:39 +0000 (0:00:00.058) 0:01:23.020 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 02 January 2024 19:48:39 +0000 (0:00:00.056) 0:01:23.076 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/assert_profile_absent.yml:5 Tuesday 02 January 2024 19:48:39 +0000 (0:00:00.025) 0:01:23.102 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/get_NetworkManager_NVR.yml:7 Tuesday 02 January 2024 19:48:39 +0000 (0:00:00.026) 0:01:23.128 ******* ok: [sut] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.933107", "end": "2024-01-02 19:48:40.873294", "rc": 0, "start": "2024-01-02 19:48:39.940187" } STDOUT: NetworkManager-1.40.16-11.el8 TASK [Store NetworkManager version] ******************************************** task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/get_NetworkManager_NVR.yml:14 Tuesday 02 January 2024 19:48:40 +0000 (0:00:01.135) 0:01:24.263 ******* ok: [sut] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.40.16-11.el8" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/get_NetworkManager_NVR.yml:18 Tuesday 02 January 2024 19:48:40 +0000 (0:00:00.030) 0:01:24.293 ******* ok: [sut] => { "networkmanager_nvr": "NetworkManager-1.40.16-11.el8" } TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/run_test.yml:42 Tuesday 02 January 2024 19:48:41 +0000 (0:00:00.078) 0:01:24.372 ******* included: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 02 January 2024 19:48:41 +0000 (0:00:00.068) 0:01:24.441 ******* included: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 02 January 2024 19:48:41 +0000 (0:00:00.053) 0:01:24.494 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 02 January 2024 19:48:41 +0000 (0:00:00.208) 0:01:24.703 ******* 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_type_qla6794/tests/playbooks/tasks/run_test.yml:47 Tuesday 02 January 2024 19:48:41 +0000 (0:00:00.028) 0:01:24.732 ******* 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_type_qla6794/tests/playbooks/tasks/run_test.yml:66 Tuesday 02 January 2024 19:48:41 +0000 (0:00:00.024) 0:01:24.757 ******* included: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 02 January 2024 19:48:41 +0000 (0:00:00.046) 0:01:24.803 ******* 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.041759", "end": "2024-01-02 19:48:41.655800", "rc": 1, "start": "2024-01-02 19:48:41.614041" } 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=321 changed=10 unreachable=0 failed=0 skipped=247 rescued=0 ignored=11 Tuesday 02 January 2024 19:48:41 +0000 (0:00:00.223) 0:01:25.026 ******* =============================================================================== linux-system-roles.network : Configure networking connection profiles --- 2.06s /WORKDIR/git-route_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Enable and start NetworkManager ------------ 1.93s /WORKDIR/git-route_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:85 linux-system-roles.network : Check which services are running ----------- 1.64s /WORKDIR/git-route_type_qla6794/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.57s /WORKDIR/git-route_type_qla6794/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.56s /WORKDIR/git-route_type_qla6794/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.55s /WORKDIR/git-route_type_qla6794/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.55s /WORKDIR/git-route_type_qla6794/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.54s /WORKDIR/git-route_type_qla6794/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.54s /WORKDIR/git-route_type_qla6794/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.53s /WORKDIR/git-route_type_qla6794/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.53s /WORKDIR/git-route_type_qla6794/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.52s /WORKDIR/git-route_type_qla6794/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.52s /WORKDIR/git-route_type_qla6794/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.52s /WORKDIR/git-route_type_qla6794/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.52s /WORKDIR/git-route_type_qla6794/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.52s /WORKDIR/git-route_type_qla6794/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.51s /WORKDIR/git-route_type_qla6794/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which packages are installed --------- 1.47s /WORKDIR/git-route_type_qla6794/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Configure networking connection profiles --- 1.45s /WORKDIR/git-route_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Enable and start NetworkManager ------------ 1.39s /WORKDIR/git-route_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:85 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- [WARNING]: Consider using the dnf module rather than running 'dnf'. If you need to use command because dnf 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. [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. ---^---^---^---^---^---