# 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-ci_fixy9fd16fm/tests/tests_states_nm.yml PLAY [Run playbook 'playbooks/tests_states.yml' with nm as provider] *********** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-ci_fixy9fd16fm/tests/tests_states_nm.yml:6 Tuesday 23 January 2024 19:41:01 +0000 (0:00:00.022) 0:00:00.022 ******* ok: [sut] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-ci_fixy9fd16fm/tests/tests_states_nm.yml:9 Tuesday 23 January 2024 19:41:02 +0000 (0:00:00.643) 0:00:00.665 ******* included: /WORKDIR/git-ci_fixy9fd16fm/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-ci_fixy9fd16fm/tests/tasks/el_repo_setup.yml:3 Tuesday 23 January 2024 19:41:02 +0000 (0:00:00.052) 0:00:00.717 ******* ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-ci_fixy9fd16fm/tests/tasks/el_repo_setup.yml:19 Tuesday 23 January 2024 19:41:02 +0000 (0:00:00.358) 0:00:01.076 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-ci_fixy9fd16fm/tests/tasks/el_repo_setup.yml:24 Tuesday 23 January 2024 19:41:03 +0000 (0:00:00.356) 0:00:01.433 ******* ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-ci_fixy9fd16fm/tests/tasks/el_repo_setup.yml:28 Tuesday 23 January 2024 19:41:03 +0000 (0:00:00.089) 0:00:01.523 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-ci_fixy9fd16fm/tests/tasks/el_repo_setup.yml:53 Tuesday 23 January 2024 19:41:03 +0000 (0:00:00.041) 0:00:01.564 ******* included: /WORKDIR/git-ci_fixy9fd16fm/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 9] *********************************************************** task path: /WORKDIR/git-ci_fixy9fd16fm/tests/tasks/enable_epel.yml:8 Tuesday 23 January 2024 19:41:03 +0000 (0:00:00.049) 0:00:01.614 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Install yum-utils package] *********************************************** task path: /WORKDIR/git-ci_fixy9fd16fm/tests/tasks/enable_epel.yml:24 Tuesday 23 January 2024 19:41:03 +0000 (0:00:00.132) 0:00:01.746 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-ci_fixy9fd16fm/tests/tasks/enable_epel.yml:30 Tuesday 23 January 2024 19:41:03 +0000 (0:00:00.019) 0:00:01.765 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-ci_fixy9fd16fm/tests/tasks/enable_epel.yml:35 Tuesday 23 January 2024 19:41:03 +0000 (0:00:00.015) 0:00:01.781 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-ci_fixy9fd16fm/tests/tasks/enable_epel.yml:40 Tuesday 23 January 2024 19:41:03 +0000 (0:00:00.069) 0:00:01.851 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /WORKDIR/git-ci_fixy9fd16fm/tests/tests_states_nm.yml:11 Tuesday 23 January 2024 19:41:03 +0000 (0:00:00.011) 0:00:01.863 ******* 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-ci_fixy9fd16fm/tests/playbooks/tests_states.yml:3 Tuesday 23 January 2024 19:41:03 +0000 (0:00:00.021) 0:00:01.885 ******* ok: [sut] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-ci_fixy9fd16fm/tests/playbooks/tests_states.yml:11 Tuesday 23 January 2024 19:41:04 +0000 (0:00:00.830) 0:00:02.715 ******* ok: [sut] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-ci_fixy9fd16fm/tests/playbooks/tests_states.yml:22 Tuesday 23 January 2024 19:41:04 +0000 (0:00:00.021) 0:00:02.737 ******* included: /WORKDIR/git-ci_fixy9fd16fm/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile] ******************************************** task path: /WORKDIR/git-ci_fixy9fd16fm/tests/playbooks/tasks/run_test.yml:5 Tuesday 23 January 2024 19:41:04 +0000 (0:00:00.023) 0:00:02.760 ******* ok: [sut] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-ci_fixy9fd16fm/tests/playbooks/tasks/run_test.yml:9 Tuesday 23 January 2024 19:41:04 +0000 (0:00:00.041) 0:00:02.802 ******* 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-ci_fixy9fd16fm/tests/playbooks/tasks/run_test.yml:21 Tuesday 23 January 2024 19:41:04 +0000 (0:00:00.063) 0:00:02.865 ******* included: /WORKDIR/git-ci_fixy9fd16fm/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ci_fixy9fd16fm/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 23 January 2024 19:41:04 +0000 (0:00:00.025) 0:00:02.890 ******* included: /WORKDIR/git-ci_fixy9fd16fm/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ci_fixy9fd16fm/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 23 January 2024 19:41:04 +0000 (0:00:00.019) 0:00:02.910 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003209", "end": "2024-01-23 19:41:05.157969", "rc": 0, "start": "2024-01-23 19:41:05.154760" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ci_fixy9fd16fm/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 23 January 2024 19:41:05 +0000 (0:00:00.436) 0:00:03.346 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ci_fixy9fd16fm/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 23 January 2024 19:41:05 +0000 (0:00:00.120) 0:00:03.466 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-ci_fixy9fd16fm/tests/playbooks/tasks/run_test.yml:24 Tuesday 23 January 2024 19:41:05 +0000 (0:00:00.090) 0:00:03.556 ******* included: /WORKDIR/git-ci_fixy9fd16fm/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-ci_fixy9fd16fm/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-ci_fixy9fd16fm/tests/playbooks/tasks/delete_interface.yml:3 Tuesday 23 January 2024 19:41:05 +0000 (0:00:00.028) 0:00:03.585 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.007271", "end": "2024-01-23 19:41:05.622531", "rc": 1, "start": "2024-01-23 19:41:05.615260" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-ci_fixy9fd16fm/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 23 January 2024 19:41:05 +0000 (0:00:00.200) 0:00:03.785 ******* included: /WORKDIR/git-ci_fixy9fd16fm/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-ci_fixy9fd16fm/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 23 January 2024 19:41:05 +0000 (0:00:00.046) 0:00:03.832 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-ci_fixy9fd16fm/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 23 January 2024 19:41:05 +0000 (0:00:00.268) 0:00:04.101 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-ci_fixy9fd16fm/tests/playbooks/tasks/run_test.yml:30 Tuesday 23 January 2024 19:41:05 +0000 (0:00:00.036) 0:00:04.137 ******* included: /WORKDIR/git-ci_fixy9fd16fm/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-ci_fixy9fd16fm/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 23 January 2024 19:41:06 +0000 (0:00:00.031) 0:00:04.169 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 23 January 2024 19:41:06 +0000 (0:00:00.115) 0:00:04.284 ******* included: /WORKDIR/git-ci_fixy9fd16fm/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-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 23 January 2024 19:41:06 +0000 (0:00:00.118) 0:00:04.403 ******* 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-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 23 January 2024 19:41:06 +0000 (0:00:00.038) 0:00:04.442 ******* 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-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 23 January 2024 19:41:06 +0000 (0:00:00.032) 0:00:04.474 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 23 January 2024 19:41:06 +0000 (0:00:00.033) 0:00:04.508 ******* 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-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 23 January 2024 19:41:07 +0000 (0:00:01.633) 0:00:06.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-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 23 January 2024 19:41:09 +0000 (0:00:01.250) 0:00:07.393 ******* ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 23 January 2024 19:41:09 +0000 (0:00:00.056) 0:00:07.450 ******* 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-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 23 January 2024 19:41:09 +0000 (0:00:00.023) 0:00:07.473 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 23 January 2024 19:41:09 +0000 (0:00:00.027) 0:00:07.501 ******* 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-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 23 January 2024 19:41:09 +0000 (0:00:00.083) 0:00:07.584 ******* 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-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 23 January 2024 19:41:09 +0000 (0:00:00.040) 0:00:07.625 ******* 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-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 23 January 2024 19:41:09 +0000 (0:00:00.115) 0:00:07.741 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 23 January 2024 19:41:09 +0000 (0:00:00.074) 0:00:07.815 ******* 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-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 23 January 2024 19:41:10 +0000 (0:00:00.693) 0:00:08.508 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 23 January 2024 19:41:10 +0000 (0:00:00.037) 0:00:08.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-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 23 January 2024 19:41:10 +0000 (0:00:00.022) 0:00:08.568 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 23 January 2024 19:41:10 +0000 (0:00:00.034) 0:00:08.603 ******* 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, 1c519b60-0369-4e52-873a-f420fd85e531 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 23 January 2024 19:41:11 +0000 (0:00:00.625) 0:00:09.228 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 23 January 2024 19:41:11 +0000 (0:00:00.034) 0:00:09.263 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 1c519b60-0369-4e52-873a-f420fd85e531" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 23 January 2024 19:41:11 +0000 (0:00:00.024) 0:00:09.288 ******* 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, 1c519b60-0369-4e52-873a-f420fd85e531\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 1c519b60-0369-4e52-873a-f420fd85e531" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 23 January 2024 19:41:11 +0000 (0:00:00.031) 0:00:09.319 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 23 January 2024 19:41:11 +0000 (0:00:00.056) 0:00:09.375 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-ci_fixy9fd16fm/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 23 January 2024 19:41:11 +0000 (0:00:00.389) 0:00:09.765 ******* 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, 1c519b60-0369-4e52-873a-f420fd85e531\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 1c519b60-0369-4e52-873a-f420fd85e531" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-ci_fixy9fd16fm/tests/playbooks/tasks/run_test.yml:36 Tuesday 23 January 2024 19:41:11 +0000 (0:00:00.052) 0:00:09.817 ******* included: /WORKDIR/git-ci_fixy9fd16fm/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-ci_fixy9fd16fm/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 23 January 2024 19:41:11 +0000 (0:00:00.104) 0:00:09.922 ******* included: /WORKDIR/git-ci_fixy9fd16fm/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-ci_fixy9fd16fm/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 23 January 2024 19:41:11 +0000 (0:00:00.108) 0:00:10.031 ******* 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-ci_fixy9fd16fm/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 23 January 2024 19:41:11 +0000 (0:00:00.041) 0:00:10.072 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-ci_fixy9fd16fm/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 23 January 2024 19:41:12 +0000 (0:00:00.252) 0:00:10.324 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-ci_fixy9fd16fm/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 23 January 2024 19:41:12 +0000 (0:00:00.062) 0:00:10.387 ******* ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020715", "end": "2024-01-23 19:41:12.474697", "rc": 0, "start": "2024-01-23 19:41:12.453982" } STDOUT: statebr /etc/NetworkManager/system-connections/statebr.nmconnection TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-ci_fixy9fd16fm/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 23 January 2024 19:41:12 +0000 (0:00:00.268) 0:00:10.655 ******* 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-ci_fixy9fd16fm/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 23 January 2024 19:41:12 +0000 (0:00:00.026) 0:00:10.682 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-ci_fixy9fd16fm/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 23 January 2024 19:41:12 +0000 (0:00:00.026) 0:00:10.708 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-ci_fixy9fd16fm/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 23 January 2024 19:41:12 +0000 (0:00:00.060) 0:00:10.769 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-ci_fixy9fd16fm/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 23 January 2024 19:41:12 +0000 (0:00:00.058) 0:00:10.827 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-ci_fixy9fd16fm/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 23 January 2024 19:41:12 +0000 (0:00:00.065) 0:00:10.892 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-ci_fixy9fd16fm/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 23 January 2024 19:41:12 +0000 (0:00:00.055) 0:00:10.948 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-ci_fixy9fd16fm/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 23 January 2024 19:41:12 +0000 (0:00:00.044) 0:00:10.992 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-ci_fixy9fd16fm/tests/playbooks/tasks/run_test.yml:42 Tuesday 23 January 2024 19:41:12 +0000 (0:00:00.041) 0:00:11.034 ******* included: /WORKDIR/git-ci_fixy9fd16fm/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-ci_fixy9fd16fm/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 23 January 2024 19:41:12 +0000 (0:00:00.064) 0:00:11.098 ******* included: /WORKDIR/git-ci_fixy9fd16fm/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-ci_fixy9fd16fm/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 23 January 2024 19:41:13 +0000 (0:00:00.074) 0:00:11.172 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1706038870.9764166, "block_size": 4096, "blocks": 0, "ctime": 1706038870.9764166, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 31450, "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": 1706038870.9764166, "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-ci_fixy9fd16fm/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 23 January 2024 19:41:13 +0000 (0:00:00.278) 0:00:11.451 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can create a profile'] ******************************** task path: /WORKDIR/git-ci_fixy9fd16fm/tests/playbooks/tasks/run_test.yml:47 Tuesday 23 January 2024 19:41:13 +0000 (0:00:00.143) 0:00:11.594 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-ci_fixy9fd16fm/tests/playbooks/tasks/run_test.yml:66 Tuesday 23 January 2024 19:41:13 +0000 (0:00:00.180) 0:00:11.775 ******* included: /WORKDIR/git-ci_fixy9fd16fm/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-ci_fixy9fd16fm/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 23 January 2024 19:41:13 +0000 (0:00:00.127) 0:00:11.902 ******* 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.064537", "end": "2024-01-23 19:41:14.014976", "rc": 1, "start": "2024-01-23 19:41:13.950439" } STDOUT: Connection 'statebr' (1c519b60-0369-4e52-873a-f420fd85e531) successfully deleted. STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-ci_fixy9fd16fm/tests/playbooks/tests_states.yml:45 Tuesday 23 January 2024 19:41:14 +0000 (0:00:00.311) 0:00:12.213 ******* included: /WORKDIR/git-ci_fixy9fd16fm/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile without autoconnect] ************************ task path: /WORKDIR/git-ci_fixy9fd16fm/tests/playbooks/tasks/run_test.yml:5 Tuesday 23 January 2024 19:41:14 +0000 (0:00:00.101) 0:00:12.315 ******* ok: [sut] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-ci_fixy9fd16fm/tests/playbooks/tasks/run_test.yml:9 Tuesday 23 January 2024 19:41:14 +0000 (0:00:00.092) 0:00:12.407 ******* 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-ci_fixy9fd16fm/tests/playbooks/tasks/run_test.yml:21 Tuesday 23 January 2024 19:41:14 +0000 (0:00:00.094) 0:00:12.502 ******* included: /WORKDIR/git-ci_fixy9fd16fm/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ci_fixy9fd16fm/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 23 January 2024 19:41:14 +0000 (0:00:00.054) 0:00:12.556 ******* included: /WORKDIR/git-ci_fixy9fd16fm/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ci_fixy9fd16fm/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 23 January 2024 19:41:14 +0000 (0:00:00.035) 0:00:12.592 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003213", "end": "2024-01-23 19:41:14.682539", "rc": 0, "start": "2024-01-23 19:41:14.679326" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ci_fixy9fd16fm/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 23 January 2024 19:41:14 +0000 (0:00:00.307) 0:00:12.899 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ci_fixy9fd16fm/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 23 January 2024 19:41:14 +0000 (0:00:00.049) 0:00:12.948 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-ci_fixy9fd16fm/tests/playbooks/tasks/run_test.yml:24 Tuesday 23 January 2024 19:41:14 +0000 (0:00:00.092) 0:00:13.041 ******* included: /WORKDIR/git-ci_fixy9fd16fm/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-ci_fixy9fd16fm/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-ci_fixy9fd16fm/tests/playbooks/tasks/delete_interface.yml:3 Tuesday 23 January 2024 19:41:14 +0000 (0:00:00.088) 0:00:13.130 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.005951", "end": "2024-01-23 19:41:15.229537", "rc": 1, "start": "2024-01-23 19:41:15.223586" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-ci_fixy9fd16fm/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 23 January 2024 19:41:15 +0000 (0:00:00.303) 0:00:13.434 ******* included: /WORKDIR/git-ci_fixy9fd16fm/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-ci_fixy9fd16fm/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 23 January 2024 19:41:15 +0000 (0:00:00.096) 0:00:13.531 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-ci_fixy9fd16fm/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 23 January 2024 19:41:15 +0000 (0:00:00.260) 0:00:13.791 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-ci_fixy9fd16fm/tests/playbooks/tasks/run_test.yml:30 Tuesday 23 January 2024 19:41:15 +0000 (0:00:00.107) 0:00:13.898 ******* included: /WORKDIR/git-ci_fixy9fd16fm/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-ci_fixy9fd16fm/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Tuesday 23 January 2024 19:41:15 +0000 (0:00:00.149) 0:00:14.048 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 23 January 2024 19:41:15 +0000 (0:00:00.081) 0:00:14.129 ******* included: /WORKDIR/git-ci_fixy9fd16fm/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-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 23 January 2024 19:41:16 +0000 (0:00:00.104) 0:00:14.234 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 23 January 2024 19:41:16 +0000 (0:00:00.065) 0:00:14.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-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 23 January 2024 19:41:16 +0000 (0:00:00.109) 0:00:14.410 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 23 January 2024 19:41:16 +0000 (0:00:00.079) 0:00:14.490 ******* 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-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 23 January 2024 19:41:17 +0000 (0:00:01.581) 0:00:16.071 ******* 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-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 23 January 2024 19:41:18 +0000 (0:00:01.028) 0:00:17.099 ******* 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-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 23 January 2024 19:41:19 +0000 (0:00:00.070) 0:00:17.170 ******* 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-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 23 January 2024 19:41:19 +0000 (0:00:00.045) 0:00:17.215 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 23 January 2024 19:41:19 +0000 (0:00:00.081) 0:00:17.297 ******* 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-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 23 January 2024 19:41:19 +0000 (0:00:00.102) 0:00:17.399 ******* 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-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 23 January 2024 19:41:19 +0000 (0:00:00.127) 0:00:17.526 ******* 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-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 23 January 2024 19:41:19 +0000 (0:00:00.068) 0:00:17.595 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 23 January 2024 19:41:19 +0000 (0:00:00.069) 0:00:17.665 ******* 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-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 23 January 2024 19:41:19 +0000 (0:00:00.428) 0:00:18.093 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 23 January 2024 19:41:20 +0000 (0:00:00.069) 0:00:18.163 ******* 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-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 23 January 2024 19:41:20 +0000 (0:00:00.118) 0:00:18.282 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 23 January 2024 19:41:20 +0000 (0:00:00.093) 0:00:18.375 ******* 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, 7459ba45-edef-4df1-9c25-146a55423218 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 23 January 2024 19:41:20 +0000 (0:00:00.484) 0:00:18.859 ******* 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-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 23 January 2024 19:41:20 +0000 (0:00:00.048) 0:00:18.908 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 7459ba45-edef-4df1-9c25-146a55423218" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 23 January 2024 19:41:20 +0000 (0:00:00.043) 0:00:18.951 ******* 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, 7459ba45-edef-4df1-9c25-146a55423218\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 7459ba45-edef-4df1-9c25-146a55423218" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 23 January 2024 19:41:20 +0000 (0:00:00.079) 0:00:19.031 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 23 January 2024 19:41:20 +0000 (0:00:00.053) 0:00:19.084 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-ci_fixy9fd16fm/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Tuesday 23 January 2024 19:41:21 +0000 (0:00:00.238) 0:00:19.323 ******* 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, 7459ba45-edef-4df1-9c25-146a55423218\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 7459ba45-edef-4df1-9c25-146a55423218" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-ci_fixy9fd16fm/tests/playbooks/tasks/run_test.yml:36 Tuesday 23 January 2024 19:41:21 +0000 (0:00:00.063) 0:00:19.386 ******* included: /WORKDIR/git-ci_fixy9fd16fm/tests/playbooks/tasks/assert_device_absent.yml for sut included: /WORKDIR/git-ci_fixy9fd16fm/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-ci_fixy9fd16fm/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 23 January 2024 19:41:21 +0000 (0:00:00.094) 0:00:19.481 ******* included: /WORKDIR/git-ci_fixy9fd16fm/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-ci_fixy9fd16fm/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 23 January 2024 19:41:21 +0000 (0:00:00.045) 0:00:19.526 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-ci_fixy9fd16fm/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 23 January 2024 19:41:21 +0000 (0:00:00.289) 0:00:19.815 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-ci_fixy9fd16fm/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 23 January 2024 19:41:21 +0000 (0:00:00.056) 0:00:19.872 ******* included: /WORKDIR/git-ci_fixy9fd16fm/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-ci_fixy9fd16fm/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 23 January 2024 19:41:21 +0000 (0:00:00.048) 0:00:19.920 ******* 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-ci_fixy9fd16fm/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 23 January 2024 19:41:21 +0000 (0:00:00.036) 0:00:19.957 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-ci_fixy9fd16fm/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 23 January 2024 19:41:22 +0000 (0:00:00.296) 0:00:20.253 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-ci_fixy9fd16fm/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 23 January 2024 19:41:22 +0000 (0:00:00.024) 0:00:20.278 ******* ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020032", "end": "2024-01-23 19:41:22.324729", "rc": 0, "start": "2024-01-23 19:41:22.304697" } STDOUT: statebr /etc/NetworkManager/system-connections/statebr.nmconnection TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-ci_fixy9fd16fm/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 23 January 2024 19:41:22 +0000 (0:00:00.224) 0:00:20.502 ******* 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-ci_fixy9fd16fm/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 23 January 2024 19:41:22 +0000 (0:00:00.050) 0:00:20.552 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-ci_fixy9fd16fm/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 23 January 2024 19:41:22 +0000 (0:00:00.046) 0:00:20.599 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-ci_fixy9fd16fm/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 23 January 2024 19:41:22 +0000 (0:00:00.044) 0:00:20.644 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-ci_fixy9fd16fm/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 23 January 2024 19:41:22 +0000 (0:00:00.044) 0:00:20.688 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-ci_fixy9fd16fm/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 23 January 2024 19:41:22 +0000 (0:00:00.036) 0:00:20.725 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-ci_fixy9fd16fm/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 23 January 2024 19:41:22 +0000 (0:00:00.031) 0:00:20.756 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-ci_fixy9fd16fm/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 23 January 2024 19:41:22 +0000 (0:00:00.051) 0:00:20.807 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-ci_fixy9fd16fm/tests/playbooks/tasks/run_test.yml:42 Tuesday 23 January 2024 19:41:22 +0000 (0:00:00.063) 0:00:20.871 ******* TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /WORKDIR/git-ci_fixy9fd16fm/tests/playbooks/tasks/run_test.yml:47 Tuesday 23 January 2024 19:41:22 +0000 (0:00:00.040) 0:00:20.911 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-ci_fixy9fd16fm/tests/playbooks/tasks/run_test.yml:66 Tuesday 23 January 2024 19:41:22 +0000 (0:00:00.056) 0:00:20.967 ******* included: /WORKDIR/git-ci_fixy9fd16fm/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-ci_fixy9fd16fm/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 23 January 2024 19:41:22 +0000 (0:00:00.086) 0:00:21.054 ******* 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.037970", "end": "2024-01-23 19:41:23.137196", "rc": 1, "start": "2024-01-23 19:41:23.099226" } STDOUT: Connection 'statebr' (7459ba45-edef-4df1-9c25-146a55423218) successfully deleted. STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-ci_fixy9fd16fm/tests/playbooks/tests_states.yml:65 Tuesday 23 January 2024 19:41:23 +0000 (0:00:00.271) 0:00:21.325 ******* included: /WORKDIR/git-ci_fixy9fd16fm/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can activate an existing profile] ******************************** task path: /WORKDIR/git-ci_fixy9fd16fm/tests/playbooks/tasks/run_test.yml:5 Tuesday 23 January 2024 19:41:23 +0000 (0:00:00.123) 0:00:21.448 ******* ok: [sut] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-ci_fixy9fd16fm/tests/playbooks/tasks/run_test.yml:9 Tuesday 23 January 2024 19:41:23 +0000 (0:00:00.036) 0:00:21.485 ******* 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-ci_fixy9fd16fm/tests/playbooks/tasks/run_test.yml:21 Tuesday 23 January 2024 19:41:23 +0000 (0:00:00.075) 0:00:21.561 ******* included: /WORKDIR/git-ci_fixy9fd16fm/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ci_fixy9fd16fm/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 23 January 2024 19:41:23 +0000 (0:00:00.072) 0:00:21.633 ******* included: /WORKDIR/git-ci_fixy9fd16fm/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ci_fixy9fd16fm/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 23 January 2024 19:41:23 +0000 (0:00:00.102) 0:00:21.735 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003147", "end": "2024-01-23 19:41:23.818305", "rc": 0, "start": "2024-01-23 19:41:23.815158" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ci_fixy9fd16fm/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 23 January 2024 19:41:23 +0000 (0:00:00.261) 0:00:21.996 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ci_fixy9fd16fm/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 23 January 2024 19:41:23 +0000 (0:00:00.036) 0:00:22.032 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-ci_fixy9fd16fm/tests/playbooks/tasks/run_test.yml:24 Tuesday 23 January 2024 19:41:23 +0000 (0:00:00.062) 0:00:22.095 ******* included: /WORKDIR/git-ci_fixy9fd16fm/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-ci_fixy9fd16fm/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 23 January 2024 19:41:24 +0000 (0:00:00.076) 0:00:22.171 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 23 January 2024 19:41:24 +0000 (0:00:00.069) 0:00:22.240 ******* included: /WORKDIR/git-ci_fixy9fd16fm/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-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 23 January 2024 19:41:24 +0000 (0:00:00.076) 0:00:22.317 ******* 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-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 23 January 2024 19:41:24 +0000 (0:00:00.038) 0:00:22.356 ******* 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-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 23 January 2024 19:41:24 +0000 (0:00:00.116) 0:00:22.472 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 23 January 2024 19:41:24 +0000 (0:00:00.022) 0:00:22.495 ******* 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-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 23 January 2024 19:41:25 +0000 (0:00:01.421) 0:00:23.916 ******* 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-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 23 January 2024 19:41:26 +0000 (0:00:01.005) 0:00:24.922 ******* 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-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 23 January 2024 19:41:26 +0000 (0:00:00.047) 0:00:24.969 ******* 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-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 23 January 2024 19:41:26 +0000 (0:00:00.039) 0:00:25.009 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 23 January 2024 19:41:26 +0000 (0:00:00.033) 0:00:25.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-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 23 January 2024 19:41:26 +0000 (0:00:00.088) 0:00:25.130 ******* 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-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 23 January 2024 19:41:27 +0000 (0:00:00.100) 0:00:25.231 ******* 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-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 23 January 2024 19:41:27 +0000 (0:00:00.071) 0:00:25.303 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 23 January 2024 19:41:27 +0000 (0:00:00.057) 0:00:25.361 ******* 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-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 23 January 2024 19:41:27 +0000 (0:00:00.484) 0:00:25.845 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 23 January 2024 19:41:27 +0000 (0:00:00.102) 0:00:25.948 ******* 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-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 23 January 2024 19:41:27 +0000 (0:00:00.154) 0:00:26.103 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 23 January 2024 19:41:28 +0000 (0:00:00.101) 0:00:26.205 ******* 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, 89dfaf07-ef99-478e-a665-dbe1e45f97fb TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 23 January 2024 19:41:28 +0000 (0:00:00.524) 0:00:26.729 ******* 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-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 23 January 2024 19:41:28 +0000 (0:00:00.023) 0:00:26.753 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 89dfaf07-ef99-478e-a665-dbe1e45f97fb" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 23 January 2024 19:41:28 +0000 (0:00:00.053) 0:00:26.807 ******* 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, 89dfaf07-ef99-478e-a665-dbe1e45f97fb\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 89dfaf07-ef99-478e-a665-dbe1e45f97fb" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 23 January 2024 19:41:28 +0000 (0:00:00.036) 0:00:26.844 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 23 January 2024 19:41:28 +0000 (0:00:00.023) 0:00:26.867 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-ci_fixy9fd16fm/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 23 January 2024 19:41:28 +0000 (0:00:00.258) 0:00:27.126 ******* 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, 89dfaf07-ef99-478e-a665-dbe1e45f97fb\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 89dfaf07-ef99-478e-a665-dbe1e45f97fb" ] } } TASK [Test] ******************************************************************** task path: /WORKDIR/git-ci_fixy9fd16fm/tests/playbooks/tasks/run_test.yml:30 Tuesday 23 January 2024 19:41:29 +0000 (0:00:00.071) 0:00:27.198 ******* included: /WORKDIR/git-ci_fixy9fd16fm/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-ci_fixy9fd16fm/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 23 January 2024 19:41:29 +0000 (0:00:00.112) 0:00:27.311 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 23 January 2024 19:41:29 +0000 (0:00:00.094) 0:00:27.405 ******* included: /WORKDIR/git-ci_fixy9fd16fm/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-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 23 January 2024 19:41:29 +0000 (0:00:00.139) 0:00:27.545 ******* 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-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 23 January 2024 19:41:29 +0000 (0:00:00.038) 0:00:27.584 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 23 January 2024 19:41:29 +0000 (0:00:00.044) 0:00:27.628 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 23 January 2024 19:41:29 +0000 (0:00:00.032) 0:00:27.661 ******* 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-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 23 January 2024 19:41:30 +0000 (0:00:01.453) 0:00:29.114 ******* 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-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 23 January 2024 19:41:32 +0000 (0:00:01.099) 0:00:30.214 ******* 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-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 23 January 2024 19:41:32 +0000 (0:00:00.066) 0:00:30.280 ******* 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-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 23 January 2024 19:41:32 +0000 (0:00:00.039) 0:00:30.320 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 23 January 2024 19:41:32 +0000 (0:00:00.040) 0:00:30.361 ******* 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-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 23 January 2024 19:41:32 +0000 (0:00:00.073) 0:00:30.435 ******* 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-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 23 January 2024 19:41:32 +0000 (0:00:00.042) 0:00:30.477 ******* 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-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 23 January 2024 19:41:32 +0000 (0:00:00.038) 0:00:30.515 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 23 January 2024 19:41:32 +0000 (0:00:00.085) 0:00:30.601 ******* 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-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 23 January 2024 19:41:32 +0000 (0:00:00.460) 0:00:31.061 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 23 January 2024 19:41:32 +0000 (0:00:00.041) 0:00:31.103 ******* 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-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 23 January 2024 19:41:33 +0000 (0:00:00.062) 0:00:31.165 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 23 January 2024 19:41:33 +0000 (0:00:00.077) 0:00:31.242 ******* 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, 89dfaf07-ef99-478e-a665-dbe1e45f97fb skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 23 January 2024 19:41:33 +0000 (0:00:00.478) 0:00:31.721 ******* 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-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 23 January 2024 19:41:33 +0000 (0:00:00.077) 0:00:31.798 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 89dfaf07-ef99-478e-a665-dbe1e45f97fb skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 23 January 2024 19:41:33 +0000 (0:00:00.055) 0:00:31.854 ******* 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, 89dfaf07-ef99-478e-a665-dbe1e45f97fb skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 89dfaf07-ef99-478e-a665-dbe1e45f97fb skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 23 January 2024 19:41:33 +0000 (0:00:00.048) 0:00:31.902 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 23 January 2024 19:41:33 +0000 (0:00:00.069) 0:00:31.972 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-ci_fixy9fd16fm/tests/playbooks/tasks/run_test.yml:36 Tuesday 23 January 2024 19:41:34 +0000 (0:00:00.288) 0:00:32.261 ******* included: /WORKDIR/git-ci_fixy9fd16fm/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-ci_fixy9fd16fm/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-ci_fixy9fd16fm/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 23 January 2024 19:41:34 +0000 (0:00:00.067) 0:00:32.329 ******* included: /WORKDIR/git-ci_fixy9fd16fm/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-ci_fixy9fd16fm/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 23 January 2024 19:41:34 +0000 (0:00:00.050) 0:00:32.379 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1706038888.4775476, "block_size": 4096, "blocks": 0, "ctime": 1706038888.4775476, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 31581, "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": 1706038888.4775476, "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-ci_fixy9fd16fm/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 23 January 2024 19:41:34 +0000 (0:00:00.303) 0:00:32.683 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-ci_fixy9fd16fm/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 23 January 2024 19:41:34 +0000 (0:00:00.077) 0:00:32.761 ******* included: /WORKDIR/git-ci_fixy9fd16fm/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-ci_fixy9fd16fm/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 23 January 2024 19:41:34 +0000 (0:00:00.093) 0:00:32.854 ******* 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-ci_fixy9fd16fm/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 23 January 2024 19:41:34 +0000 (0:00:00.047) 0:00:32.902 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-ci_fixy9fd16fm/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 23 January 2024 19:41:35 +0000 (0:00:00.267) 0:00:33.169 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-ci_fixy9fd16fm/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 23 January 2024 19:41:35 +0000 (0:00:00.039) 0:00:33.208 ******* ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020763", "end": "2024-01-23 19:41:35.261018", "rc": 0, "start": "2024-01-23 19:41:35.240255" } STDOUT: statebr /etc/NetworkManager/system-connections/statebr.nmconnection TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-ci_fixy9fd16fm/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 23 January 2024 19:41:35 +0000 (0:00:00.246) 0:00:33.455 ******* 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-ci_fixy9fd16fm/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 23 January 2024 19:41:35 +0000 (0:00:00.081) 0:00:33.536 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-ci_fixy9fd16fm/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 23 January 2024 19:41:35 +0000 (0:00:00.063) 0:00:33.600 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-ci_fixy9fd16fm/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 23 January 2024 19:41:35 +0000 (0:00:00.083) 0:00:33.684 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-ci_fixy9fd16fm/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 23 January 2024 19:41:35 +0000 (0:00:00.045) 0:00:33.729 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-ci_fixy9fd16fm/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 23 January 2024 19:41:35 +0000 (0:00:00.125) 0:00:33.855 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-ci_fixy9fd16fm/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 23 January 2024 19:41:35 +0000 (0:00:00.073) 0:00:33.928 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-ci_fixy9fd16fm/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 23 January 2024 19:41:35 +0000 (0:00:00.037) 0:00:33.965 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-ci_fixy9fd16fm/tests/playbooks/tasks/run_test.yml:42 Tuesday 23 January 2024 19:41:35 +0000 (0:00:00.035) 0:00:34.000 ******* TASK [Success in test 'I can activate an existing profile'] ******************** task path: /WORKDIR/git-ci_fixy9fd16fm/tests/playbooks/tasks/run_test.yml:47 Tuesday 23 January 2024 19:41:35 +0000 (0:00:00.036) 0:00:34.036 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-ci_fixy9fd16fm/tests/playbooks/tasks/run_test.yml:66 Tuesday 23 January 2024 19:41:35 +0000 (0:00:00.043) 0:00:34.080 ******* included: /WORKDIR/git-ci_fixy9fd16fm/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-ci_fixy9fd16fm/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 23 January 2024 19:41:36 +0000 (0:00:00.135) 0:00:34.215 ******* 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.062201", "end": "2024-01-23 19:41:36.319971", "rc": 1, "start": "2024-01-23 19:41:36.257770" } STDOUT: Connection 'statebr' (89dfaf07-ef99-478e-a665-dbe1e45f97fb) successfully deleted. STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-ci_fixy9fd16fm/tests/playbooks/tests_states.yml:83 Tuesday 23 January 2024 19:41:36 +0000 (0:00:00.318) 0:00:34.534 ******* included: /WORKDIR/git-ci_fixy9fd16fm/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can remove an existing profile without taking it down] *********** task path: /WORKDIR/git-ci_fixy9fd16fm/tests/playbooks/tasks/run_test.yml:5 Tuesday 23 January 2024 19:41:36 +0000 (0:00:00.095) 0:00:34.630 ******* ok: [sut] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-ci_fixy9fd16fm/tests/playbooks/tasks/run_test.yml:9 Tuesday 23 January 2024 19:41:36 +0000 (0:00:00.028) 0:00:34.658 ******* 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-ci_fixy9fd16fm/tests/playbooks/tasks/run_test.yml:21 Tuesday 23 January 2024 19:41:36 +0000 (0:00:00.100) 0:00:34.759 ******* included: /WORKDIR/git-ci_fixy9fd16fm/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ci_fixy9fd16fm/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 23 January 2024 19:41:36 +0000 (0:00:00.146) 0:00:34.906 ******* included: /WORKDIR/git-ci_fixy9fd16fm/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ci_fixy9fd16fm/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 23 January 2024 19:41:36 +0000 (0:00:00.229) 0:00:35.135 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003259", "end": "2024-01-23 19:41:37.307763", "rc": 0, "start": "2024-01-23 19:41:37.304504" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ci_fixy9fd16fm/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 23 January 2024 19:41:37 +0000 (0:00:00.387) 0:00:35.523 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ci_fixy9fd16fm/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 23 January 2024 19:41:37 +0000 (0:00:00.039) 0:00:35.562 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-ci_fixy9fd16fm/tests/playbooks/tasks/run_test.yml:24 Tuesday 23 January 2024 19:41:37 +0000 (0:00:00.050) 0:00:35.613 ******* included: /WORKDIR/git-ci_fixy9fd16fm/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-ci_fixy9fd16fm/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-ci_fixy9fd16fm/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 23 January 2024 19:41:37 +0000 (0:00:00.125) 0:00:35.738 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 23 January 2024 19:41:37 +0000 (0:00:00.297) 0:00:36.035 ******* included: /WORKDIR/git-ci_fixy9fd16fm/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-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 23 January 2024 19:41:38 +0000 (0:00:00.183) 0:00:36.219 ******* 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-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 23 January 2024 19:41:38 +0000 (0:00:00.098) 0:00:36.317 ******* 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-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 23 January 2024 19:41:38 +0000 (0:00:00.070) 0:00:36.387 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 23 January 2024 19:41:38 +0000 (0:00:00.050) 0:00:36.437 ******* 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-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 23 January 2024 19:41:39 +0000 (0:00:01.450) 0:00:37.888 ******* 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-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 23 January 2024 19:41:40 +0000 (0:00:00.967) 0:00:38.856 ******* 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-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 23 January 2024 19:41:40 +0000 (0:00:00.026) 0:00:38.882 ******* 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-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 23 January 2024 19:41:40 +0000 (0:00:00.034) 0:00:38.917 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 23 January 2024 19:41:40 +0000 (0:00:00.147) 0:00:39.065 ******* 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-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 23 January 2024 19:41:41 +0000 (0:00:00.092) 0:00:39.157 ******* 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-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 23 January 2024 19:41:41 +0000 (0:00:00.023) 0:00:39.180 ******* 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-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 23 January 2024 19:41:41 +0000 (0:00:00.038) 0:00:39.218 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 23 January 2024 19:41:41 +0000 (0:00:00.031) 0:00:39.250 ******* 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-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 23 January 2024 19:41:41 +0000 (0:00:00.363) 0:00:39.613 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 23 January 2024 19:41:41 +0000 (0:00:00.026) 0:00:39.640 ******* 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-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 23 January 2024 19:41:41 +0000 (0:00:00.037) 0:00:39.677 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 23 January 2024 19:41:41 +0000 (0:00:00.038) 0:00:39.715 ******* 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, e7198c15-ed2c-4388-9b39-a30acad401fd TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 23 January 2024 19:41:42 +0000 (0:00:00.473) 0:00:40.189 ******* 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-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 23 January 2024 19:41:42 +0000 (0:00:00.068) 0:00:40.258 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, e7198c15-ed2c-4388-9b39-a30acad401fd" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 23 January 2024 19:41:42 +0000 (0:00:00.079) 0:00:40.338 ******* 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, e7198c15-ed2c-4388-9b39-a30acad401fd\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, e7198c15-ed2c-4388-9b39-a30acad401fd" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 23 January 2024 19:41:42 +0000 (0:00:00.039) 0:00:40.378 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 23 January 2024 19:41:42 +0000 (0:00:00.035) 0:00:40.413 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-ci_fixy9fd16fm/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 23 January 2024 19:41:42 +0000 (0:00:00.229) 0:00:40.642 ******* 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, e7198c15-ed2c-4388-9b39-a30acad401fd\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, e7198c15-ed2c-4388-9b39-a30acad401fd" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-ci_fixy9fd16fm/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 23 January 2024 19:41:42 +0000 (0:00:00.032) 0:00:40.674 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 23 January 2024 19:41:42 +0000 (0:00:00.079) 0:00:40.754 ******* included: /WORKDIR/git-ci_fixy9fd16fm/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-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 23 January 2024 19:41:42 +0000 (0:00:00.139) 0:00:40.893 ******* 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-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 23 January 2024 19:41:42 +0000 (0:00:00.040) 0:00:40.933 ******* 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-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 23 January 2024 19:41:42 +0000 (0:00:00.119) 0:00:41.053 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 23 January 2024 19:41:43 +0000 (0:00:00.097) 0:00:41.150 ******* 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-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 23 January 2024 19:41:44 +0000 (0:00:01.470) 0:00:42.621 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 23 January 2024 19:41:45 +0000 (0:00:01.017) 0:00:43.638 ******* 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-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 23 January 2024 19:41:45 +0000 (0:00:00.051) 0:00:43.689 ******* 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-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 23 January 2024 19:41:45 +0000 (0:00:00.114) 0:00:43.804 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 23 January 2024 19:41:45 +0000 (0:00:00.044) 0:00:43.848 ******* 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-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 23 January 2024 19:41:45 +0000 (0:00:00.064) 0:00:43.913 ******* 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-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 23 January 2024 19:41:45 +0000 (0:00:00.023) 0:00:43.936 ******* 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-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 23 January 2024 19:41:45 +0000 (0:00:00.041) 0:00:43.978 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 23 January 2024 19:41:45 +0000 (0:00:00.051) 0:00:44.029 ******* 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-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 23 January 2024 19:41:46 +0000 (0:00:00.380) 0:00:44.410 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 23 January 2024 19:41:46 +0000 (0:00:00.056) 0:00:44.467 ******* 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-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 23 January 2024 19:41:46 +0000 (0:00:00.070) 0:00:44.537 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 23 January 2024 19:41:46 +0000 (0:00:00.043) 0:00:44.581 ******* 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, e7198c15-ed2c-4388-9b39-a30acad401fd skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 23 January 2024 19:41:46 +0000 (0:00:00.531) 0:00:45.112 ******* 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-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 23 January 2024 19:41:47 +0000 (0:00:00.078) 0:00:45.190 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, e7198c15-ed2c-4388-9b39-a30acad401fd skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 23 January 2024 19:41:47 +0000 (0:00:00.061) 0:00:45.252 ******* 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, e7198c15-ed2c-4388-9b39-a30acad401fd skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, e7198c15-ed2c-4388-9b39-a30acad401fd skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 23 January 2024 19:41:47 +0000 (0:00:00.030) 0:00:45.282 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 23 January 2024 19:41:47 +0000 (0:00:00.059) 0:00:45.342 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-ci_fixy9fd16fm/tests/playbooks/tasks/run_test.yml:30 Tuesday 23 January 2024 19:41:47 +0000 (0:00:00.222) 0:00:45.565 ******* included: /WORKDIR/git-ci_fixy9fd16fm/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-ci_fixy9fd16fm/tests/playbooks/tasks/remove_profile.yml:3 Tuesday 23 January 2024 19:41:47 +0000 (0:00:00.112) 0:00:45.678 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 23 January 2024 19:41:47 +0000 (0:00:00.065) 0:00:45.743 ******* included: /WORKDIR/git-ci_fixy9fd16fm/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-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 23 January 2024 19:41:47 +0000 (0:00:00.129) 0:00:45.873 ******* 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-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 23 January 2024 19:41:47 +0000 (0:00:00.074) 0:00:45.947 ******* 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-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 23 January 2024 19:41:47 +0000 (0:00:00.089) 0:00:46.037 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 23 January 2024 19:41:47 +0000 (0:00:00.055) 0:00:46.093 ******* 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-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 23 January 2024 19:41:49 +0000 (0:00:01.490) 0:00:47.583 ******* 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-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 23 January 2024 19:41:50 +0000 (0:00:01.052) 0:00:48.636 ******* 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-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 23 January 2024 19:41:50 +0000 (0:00:00.081) 0:00:48.717 ******* 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-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 23 January 2024 19:41:50 +0000 (0:00:00.039) 0:00:48.757 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 23 January 2024 19:41:50 +0000 (0:00:00.057) 0:00:48.814 ******* 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-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 23 January 2024 19:41:50 +0000 (0:00:00.084) 0:00:48.898 ******* 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-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 23 January 2024 19:41:50 +0000 (0:00:00.053) 0:00:48.951 ******* 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-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 23 January 2024 19:41:50 +0000 (0:00:00.041) 0:00:48.993 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 23 January 2024 19:41:50 +0000 (0:00:00.078) 0:00:49.072 ******* 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-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 23 January 2024 19:41:51 +0000 (0:00:00.448) 0:00:49.521 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 23 January 2024 19:41:51 +0000 (0:00:00.064) 0:00:49.585 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 23 January 2024 19:41:51 +0000 (0:00:00.033) 0:00:49.619 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 23 January 2024 19:41:51 +0000 (0:00:00.027) 0:00:49.646 ******* 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-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 23 January 2024 19:41:51 +0000 (0:00:00.441) 0:00:50.088 ******* 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-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 23 January 2024 19:41:51 +0000 (0:00:00.050) 0:00:50.139 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 23 January 2024 19:41:52 +0000 (0:00:00.059) 0:00:50.198 ******* 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-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 23 January 2024 19:41:52 +0000 (0:00:00.045) 0:00:50.244 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 23 January 2024 19:41:52 +0000 (0:00:00.050) 0:00:50.294 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-ci_fixy9fd16fm/tests/playbooks/tasks/run_test.yml:36 Tuesday 23 January 2024 19:41:52 +0000 (0:00:00.336) 0:00:50.630 ******* included: /WORKDIR/git-ci_fixy9fd16fm/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-ci_fixy9fd16fm/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-ci_fixy9fd16fm/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 23 January 2024 19:41:52 +0000 (0:00:00.157) 0:00:50.788 ******* included: /WORKDIR/git-ci_fixy9fd16fm/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-ci_fixy9fd16fm/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 23 January 2024 19:41:52 +0000 (0:00:00.152) 0:00:50.941 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1706038901.9471228, "block_size": 4096, "blocks": 0, "ctime": 1706038901.9471228, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 31712, "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": 1706038901.9471228, "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-ci_fixy9fd16fm/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 23 January 2024 19:41:53 +0000 (0:00:00.297) 0:00:51.238 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-ci_fixy9fd16fm/tests/playbooks/tasks/assert_profile_absent.yml:3 Tuesday 23 January 2024 19:41:53 +0000 (0:00:00.088) 0:00:51.326 ******* included: /WORKDIR/git-ci_fixy9fd16fm/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-ci_fixy9fd16fm/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 23 January 2024 19:41:53 +0000 (0:00:00.083) 0:00:51.409 ******* 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-ci_fixy9fd16fm/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 23 January 2024 19:41:53 +0000 (0:00:00.043) 0:00:51.453 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-ci_fixy9fd16fm/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 23 January 2024 19:41:53 +0000 (0:00:00.217) 0:00:51.670 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-ci_fixy9fd16fm/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 23 January 2024 19:41:53 +0000 (0:00:00.044) 0:00:51.715 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020133", "end": "2024-01-23 19:41:53.770345", "rc": 1, "start": "2024-01-23 19:41:53.750212" } 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-ci_fixy9fd16fm/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 23 January 2024 19:41:53 +0000 (0:00:00.261) 0:00:51.976 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-ci_fixy9fd16fm/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 23 January 2024 19:41:53 +0000 (0:00:00.057) 0:00:52.033 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-ci_fixy9fd16fm/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 23 January 2024 19:41:53 +0000 (0:00:00.036) 0:00:52.070 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-ci_fixy9fd16fm/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 23 January 2024 19:41:53 +0000 (0:00:00.048) 0:00:52.118 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-ci_fixy9fd16fm/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 23 January 2024 19:41:54 +0000 (0:00:00.038) 0:00:52.156 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-ci_fixy9fd16fm/tests/playbooks/tasks/assert_profile_absent.yml:5 Tuesday 23 January 2024 19:41:54 +0000 (0:00:00.051) 0:00:52.207 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-ci_fixy9fd16fm/tests/playbooks/tasks/run_test.yml:42 Tuesday 23 January 2024 19:41:54 +0000 (0:00:00.163) 0:00:52.371 ******* TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /WORKDIR/git-ci_fixy9fd16fm/tests/playbooks/tasks/run_test.yml:47 Tuesday 23 January 2024 19:41:54 +0000 (0:00:00.099) 0:00:52.470 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-ci_fixy9fd16fm/tests/playbooks/tasks/run_test.yml:66 Tuesday 23 January 2024 19:41:54 +0000 (0:00:00.035) 0:00:52.506 ******* included: /WORKDIR/git-ci_fixy9fd16fm/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-ci_fixy9fd16fm/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 23 January 2024 19:41:54 +0000 (0:00:00.081) 0:00:52.588 ******* 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.066173", "end": "2024-01-23 19:41:54.744053", "rc": 1, "start": "2024-01-23 19:41:54.677880" } STDOUT: Connection 'statebr' (e7198c15-ed2c-4388-9b39-a30acad401fd) successfully deleted. STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-ci_fixy9fd16fm/tests/playbooks/tests_states.yml:103 Tuesday 23 January 2024 19:41:54 +0000 (0:00:00.365) 0:00:52.954 ******* included: /WORKDIR/git-ci_fixy9fd16fm/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can take a profile down that is absent] ************************** task path: /WORKDIR/git-ci_fixy9fd16fm/tests/playbooks/tasks/run_test.yml:5 Tuesday 23 January 2024 19:41:54 +0000 (0:00:00.055) 0:00:53.009 ******* ok: [sut] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-ci_fixy9fd16fm/tests/playbooks/tasks/run_test.yml:9 Tuesday 23 January 2024 19:41:54 +0000 (0:00:00.034) 0:00:53.043 ******* 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-ci_fixy9fd16fm/tests/playbooks/tasks/run_test.yml:21 Tuesday 23 January 2024 19:41:54 +0000 (0:00:00.061) 0:00:53.104 ******* included: /WORKDIR/git-ci_fixy9fd16fm/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ci_fixy9fd16fm/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 23 January 2024 19:41:55 +0000 (0:00:00.095) 0:00:53.200 ******* included: /WORKDIR/git-ci_fixy9fd16fm/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ci_fixy9fd16fm/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 23 January 2024 19:41:55 +0000 (0:00:00.064) 0:00:53.265 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.004375", "end": "2024-01-23 19:41:56.297207", "rc": 0, "start": "2024-01-23 19:41:55.292832" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ci_fixy9fd16fm/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 23 January 2024 19:41:56 +0000 (0:00:01.218) 0:00:54.483 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ci_fixy9fd16fm/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 23 January 2024 19:41:56 +0000 (0:00:00.075) 0:00:54.558 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-ci_fixy9fd16fm/tests/playbooks/tasks/run_test.yml:24 Tuesday 23 January 2024 19:41:56 +0000 (0:00:00.031) 0:00:54.590 ******* included: /WORKDIR/git-ci_fixy9fd16fm/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-ci_fixy9fd16fm/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-ci_fixy9fd16fm/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-ci_fixy9fd16fm/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 23 January 2024 19:41:56 +0000 (0:00:00.061) 0:00:54.652 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 23 January 2024 19:41:56 +0000 (0:00:00.056) 0:00:54.708 ******* included: /WORKDIR/git-ci_fixy9fd16fm/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-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 23 January 2024 19:41:56 +0000 (0:00:00.050) 0:00:54.759 ******* 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-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 23 January 2024 19:41:56 +0000 (0:00:00.032) 0:00:54.791 ******* 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-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 23 January 2024 19:41:56 +0000 (0:00:00.050) 0:00:54.841 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 23 January 2024 19:41:56 +0000 (0:00:00.037) 0:00:54.879 ******* 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-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 23 January 2024 19:41:58 +0000 (0:00:01.436) 0:00:56.316 ******* 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-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 23 January 2024 19:41:59 +0000 (0:00:01.101) 0:00:57.417 ******* 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-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 23 January 2024 19:41:59 +0000 (0:00:00.039) 0:00:57.457 ******* 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-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 23 January 2024 19:41:59 +0000 (0:00:00.069) 0:00:57.526 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 23 January 2024 19:41:59 +0000 (0:00:00.098) 0:00:57.624 ******* 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-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 23 January 2024 19:41:59 +0000 (0:00:00.164) 0:00:57.789 ******* 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-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 23 January 2024 19:41:59 +0000 (0:00:00.056) 0:00:57.846 ******* 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-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 23 January 2024 19:41:59 +0000 (0:00:00.051) 0:00:57.897 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 23 January 2024 19:41:59 +0000 (0:00:00.053) 0:00:57.951 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 23 January 2024 19:42:00 +0000 (0:00:00.497) 0:00:58.448 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 23 January 2024 19:42:00 +0000 (0:00:00.099) 0:00:58.548 ******* 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-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 23 January 2024 19:42:00 +0000 (0:00:00.053) 0:00:58.601 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 23 January 2024 19:42:00 +0000 (0:00:00.066) 0:00:58.668 ******* 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, 12d75588-0854-46f4-809e-36b1b08e4e68 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 23 January 2024 19:42:00 +0000 (0:00:00.472) 0:00:59.141 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 23 January 2024 19:42:01 +0000 (0:00:00.043) 0:00:59.184 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 12d75588-0854-46f4-809e-36b1b08e4e68" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 23 January 2024 19:42:01 +0000 (0:00:00.035) 0:00:59.219 ******* 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, 12d75588-0854-46f4-809e-36b1b08e4e68\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 12d75588-0854-46f4-809e-36b1b08e4e68" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 23 January 2024 19:42:01 +0000 (0:00:00.066) 0:00:59.285 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 23 January 2024 19:42:01 +0000 (0:00:00.114) 0:00:59.400 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-ci_fixy9fd16fm/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 23 January 2024 19:42:01 +0000 (0:00:00.341) 0:00:59.741 ******* 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, 12d75588-0854-46f4-809e-36b1b08e4e68\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 12d75588-0854-46f4-809e-36b1b08e4e68" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-ci_fixy9fd16fm/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 23 January 2024 19:42:01 +0000 (0:00:00.073) 0:00:59.814 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 23 January 2024 19:42:01 +0000 (0:00:00.096) 0:00:59.910 ******* included: /WORKDIR/git-ci_fixy9fd16fm/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-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 23 January 2024 19:42:01 +0000 (0:00:00.096) 0:01:00.007 ******* 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-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 23 January 2024 19:42:01 +0000 (0:00:00.075) 0:01:00.082 ******* 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-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 23 January 2024 19:42:01 +0000 (0:00:00.027) 0:01:00.110 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 23 January 2024 19:42:02 +0000 (0:00:00.041) 0:01:00.151 ******* 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-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 23 January 2024 19:42:03 +0000 (0:00:01.417) 0:01:01.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 : Print network provider] ********************* task path: /WORKDIR/git-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 23 January 2024 19:42:04 +0000 (0:00:01.044) 0:01:02.613 ******* 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-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 23 January 2024 19:42:04 +0000 (0:00:00.085) 0:01:02.698 ******* 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-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 23 January 2024 19:42:04 +0000 (0:00:00.081) 0:01:02.780 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 23 January 2024 19:42:04 +0000 (0:00:00.138) 0:01:02.918 ******* 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-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 23 January 2024 19:42:04 +0000 (0:00:00.209) 0:01:03.128 ******* 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-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 23 January 2024 19:42:05 +0000 (0:00:00.051) 0:01:03.180 ******* 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-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 23 January 2024 19:42:05 +0000 (0:00:00.031) 0:01:03.211 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 23 January 2024 19:42:05 +0000 (0:00:00.160) 0:01:03.371 ******* 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-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 23 January 2024 19:42:05 +0000 (0:00:00.440) 0:01:03.811 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 23 January 2024 19:42:05 +0000 (0:00:00.078) 0:01:03.890 ******* 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-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 23 January 2024 19:42:05 +0000 (0:00:00.045) 0:01:03.935 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 23 January 2024 19:42:05 +0000 (0:00:00.115) 0:01:04.051 ******* 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, 12d75588-0854-46f4-809e-36b1b08e4e68 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 23 January 2024 19:42:06 +0000 (0:00:00.604) 0:01:04.656 ******* 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-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 23 January 2024 19:42:06 +0000 (0:00:00.090) 0:01:04.746 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 12d75588-0854-46f4-809e-36b1b08e4e68 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 23 January 2024 19:42:06 +0000 (0:00:00.064) 0:01:04.810 ******* ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 12d75588-0854-46f4-809e-36b1b08e4e68 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 12d75588-0854-46f4-809e-36b1b08e4e68 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 23 January 2024 19:42:06 +0000 (0:00:00.034) 0:01:04.844 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 23 January 2024 19:42:06 +0000 (0:00:00.108) 0:01:04.953 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-ci_fixy9fd16fm/tests/playbooks/tasks/remove_profile.yml:3 Tuesday 23 January 2024 19:42:07 +0000 (0:00:00.266) 0:01:05.219 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 23 January 2024 19:42:07 +0000 (0:00:00.059) 0:01:05.279 ******* included: /WORKDIR/git-ci_fixy9fd16fm/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-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 23 January 2024 19:42:07 +0000 (0:00:00.068) 0:01:05.348 ******* 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-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 23 January 2024 19:42:07 +0000 (0:00:00.076) 0:01:05.424 ******* 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-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 23 January 2024 19:42:07 +0000 (0:00:00.024) 0:01:05.448 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 23 January 2024 19:42:07 +0000 (0:00:00.023) 0:01:05.472 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 23 January 2024 19:42:08 +0000 (0:00:01.468) 0:01:06.940 ******* 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-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 23 January 2024 19:42:09 +0000 (0:00:01.064) 0:01:08.005 ******* 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-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 23 January 2024 19:42:09 +0000 (0:00:00.126) 0:01:08.132 ******* 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-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 23 January 2024 19:42:10 +0000 (0:00:00.063) 0:01:08.196 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 23 January 2024 19:42:10 +0000 (0:00:00.058) 0:01:08.255 ******* 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-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 23 January 2024 19:42:10 +0000 (0:00:00.153) 0:01:08.408 ******* 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-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 23 January 2024 19:42:10 +0000 (0:00:00.097) 0:01:08.505 ******* 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-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 23 January 2024 19:42:10 +0000 (0:00:00.067) 0:01:08.572 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 23 January 2024 19:42:10 +0000 (0:00:00.056) 0:01:08.629 ******* 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-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 23 January 2024 19:42:10 +0000 (0:00:00.491) 0:01:09.121 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 23 January 2024 19:42:11 +0000 (0:00:00.080) 0:01:09.201 ******* 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-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 23 January 2024 19:42:11 +0000 (0:00:00.078) 0:01:09.279 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 23 January 2024 19:42:11 +0000 (0:00:00.042) 0:01:09.322 ******* 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-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 23 January 2024 19:42:11 +0000 (0:00:00.449) 0:01:09.772 ******* 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-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 23 January 2024 19:42:11 +0000 (0:00:00.039) 0:01:09.811 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 23 January 2024 19:42:11 +0000 (0:00:00.037) 0:01:09.848 ******* 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-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 23 January 2024 19:42:11 +0000 (0:00:00.046) 0:01:09.895 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 23 January 2024 19:42:11 +0000 (0:00:00.038) 0:01:09.933 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-ci_fixy9fd16fm/tests/playbooks/tasks/run_test.yml:30 Tuesday 23 January 2024 19:42:12 +0000 (0:00:00.244) 0:01:10.178 ******* included: /WORKDIR/git-ci_fixy9fd16fm/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-ci_fixy9fd16fm/tests/playbooks/tasks/remove+down_profile.yml:3 Tuesday 23 January 2024 19:42:12 +0000 (0:00:00.115) 0:01:10.293 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 23 January 2024 19:42:12 +0000 (0:00:00.065) 0:01:10.359 ******* included: /WORKDIR/git-ci_fixy9fd16fm/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-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 23 January 2024 19:42:12 +0000 (0:00:00.077) 0:01:10.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 : Check if system is ostree] ****************** task path: /WORKDIR/git-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 23 January 2024 19:42:12 +0000 (0:00:00.037) 0:01:10.474 ******* 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-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 23 January 2024 19:42:12 +0000 (0:00:00.025) 0:01:10.500 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 23 January 2024 19:42:12 +0000 (0:00:00.040) 0:01:10.540 ******* 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-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 23 January 2024 19:42:13 +0000 (0:00:01.438) 0:01:11.978 ******* 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-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 23 January 2024 19:42:14 +0000 (0:00:01.020) 0:01:12.999 ******* 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-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 23 January 2024 19:42:14 +0000 (0:00:00.023) 0:01:13.023 ******* 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-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 23 January 2024 19:42:14 +0000 (0:00:00.103) 0:01:13.126 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 23 January 2024 19:42:15 +0000 (0:00:00.050) 0:01:13.177 ******* 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-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 23 January 2024 19:42:15 +0000 (0:00:00.062) 0:01:13.240 ******* 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-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 23 January 2024 19:42:15 +0000 (0:00:00.022) 0:01:13.262 ******* 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-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 23 January 2024 19:42:15 +0000 (0:00:00.049) 0:01:13.312 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 23 January 2024 19:42:15 +0000 (0:00:00.034) 0:01:13.347 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 23 January 2024 19:42:15 +0000 (0:00:00.375) 0:01:13.722 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 23 January 2024 19:42:15 +0000 (0:00:00.039) 0:01:13.762 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 23 January 2024 19:42:15 +0000 (0:00:00.023) 0:01:13.786 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 23 January 2024 19:42:15 +0000 (0:00:00.023) 0:01:13.809 ******* 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-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 23 January 2024 19:42:16 +0000 (0:00:00.439) 0:01:14.248 ******* 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-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 23 January 2024 19:42:16 +0000 (0:00:00.041) 0:01:14.290 ******* 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-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 23 January 2024 19:42:16 +0000 (0:00:00.046) 0:01:14.337 ******* 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-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 23 January 2024 19:42:16 +0000 (0:00:00.111) 0:01:14.448 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 23 January 2024 19:42:16 +0000 (0:00:00.048) 0:01:14.496 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-ci_fixy9fd16fm/tests/playbooks/tasks/run_test.yml:36 Tuesday 23 January 2024 19:42:16 +0000 (0:00:00.249) 0:01:14.745 ******* included: /WORKDIR/git-ci_fixy9fd16fm/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-ci_fixy9fd16fm/tests/playbooks/tasks/assert_profile_absent.yml:3 Tuesday 23 January 2024 19:42:16 +0000 (0:00:00.131) 0:01:14.877 ******* included: /WORKDIR/git-ci_fixy9fd16fm/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-ci_fixy9fd16fm/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 23 January 2024 19:42:16 +0000 (0:00:00.090) 0:01:14.968 ******* 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-ci_fixy9fd16fm/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 23 January 2024 19:42:16 +0000 (0:00:00.094) 0:01:15.063 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-ci_fixy9fd16fm/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 23 January 2024 19:42:17 +0000 (0:00:00.269) 0:01:15.333 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-ci_fixy9fd16fm/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 23 January 2024 19:42:17 +0000 (0:00:00.059) 0:01:15.392 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.019282", "end": "2024-01-23 19:42:17.480537", "rc": 1, "start": "2024-01-23 19:42:17.461255" } 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-ci_fixy9fd16fm/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 23 January 2024 19:42:17 +0000 (0:00:00.276) 0:01:15.669 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-ci_fixy9fd16fm/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 23 January 2024 19:42:17 +0000 (0:00:00.038) 0:01:15.707 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-ci_fixy9fd16fm/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 23 January 2024 19:42:17 +0000 (0:00:00.045) 0:01:15.752 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-ci_fixy9fd16fm/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 23 January 2024 19:42:17 +0000 (0:00:00.056) 0:01:15.809 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-ci_fixy9fd16fm/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 23 January 2024 19:42:17 +0000 (0:00:00.080) 0:01:15.890 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-ci_fixy9fd16fm/tests/playbooks/tasks/assert_profile_absent.yml:5 Tuesday 23 January 2024 19:42:17 +0000 (0:00:00.029) 0:01:15.920 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-ci_fixy9fd16fm/tests/playbooks/tasks/run_test.yml:42 Tuesday 23 January 2024 19:42:17 +0000 (0:00:00.039) 0:01:15.959 ******* included: /WORKDIR/git-ci_fixy9fd16fm/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-ci_fixy9fd16fm/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 23 January 2024 19:42:17 +0000 (0:00:00.096) 0:01:16.056 ******* included: /WORKDIR/git-ci_fixy9fd16fm/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-ci_fixy9fd16fm/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 23 January 2024 19:42:17 +0000 (0:00:00.037) 0:01:16.093 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-ci_fixy9fd16fm/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 23 January 2024 19:42:18 +0000 (0:00:00.228) 0:01:16.321 ******* 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-ci_fixy9fd16fm/tests/playbooks/tasks/run_test.yml:47 Tuesday 23 January 2024 19:42:18 +0000 (0:00:00.039) 0:01:16.361 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-ci_fixy9fd16fm/tests/playbooks/tasks/run_test.yml:66 Tuesday 23 January 2024 19:42:18 +0000 (0:00:00.036) 0:01:16.398 ******* included: /WORKDIR/git-ci_fixy9fd16fm/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-ci_fixy9fd16fm/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 23 January 2024 19:42:18 +0000 (0:00:00.094) 0:01:16.492 ******* 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.036406", "end": "2024-01-23 19:42:18.563809", "rc": 1, "start": "2024-01-23 19:42:18.527403" } 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-ci_fixy9fd16fm/tests/playbooks/tests_states.yml:126 Tuesday 23 January 2024 19:42:18 +0000 (0:00:00.254) 0:01:16.747 ******* included: /WORKDIR/git-ci_fixy9fd16fm/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-ci_fixy9fd16fm/tests/playbooks/tasks/run_test.yml:5 Tuesday 23 January 2024 19:42:18 +0000 (0:00:00.052) 0:01:16.800 ******* ok: [sut] => {} MSG: ########## I will not get an error when I try to remove an absent profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-ci_fixy9fd16fm/tests/playbooks/tasks/run_test.yml:9 Tuesday 23 January 2024 19:42:18 +0000 (0:00:00.026) 0:01:16.826 ******* 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-ci_fixy9fd16fm/tests/playbooks/tasks/run_test.yml:21 Tuesday 23 January 2024 19:42:18 +0000 (0:00:00.079) 0:01:16.906 ******* included: /WORKDIR/git-ci_fixy9fd16fm/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ci_fixy9fd16fm/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 23 January 2024 19:42:18 +0000 (0:00:00.052) 0:01:16.958 ******* included: /WORKDIR/git-ci_fixy9fd16fm/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ci_fixy9fd16fm/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 23 January 2024 19:42:18 +0000 (0:00:00.146) 0:01:17.104 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003175", "end": "2024-01-23 19:42:19.160293", "rc": 0, "start": "2024-01-23 19:42:19.157118" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ci_fixy9fd16fm/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 23 January 2024 19:42:19 +0000 (0:00:00.228) 0:01:17.333 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ci_fixy9fd16fm/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 23 January 2024 19:42:19 +0000 (0:00:00.023) 0:01:17.356 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-ci_fixy9fd16fm/tests/playbooks/tasks/run_test.yml:24 Tuesday 23 January 2024 19:42:19 +0000 (0:00:00.028) 0:01:17.385 ******* included: /WORKDIR/git-ci_fixy9fd16fm/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-ci_fixy9fd16fm/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-ci_fixy9fd16fm/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-ci_fixy9fd16fm/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 23 January 2024 19:42:19 +0000 (0:00:00.068) 0:01:17.454 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 23 January 2024 19:42:19 +0000 (0:00:00.074) 0:01:17.529 ******* included: /WORKDIR/git-ci_fixy9fd16fm/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-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 23 January 2024 19:42:19 +0000 (0:00:00.080) 0:01:17.609 ******* 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-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 23 January 2024 19:42:19 +0000 (0:00:00.045) 0:01:17.655 ******* 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-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 23 January 2024 19:42:19 +0000 (0:00:00.042) 0:01:17.698 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 23 January 2024 19:42:19 +0000 (0:00:00.045) 0:01:17.743 ******* 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-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 23 January 2024 19:42:21 +0000 (0:00:01.476) 0:01:19.219 ******* 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-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 23 January 2024 19:42:22 +0000 (0:00:00.985) 0:01:20.204 ******* 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-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 23 January 2024 19:42:22 +0000 (0:00:00.022) 0:01:20.227 ******* 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-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 23 January 2024 19:42:22 +0000 (0:00:00.035) 0:01:20.262 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 23 January 2024 19:42:22 +0000 (0:00:00.024) 0:01:20.287 ******* 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-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 23 January 2024 19:42:22 +0000 (0:00:00.062) 0:01:20.349 ******* 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-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 23 January 2024 19:42:22 +0000 (0:00:00.034) 0:01:20.383 ******* 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-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 23 January 2024 19:42:22 +0000 (0:00:00.042) 0:01:20.426 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 23 January 2024 19:42:22 +0000 (0:00:00.035) 0:01:20.461 ******* 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-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 23 January 2024 19:42:22 +0000 (0:00:00.430) 0:01:20.891 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 23 January 2024 19:42:22 +0000 (0:00:00.026) 0:01:20.918 ******* 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-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 23 January 2024 19:42:22 +0000 (0:00:00.023) 0:01:20.941 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 23 January 2024 19:42:22 +0000 (0:00:00.051) 0:01:20.993 ******* 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, a66d9edc-1f17-4d94-9058-02b2e5cdde79 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 23 January 2024 19:42:23 +0000 (0:00:00.394) 0:01:21.387 ******* 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-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 23 January 2024 19:42:23 +0000 (0:00:00.021) 0:01:21.409 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, a66d9edc-1f17-4d94-9058-02b2e5cdde79" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 23 January 2024 19:42:23 +0000 (0:00:00.033) 0:01:21.443 ******* 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, a66d9edc-1f17-4d94-9058-02b2e5cdde79\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, a66d9edc-1f17-4d94-9058-02b2e5cdde79" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 23 January 2024 19:42:23 +0000 (0:00:00.031) 0:01:21.475 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 23 January 2024 19:42:23 +0000 (0:00:00.043) 0:01:21.518 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-ci_fixy9fd16fm/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 23 January 2024 19:42:23 +0000 (0:00:00.244) 0:01:21.763 ******* 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, a66d9edc-1f17-4d94-9058-02b2e5cdde79\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, a66d9edc-1f17-4d94-9058-02b2e5cdde79" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-ci_fixy9fd16fm/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 23 January 2024 19:42:23 +0000 (0:00:00.026) 0:01:21.789 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 23 January 2024 19:42:23 +0000 (0:00:00.045) 0:01:21.834 ******* included: /WORKDIR/git-ci_fixy9fd16fm/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-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 23 January 2024 19:42:23 +0000 (0:00:00.044) 0:01:21.879 ******* 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-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 23 January 2024 19:42:23 +0000 (0:00:00.056) 0:01:21.936 ******* 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-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 23 January 2024 19:42:23 +0000 (0:00:00.023) 0:01:21.959 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 23 January 2024 19:42:23 +0000 (0:00:00.030) 0:01:21.990 ******* 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-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 23 January 2024 19:42:25 +0000 (0:00:01.420) 0:01:23.410 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 23 January 2024 19:42:26 +0000 (0:00:00.967) 0:01:24.378 ******* 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-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 23 January 2024 19:42:26 +0000 (0:00:00.022) 0:01:24.400 ******* 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-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 23 January 2024 19:42:26 +0000 (0:00:00.029) 0:01:24.429 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 23 January 2024 19:42:26 +0000 (0:00:00.023) 0:01:24.453 ******* 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-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 23 January 2024 19:42:26 +0000 (0:00:00.087) 0:01:24.540 ******* 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-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 23 January 2024 19:42:26 +0000 (0:00:00.035) 0:01:24.575 ******* 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-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 23 January 2024 19:42:26 +0000 (0:00:00.053) 0:01:24.629 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 23 January 2024 19:42:26 +0000 (0:00:00.025) 0:01:24.655 ******* 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-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 23 January 2024 19:42:26 +0000 (0:00:00.369) 0:01:25.024 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 23 January 2024 19:42:26 +0000 (0:00:00.040) 0:01:25.065 ******* 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-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 23 January 2024 19:42:26 +0000 (0:00:00.029) 0:01:25.094 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 23 January 2024 19:42:26 +0000 (0:00:00.021) 0:01:25.116 ******* 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, a66d9edc-1f17-4d94-9058-02b2e5cdde79 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 23 January 2024 19:42:27 +0000 (0:00:00.358) 0:01:25.474 ******* 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-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 23 January 2024 19:42:27 +0000 (0:00:00.023) 0:01:25.498 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, a66d9edc-1f17-4d94-9058-02b2e5cdde79 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 23 January 2024 19:42:27 +0000 (0:00:00.024) 0:01:25.522 ******* 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, a66d9edc-1f17-4d94-9058-02b2e5cdde79 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, a66d9edc-1f17-4d94-9058-02b2e5cdde79 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 23 January 2024 19:42:27 +0000 (0:00:00.048) 0:01:25.571 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 23 January 2024 19:42:27 +0000 (0:00:00.036) 0:01:25.607 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-ci_fixy9fd16fm/tests/playbooks/tasks/remove+down_profile.yml:3 Tuesday 23 January 2024 19:42:27 +0000 (0:00:00.201) 0:01:25.809 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 23 January 2024 19:42:27 +0000 (0:00:00.037) 0:01:25.846 ******* included: /WORKDIR/git-ci_fixy9fd16fm/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-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 23 January 2024 19:42:27 +0000 (0:00:00.086) 0:01:25.932 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 23 January 2024 19:42:27 +0000 (0:00:00.034) 0:01:25.967 ******* 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-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 23 January 2024 19:42:27 +0000 (0:00:00.026) 0:01:25.993 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 23 January 2024 19:42:27 +0000 (0:00:00.028) 0:01:26.021 ******* 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-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 23 January 2024 19:42:29 +0000 (0:00:01.447) 0:01:27.469 ******* 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-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 23 January 2024 19:42:30 +0000 (0:00:00.972) 0:01:28.441 ******* 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-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 23 January 2024 19:42:30 +0000 (0:00:00.023) 0:01:28.464 ******* 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-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 23 January 2024 19:42:30 +0000 (0:00:00.047) 0:01:28.512 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 23 January 2024 19:42:30 +0000 (0:00:00.026) 0:01:28.538 ******* 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-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 23 January 2024 19:42:30 +0000 (0:00:00.057) 0:01:28.596 ******* 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-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 23 January 2024 19:42:30 +0000 (0:00:00.033) 0:01:28.630 ******* 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-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 23 January 2024 19:42:30 +0000 (0:00:00.050) 0:01:28.680 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 23 January 2024 19:42:30 +0000 (0:00:00.044) 0:01:28.724 ******* 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-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 23 January 2024 19:42:30 +0000 (0:00:00.370) 0:01:29.095 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 23 January 2024 19:42:30 +0000 (0:00:00.026) 0:01:29.122 ******* 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-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 23 January 2024 19:42:31 +0000 (0:00:00.031) 0:01:29.153 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 23 January 2024 19:42:31 +0000 (0:00:00.022) 0:01:29.175 ******* 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-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 23 January 2024 19:42:31 +0000 (0:00:00.442) 0:01:29.618 ******* 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-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 23 January 2024 19:42:31 +0000 (0:00:00.026) 0:01:29.645 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 23 January 2024 19:42:31 +0000 (0:00:00.022) 0:01:29.668 ******* 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-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 23 January 2024 19:42:31 +0000 (0:00:00.023) 0:01:29.691 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 23 January 2024 19:42:31 +0000 (0:00:00.021) 0:01:29.713 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-ci_fixy9fd16fm/tests/playbooks/tasks/run_test.yml:30 Tuesday 23 January 2024 19:42:31 +0000 (0:00:00.189) 0:01:29.902 ******* included: /WORKDIR/git-ci_fixy9fd16fm/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-ci_fixy9fd16fm/tests/playbooks/tasks/remove+down_profile.yml:3 Tuesday 23 January 2024 19:42:31 +0000 (0:00:00.039) 0:01:29.941 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 23 January 2024 19:42:31 +0000 (0:00:00.037) 0:01:29.979 ******* included: /WORKDIR/git-ci_fixy9fd16fm/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-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 23 January 2024 19:42:31 +0000 (0:00:00.048) 0:01:30.027 ******* 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-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 23 January 2024 19:42:31 +0000 (0:00:00.029) 0:01:30.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-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 23 January 2024 19:42:31 +0000 (0:00:00.028) 0:01:30.086 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 23 January 2024 19:42:31 +0000 (0:00:00.038) 0:01:30.124 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 23 January 2024 19:42:33 +0000 (0:00:01.456) 0:01:31.580 ******* 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-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 23 January 2024 19:42:34 +0000 (0:00:01.071) 0:01:32.652 ******* 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-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 23 January 2024 19:42:34 +0000 (0:00:00.023) 0:01:32.675 ******* 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-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 23 January 2024 19:42:34 +0000 (0:00:00.034) 0:01:32.709 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 23 January 2024 19:42:34 +0000 (0:00:00.024) 0:01:32.733 ******* 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-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 23 January 2024 19:42:34 +0000 (0:00:00.050) 0:01:32.784 ******* 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-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 23 January 2024 19:42:34 +0000 (0:00:00.038) 0:01:32.822 ******* 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-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 23 January 2024 19:42:34 +0000 (0:00:00.053) 0:01:32.876 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 23 January 2024 19:42:34 +0000 (0:00:00.054) 0:01:32.930 ******* 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-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 23 January 2024 19:42:35 +0000 (0:00:00.377) 0:01:33.307 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 23 January 2024 19:42:35 +0000 (0:00:00.029) 0:01:33.336 ******* 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-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 23 January 2024 19:42:35 +0000 (0:00:00.030) 0:01:33.367 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 23 January 2024 19:42:35 +0000 (0:00:00.045) 0:01:33.413 ******* 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-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 23 January 2024 19:42:35 +0000 (0:00:00.454) 0:01:33.868 ******* 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-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 23 January 2024 19:42:35 +0000 (0:00:00.092) 0:01:33.960 ******* 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-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 23 January 2024 19:42:35 +0000 (0:00:00.031) 0:01:33.991 ******* 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-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 23 January 2024 19:42:35 +0000 (0:00:00.035) 0:01:34.027 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 23 January 2024 19:42:35 +0000 (0:00:00.054) 0:01:34.082 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-ci_fixy9fd16fm/tests/playbooks/tasks/run_test.yml:36 Tuesday 23 January 2024 19:42:36 +0000 (0:00:00.222) 0:01:34.304 ******* included: /WORKDIR/git-ci_fixy9fd16fm/tests/playbooks/tasks/assert_profile_absent.yml for sut included: /WORKDIR/git-ci_fixy9fd16fm/tests/playbooks/tasks/get_NetworkManager_NVR.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-ci_fixy9fd16fm/tests/playbooks/tasks/assert_profile_absent.yml:3 Tuesday 23 January 2024 19:42:36 +0000 (0:00:00.047) 0:01:34.352 ******* included: /WORKDIR/git-ci_fixy9fd16fm/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-ci_fixy9fd16fm/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 23 January 2024 19:42:36 +0000 (0:00:00.043) 0:01:34.395 ******* 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-ci_fixy9fd16fm/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 23 January 2024 19:42:36 +0000 (0:00:00.024) 0:01:34.420 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-ci_fixy9fd16fm/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 23 January 2024 19:42:36 +0000 (0:00:00.197) 0:01:34.617 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-ci_fixy9fd16fm/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 23 January 2024 19:42:36 +0000 (0:00:00.022) 0:01:34.640 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.019757", "end": "2024-01-23 19:42:36.684925", "rc": 1, "start": "2024-01-23 19:42:36.665168" } 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-ci_fixy9fd16fm/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 23 January 2024 19:42:36 +0000 (0:00:00.224) 0:01:34.865 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-ci_fixy9fd16fm/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 23 January 2024 19:42:36 +0000 (0:00:00.031) 0:01:34.896 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-ci_fixy9fd16fm/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 23 January 2024 19:42:36 +0000 (0:00:00.051) 0:01:34.947 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-ci_fixy9fd16fm/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 23 January 2024 19:42:36 +0000 (0:00:00.043) 0:01:34.990 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-ci_fixy9fd16fm/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 23 January 2024 19:42:36 +0000 (0:00:00.119) 0:01:35.110 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-ci_fixy9fd16fm/tests/playbooks/tasks/assert_profile_absent.yml:5 Tuesday 23 January 2024 19:42:37 +0000 (0:00:00.054) 0:01:35.165 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /WORKDIR/git-ci_fixy9fd16fm/tests/playbooks/tasks/get_NetworkManager_NVR.yml:7 Tuesday 23 January 2024 19:42:37 +0000 (0:00:00.060) 0:01:35.225 ******* ok: [sut] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.586834", "end": "2024-01-23 19:42:37.880563", "rc": 0, "start": "2024-01-23 19:42:37.293729" } STDOUT: NetworkManager-1.45.9-1.el9 TASK [Store NetworkManager version] ******************************************** task path: /WORKDIR/git-ci_fixy9fd16fm/tests/playbooks/tasks/get_NetworkManager_NVR.yml:14 Tuesday 23 January 2024 19:42:37 +0000 (0:00:00.828) 0:01:36.054 ******* ok: [sut] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.45.9-1.el9" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /WORKDIR/git-ci_fixy9fd16fm/tests/playbooks/tasks/get_NetworkManager_NVR.yml:18 Tuesday 23 January 2024 19:42:37 +0000 (0:00:00.025) 0:01:36.079 ******* ok: [sut] => { "networkmanager_nvr": "NetworkManager-1.45.9-1.el9" } TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-ci_fixy9fd16fm/tests/playbooks/tasks/run_test.yml:42 Tuesday 23 January 2024 19:42:37 +0000 (0:00:00.022) 0:01:36.102 ******* included: /WORKDIR/git-ci_fixy9fd16fm/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-ci_fixy9fd16fm/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 23 January 2024 19:42:38 +0000 (0:00:00.043) 0:01:36.145 ******* included: /WORKDIR/git-ci_fixy9fd16fm/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-ci_fixy9fd16fm/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 23 January 2024 19:42:38 +0000 (0:00:00.037) 0:01:36.183 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-ci_fixy9fd16fm/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 23 January 2024 19:42:38 +0000 (0:00:00.194) 0:01:36.378 ******* 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-ci_fixy9fd16fm/tests/playbooks/tasks/run_test.yml:47 Tuesday 23 January 2024 19:42:38 +0000 (0:00:00.023) 0:01:36.402 ******* 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-ci_fixy9fd16fm/tests/playbooks/tasks/run_test.yml:66 Tuesday 23 January 2024 19:42:38 +0000 (0:00:00.023) 0:01:36.425 ******* included: /WORKDIR/git-ci_fixy9fd16fm/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-ci_fixy9fd16fm/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 23 January 2024 19:42:38 +0000 (0:00:00.041) 0:01:36.467 ******* 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.037370", "end": "2024-01-23 19:42:38.535146", "rc": 1, "start": "2024-01-23 19:42:38.497776" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. Cannot find device "statebr" MSG: non-zero return code ...ignoring META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=316 changed=10 unreachable=0 failed=0 skipped=252 rescued=0 ignored=11 Tuesday 23 January 2024 19:42:38 +0000 (0:00:00.275) 0:01:36.743 ******* =============================================================================== linux-system-roles.network : Configure networking connection profiles --- 2.49s /WORKDIR/git-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Enable and start NetworkManager ------------ 2.47s /WORKDIR/git-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/main.yml:85 linux-system-roles.network : Configure networking connection profiles --- 1.97s /WORKDIR/git-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Enable and start NetworkManager ------------ 1.65s /WORKDIR/git-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/main.yml:85 linux-system-roles.network : Check which services are running ----------- 1.63s /WORKDIR/git-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.58s /WORKDIR/git-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.49s /WORKDIR/git-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.48s /WORKDIR/git-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.47s /WORKDIR/git-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.47s /WORKDIR/git-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Re-test connectivity ----------------------- 1.46s /WORKDIR/git-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/main.yml:155 linux-system-roles.network : Check which services are running ----------- 1.46s /WORKDIR/git-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.45s /WORKDIR/git-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.45s /WORKDIR/git-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.45s /WORKDIR/git-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.44s /WORKDIR/git-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.44s /WORKDIR/git-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.42s /WORKDIR/git-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.42s /WORKDIR/git-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.42s /WORKDIR/git-ci_fixy9fd16fm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- [WARNING]: Consider using the yum, dnf or zypper module rather than running 'rpm'. If you need to use command because yum, dnf or zypper is insufficient you can add 'warn: false' to this command task or set 'command_warnings=False' in ansible.cfg to get rid of this message. ---^---^---^---^---^---