# 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_fixsuv0wk7i/tests/tests_states_nm.yml PLAY [Run playbook 'playbooks/tests_states.yml' with nm as provider] *********** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/tests_states_nm.yml:5 Thursday 21 December 2023 17:39:19 +0000 (0:00:00.012) 0:00:00.012 ***** ok: [sut] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/tests_states_nm.yml:9 Thursday 21 December 2023 17:39:20 +0000 (0:00:00.703) 0:00:00.715 ***** included: /WORKDIR/git-ci_fixsuv0wk7i/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_fixsuv0wk7i/tests/tasks/el_repo_setup.yml:3 Thursday 21 December 2023 17:39:20 +0000 (0:00:00.024) 0:00:00.739 ***** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/tasks/el_repo_setup.yml:19 Thursday 21 December 2023 17:39:21 +0000 (0:00:00.348) 0:00:01.088 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/tasks/el_repo_setup.yml:24 Thursday 21 December 2023 17:39:21 +0000 (0:00:00.252) 0:00:01.340 ***** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/tasks/el_repo_setup.yml:28 Thursday 21 December 2023 17:39:21 +0000 (0:00:00.021) 0:00:01.362 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/tasks/el_repo_setup.yml:53 Thursday 21 December 2023 17:39:21 +0000 (0:00:00.019) 0:00:01.381 ***** included: /WORKDIR/git-ci_fixsuv0wk7i/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 8] *********************************************************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/tasks/enable_epel.yml:8 Thursday 21 December 2023 17:39:21 +0000 (0:00:00.031) 0:00:01.412 ***** ok: [sut] => { "attempts": 1, "changed": false, "cmd": [ "rpm", "-iv", "https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm" ], "rc": 0 } STDOUT: skipped, since /etc/yum.repos.d/epel.repo exists TASK [Install yum-utils package] *********************************************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/tasks/enable_epel.yml:24 Thursday 21 December 2023 17:39:21 +0000 (0:00:00.248) 0:00:01.661 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/tasks/enable_epel.yml:30 Thursday 21 December 2023 17:39:21 +0000 (0:00:00.010) 0:00:01.672 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/tasks/enable_epel.yml:35 Thursday 21 December 2023 17:39:21 +0000 (0:00:00.010) 0:00:01.682 ***** ok: [sut] => { "changed": false, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:00.245776", "end": "2023-12-21 17:39:22.022094", "rc": 0, "start": "2023-12-21 17:39:21.776318" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/tasks/enable_epel.yml:40 Thursday 21 December 2023 17:39:22 +0000 (0:00:00.430) 0:00:02.112 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/tests_states_nm.yml:11 Thursday 21 December 2023 17:39:22 +0000 (0:00:00.009) 0:00:02.122 ***** 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_fixsuv0wk7i/tests/playbooks/tests_states.yml:3 Thursday 21 December 2023 17:39:22 +0000 (0:00:00.009) 0:00:02.132 ***** ok: [sut] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tests_states.yml:11 Thursday 21 December 2023 17:39:22 +0000 (0:00:00.563) 0:00:02.695 ***** ok: [sut] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tests_states.yml:22 Thursday 21 December 2023 17:39:22 +0000 (0:00:00.009) 0:00:02.705 ***** included: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile] ******************************************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/run_test.yml:5 Thursday 21 December 2023 17:39:22 +0000 (0:00:00.016) 0:00:02.721 ***** ok: [sut] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/run_test.yml:9 Thursday 21 December 2023 17:39:22 +0000 (0:00:00.010) 0:00:02.732 ***** 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_fixsuv0wk7i/tests/playbooks/tasks/run_test.yml:21 Thursday 21 December 2023 17:39:22 +0000 (0:00:00.031) 0:00:02.763 ***** included: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 21 December 2023 17:39:22 +0000 (0:00:00.013) 0:00:02.777 ***** included: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 21 December 2023 17:39:22 +0000 (0:00:00.013) 0:00:02.791 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003292", "end": "2023-12-21 17:39:22.888630", "rc": 0, "start": "2023-12-21 17:39:22.885338" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 21 December 2023 17:39:22 +0000 (0:00:00.187) 0:00:02.978 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 21 December 2023 17:39:22 +0000 (0:00:00.011) 0:00:02.990 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/run_test.yml:24 Thursday 21 December 2023 17:39:22 +0000 (0:00:00.010) 0:00:03.000 ***** included: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/delete_interface.yml:3 Thursday 21 December 2023 17:39:22 +0000 (0:00:00.019) 0:00:03.020 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.008243", "end": "2023-12-21 17:39:23.122144", "rc": 1, "start": "2023-12-21 17:39:23.113901" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/assert_device_absent.yml:3 Thursday 21 December 2023 17:39:23 +0000 (0:00:00.191) 0:00:03.211 ***** included: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 21 December 2023 17:39:23 +0000 (0:00:00.013) 0:00:03.224 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/assert_device_absent.yml:5 Thursday 21 December 2023 17:39:23 +0000 (0:00:00.183) 0:00:03.408 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/run_test.yml:30 Thursday 21 December 2023 17:39:23 +0000 (0:00:00.012) 0:00:03.420 ***** included: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/create_bridge_profile.yml:3 Thursday 21 December 2023 17:39:23 +0000 (0:00:00.017) 0:00:03.438 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 21 December 2023 17:39:23 +0000 (0:00:00.031) 0:00:03.469 ***** included: /WORKDIR/git-ci_fixsuv0wk7i/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_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 21 December 2023 17:39:23 +0000 (0:00:00.066) 0:00:03.536 ***** 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_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 21 December 2023 17:39:23 +0000 (0:00:00.012) 0:00:03.549 ***** 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_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 21 December 2023 17:39:23 +0000 (0:00:00.009) 0:00:03.559 ***** 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_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 21 December 2023 17:39:23 +0000 (0:00:00.009) 0:00:03.569 ***** 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_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 21 December 2023 17:39:25 +0000 (0:00:01.612) 0:00:05.181 ***** 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_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 21 December 2023 17:39:26 +0000 (0:00:01.464) 0:00:06.646 ***** 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_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 21 December 2023 17:39:26 +0000 (0:00:00.022) 0:00:06.668 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 21 December 2023 17:39:26 +0000 (0:00:00.021) 0:00:06.689 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 21 December 2023 17:39:26 +0000 (0:00:00.020) 0:00:06.710 ***** 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_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 21 December 2023 17:39:26 +0000 (0:00:00.044) 0:00:06.754 ***** 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_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 21 December 2023 17:39:26 +0000 (0:00:00.022) 0:00:06.777 ***** 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_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 21 December 2023 17:39:26 +0000 (0:00:00.021) 0:00:06.798 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 21 December 2023 17:39:26 +0000 (0:00:00.024) 0:00:06.823 ***** 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_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 21 December 2023 17:39:27 +0000 (0:00:00.479) 0:00:07.302 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 21 December 2023 17:39:27 +0000 (0:00:00.025) 0:00:07.327 ***** 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_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 21 December 2023 17:39:27 +0000 (0:00:00.020) 0:00:07.348 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 21 December 2023 17:39:27 +0000 (0:00:00.020) 0:00:07.369 ***** 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, 0a7886dc-1089-4a1d-8723-21108bece2f0 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 21 December 2023 17:39:27 +0000 (0:00:00.512) 0:00:07.881 ***** 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_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 21 December 2023 17:39:27 +0000 (0:00:00.022) 0:00:07.904 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 0a7886dc-1089-4a1d-8723-21108bece2f0" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 21 December 2023 17:39:27 +0000 (0:00:00.024) 0:00:07.928 ***** 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, 0a7886dc-1089-4a1d-8723-21108bece2f0\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 0a7886dc-1089-4a1d-8723-21108bece2f0" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 21 December 2023 17:39:27 +0000 (0:00:00.024) 0:00:07.953 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 21 December 2023 17:39:27 +0000 (0:00:00.021) 0:00:07.974 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/create_bridge_profile.yml:14 Thursday 21 December 2023 17:39:28 +0000 (0:00:00.241) 0:00:08.216 ***** 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, 0a7886dc-1089-4a1d-8723-21108bece2f0\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 0a7886dc-1089-4a1d-8723-21108bece2f0" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/run_test.yml:36 Thursday 21 December 2023 17:39:28 +0000 (0:00:00.022) 0:00:08.239 ***** included: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/assert_profile_present.yml:3 Thursday 21 December 2023 17:39:28 +0000 (0:00:00.040) 0:00:08.279 ***** included: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 21 December 2023 17:39:28 +0000 (0:00:00.044) 0:00:08.324 ***** 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_fixsuv0wk7i/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 21 December 2023 17:39:28 +0000 (0:00:00.022) 0:00:08.346 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1703180367.7845292, "block_size": 4096, "blocks": 8, "ctime": 1703180367.7235293, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 5991252, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1703180367.7235293, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 221, "uid": 0, "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 21 December 2023 17:39:28 +0000 (0:00:00.196) 0:00:08.543 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 21 December 2023 17:39:28 +0000 (0:00:00.057) 0:00:08.600 ***** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.023850", "end": "2023-12-21 17:39:28.719492", "rc": 0, "start": "2023-12-21 17:39:28.695642" } STDOUT: statebr /etc/sysconfig/network-scripts/ifcfg-statebr TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 21 December 2023 17:39:28 +0000 (0:00:00.220) 0:00:08.821 ***** 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_fixsuv0wk7i/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 21 December 2023 17:39:28 +0000 (0:00:00.024) 0:00:08.846 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 21 December 2023 17:39:28 +0000 (0:00:00.022) 0:00:08.869 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 21 December 2023 17:39:28 +0000 (0:00:00.023) 0:00:08.892 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 21 December 2023 17:39:28 +0000 (0:00:00.023) 0:00:08.915 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/assert_profile_present.yml:5 Thursday 21 December 2023 17:39:28 +0000 (0:00:00.022) 0:00:08.938 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/assert_profile_present.yml:10 Thursday 21 December 2023 17:39:28 +0000 (0:00:00.024) 0:00:08.963 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/assert_profile_present.yml:15 Thursday 21 December 2023 17:39:28 +0000 (0:00:00.023) 0:00:08.986 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/run_test.yml:42 Thursday 21 December 2023 17:39:28 +0000 (0:00:00.021) 0:00:09.007 ***** included: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/assert_device_present.yml:3 Thursday 21 December 2023 17:39:28 +0000 (0:00:00.042) 0:00:09.050 ***** included: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 21 December 2023 17:39:29 +0000 (0:00:00.035) 0:00:09.086 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1703180367.7255068, "block_size": 4096, "blocks": 0, "ctime": 1703180367.7255068, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 38927, "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": 1703180367.7255068, "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_fixsuv0wk7i/tests/playbooks/tasks/assert_device_present.yml:5 Thursday 21 December 2023 17:39:29 +0000 (0:00:00.197) 0:00:09.284 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can create a profile'] ******************************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/run_test.yml:47 Thursday 21 December 2023 17:39:29 +0000 (0:00:00.046) 0:00:09.330 ***** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/run_test.yml:66 Thursday 21 December 2023 17:39:29 +0000 (0:00:00.023) 0:00:09.353 ***** included: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/cleanup_profile+device.yml:3 Thursday 21 December 2023 17:39:29 +0000 (0:00:00.042) 0:00:09.396 ***** 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.063580", "end": "2023-12-21 17:39:29.553876", "rc": 1, "start": "2023-12-21 17:39:29.490296" } STDOUT: Connection 'statebr' (0a7886dc-1089-4a1d-8723-21108bece2f0) 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_fixsuv0wk7i/tests/playbooks/tests_states.yml:45 Thursday 21 December 2023 17:39:29 +0000 (0:00:00.258) 0:00:09.654 ***** included: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile without autoconnect] ************************ task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/run_test.yml:5 Thursday 21 December 2023 17:39:29 +0000 (0:00:00.037) 0:00:09.692 ***** ok: [sut] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/run_test.yml:9 Thursday 21 December 2023 17:39:29 +0000 (0:00:00.023) 0:00:09.715 ***** 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_fixsuv0wk7i/tests/playbooks/tasks/run_test.yml:21 Thursday 21 December 2023 17:39:29 +0000 (0:00:00.043) 0:00:09.758 ***** included: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 21 December 2023 17:39:29 +0000 (0:00:00.034) 0:00:09.793 ***** included: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 21 December 2023 17:39:29 +0000 (0:00:00.034) 0:00:09.828 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003190", "end": "2023-12-21 17:39:29.925830", "rc": 0, "start": "2023-12-21 17:39:29.922640" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 21 December 2023 17:39:29 +0000 (0:00:00.199) 0:00:10.027 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 21 December 2023 17:39:29 +0000 (0:00:00.023) 0:00:10.050 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/run_test.yml:24 Thursday 21 December 2023 17:39:30 +0000 (0:00:00.046) 0:00:10.097 ***** included: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/delete_interface.yml:3 Thursday 21 December 2023 17:39:30 +0000 (0:00:00.048) 0:00:10.145 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.006444", "end": "2023-12-21 17:39:30.246484", "rc": 1, "start": "2023-12-21 17:39:30.240040" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/assert_device_absent.yml:3 Thursday 21 December 2023 17:39:30 +0000 (0:00:00.201) 0:00:10.347 ***** included: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 21 December 2023 17:39:30 +0000 (0:00:00.036) 0:00:10.383 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/assert_device_absent.yml:5 Thursday 21 December 2023 17:39:30 +0000 (0:00:00.193) 0:00:10.577 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/run_test.yml:30 Thursday 21 December 2023 17:39:30 +0000 (0:00:00.025) 0:00:10.602 ***** included: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Thursday 21 December 2023 17:39:30 +0000 (0:00:00.041) 0:00:10.644 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 21 December 2023 17:39:30 +0000 (0:00:00.042) 0:00:10.686 ***** included: /WORKDIR/git-ci_fixsuv0wk7i/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_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 21 December 2023 17:39:30 +0000 (0:00:00.041) 0:00:10.727 ***** 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_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 21 December 2023 17:39:30 +0000 (0:00:00.048) 0:00:10.775 ***** 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_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 21 December 2023 17:39:30 +0000 (0:00:00.023) 0:00:10.799 ***** 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_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 21 December 2023 17:39:30 +0000 (0:00:00.020) 0:00:10.820 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 21 December 2023 17:39:32 +0000 (0:00:01.530) 0:00:12.350 ***** 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_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 21 December 2023 17:39:33 +0000 (0:00:01.313) 0:00:13.664 ***** 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_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 21 December 2023 17:39:33 +0000 (0:00:00.023) 0:00:13.687 ***** 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_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 21 December 2023 17:39:33 +0000 (0:00:00.021) 0:00:13.708 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 21 December 2023 17:39:33 +0000 (0:00:00.021) 0:00:13.730 ***** 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_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 21 December 2023 17:39:33 +0000 (0:00:00.043) 0:00:13.774 ***** 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_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 21 December 2023 17:39:33 +0000 (0:00:00.020) 0:00:13.795 ***** 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_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 21 December 2023 17:39:33 +0000 (0:00:00.021) 0:00:13.816 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 21 December 2023 17:39:33 +0000 (0:00:00.024) 0:00:13.841 ***** 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_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 21 December 2023 17:39:34 +0000 (0:00:00.338) 0:00:14.179 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 21 December 2023 17:39:34 +0000 (0:00:00.025) 0:00:14.205 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 21 December 2023 17:39:34 +0000 (0:00:00.021) 0:00:14.226 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 21 December 2023 17:39:34 +0000 (0:00:00.020) 0:00:14.247 ***** 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, b8441fdb-078f-4e4e-b9ae-f8689562229a TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 21 December 2023 17:39:34 +0000 (0:00:00.400) 0:00:14.648 ***** 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_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 21 December 2023 17:39:34 +0000 (0:00:00.022) 0:00:14.671 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, b8441fdb-078f-4e4e-b9ae-f8689562229a" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 21 December 2023 17:39:34 +0000 (0:00:00.023) 0:00:14.694 ***** 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, b8441fdb-078f-4e4e-b9ae-f8689562229a\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, b8441fdb-078f-4e4e-b9ae-f8689562229a" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 21 December 2023 17:39:34 +0000 (0:00:00.024) 0:00:14.719 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 21 December 2023 17:39:34 +0000 (0:00:00.021) 0:00:14.740 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Thursday 21 December 2023 17:39:34 +0000 (0:00:00.188) 0:00:14.929 ***** 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, b8441fdb-078f-4e4e-b9ae-f8689562229a\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, b8441fdb-078f-4e4e-b9ae-f8689562229a" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/run_test.yml:36 Thursday 21 December 2023 17:39:34 +0000 (0:00:00.023) 0:00:14.952 ***** included: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/assert_device_absent.yml for sut included: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/assert_device_absent.yml:3 Thursday 21 December 2023 17:39:34 +0000 (0:00:00.043) 0:00:14.996 ***** included: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 21 December 2023 17:39:34 +0000 (0:00:00.035) 0:00:15.032 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/assert_device_absent.yml:5 Thursday 21 December 2023 17:39:35 +0000 (0:00:00.193) 0:00:15.225 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/assert_profile_present.yml:3 Thursday 21 December 2023 17:39:35 +0000 (0:00:00.023) 0:00:15.249 ***** included: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 21 December 2023 17:39:35 +0000 (0:00:00.037) 0:00:15.286 ***** 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_fixsuv0wk7i/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 21 December 2023 17:39:35 +0000 (0:00:00.045) 0:00:15.332 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1703180374.502509, "block_size": 4096, "blocks": 8, "ctime": 1703180374.502509, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 5991252, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1703180374.502509, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 220, "uid": 0, "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 21 December 2023 17:39:35 +0000 (0:00:00.194) 0:00:15.527 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 21 December 2023 17:39:35 +0000 (0:00:00.023) 0:00:15.550 ***** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021734", "end": "2023-12-21 17:39:35.664804", "rc": 0, "start": "2023-12-21 17:39:35.643070" } STDOUT: statebr /etc/sysconfig/network-scripts/ifcfg-statebr TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 21 December 2023 17:39:35 +0000 (0:00:00.216) 0:00:15.767 ***** 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_fixsuv0wk7i/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 21 December 2023 17:39:35 +0000 (0:00:00.024) 0:00:15.792 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 21 December 2023 17:39:35 +0000 (0:00:00.024) 0:00:15.816 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 21 December 2023 17:39:35 +0000 (0:00:00.024) 0:00:15.841 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 21 December 2023 17:39:35 +0000 (0:00:00.023) 0:00:15.864 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/assert_profile_present.yml:5 Thursday 21 December 2023 17:39:35 +0000 (0:00:00.024) 0:00:15.889 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/assert_profile_present.yml:10 Thursday 21 December 2023 17:39:35 +0000 (0:00:00.026) 0:00:15.915 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/assert_profile_present.yml:15 Thursday 21 December 2023 17:39:35 +0000 (0:00:00.025) 0:00:15.941 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/run_test.yml:42 Thursday 21 December 2023 17:39:35 +0000 (0:00:00.024) 0:00:15.965 ***** TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/run_test.yml:47 Thursday 21 December 2023 17:39:35 +0000 (0:00:00.021) 0:00:15.987 ***** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/run_test.yml:66 Thursday 21 December 2023 17:39:35 +0000 (0:00:00.024) 0:00:16.011 ***** included: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/cleanup_profile+device.yml:3 Thursday 21 December 2023 17:39:36 +0000 (0:00:00.069) 0:00:16.080 ***** 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.043713", "end": "2023-12-21 17:39:36.218474", "rc": 1, "start": "2023-12-21 17:39:36.174761" } STDOUT: Connection 'statebr' (b8441fdb-078f-4e4e-b9ae-f8689562229a) 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_fixsuv0wk7i/tests/playbooks/tests_states.yml:65 Thursday 21 December 2023 17:39:36 +0000 (0:00:00.239) 0:00:16.320 ***** included: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can activate an existing profile] ******************************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/run_test.yml:5 Thursday 21 December 2023 17:39:36 +0000 (0:00:00.040) 0:00:16.360 ***** ok: [sut] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/run_test.yml:9 Thursday 21 December 2023 17:39:36 +0000 (0:00:00.024) 0:00:16.385 ***** 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_fixsuv0wk7i/tests/playbooks/tasks/run_test.yml:21 Thursday 21 December 2023 17:39:36 +0000 (0:00:00.046) 0:00:16.431 ***** included: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 21 December 2023 17:39:36 +0000 (0:00:00.037) 0:00:16.469 ***** included: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 21 December 2023 17:39:36 +0000 (0:00:00.037) 0:00:16.506 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003087", "end": "2023-12-21 17:39:36.601543", "rc": 0, "start": "2023-12-21 17:39:36.598456" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 21 December 2023 17:39:36 +0000 (0:00:00.196) 0:00:16.703 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 21 December 2023 17:39:36 +0000 (0:00:00.023) 0:00:16.726 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/run_test.yml:24 Thursday 21 December 2023 17:39:36 +0000 (0:00:00.022) 0:00:16.748 ***** included: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/create_bridge_profile.yml:3 Thursday 21 December 2023 17:39:36 +0000 (0:00:00.039) 0:00:16.788 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 21 December 2023 17:39:36 +0000 (0:00:00.067) 0:00:16.856 ***** included: /WORKDIR/git-ci_fixsuv0wk7i/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_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 21 December 2023 17:39:36 +0000 (0:00:00.045) 0:00:16.902 ***** 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_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 21 December 2023 17:39:36 +0000 (0:00:00.029) 0:00:16.931 ***** 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_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 21 December 2023 17:39:36 +0000 (0:00:00.022) 0:00:16.954 ***** 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_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 21 December 2023 17:39:36 +0000 (0:00:00.025) 0:00:16.979 ***** 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_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 21 December 2023 17:39:38 +0000 (0:00:01.518) 0:00:18.497 ***** 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_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 21 December 2023 17:39:39 +0000 (0:00:01.322) 0:00:19.820 ***** 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_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 21 December 2023 17:39:39 +0000 (0:00:00.027) 0:00:19.847 ***** 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_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 21 December 2023 17:39:39 +0000 (0:00:00.022) 0:00:19.869 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 21 December 2023 17:39:39 +0000 (0:00:00.021) 0:00:19.891 ***** 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_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 21 December 2023 17:39:39 +0000 (0:00:00.046) 0:00:19.938 ***** 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_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 21 December 2023 17:39:39 +0000 (0:00:00.031) 0:00:19.969 ***** 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_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 21 December 2023 17:39:39 +0000 (0:00:00.030) 0:00:20.000 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 21 December 2023 17:39:39 +0000 (0:00:00.033) 0:00:20.033 ***** 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_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 21 December 2023 17:39:40 +0000 (0:00:00.340) 0:00:20.374 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 21 December 2023 17:39:40 +0000 (0:00:00.050) 0:00:20.424 ***** 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_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 21 December 2023 17:39:40 +0000 (0:00:00.024) 0:00:20.449 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 21 December 2023 17:39:40 +0000 (0:00:00.023) 0:00:20.472 ***** 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, 04f22029-a942-4963-bd75-25b532dcfb1d TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 21 December 2023 17:39:40 +0000 (0:00:00.391) 0:00:20.864 ***** 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_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 21 December 2023 17:39:40 +0000 (0:00:00.023) 0:00:20.887 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 04f22029-a942-4963-bd75-25b532dcfb1d" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 21 December 2023 17:39:40 +0000 (0:00:00.022) 0:00:20.909 ***** 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, 04f22029-a942-4963-bd75-25b532dcfb1d\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 04f22029-a942-4963-bd75-25b532dcfb1d" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 21 December 2023 17:39:40 +0000 (0:00:00.024) 0:00:20.934 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 21 December 2023 17:39:40 +0000 (0:00:00.021) 0:00:20.956 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/create_bridge_profile.yml:14 Thursday 21 December 2023 17:39:41 +0000 (0:00:00.196) 0:00:21.152 ***** 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, 04f22029-a942-4963-bd75-25b532dcfb1d\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 04f22029-a942-4963-bd75-25b532dcfb1d" ] } } TASK [Test] ******************************************************************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/run_test.yml:30 Thursday 21 December 2023 17:39:41 +0000 (0:00:00.023) 0:00:21.175 ***** included: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/activate_profile.yml:3 Thursday 21 December 2023 17:39:41 +0000 (0:00:00.040) 0:00:21.215 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 21 December 2023 17:39:41 +0000 (0:00:00.040) 0:00:21.255 ***** included: /WORKDIR/git-ci_fixsuv0wk7i/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_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 21 December 2023 17:39:41 +0000 (0:00:00.065) 0:00:21.321 ***** 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_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 21 December 2023 17:39:41 +0000 (0:00:00.027) 0:00:21.349 ***** 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_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 21 December 2023 17:39:41 +0000 (0:00:00.021) 0:00:21.371 ***** 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_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 21 December 2023 17:39:41 +0000 (0:00:00.021) 0:00:21.392 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 21 December 2023 17:39:42 +0000 (0:00:01.535) 0:00:22.928 ***** 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_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 21 December 2023 17:39:44 +0000 (0:00:01.299) 0:00:24.228 ***** 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_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 21 December 2023 17:39:44 +0000 (0:00:00.024) 0:00:24.252 ***** 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_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 21 December 2023 17:39:44 +0000 (0:00:00.022) 0:00:24.275 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 21 December 2023 17:39:44 +0000 (0:00:00.021) 0:00:24.296 ***** 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_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 21 December 2023 17:39:44 +0000 (0:00:00.042) 0:00:24.339 ***** 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_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 21 December 2023 17:39:44 +0000 (0:00:00.021) 0:00:24.361 ***** 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_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 21 December 2023 17:39:44 +0000 (0:00:00.021) 0:00:24.382 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 21 December 2023 17:39:44 +0000 (0:00:00.023) 0:00:24.406 ***** 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_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 21 December 2023 17:39:44 +0000 (0:00:00.339) 0:00:24.746 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 21 December 2023 17:39:44 +0000 (0:00:00.025) 0:00:24.771 ***** 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_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 21 December 2023 17:39:44 +0000 (0:00:00.021) 0:00:24.792 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 21 December 2023 17:39:44 +0000 (0:00:00.043) 0:00:24.835 ***** 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, 04f22029-a942-4963-bd75-25b532dcfb1d skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 21 December 2023 17:39:45 +0000 (0:00:00.330) 0:00:25.165 ***** 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_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 21 December 2023 17:39:45 +0000 (0:00:00.022) 0:00:25.188 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 04f22029-a942-4963-bd75-25b532dcfb1d skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 21 December 2023 17:39:45 +0000 (0:00:00.023) 0:00:25.212 ***** 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, 04f22029-a942-4963-bd75-25b532dcfb1d skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 04f22029-a942-4963-bd75-25b532dcfb1d skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 21 December 2023 17:39:45 +0000 (0:00:00.023) 0:00:25.235 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 21 December 2023 17:39:45 +0000 (0:00:00.021) 0:00:25.257 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/run_test.yml:36 Thursday 21 December 2023 17:39:45 +0000 (0:00:00.189) 0:00:25.447 ***** included: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/assert_device_present.yml:3 Thursday 21 December 2023 17:39:45 +0000 (0:00:00.043) 0:00:25.490 ***** included: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 21 December 2023 17:39:45 +0000 (0:00:00.037) 0:00:25.528 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1703180380.6991591, "block_size": 4096, "blocks": 0, "ctime": 1703180380.6991591, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 39058, "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": 1703180380.6991591, "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_fixsuv0wk7i/tests/playbooks/tasks/assert_device_present.yml:5 Thursday 21 December 2023 17:39:45 +0000 (0:00:00.195) 0:00:25.723 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/assert_profile_present.yml:3 Thursday 21 December 2023 17:39:45 +0000 (0:00:00.023) 0:00:25.746 ***** included: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 21 December 2023 17:39:45 +0000 (0:00:00.066) 0:00:25.813 ***** 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_fixsuv0wk7i/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 21 December 2023 17:39:45 +0000 (0:00:00.023) 0:00:25.837 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1703180380.7454903, "block_size": 4096, "blocks": 8, "ctime": 1703180380.6974905, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 5991252, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1703180380.6974905, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 221, "uid": 0, "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 21 December 2023 17:39:45 +0000 (0:00:00.195) 0:00:26.033 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 21 December 2023 17:39:45 +0000 (0:00:00.023) 0:00:26.056 ***** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022192", "end": "2023-12-21 17:39:46.172308", "rc": 0, "start": "2023-12-21 17:39:46.150116" } STDOUT: statebr /etc/sysconfig/network-scripts/ifcfg-statebr TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 21 December 2023 17:39:46 +0000 (0:00:00.217) 0:00:26.273 ***** 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_fixsuv0wk7i/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 21 December 2023 17:39:46 +0000 (0:00:00.024) 0:00:26.298 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 21 December 2023 17:39:46 +0000 (0:00:00.023) 0:00:26.322 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 21 December 2023 17:39:46 +0000 (0:00:00.023) 0:00:26.346 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 21 December 2023 17:39:46 +0000 (0:00:00.023) 0:00:26.369 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/assert_profile_present.yml:5 Thursday 21 December 2023 17:39:46 +0000 (0:00:00.023) 0:00:26.393 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/assert_profile_present.yml:10 Thursday 21 December 2023 17:39:46 +0000 (0:00:00.023) 0:00:26.417 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/assert_profile_present.yml:15 Thursday 21 December 2023 17:39:46 +0000 (0:00:00.024) 0:00:26.441 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/run_test.yml:42 Thursday 21 December 2023 17:39:46 +0000 (0:00:00.022) 0:00:26.463 ***** TASK [Success in test 'I can activate an existing profile'] ******************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/run_test.yml:47 Thursday 21 December 2023 17:39:46 +0000 (0:00:00.020) 0:00:26.484 ***** ok: [sut] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/run_test.yml:66 Thursday 21 December 2023 17:39:46 +0000 (0:00:00.021) 0:00:26.506 ***** included: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/cleanup_profile+device.yml:3 Thursday 21 December 2023 17:39:46 +0000 (0:00:00.068) 0:00:26.574 ***** 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.065150", "end": "2023-12-21 17:39:46.732038", "rc": 1, "start": "2023-12-21 17:39:46.666888" } STDOUT: Connection 'statebr' (04f22029-a942-4963-bd75-25b532dcfb1d) 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_fixsuv0wk7i/tests/playbooks/tests_states.yml:83 Thursday 21 December 2023 17:39:46 +0000 (0:00:00.259) 0:00:26.833 ***** included: /WORKDIR/git-ci_fixsuv0wk7i/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_fixsuv0wk7i/tests/playbooks/tasks/run_test.yml:5 Thursday 21 December 2023 17:39:46 +0000 (0:00:00.038) 0:00:26.872 ***** ok: [sut] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/run_test.yml:9 Thursday 21 December 2023 17:39:46 +0000 (0:00:00.022) 0:00:26.895 ***** 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_fixsuv0wk7i/tests/playbooks/tasks/run_test.yml:21 Thursday 21 December 2023 17:39:46 +0000 (0:00:00.044) 0:00:26.939 ***** included: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 21 December 2023 17:39:46 +0000 (0:00:00.035) 0:00:26.975 ***** included: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 21 December 2023 17:39:46 +0000 (0:00:00.035) 0:00:27.011 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003275", "end": "2023-12-21 17:39:47.108107", "rc": 0, "start": "2023-12-21 17:39:47.104832" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 21 December 2023 17:39:47 +0000 (0:00:00.198) 0:00:27.209 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 21 December 2023 17:39:47 +0000 (0:00:00.023) 0:00:27.232 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/run_test.yml:24 Thursday 21 December 2023 17:39:47 +0000 (0:00:00.022) 0:00:27.255 ***** included: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/create_bridge_profile.yml:3 Thursday 21 December 2023 17:39:47 +0000 (0:00:00.074) 0:00:27.330 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 21 December 2023 17:39:47 +0000 (0:00:00.038) 0:00:27.368 ***** included: /WORKDIR/git-ci_fixsuv0wk7i/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_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 21 December 2023 17:39:47 +0000 (0:00:00.041) 0:00:27.409 ***** 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_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 21 December 2023 17:39:47 +0000 (0:00:00.028) 0:00:27.438 ***** 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_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 21 December 2023 17:39:47 +0000 (0:00:00.022) 0:00:27.461 ***** 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_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 21 December 2023 17:39:47 +0000 (0:00:00.023) 0:00:27.484 ***** 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_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 21 December 2023 17:39:48 +0000 (0:00:01.519) 0:00:29.004 ***** 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_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 21 December 2023 17:39:50 +0000 (0:00:01.317) 0:00:30.321 ***** 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_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 21 December 2023 17:39:50 +0000 (0:00:00.023) 0:00:30.344 ***** 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_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 21 December 2023 17:39:50 +0000 (0:00:00.020) 0:00:30.365 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 21 December 2023 17:39:50 +0000 (0:00:00.021) 0:00:30.387 ***** 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_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 21 December 2023 17:39:50 +0000 (0:00:00.044) 0:00:30.431 ***** 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_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 21 December 2023 17:39:50 +0000 (0:00:00.020) 0:00:30.452 ***** 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_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 21 December 2023 17:39:50 +0000 (0:00:00.021) 0:00:30.474 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 21 December 2023 17:39:50 +0000 (0:00:00.025) 0:00:30.499 ***** 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_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 21 December 2023 17:39:50 +0000 (0:00:00.340) 0:00:30.840 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 21 December 2023 17:39:50 +0000 (0:00:00.027) 0:00:30.867 ***** 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_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 21 December 2023 17:39:50 +0000 (0:00:00.021) 0:00:30.889 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 21 December 2023 17:39:50 +0000 (0:00:00.021) 0:00:30.911 ***** 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, 88e503b3-adba-4e68-af6b-5d79949ecd3d TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 21 December 2023 17:39:51 +0000 (0:00:00.394) 0:00:31.305 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 21 December 2023 17:39:51 +0000 (0:00:00.022) 0:00:31.328 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 88e503b3-adba-4e68-af6b-5d79949ecd3d" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 21 December 2023 17:39:51 +0000 (0:00:00.023) 0:00:31.351 ***** 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, 88e503b3-adba-4e68-af6b-5d79949ecd3d\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 88e503b3-adba-4e68-af6b-5d79949ecd3d" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 21 December 2023 17:39:51 +0000 (0:00:00.024) 0:00:31.375 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 21 December 2023 17:39:51 +0000 (0:00:00.021) 0:00:31.397 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/create_bridge_profile.yml:14 Thursday 21 December 2023 17:39:51 +0000 (0:00:00.191) 0:00:31.588 ***** 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, 88e503b3-adba-4e68-af6b-5d79949ecd3d\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 88e503b3-adba-4e68-af6b-5d79949ecd3d" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/activate_profile.yml:3 Thursday 21 December 2023 17:39:51 +0000 (0:00:00.023) 0:00:31.611 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 21 December 2023 17:39:51 +0000 (0:00:00.036) 0:00:31.648 ***** included: /WORKDIR/git-ci_fixsuv0wk7i/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_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 21 December 2023 17:39:51 +0000 (0:00:00.067) 0:00:31.715 ***** 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_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 21 December 2023 17:39:51 +0000 (0:00:00.027) 0:00:31.743 ***** 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_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 21 December 2023 17:39:51 +0000 (0:00:00.021) 0:00:31.764 ***** 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_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 21 December 2023 17:39:51 +0000 (0:00:00.021) 0:00:31.785 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 21 December 2023 17:39:53 +0000 (0:00:01.508) 0:00:33.293 ***** 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_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 21 December 2023 17:39:54 +0000 (0:00:01.322) 0:00:34.616 ***** 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_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 21 December 2023 17:39:54 +0000 (0:00:00.031) 0:00:34.647 ***** 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_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 21 December 2023 17:39:54 +0000 (0:00:00.023) 0:00:34.671 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 21 December 2023 17:39:54 +0000 (0:00:00.023) 0:00:34.694 ***** 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_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 21 December 2023 17:39:54 +0000 (0:00:00.045) 0:00:34.740 ***** 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_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 21 December 2023 17:39:54 +0000 (0:00:00.023) 0:00:34.763 ***** 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_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 21 December 2023 17:39:54 +0000 (0:00:00.023) 0:00:34.787 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 21 December 2023 17:39:54 +0000 (0:00:00.026) 0:00:34.813 ***** 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_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 21 December 2023 17:39:55 +0000 (0:00:00.340) 0:00:35.154 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 21 December 2023 17:39:55 +0000 (0:00:00.028) 0:00:35.182 ***** 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_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 21 December 2023 17:39:55 +0000 (0:00:00.022) 0:00:35.205 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 21 December 2023 17:39:55 +0000 (0:00:00.021) 0:00:35.227 ***** 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, 88e503b3-adba-4e68-af6b-5d79949ecd3d skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 21 December 2023 17:39:55 +0000 (0:00:00.396) 0:00:35.623 ***** 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_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 21 December 2023 17:39:55 +0000 (0:00:00.023) 0:00:35.646 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 88e503b3-adba-4e68-af6b-5d79949ecd3d skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 21 December 2023 17:39:55 +0000 (0:00:00.025) 0:00:35.672 ***** 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, 88e503b3-adba-4e68-af6b-5d79949ecd3d skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 88e503b3-adba-4e68-af6b-5d79949ecd3d skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 21 December 2023 17:39:55 +0000 (0:00:00.026) 0:00:35.698 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 21 December 2023 17:39:55 +0000 (0:00:00.023) 0:00:35.721 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/run_test.yml:30 Thursday 21 December 2023 17:39:55 +0000 (0:00:00.188) 0:00:35.910 ***** included: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/remove_profile.yml:3 Thursday 21 December 2023 17:39:55 +0000 (0:00:00.043) 0:00:35.953 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 21 December 2023 17:39:55 +0000 (0:00:00.043) 0:00:35.997 ***** included: /WORKDIR/git-ci_fixsuv0wk7i/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_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 21 December 2023 17:39:55 +0000 (0:00:00.044) 0:00:36.042 ***** 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_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 21 December 2023 17:39:55 +0000 (0:00:00.028) 0:00:36.070 ***** 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_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 21 December 2023 17:39:56 +0000 (0:00:00.022) 0:00:36.093 ***** 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_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 21 December 2023 17:39:56 +0000 (0:00:00.023) 0:00:36.116 ***** 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_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 21 December 2023 17:39:57 +0000 (0:00:01.514) 0:00:37.630 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 21 December 2023 17:39:58 +0000 (0:00:01.293) 0:00:38.924 ***** 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_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 21 December 2023 17:39:58 +0000 (0:00:00.024) 0:00:38.948 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 21 December 2023 17:39:58 +0000 (0:00:00.043) 0:00:38.991 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 21 December 2023 17:39:58 +0000 (0:00:00.024) 0:00:39.016 ***** 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_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 21 December 2023 17:39:58 +0000 (0:00:00.048) 0:00:39.065 ***** 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_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 21 December 2023 17:39:59 +0000 (0:00:00.023) 0:00:39.089 ***** 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_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 21 December 2023 17:39:59 +0000 (0:00:00.023) 0:00:39.112 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 21 December 2023 17:39:59 +0000 (0:00:00.026) 0:00:39.139 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 21 December 2023 17:39:59 +0000 (0:00:00.346) 0:00:39.486 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 21 December 2023 17:39:59 +0000 (0:00:00.028) 0:00:39.514 ***** 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_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 21 December 2023 17:39:59 +0000 (0:00:00.024) 0:00:39.538 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 21 December 2023 17:39:59 +0000 (0:00:00.021) 0:00:39.559 ***** 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_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 21 December 2023 17:39:59 +0000 (0:00:00.359) 0:00:39.918 ***** 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_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 21 December 2023 17:39:59 +0000 (0:00:00.023) 0:00:39.942 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 21 December 2023 17:39:59 +0000 (0:00:00.023) 0:00:39.965 ***** 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_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 21 December 2023 17:39:59 +0000 (0:00:00.024) 0:00:39.989 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 21 December 2023 17:39:59 +0000 (0:00:00.044) 0:00:40.034 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/run_test.yml:36 Thursday 21 December 2023 17:40:00 +0000 (0:00:00.191) 0:00:40.225 ***** included: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/assert_device_present.yml:3 Thursday 21 December 2023 17:40:00 +0000 (0:00:00.046) 0:00:40.272 ***** included: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 21 December 2023 17:40:00 +0000 (0:00:00.038) 0:00:40.310 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1703180391.1444075, "block_size": 4096, "blocks": 0, "ctime": 1703180391.1444075, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 39189, "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": 1703180391.1444075, "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_fixsuv0wk7i/tests/playbooks/tasks/assert_device_present.yml:5 Thursday 21 December 2023 17:40:00 +0000 (0:00:00.195) 0:00:40.505 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/assert_profile_absent.yml:3 Thursday 21 December 2023 17:40:00 +0000 (0:00:00.023) 0:00:40.528 ***** included: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 21 December 2023 17:40:00 +0000 (0:00:00.039) 0:00:40.567 ***** 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_fixsuv0wk7i/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 21 December 2023 17:40:00 +0000 (0:00:00.022) 0:00:40.590 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 21 December 2023 17:40:00 +0000 (0:00:00.192) 0:00:40.782 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 21 December 2023 17:40:00 +0000 (0:00:00.021) 0:00:40.803 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022430", "end": "2023-12-21 17:40:00.919425", "rc": 1, "start": "2023-12-21 17:40:00.896995" } 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_fixsuv0wk7i/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 21 December 2023 17:40:00 +0000 (0:00:00.217) 0:00:41.021 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 21 December 2023 17:40:00 +0000 (0:00:00.049) 0:00:41.070 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 21 December 2023 17:40:01 +0000 (0:00:00.023) 0:00:41.094 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 21 December 2023 17:40:01 +0000 (0:00:00.025) 0:00:41.119 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 21 December 2023 17:40:01 +0000 (0:00:00.023) 0:00:41.143 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/assert_profile_absent.yml:5 Thursday 21 December 2023 17:40:01 +0000 (0:00:00.022) 0:00:41.166 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/run_test.yml:42 Thursday 21 December 2023 17:40:01 +0000 (0:00:00.024) 0:00:41.191 ***** TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/run_test.yml:47 Thursday 21 December 2023 17:40:01 +0000 (0:00:00.021) 0:00:41.212 ***** ok: [sut] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/run_test.yml:66 Thursday 21 December 2023 17:40:01 +0000 (0:00:00.022) 0:00:41.234 ***** included: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/cleanup_profile+device.yml:3 Thursday 21 December 2023 17:40:01 +0000 (0:00:00.043) 0:00:41.278 ***** 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.081432", "end": "2023-12-21 17:40:01.462715", "rc": 1, "start": "2023-12-21 17:40:01.381283" } STDOUT: Connection 'statebr' (88e503b3-adba-4e68-af6b-5d79949ecd3d) 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_fixsuv0wk7i/tests/playbooks/tests_states.yml:103 Thursday 21 December 2023 17:40:01 +0000 (0:00:00.287) 0:00:41.565 ***** included: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can take a profile down that is absent] ************************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/run_test.yml:5 Thursday 21 December 2023 17:40:01 +0000 (0:00:00.040) 0:00:41.605 ***** ok: [sut] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/run_test.yml:9 Thursday 21 December 2023 17:40:01 +0000 (0:00:00.023) 0:00:41.629 ***** 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_fixsuv0wk7i/tests/playbooks/tasks/run_test.yml:21 Thursday 21 December 2023 17:40:01 +0000 (0:00:00.048) 0:00:41.678 ***** included: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 21 December 2023 17:40:01 +0000 (0:00:00.065) 0:00:41.744 ***** included: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 21 December 2023 17:40:01 +0000 (0:00:00.036) 0:00:41.780 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003072", "end": "2023-12-21 17:40:01.878653", "rc": 0, "start": "2023-12-21 17:40:01.875581" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 21 December 2023 17:40:01 +0000 (0:00:00.199) 0:00:41.980 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 21 December 2023 17:40:01 +0000 (0:00:00.023) 0:00:42.003 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/run_test.yml:24 Thursday 21 December 2023 17:40:01 +0000 (0:00:00.022) 0:00:42.026 ***** included: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/create_bridge_profile.yml:3 Thursday 21 December 2023 17:40:01 +0000 (0:00:00.045) 0:00:42.071 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 21 December 2023 17:40:02 +0000 (0:00:00.036) 0:00:42.107 ***** included: /WORKDIR/git-ci_fixsuv0wk7i/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_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 21 December 2023 17:40:02 +0000 (0:00:00.040) 0:00:42.148 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 21 December 2023 17:40:02 +0000 (0:00:00.026) 0:00:42.175 ***** 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_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 21 December 2023 17:40:02 +0000 (0:00:00.021) 0:00:42.196 ***** 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_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 21 December 2023 17:40:02 +0000 (0:00:00.020) 0:00:42.216 ***** 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_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 21 December 2023 17:40:03 +0000 (0:00:01.543) 0:00:43.760 ***** 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_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 21 December 2023 17:40:04 +0000 (0:00:01.297) 0:00:45.058 ***** 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_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 21 December 2023 17:40:05 +0000 (0:00:00.046) 0:00:45.105 ***** 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_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 21 December 2023 17:40:05 +0000 (0:00:00.022) 0:00:45.127 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 21 December 2023 17:40:05 +0000 (0:00:00.022) 0:00:45.150 ***** 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_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 21 December 2023 17:40:05 +0000 (0:00:00.044) 0:00:45.194 ***** 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_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 21 December 2023 17:40:05 +0000 (0:00:00.021) 0:00:45.216 ***** 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_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 21 December 2023 17:40:05 +0000 (0:00:00.022) 0:00:45.238 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 21 December 2023 17:40:05 +0000 (0:00:00.026) 0:00:45.264 ***** 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_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 21 December 2023 17:40:05 +0000 (0:00:00.339) 0:00:45.604 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 21 December 2023 17:40:05 +0000 (0:00:00.027) 0:00:45.631 ***** 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_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 21 December 2023 17:40:05 +0000 (0:00:00.021) 0:00:45.652 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 21 December 2023 17:40:05 +0000 (0:00:00.022) 0:00:45.675 ***** 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, b57f4dc5-3642-44a7-81b8-7e6c5ee3a141 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 21 December 2023 17:40:05 +0000 (0:00:00.380) 0:00:46.056 ***** 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_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 21 December 2023 17:40:06 +0000 (0:00:00.022) 0:00:46.078 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, b57f4dc5-3642-44a7-81b8-7e6c5ee3a141" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 21 December 2023 17:40:06 +0000 (0:00:00.022) 0:00:46.101 ***** 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, b57f4dc5-3642-44a7-81b8-7e6c5ee3a141\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, b57f4dc5-3642-44a7-81b8-7e6c5ee3a141" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 21 December 2023 17:40:06 +0000 (0:00:00.050) 0:00:46.151 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 21 December 2023 17:40:06 +0000 (0:00:00.023) 0:00:46.174 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/create_bridge_profile.yml:14 Thursday 21 December 2023 17:40:06 +0000 (0:00:00.190) 0:00:46.365 ***** 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, b57f4dc5-3642-44a7-81b8-7e6c5ee3a141\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, b57f4dc5-3642-44a7-81b8-7e6c5ee3a141" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/activate_profile.yml:3 Thursday 21 December 2023 17:40:06 +0000 (0:00:00.023) 0:00:46.388 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 21 December 2023 17:40:06 +0000 (0:00:00.036) 0:00:46.425 ***** included: /WORKDIR/git-ci_fixsuv0wk7i/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_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 21 December 2023 17:40:06 +0000 (0:00:00.040) 0:00:46.466 ***** 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_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 21 December 2023 17:40:06 +0000 (0:00:00.027) 0:00:46.493 ***** 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_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 21 December 2023 17:40:06 +0000 (0:00:00.021) 0:00:46.515 ***** 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_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 21 December 2023 17:40:06 +0000 (0:00:00.021) 0:00:46.536 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 21 December 2023 17:40:07 +0000 (0:00:01.523) 0:00:48.060 ***** 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_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 21 December 2023 17:40:09 +0000 (0:00:01.293) 0:00:49.354 ***** 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_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 21 December 2023 17:40:09 +0000 (0:00:00.023) 0:00:49.377 ***** 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_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 21 December 2023 17:40:09 +0000 (0:00:00.026) 0:00:49.404 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 21 December 2023 17:40:09 +0000 (0:00:00.025) 0:00:49.429 ***** 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_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 21 December 2023 17:40:09 +0000 (0:00:00.046) 0:00:49.476 ***** 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_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 21 December 2023 17:40:09 +0000 (0:00:00.027) 0:00:49.503 ***** 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_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 21 December 2023 17:40:09 +0000 (0:00:00.047) 0:00:49.551 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 21 December 2023 17:40:09 +0000 (0:00:00.026) 0:00:49.578 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 21 December 2023 17:40:09 +0000 (0:00:00.341) 0:00:49.919 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 21 December 2023 17:40:09 +0000 (0:00:00.026) 0:00:49.946 ***** 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_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 21 December 2023 17:40:09 +0000 (0:00:00.021) 0:00:49.967 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 21 December 2023 17:40:09 +0000 (0:00:00.021) 0:00:49.989 ***** 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, b57f4dc5-3642-44a7-81b8-7e6c5ee3a141 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 21 December 2023 17:40:10 +0000 (0:00:00.331) 0:00:50.320 ***** 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_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 21 December 2023 17:40:10 +0000 (0:00:00.021) 0:00:50.342 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, b57f4dc5-3642-44a7-81b8-7e6c5ee3a141 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 21 December 2023 17:40:10 +0000 (0:00:00.023) 0:00:50.366 ***** 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, b57f4dc5-3642-44a7-81b8-7e6c5ee3a141 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, b57f4dc5-3642-44a7-81b8-7e6c5ee3a141 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 21 December 2023 17:40:10 +0000 (0:00:00.023) 0:00:50.389 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 21 December 2023 17:40:10 +0000 (0:00:00.021) 0:00:50.410 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/remove_profile.yml:3 Thursday 21 December 2023 17:40:10 +0000 (0:00:00.189) 0:00:50.600 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 21 December 2023 17:40:10 +0000 (0:00:00.038) 0:00:50.638 ***** included: /WORKDIR/git-ci_fixsuv0wk7i/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_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 21 December 2023 17:40:10 +0000 (0:00:00.067) 0:00:50.706 ***** 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_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 21 December 2023 17:40:10 +0000 (0:00:00.028) 0:00:50.734 ***** 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_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 21 December 2023 17:40:10 +0000 (0:00:00.021) 0:00:50.755 ***** 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_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 21 December 2023 17:40:10 +0000 (0:00:00.022) 0:00:50.778 ***** 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_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 21 December 2023 17:40:12 +0000 (0:00:01.512) 0:00:52.291 ***** 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_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 21 December 2023 17:40:13 +0000 (0:00:01.295) 0:00:53.586 ***** 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_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 21 December 2023 17:40:13 +0000 (0:00:00.023) 0:00:53.610 ***** 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_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 21 December 2023 17:40:13 +0000 (0:00:00.022) 0:00:53.633 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 21 December 2023 17:40:13 +0000 (0:00:00.024) 0:00:53.657 ***** 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_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 21 December 2023 17:40:13 +0000 (0:00:00.046) 0:00:53.704 ***** 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_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 21 December 2023 17:40:13 +0000 (0:00:00.022) 0:00:53.727 ***** 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_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 21 December 2023 17:40:13 +0000 (0:00:00.023) 0:00:53.750 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 21 December 2023 17:40:13 +0000 (0:00:00.026) 0:00:53.777 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 21 December 2023 17:40:14 +0000 (0:00:00.337) 0:00:54.115 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 21 December 2023 17:40:14 +0000 (0:00:00.025) 0:00:54.141 ***** 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_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 21 December 2023 17:40:14 +0000 (0:00:00.020) 0:00:54.162 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 21 December 2023 17:40:14 +0000 (0:00:00.046) 0:00:54.208 ***** 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_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 21 December 2023 17:40:14 +0000 (0:00:00.362) 0:00:54.570 ***** 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_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 21 December 2023 17:40:14 +0000 (0:00:00.023) 0:00:54.593 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 21 December 2023 17:40:14 +0000 (0:00:00.025) 0:00:54.619 ***** 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_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 21 December 2023 17:40:14 +0000 (0:00:00.026) 0:00:54.645 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 21 December 2023 17:40:14 +0000 (0:00:00.023) 0:00:54.668 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/run_test.yml:30 Thursday 21 December 2023 17:40:14 +0000 (0:00:00.189) 0:00:54.858 ***** included: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/remove+down_profile.yml:3 Thursday 21 December 2023 17:40:14 +0000 (0:00:00.041) 0:00:54.899 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 21 December 2023 17:40:14 +0000 (0:00:00.040) 0:00:54.940 ***** included: /WORKDIR/git-ci_fixsuv0wk7i/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_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 21 December 2023 17:40:14 +0000 (0:00:00.040) 0:00:54.980 ***** 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_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 21 December 2023 17:40:14 +0000 (0:00:00.026) 0:00:55.007 ***** 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_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 21 December 2023 17:40:14 +0000 (0:00:00.047) 0:00:55.055 ***** 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_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 21 December 2023 17:40:15 +0000 (0:00:00.024) 0:00:55.079 ***** 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_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 21 December 2023 17:40:16 +0000 (0:00:01.523) 0:00:56.603 ***** 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_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 21 December 2023 17:40:17 +0000 (0:00:01.311) 0:00:57.915 ***** 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_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 21 December 2023 17:40:17 +0000 (0:00:00.023) 0:00:57.938 ***** 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_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 21 December 2023 17:40:17 +0000 (0:00:00.022) 0:00:57.960 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 21 December 2023 17:40:17 +0000 (0:00:00.021) 0:00:57.982 ***** 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_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 21 December 2023 17:40:17 +0000 (0:00:00.044) 0:00:58.026 ***** 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_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 21 December 2023 17:40:17 +0000 (0:00:00.021) 0:00:58.048 ***** 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_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 21 December 2023 17:40:17 +0000 (0:00:00.021) 0:00:58.070 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 21 December 2023 17:40:18 +0000 (0:00:00.024) 0:00:58.094 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 21 December 2023 17:40:18 +0000 (0:00:00.340) 0:00:58.435 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 21 December 2023 17:40:18 +0000 (0:00:00.025) 0:00:58.460 ***** 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_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 21 December 2023 17:40:18 +0000 (0:00:00.021) 0:00:58.482 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 21 December 2023 17:40:18 +0000 (0:00:00.021) 0:00:58.504 ***** 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_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 21 December 2023 17:40:18 +0000 (0:00:00.454) 0:00:58.959 ***** 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_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 21 December 2023 17:40:18 +0000 (0:00:00.048) 0:00:59.007 ***** 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_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 21 December 2023 17:40:18 +0000 (0:00:00.024) 0:00:59.032 ***** 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_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 21 December 2023 17:40:18 +0000 (0:00:00.023) 0:00:59.056 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 21 December 2023 17:40:19 +0000 (0:00:00.024) 0:00:59.080 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/run_test.yml:36 Thursday 21 December 2023 17:40:19 +0000 (0:00:00.192) 0:00:59.272 ***** included: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/assert_profile_absent.yml:3 Thursday 21 December 2023 17:40:19 +0000 (0:00:00.042) 0:00:59.314 ***** included: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 21 December 2023 17:40:19 +0000 (0:00:00.038) 0:00:59.353 ***** 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_fixsuv0wk7i/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 21 December 2023 17:40:19 +0000 (0:00:00.023) 0:00:59.376 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 21 December 2023 17:40:19 +0000 (0:00:00.193) 0:00:59.570 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 21 December 2023 17:40:19 +0000 (0:00:00.023) 0:00:59.593 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020835", "end": "2023-12-21 17:40:19.706571", "rc": 1, "start": "2023-12-21 17:40:19.685736" } 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_fixsuv0wk7i/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 21 December 2023 17:40:19 +0000 (0:00:00.213) 0:00:59.807 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 21 December 2023 17:40:19 +0000 (0:00:00.026) 0:00:59.834 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 21 December 2023 17:40:19 +0000 (0:00:00.051) 0:00:59.885 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 21 December 2023 17:40:19 +0000 (0:00:00.023) 0:00:59.908 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 21 December 2023 17:40:19 +0000 (0:00:00.027) 0:00:59.936 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/assert_profile_absent.yml:5 Thursday 21 December 2023 17:40:19 +0000 (0:00:00.022) 0:00:59.959 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/run_test.yml:42 Thursday 21 December 2023 17:40:19 +0000 (0:00:00.022) 0:00:59.982 ***** included: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/assert_device_absent.yml:3 Thursday 21 December 2023 17:40:19 +0000 (0:00:00.043) 0:01:00.025 ***** included: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 21 December 2023 17:40:19 +0000 (0:00:00.036) 0:01:00.061 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/assert_device_absent.yml:5 Thursday 21 December 2023 17:40:20 +0000 (0:00:00.193) 0:01:00.255 ***** 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_fixsuv0wk7i/tests/playbooks/tasks/run_test.yml:47 Thursday 21 December 2023 17:40:20 +0000 (0:00:00.025) 0:01:00.281 ***** ok: [sut] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/run_test.yml:66 Thursday 21 December 2023 17:40:20 +0000 (0:00:00.024) 0:01:00.305 ***** included: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/cleanup_profile+device.yml:3 Thursday 21 December 2023 17:40:20 +0000 (0:00:00.041) 0:01:00.347 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.042298", "end": "2023-12-21 17:40:20.480760", "rc": 1, "start": "2023-12-21 17:40:20.438462" } 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_fixsuv0wk7i/tests/playbooks/tests_states.yml:126 Thursday 21 December 2023 17:40:20 +0000 (0:00:00.235) 0:01:00.582 ***** included: /WORKDIR/git-ci_fixsuv0wk7i/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_fixsuv0wk7i/tests/playbooks/tasks/run_test.yml:5 Thursday 21 December 2023 17:40:20 +0000 (0:00:00.067) 0:01:00.649 ***** 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_fixsuv0wk7i/tests/playbooks/tasks/run_test.yml:9 Thursday 21 December 2023 17:40:20 +0000 (0:00:00.023) 0:01:00.673 ***** 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_fixsuv0wk7i/tests/playbooks/tasks/run_test.yml:21 Thursday 21 December 2023 17:40:20 +0000 (0:00:00.047) 0:01:00.720 ***** included: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 21 December 2023 17:40:20 +0000 (0:00:00.036) 0:01:00.756 ***** included: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 21 December 2023 17:40:20 +0000 (0:00:00.036) 0:01:00.793 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003037", "end": "2023-12-21 17:40:20.889577", "rc": 0, "start": "2023-12-21 17:40:20.886540" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 21 December 2023 17:40:20 +0000 (0:00:00.198) 0:01:00.991 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 21 December 2023 17:40:20 +0000 (0:00:00.023) 0:01:01.015 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/run_test.yml:24 Thursday 21 December 2023 17:40:20 +0000 (0:00:00.022) 0:01:01.038 ***** included: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/create_bridge_profile.yml:3 Thursday 21 December 2023 17:40:21 +0000 (0:00:00.045) 0:01:01.083 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 21 December 2023 17:40:21 +0000 (0:00:00.039) 0:01:01.122 ***** included: /WORKDIR/git-ci_fixsuv0wk7i/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_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 21 December 2023 17:40:21 +0000 (0:00:00.072) 0:01:01.194 ***** 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_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 21 December 2023 17:40:21 +0000 (0:00:00.028) 0:01:01.223 ***** 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_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 21 December 2023 17:40:21 +0000 (0:00:00.021) 0:01:01.245 ***** 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_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 21 December 2023 17:40:21 +0000 (0:00:00.021) 0:01:01.266 ***** 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_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 21 December 2023 17:40:22 +0000 (0:00:01.518) 0:01:02.785 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 21 December 2023 17:40:24 +0000 (0:00:01.298) 0:01:04.083 ***** 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_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 21 December 2023 17:40:24 +0000 (0:00:00.024) 0:01:04.108 ***** 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_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 21 December 2023 17:40:24 +0000 (0:00:00.022) 0:01:04.130 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 21 December 2023 17:40:24 +0000 (0:00:00.021) 0:01:04.151 ***** 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_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 21 December 2023 17:40:24 +0000 (0:00:00.044) 0:01:04.195 ***** 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_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 21 December 2023 17:40:24 +0000 (0:00:00.021) 0:01:04.217 ***** 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_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 21 December 2023 17:40:24 +0000 (0:00:00.021) 0:01:04.238 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 21 December 2023 17:40:24 +0000 (0:00:00.024) 0:01:04.263 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 21 December 2023 17:40:24 +0000 (0:00:00.342) 0:01:04.606 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 21 December 2023 17:40:24 +0000 (0:00:00.027) 0:01:04.633 ***** 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_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 21 December 2023 17:40:24 +0000 (0:00:00.023) 0:01:04.657 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 21 December 2023 17:40:24 +0000 (0:00:00.030) 0:01:04.687 ***** 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, b5812e07-97c8-4e51-8879-3dfdfb3debd4 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 21 December 2023 17:40:25 +0000 (0:00:00.421) 0:01:05.109 ***** 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_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 21 December 2023 17:40:25 +0000 (0:00:00.023) 0:01:05.132 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, b5812e07-97c8-4e51-8879-3dfdfb3debd4" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 21 December 2023 17:40:25 +0000 (0:00:00.023) 0:01:05.156 ***** 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, b5812e07-97c8-4e51-8879-3dfdfb3debd4\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, b5812e07-97c8-4e51-8879-3dfdfb3debd4" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 21 December 2023 17:40:25 +0000 (0:00:00.024) 0:01:05.180 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 21 December 2023 17:40:25 +0000 (0:00:00.021) 0:01:05.202 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/create_bridge_profile.yml:14 Thursday 21 December 2023 17:40:25 +0000 (0:00:00.196) 0:01:05.399 ***** 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, b5812e07-97c8-4e51-8879-3dfdfb3debd4\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, b5812e07-97c8-4e51-8879-3dfdfb3debd4" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/activate_profile.yml:3 Thursday 21 December 2023 17:40:25 +0000 (0:00:00.024) 0:01:05.423 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 21 December 2023 17:40:25 +0000 (0:00:00.037) 0:01:05.461 ***** included: /WORKDIR/git-ci_fixsuv0wk7i/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_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 21 December 2023 17:40:25 +0000 (0:00:00.041) 0:01:05.503 ***** 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_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 21 December 2023 17:40:25 +0000 (0:00:00.028) 0:01:05.531 ***** 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_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 21 December 2023 17:40:25 +0000 (0:00:00.021) 0:01:05.552 ***** 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_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 21 December 2023 17:40:25 +0000 (0:00:00.022) 0:01:05.574 ***** 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_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 21 December 2023 17:40:27 +0000 (0:00:01.538) 0:01:07.113 ***** 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_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 21 December 2023 17:40:28 +0000 (0:00:01.294) 0:01:08.407 ***** 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_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 21 December 2023 17:40:28 +0000 (0:00:00.043) 0:01:08.451 ***** 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_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 21 December 2023 17:40:28 +0000 (0:00:00.023) 0:01:08.474 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 21 December 2023 17:40:28 +0000 (0:00:00.023) 0:01:08.497 ***** 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_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 21 December 2023 17:40:28 +0000 (0:00:00.044) 0:01:08.542 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 21 December 2023 17:40:28 +0000 (0:00:00.022) 0:01:08.564 ***** 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_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 21 December 2023 17:40:28 +0000 (0:00:00.021) 0:01:08.586 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 21 December 2023 17:40:28 +0000 (0:00:00.026) 0:01:08.612 ***** 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_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 21 December 2023 17:40:28 +0000 (0:00:00.339) 0:01:08.951 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 21 December 2023 17:40:28 +0000 (0:00:00.026) 0:01:08.978 ***** 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_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 21 December 2023 17:40:28 +0000 (0:00:00.021) 0:01:09.000 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 21 December 2023 17:40:28 +0000 (0:00:00.020) 0:01:09.021 ***** 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, b5812e07-97c8-4e51-8879-3dfdfb3debd4 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 21 December 2023 17:40:29 +0000 (0:00:00.329) 0:01:09.351 ***** 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_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 21 December 2023 17:40:29 +0000 (0:00:00.022) 0:01:09.374 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, b5812e07-97c8-4e51-8879-3dfdfb3debd4 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 21 December 2023 17:40:29 +0000 (0:00:00.024) 0:01:09.398 ***** 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, b5812e07-97c8-4e51-8879-3dfdfb3debd4 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, b5812e07-97c8-4e51-8879-3dfdfb3debd4 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 21 December 2023 17:40:29 +0000 (0:00:00.061) 0:01:09.460 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 21 December 2023 17:40:29 +0000 (0:00:00.023) 0:01:09.483 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/remove+down_profile.yml:3 Thursday 21 December 2023 17:40:29 +0000 (0:00:00.200) 0:01:09.684 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 21 December 2023 17:40:29 +0000 (0:00:00.038) 0:01:09.722 ***** included: /WORKDIR/git-ci_fixsuv0wk7i/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_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 21 December 2023 17:40:29 +0000 (0:00:00.041) 0:01:09.764 ***** 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_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 21 December 2023 17:40:29 +0000 (0:00:00.027) 0:01:09.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_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 21 December 2023 17:40:29 +0000 (0:00:00.021) 0:01:09.813 ***** 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_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 21 December 2023 17:40:29 +0000 (0:00:00.021) 0:01:09.834 ***** 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_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 21 December 2023 17:40:31 +0000 (0:00:01.541) 0:01:11.375 ***** 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_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 21 December 2023 17:40:32 +0000 (0:00:01.294) 0:01:12.670 ***** 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_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 21 December 2023 17:40:32 +0000 (0:00:00.023) 0:01:12.693 ***** 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_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 21 December 2023 17:40:32 +0000 (0:00:00.022) 0:01:12.716 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 21 December 2023 17:40:32 +0000 (0:00:00.023) 0:01:12.739 ***** 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_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 21 December 2023 17:40:32 +0000 (0:00:00.043) 0:01:12.783 ***** 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_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 21 December 2023 17:40:32 +0000 (0:00:00.021) 0:01:12.804 ***** 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_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 21 December 2023 17:40:32 +0000 (0:00:00.022) 0:01:12.827 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 21 December 2023 17:40:32 +0000 (0:00:00.047) 0:01:12.875 ***** 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_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 21 December 2023 17:40:33 +0000 (0:00:00.340) 0:01:13.215 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 21 December 2023 17:40:33 +0000 (0:00:00.026) 0:01:13.242 ***** 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_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 21 December 2023 17:40:33 +0000 (0:00:00.023) 0:01:13.265 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 21 December 2023 17:40:33 +0000 (0:00:00.021) 0:01:13.286 ***** 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_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 21 December 2023 17:40:33 +0000 (0:00:00.404) 0:01:13.691 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 21 December 2023 17:40:33 +0000 (0:00:00.023) 0:01:13.715 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 21 December 2023 17:40:33 +0000 (0:00:00.023) 0:01:13.739 ***** 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_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 21 December 2023 17:40:33 +0000 (0:00:00.026) 0:01:13.765 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 21 December 2023 17:40:33 +0000 (0:00:00.021) 0:01:13.786 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/run_test.yml:30 Thursday 21 December 2023 17:40:33 +0000 (0:00:00.191) 0:01:13.978 ***** included: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/remove+down_profile.yml:3 Thursday 21 December 2023 17:40:33 +0000 (0:00:00.048) 0:01:14.026 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 21 December 2023 17:40:34 +0000 (0:00:00.065) 0:01:14.091 ***** included: /WORKDIR/git-ci_fixsuv0wk7i/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_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 21 December 2023 17:40:34 +0000 (0:00:00.042) 0:01:14.134 ***** 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_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 21 December 2023 17:40:34 +0000 (0:00:00.027) 0:01:14.161 ***** 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_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 21 December 2023 17:40:34 +0000 (0:00:00.021) 0:01:14.183 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 21 December 2023 17:40:34 +0000 (0:00:00.021) 0:01:14.204 ***** 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_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 21 December 2023 17:40:35 +0000 (0:00:01.517) 0:01:15.722 ***** 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_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 21 December 2023 17:40:36 +0000 (0:00:01.324) 0:01:17.046 ***** 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_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 21 December 2023 17:40:37 +0000 (0:00:00.028) 0:01:17.074 ***** 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_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 21 December 2023 17:40:37 +0000 (0:00:00.022) 0:01:17.097 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 21 December 2023 17:40:37 +0000 (0:00:00.023) 0:01:17.120 ***** 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_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 21 December 2023 17:40:37 +0000 (0:00:00.045) 0:01:17.166 ***** 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_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 21 December 2023 17:40:37 +0000 (0:00:00.021) 0:01:17.187 ***** 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_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 21 December 2023 17:40:37 +0000 (0:00:00.021) 0:01:17.209 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 21 December 2023 17:40:37 +0000 (0:00:00.025) 0:01:17.234 ***** 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_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 21 December 2023 17:40:37 +0000 (0:00:00.340) 0:01:17.575 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 21 December 2023 17:40:37 +0000 (0:00:00.053) 0:01:17.628 ***** 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_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 21 December 2023 17:40:37 +0000 (0:00:00.022) 0:01:17.650 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 21 December 2023 17:40:37 +0000 (0:00:00.023) 0:01:17.674 ***** 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_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 21 December 2023 17:40:37 +0000 (0:00:00.349) 0:01:18.023 ***** 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_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 21 December 2023 17:40:37 +0000 (0:00:00.021) 0:01:18.044 ***** 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_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 21 December 2023 17:40:37 +0000 (0:00:00.023) 0:01:18.068 ***** 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_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 21 December 2023 17:40:38 +0000 (0:00:00.024) 0:01:18.092 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 21 December 2023 17:40:38 +0000 (0:00:00.021) 0:01:18.113 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/run_test.yml:36 Thursday 21 December 2023 17:40:38 +0000 (0:00:00.189) 0:01:18.303 ***** included: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/assert_profile_absent.yml for sut included: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/get_NetworkManager_NVR.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/assert_profile_absent.yml:3 Thursday 21 December 2023 17:40:38 +0000 (0:00:00.045) 0:01:18.348 ***** included: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 21 December 2023 17:40:38 +0000 (0:00:00.037) 0:01:18.386 ***** 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_fixsuv0wk7i/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 21 December 2023 17:40:38 +0000 (0:00:00.025) 0:01:18.411 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 21 December 2023 17:40:38 +0000 (0:00:00.222) 0:01:18.634 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 21 December 2023 17:40:38 +0000 (0:00:00.023) 0:01:18.658 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020936", "end": "2023-12-21 17:40:38.771699", "rc": 1, "start": "2023-12-21 17:40:38.750763" } 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_fixsuv0wk7i/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 21 December 2023 17:40:38 +0000 (0:00:00.215) 0:01:18.873 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 21 December 2023 17:40:38 +0000 (0:00:00.025) 0:01:18.898 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 21 December 2023 17:40:38 +0000 (0:00:00.025) 0:01:18.924 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 21 December 2023 17:40:38 +0000 (0:00:00.024) 0:01:18.949 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 21 December 2023 17:40:38 +0000 (0:00:00.025) 0:01:18.974 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/assert_profile_absent.yml:5 Thursday 21 December 2023 17:40:38 +0000 (0:00:00.024) 0:01:18.999 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/get_NetworkManager_NVR.yml:7 Thursday 21 December 2023 17:40:38 +0000 (0:00:00.025) 0:01:19.025 ***** ok: [sut] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.938442", "end": "2023-12-21 17:40:40.057696", "rc": 0, "start": "2023-12-21 17:40:39.119254" } STDOUT: NetworkManager-1.40.16-11.el8 TASK [Store NetworkManager version] ******************************************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/get_NetworkManager_NVR.yml:14 Thursday 21 December 2023 17:40:40 +0000 (0:00:01.135) 0:01:20.160 ***** ok: [sut] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.40.16-11.el8" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/get_NetworkManager_NVR.yml:18 Thursday 21 December 2023 17:40:40 +0000 (0:00:00.022) 0:01:20.182 ***** ok: [sut] => { "networkmanager_nvr": "NetworkManager-1.40.16-11.el8" } TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/run_test.yml:42 Thursday 21 December 2023 17:40:40 +0000 (0:00:00.045) 0:01:20.228 ***** included: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/assert_device_absent.yml:3 Thursday 21 December 2023 17:40:40 +0000 (0:00:00.045) 0:01:20.274 ***** included: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 21 December 2023 17:40:40 +0000 (0:00:00.037) 0:01:20.312 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/assert_device_absent.yml:5 Thursday 21 December 2023 17:40:40 +0000 (0:00:00.195) 0:01:20.508 ***** 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_fixsuv0wk7i/tests/playbooks/tasks/run_test.yml:47 Thursday 21 December 2023 17:40:40 +0000 (0:00:00.024) 0:01:20.532 ***** 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_fixsuv0wk7i/tests/playbooks/tasks/run_test.yml:66 Thursday 21 December 2023 17:40:40 +0000 (0:00:00.024) 0:01:20.557 ***** included: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/cleanup_profile+device.yml:3 Thursday 21 December 2023 17:40:40 +0000 (0:00:00.043) 0:01:20.601 ***** 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.042799", "end": "2023-12-21 17:40:40.738344", "rc": 1, "start": "2023-12-21 17:40:40.695545" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. Cannot find device "statebr" MSG: non-zero return code ...ignoring META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=321 changed=10 unreachable=0 failed=0 skipped=247 rescued=0 ignored=11 Thursday 21 December 2023 17:40:40 +0000 (0:00:00.224) 0:01:20.825 ***** =============================================================================== linux-system-roles.network : Configure networking connection profiles --- 2.10s /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Enable and start NetworkManager ------------ 1.84s /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:85 linux-system-roles.network : Check which services are running ----------- 1.61s /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.54s /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.54s /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.54s /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.54s /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.53s /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.52s /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.52s /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.52s /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.52s /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.52s /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.52s /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.51s /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.51s /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.51s /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which packages are installed --------- 1.46s /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Configure networking connection profiles --- 1.39s /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Enable and start NetworkManager ------------ 1.36s /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:85 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- [WARNING]: Consider using the dnf module rather than running 'dnf'. If you need to use command because dnf is insufficient you can add 'warn: false' to this command task or set 'command_warnings=False' in ansible.cfg to get rid of this message. [WARNING]: Consider using the yum, dnf or zypper module rather than running 'rpm'. If you need to use command because yum, dnf or zypper is insufficient you can add 'warn: false' to this command task or set 'command_warnings=False' in ansible.cfg to get rid of this message. ---^---^---^---^---^---