# 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-skip_initscriptsyy0h4na4/tests/tests_states_nm.yml PLAY [Run playbook 'playbooks/tests_states.yml' with nm as provider] *********** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/tests_states_nm.yml:5 Wednesday 20 December 2023 20:40:42 +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-skip_initscriptsyy0h4na4/tests/tests_states_nm.yml:9 Wednesday 20 December 2023 20:40:43 +0000 (0:00:00.799) 0:00:00.811 **** included: /WORKDIR/git-skip_initscriptsyy0h4na4/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-skip_initscriptsyy0h4na4/tests/tasks/el_repo_setup.yml:3 Wednesday 20 December 2023 20:40:43 +0000 (0:00:00.023) 0:00:00.835 **** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/tasks/el_repo_setup.yml:19 Wednesday 20 December 2023 20:40:43 +0000 (0:00:00.337) 0:00:01.172 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/tasks/el_repo_setup.yml:24 Wednesday 20 December 2023 20:40:44 +0000 (0:00:00.259) 0:00:01.432 **** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/tasks/el_repo_setup.yml:28 Wednesday 20 December 2023 20:40:44 +0000 (0:00:00.024) 0:00:01.456 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/tasks/el_repo_setup.yml:53 Wednesday 20 December 2023 20:40:44 +0000 (0:00:00.025) 0:00:01.482 **** included: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 8] *********************************************************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/tasks/enable_epel.yml:8 Wednesday 20 December 2023 20:40:44 +0000 (0:00:00.040) 0:00:01.522 **** 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-skip_initscriptsyy0h4na4/tests/tasks/enable_epel.yml:24 Wednesday 20 December 2023 20:40:44 +0000 (0:00:00.263) 0:00:01.785 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/tasks/enable_epel.yml:30 Wednesday 20 December 2023 20:40:44 +0000 (0:00:00.011) 0:00:01.796 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/tasks/enable_epel.yml:35 Wednesday 20 December 2023 20:40:44 +0000 (0:00:00.010) 0:00:01.807 **** ok: [sut] => { "changed": false, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:00.248951", "end": "2023-12-20 20:40:44.884686", "rc": 0, "start": "2023-12-20 20:40:44.635735" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/tasks/enable_epel.yml:40 Wednesday 20 December 2023 20:40:44 +0000 (0:00:00.459) 0:00:02.266 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/tests_states_nm.yml:11 Wednesday 20 December 2023 20:40:44 +0000 (0:00:00.017) 0:00:02.283 **** 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-skip_initscriptsyy0h4na4/tests/playbooks/tests_states.yml:3 Wednesday 20 December 2023 20:40:44 +0000 (0:00:00.046) 0:00:02.330 **** ok: [sut] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tests_states.yml:11 Wednesday 20 December 2023 20:40:45 +0000 (0:00:00.641) 0:00:02.971 **** ok: [sut] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tests_states.yml:22 Wednesday 20 December 2023 20:40:45 +0000 (0:00:00.025) 0:00:02.997 **** included: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile] ******************************************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/run_test.yml:5 Wednesday 20 December 2023 20:40:45 +0000 (0:00:00.035) 0:00:03.032 **** ok: [sut] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/run_test.yml:9 Wednesday 20 December 2023 20:40:45 +0000 (0:00:00.019) 0:00:03.051 **** 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-skip_initscriptsyy0h4na4/tests/playbooks/tasks/run_test.yml:21 Wednesday 20 December 2023 20:40:45 +0000 (0:00:00.074) 0:00:03.125 **** included: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 20 December 2023 20:40:45 +0000 (0:00:00.029) 0:00:03.155 **** included: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 20 December 2023 20:40:45 +0000 (0:00:00.028) 0:00:03.183 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003525", "end": "2023-12-20 20:40:46.072804", "rc": 0, "start": "2023-12-20 20:40:46.069279" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 20 December 2023 20:40:46 +0000 (0:00:00.261) 0:00:03.445 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 20 December 2023 20:40:46 +0000 (0:00:00.076) 0:00:03.522 **** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/run_test.yml:24 Wednesday 20 December 2023 20:40:46 +0000 (0:00:00.032) 0:00:03.554 **** included: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/delete_interface.yml:3 Wednesday 20 December 2023 20:40:46 +0000 (0:00:00.024) 0:00:03.579 **** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.008407", "end": "2023-12-20 20:40:46.446191", "rc": 1, "start": "2023-12-20 20:40:46.437784" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/assert_device_absent.yml:3 Wednesday 20 December 2023 20:40:46 +0000 (0:00:00.236) 0:00:03.816 **** included: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 20 December 2023 20:40:46 +0000 (0:00:00.039) 0:00:03.856 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/assert_device_absent.yml:5 Wednesday 20 December 2023 20:40:46 +0000 (0:00:00.201) 0:00:04.057 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/run_test.yml:30 Wednesday 20 December 2023 20:40:46 +0000 (0:00:00.032) 0:00:04.089 **** included: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 20 December 2023 20:40:46 +0000 (0:00:00.026) 0:00:04.116 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 20 December 2023 20:40:46 +0000 (0:00:00.053) 0:00:04.169 **** included: /WORKDIR/git-skip_initscriptsyy0h4na4/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-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 20 December 2023 20:40:46 +0000 (0:00:00.070) 0:00:04.240 **** 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-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 20 December 2023 20:40:46 +0000 (0:00:00.012) 0:00:04.253 **** 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-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 20 December 2023 20:40:46 +0000 (0:00:00.011) 0:00:04.265 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 20 December 2023 20:40:46 +0000 (0:00:00.012) 0:00:04.277 **** 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-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 20 December 2023 20:40:48 +0000 (0:00:01.746) 0:00:06.024 **** 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-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 20 December 2023 20:40:50 +0000 (0:00:01.489) 0:00:07.513 **** 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-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 20 December 2023 20:40:50 +0000 (0:00:00.029) 0:00:07.543 **** 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-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 20 December 2023 20:40:50 +0000 (0:00:00.021) 0:00:07.565 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 20 December 2023 20:40:50 +0000 (0:00:00.023) 0:00:07.588 **** 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-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 20 December 2023 20:40:50 +0000 (0:00:00.044) 0:00:07.633 **** 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-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 20 December 2023 20:40:50 +0000 (0:00:00.021) 0:00:07.654 **** 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-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 20 December 2023 20:40:50 +0000 (0:00:00.021) 0:00:07.676 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 20 December 2023 20:40:50 +0000 (0:00:00.023) 0:00:07.700 **** 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-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 20 December 2023 20:40:50 +0000 (0:00:00.494) 0:00:08.194 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 20 December 2023 20:40:50 +0000 (0:00:00.027) 0:00:08.222 **** 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-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 20 December 2023 20:40:50 +0000 (0:00:00.033) 0:00:08.255 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 20 December 2023 20:40:50 +0000 (0:00:00.027) 0:00:08.282 **** 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, 2cbbaeda-1d46-4104-ac1a-fe4498be6578 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 20 December 2023 20:40:51 +0000 (0:00:00.572) 0:00:08.855 **** 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-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 20 December 2023 20:40:51 +0000 (0:00:00.022) 0:00:08.877 **** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 2cbbaeda-1d46-4104-ac1a-fe4498be6578" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 20 December 2023 20:40:51 +0000 (0:00:00.024) 0:00:08.902 **** 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, 2cbbaeda-1d46-4104-ac1a-fe4498be6578\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 2cbbaeda-1d46-4104-ac1a-fe4498be6578" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 20 December 2023 20:40:51 +0000 (0:00:00.035) 0:00:08.938 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 20 December 2023 20:40:51 +0000 (0:00:00.022) 0:00:08.960 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 20 December 2023 20:40:51 +0000 (0:00:00.274) 0:00:09.234 **** 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, 2cbbaeda-1d46-4104-ac1a-fe4498be6578\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 2cbbaeda-1d46-4104-ac1a-fe4498be6578" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/run_test.yml:36 Wednesday 20 December 2023 20:40:51 +0000 (0:00:00.027) 0:00:09.262 **** included: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/assert_profile_present.yml:3 Wednesday 20 December 2023 20:40:51 +0000 (0:00:00.044) 0:00:09.307 **** included: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 20 December 2023 20:40:52 +0000 (0:00:00.043) 0:00:09.350 **** 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-skip_initscriptsyy0h4na4/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 20 December 2023 20:40:52 +0000 (0:00:00.033) 0:00:09.384 **** ok: [sut] => { "changed": false, "stat": { "atime": 1703104851.468357, "block_size": 4096, "blocks": 8, "ctime": 1703104851.4053557, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 5991249, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1703104851.4053557, "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-skip_initscriptsyy0h4na4/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 20 December 2023 20:40:52 +0000 (0:00:00.262) 0:00:09.647 **** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 20 December 2023 20:40:52 +0000 (0:00:00.029) 0:00:09.676 **** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.023698", "end": "2023-12-20 20:40:52.556712", "rc": 0, "start": "2023-12-20 20:40:52.533014" } 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-skip_initscriptsyy0h4na4/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 20 December 2023 20:40:52 +0000 (0:00:00.257) 0:00:09.933 **** 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-skip_initscriptsyy0h4na4/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 20 December 2023 20:40:52 +0000 (0:00:00.070) 0:00:10.003 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 20 December 2023 20:40:52 +0000 (0:00:00.048) 0:00:10.052 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 20 December 2023 20:40:52 +0000 (0:00:00.037) 0:00:10.089 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 20 December 2023 20:40:52 +0000 (0:00:00.026) 0:00:10.115 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/assert_profile_present.yml:5 Wednesday 20 December 2023 20:40:52 +0000 (0:00:00.030) 0:00:10.146 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/assert_profile_present.yml:10 Wednesday 20 December 2023 20:40:52 +0000 (0:00:00.048) 0:00:10.195 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/assert_profile_present.yml:15 Wednesday 20 December 2023 20:40:52 +0000 (0:00:00.031) 0:00:10.227 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/run_test.yml:42 Wednesday 20 December 2023 20:40:52 +0000 (0:00:00.026) 0:00:10.253 **** included: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 20 December 2023 20:40:52 +0000 (0:00:00.065) 0:00:10.319 **** included: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 20 December 2023 20:40:53 +0000 (0:00:00.054) 0:00:10.373 **** ok: [sut] => { "changed": false, "stat": { "atime": 1703104851.4069552, "block_size": 4096, "blocks": 0, "ctime": 1703104851.4069552, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 38783, "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": 1703104851.4069552, "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-skip_initscriptsyy0h4na4/tests/playbooks/tasks/assert_device_present.yml:5 Wednesday 20 December 2023 20:40:53 +0000 (0:00:00.235) 0:00:10.609 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can create a profile'] ******************************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/run_test.yml:47 Wednesday 20 December 2023 20:40:53 +0000 (0:00:00.048) 0:00:10.658 **** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/run_test.yml:66 Wednesday 20 December 2023 20:40:53 +0000 (0:00:00.045) 0:00:10.704 **** included: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 20 December 2023 20:40:53 +0000 (0:00:00.125) 0:00:10.829 **** 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.063393", "end": "2023-12-20 20:40:53.765406", "rc": 1, "start": "2023-12-20 20:40:53.702013" } STDOUT: Connection 'statebr' (2cbbaeda-1d46-4104-ac1a-fe4498be6578) successfully deleted. STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tests_states.yml:45 Wednesday 20 December 2023 20:40:53 +0000 (0:00:00.356) 0:00:11.185 **** included: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile without autoconnect] ************************ task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/run_test.yml:5 Wednesday 20 December 2023 20:40:53 +0000 (0:00:00.057) 0:00:11.243 **** ok: [sut] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/run_test.yml:9 Wednesday 20 December 2023 20:40:53 +0000 (0:00:00.061) 0:00:11.305 **** 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-skip_initscriptsyy0h4na4/tests/playbooks/tasks/run_test.yml:21 Wednesday 20 December 2023 20:40:54 +0000 (0:00:00.086) 0:00:11.391 **** included: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 20 December 2023 20:40:54 +0000 (0:00:00.096) 0:00:11.488 **** included: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 20 December 2023 20:40:54 +0000 (0:00:00.073) 0:00:11.562 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003420", "end": "2023-12-20 20:40:54.437392", "rc": 0, "start": "2023-12-20 20:40:54.433972" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 20 December 2023 20:40:54 +0000 (0:00:00.284) 0:00:11.846 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 20 December 2023 20:40:54 +0000 (0:00:00.029) 0:00:11.876 **** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/run_test.yml:24 Wednesday 20 December 2023 20:40:54 +0000 (0:00:00.047) 0:00:11.924 **** included: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/delete_interface.yml:3 Wednesday 20 December 2023 20:40:54 +0000 (0:00:00.078) 0:00:12.002 **** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.006680", "end": "2023-12-20 20:40:54.843178", "rc": 1, "start": "2023-12-20 20:40:54.836498" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/assert_device_absent.yml:3 Wednesday 20 December 2023 20:40:54 +0000 (0:00:00.215) 0:00:12.218 **** included: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 20 December 2023 20:40:54 +0000 (0:00:00.051) 0:00:12.269 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/assert_device_absent.yml:5 Wednesday 20 December 2023 20:40:55 +0000 (0:00:00.199) 0:00:12.469 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/run_test.yml:30 Wednesday 20 December 2023 20:40:55 +0000 (0:00:00.023) 0:00:12.493 **** included: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Wednesday 20 December 2023 20:40:55 +0000 (0:00:00.041) 0:00:12.535 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 20 December 2023 20:40:55 +0000 (0:00:00.042) 0:00:12.577 **** included: /WORKDIR/git-skip_initscriptsyy0h4na4/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-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 20 December 2023 20:40:55 +0000 (0:00:00.062) 0:00:12.640 **** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 20 December 2023 20:40:55 +0000 (0:00:00.052) 0:00:12.692 **** 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-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 20 December 2023 20:40:55 +0000 (0:00:00.047) 0:00:12.740 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 20 December 2023 20:40:55 +0000 (0:00:00.027) 0:00:12.768 **** 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-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 20 December 2023 20:40:57 +0000 (0:00:01.618) 0:00:14.387 **** 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-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 20 December 2023 20:40:58 +0000 (0:00:01.331) 0:00:15.718 **** ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 20 December 2023 20:40:58 +0000 (0:00:00.031) 0:00:15.749 **** 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-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 20 December 2023 20:40:58 +0000 (0:00:00.025) 0:00:15.774 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 20 December 2023 20:40:58 +0000 (0:00:00.024) 0:00:15.798 **** 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-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 20 December 2023 20:40:58 +0000 (0:00:00.047) 0:00:15.846 **** 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-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 20 December 2023 20:40:58 +0000 (0:00:00.022) 0:00:15.868 **** 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-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 20 December 2023 20:40:58 +0000 (0:00:00.041) 0:00:15.909 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 20 December 2023 20:40:58 +0000 (0:00:00.025) 0:00:15.935 **** 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-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 20 December 2023 20:40:58 +0000 (0:00:00.366) 0:00:16.302 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 20 December 2023 20:40:58 +0000 (0:00:00.026) 0:00:16.329 **** 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-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 20 December 2023 20:40:59 +0000 (0:00:00.022) 0:00:16.351 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 20 December 2023 20:40:59 +0000 (0:00:00.028) 0:00:16.380 **** 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, b4ff2867-f01c-4527-9c30-c3cebcfa0509 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 20 December 2023 20:40:59 +0000 (0:00:00.362) 0:00:16.742 **** 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-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 20 December 2023 20:40:59 +0000 (0:00:00.021) 0:00:16.764 **** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, b4ff2867-f01c-4527-9c30-c3cebcfa0509" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 20 December 2023 20:40:59 +0000 (0:00:00.023) 0:00:16.788 **** 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, b4ff2867-f01c-4527-9c30-c3cebcfa0509\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, b4ff2867-f01c-4527-9c30-c3cebcfa0509" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 20 December 2023 20:40:59 +0000 (0:00:00.023) 0:00:16.812 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 20 December 2023 20:40:59 +0000 (0:00:00.021) 0:00:16.833 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Wednesday 20 December 2023 20:40:59 +0000 (0:00:00.195) 0:00:17.029 **** 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, b4ff2867-f01c-4527-9c30-c3cebcfa0509\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, b4ff2867-f01c-4527-9c30-c3cebcfa0509" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/run_test.yml:36 Wednesday 20 December 2023 20:40:59 +0000 (0:00:00.023) 0:00:17.052 **** included: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/assert_device_absent.yml for sut included: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/assert_device_absent.yml:3 Wednesday 20 December 2023 20:40:59 +0000 (0:00:00.078) 0:00:17.130 **** included: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 20 December 2023 20:40:59 +0000 (0:00:00.044) 0:00:17.175 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/assert_device_absent.yml:5 Wednesday 20 December 2023 20:41:00 +0000 (0:00:00.205) 0:00:17.381 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/assert_profile_present.yml:3 Wednesday 20 December 2023 20:41:00 +0000 (0:00:00.031) 0:00:17.412 **** included: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 20 December 2023 20:41:00 +0000 (0:00:00.069) 0:00:17.482 **** 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-skip_initscriptsyy0h4na4/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 20 December 2023 20:41:00 +0000 (0:00:00.036) 0:00:17.519 **** ok: [sut] => { "changed": false, "stat": { "atime": 1703104859.3535109, "block_size": 4096, "blocks": 8, "ctime": 1703104859.3535109, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 5991249, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1703104859.3535109, "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-skip_initscriptsyy0h4na4/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 20 December 2023 20:41:00 +0000 (0:00:00.216) 0:00:17.736 **** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 20 December 2023 20:41:00 +0000 (0:00:00.024) 0:00:17.760 **** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.023721", "end": "2023-12-20 20:41:00.612370", "rc": 0, "start": "2023-12-20 20:41:00.588649" } 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-skip_initscriptsyy0h4na4/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 20 December 2023 20:41:00 +0000 (0:00:00.234) 0:00:17.995 **** 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-skip_initscriptsyy0h4na4/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 20 December 2023 20:41:00 +0000 (0:00:00.041) 0:00:18.036 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 20 December 2023 20:41:00 +0000 (0:00:00.031) 0:00:18.067 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 20 December 2023 20:41:00 +0000 (0:00:00.036) 0:00:18.104 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 20 December 2023 20:41:00 +0000 (0:00:00.071) 0:00:18.175 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/assert_profile_present.yml:5 Wednesday 20 December 2023 20:41:00 +0000 (0:00:00.025) 0:00:18.200 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/assert_profile_present.yml:10 Wednesday 20 December 2023 20:41:00 +0000 (0:00:00.026) 0:00:18.226 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/assert_profile_present.yml:15 Wednesday 20 December 2023 20:41:00 +0000 (0:00:00.023) 0:00:18.250 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/run_test.yml:42 Wednesday 20 December 2023 20:41:00 +0000 (0:00:00.023) 0:00:18.274 **** TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/run_test.yml:47 Wednesday 20 December 2023 20:41:00 +0000 (0:00:00.022) 0:00:18.296 **** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/run_test.yml:66 Wednesday 20 December 2023 20:41:00 +0000 (0:00:00.026) 0:00:18.322 **** included: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 20 December 2023 20:41:01 +0000 (0:00:00.041) 0:00:18.363 **** 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.046779", "end": "2023-12-20 20:41:01.252979", "rc": 1, "start": "2023-12-20 20:41:01.206200" } STDOUT: Connection 'statebr' (b4ff2867-f01c-4527-9c30-c3cebcfa0509) successfully deleted. STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tests_states.yml:65 Wednesday 20 December 2023 20:41:01 +0000 (0:00:00.283) 0:00:18.647 **** included: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can activate an existing profile] ******************************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/run_test.yml:5 Wednesday 20 December 2023 20:41:01 +0000 (0:00:00.056) 0:00:18.704 **** ok: [sut] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/run_test.yml:9 Wednesday 20 December 2023 20:41:01 +0000 (0:00:00.052) 0:00:18.756 **** 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-skip_initscriptsyy0h4na4/tests/playbooks/tasks/run_test.yml:21 Wednesday 20 December 2023 20:41:01 +0000 (0:00:00.076) 0:00:18.833 **** included: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 20 December 2023 20:41:01 +0000 (0:00:00.076) 0:00:18.909 **** included: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 20 December 2023 20:41:01 +0000 (0:00:00.085) 0:00:18.994 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003556", "end": "2023-12-20 20:41:01.823871", "rc": 0, "start": "2023-12-20 20:41:01.820315" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 20 December 2023 20:41:01 +0000 (0:00:00.223) 0:00:19.217 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 20 December 2023 20:41:01 +0000 (0:00:00.071) 0:00:19.289 **** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/run_test.yml:24 Wednesday 20 December 2023 20:41:01 +0000 (0:00:00.028) 0:00:19.318 **** included: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 20 December 2023 20:41:02 +0000 (0:00:00.040) 0:00:19.358 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 20 December 2023 20:41:02 +0000 (0:00:00.042) 0:00:19.400 **** included: /WORKDIR/git-skip_initscriptsyy0h4na4/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-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 20 December 2023 20:41:02 +0000 (0:00:00.041) 0:00:19.442 **** 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-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 20 December 2023 20:41:02 +0000 (0:00:00.041) 0:00:19.483 **** 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-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 20 December 2023 20:41:02 +0000 (0:00:00.083) 0:00:19.567 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 20 December 2023 20:41:02 +0000 (0:00:00.049) 0:00:19.616 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 20 December 2023 20:41:03 +0000 (0:00:01.657) 0:00:21.274 **** 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-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 20 December 2023 20:41:05 +0000 (0:00:01.372) 0:00:22.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-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 20 December 2023 20:41:05 +0000 (0:00:00.024) 0:00:22.671 **** 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-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 20 December 2023 20:41:05 +0000 (0:00:00.023) 0:00:22.694 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 20 December 2023 20:41:05 +0000 (0:00:00.025) 0:00:22.720 **** 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-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 20 December 2023 20:41:05 +0000 (0:00:00.047) 0:00:22.767 **** 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-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 20 December 2023 20:41:05 +0000 (0:00:00.023) 0:00:22.791 **** 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-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 20 December 2023 20:41:05 +0000 (0:00:00.042) 0:00:22.833 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 20 December 2023 20:41:05 +0000 (0:00:00.026) 0:00:22.860 **** 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-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 20 December 2023 20:41:05 +0000 (0:00:00.381) 0:00:23.241 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 20 December 2023 20:41:05 +0000 (0:00:00.029) 0:00:23.270 **** 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-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 20 December 2023 20:41:05 +0000 (0:00:00.042) 0:00:23.313 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 20 December 2023 20:41:05 +0000 (0:00:00.023) 0:00:23.336 **** 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, 01475e1e-f33f-4f1b-baf9-33eab6d133e3 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 20 December 2023 20:41:06 +0000 (0:00:00.409) 0:00:23.746 **** 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-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 20 December 2023 20:41:06 +0000 (0:00:00.028) 0:00:23.775 **** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 01475e1e-f33f-4f1b-baf9-33eab6d133e3" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 20 December 2023 20:41:06 +0000 (0:00:00.040) 0:00:23.815 **** 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, 01475e1e-f33f-4f1b-baf9-33eab6d133e3\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 01475e1e-f33f-4f1b-baf9-33eab6d133e3" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 20 December 2023 20:41:06 +0000 (0:00:00.031) 0:00:23.846 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 20 December 2023 20:41:06 +0000 (0:00:00.031) 0:00:23.877 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 20 December 2023 20:41:06 +0000 (0:00:00.230) 0:00:24.108 **** 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, 01475e1e-f33f-4f1b-baf9-33eab6d133e3\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 01475e1e-f33f-4f1b-baf9-33eab6d133e3" ] } } TASK [Test] ******************************************************************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/run_test.yml:30 Wednesday 20 December 2023 20:41:06 +0000 (0:00:00.048) 0:00:24.157 **** included: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/activate_profile.yml:3 Wednesday 20 December 2023 20:41:06 +0000 (0:00:00.172) 0:00:24.330 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 20 December 2023 20:41:07 +0000 (0:00:00.133) 0:00:24.463 **** included: /WORKDIR/git-skip_initscriptsyy0h4na4/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-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 20 December 2023 20:41:07 +0000 (0:00:00.052) 0:00:24.516 **** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 20 December 2023 20:41:07 +0000 (0:00:00.027) 0:00:24.544 **** 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-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 20 December 2023 20:41:07 +0000 (0:00:00.023) 0:00:24.568 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 20 December 2023 20:41:07 +0000 (0:00:00.023) 0:00:24.591 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 20 December 2023 20:41:08 +0000 (0:00:01.608) 0:00:26.199 **** 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-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 20 December 2023 20:41:10 +0000 (0:00:01.433) 0:00:27.633 **** 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-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 20 December 2023 20:41:10 +0000 (0:00:00.035) 0:00:27.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-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 20 December 2023 20:41:10 +0000 (0:00:00.063) 0:00:27.732 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 20 December 2023 20:41:10 +0000 (0:00:00.043) 0:00:27.776 **** 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-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 20 December 2023 20:41:10 +0000 (0:00:00.059) 0:00:27.835 **** 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-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 20 December 2023 20:41:10 +0000 (0:00:00.052) 0:00:27.888 **** 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-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 20 December 2023 20:41:10 +0000 (0:00:00.048) 0:00:27.936 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 20 December 2023 20:41:10 +0000 (0:00:00.034) 0:00:27.971 **** 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-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 20 December 2023 20:41:11 +0000 (0:00:00.424) 0:00:28.395 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 20 December 2023 20:41:11 +0000 (0:00:00.039) 0:00:28.435 **** 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-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 20 December 2023 20:41:11 +0000 (0:00:00.024) 0:00:28.459 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 20 December 2023 20:41:11 +0000 (0:00:00.046) 0:00:28.505 **** 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, 01475e1e-f33f-4f1b-baf9-33eab6d133e3 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 20 December 2023 20:41:11 +0000 (0:00:00.377) 0:00:28.883 **** 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-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 20 December 2023 20:41:11 +0000 (0:00:00.025) 0:00:28.908 **** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 01475e1e-f33f-4f1b-baf9-33eab6d133e3 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 20 December 2023 20:41:11 +0000 (0:00:00.029) 0:00:28.938 **** 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, 01475e1e-f33f-4f1b-baf9-33eab6d133e3 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 01475e1e-f33f-4f1b-baf9-33eab6d133e3 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 20 December 2023 20:41:11 +0000 (0:00:00.024) 0:00:28.963 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 20 December 2023 20:41:11 +0000 (0:00:00.021) 0:00:28.984 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/run_test.yml:36 Wednesday 20 December 2023 20:41:11 +0000 (0:00:00.209) 0:00:29.193 **** included: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 20 December 2023 20:41:11 +0000 (0:00:00.053) 0:00:29.247 **** included: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 20 December 2023 20:41:11 +0000 (0:00:00.048) 0:00:29.295 **** ok: [sut] => { "changed": false, "stat": { "atime": 1703104866.3058326, "block_size": 4096, "blocks": 0, "ctime": 1703104866.3058326, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 38914, "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": 1703104866.3058326, "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-skip_initscriptsyy0h4na4/tests/playbooks/tasks/assert_device_present.yml:5 Wednesday 20 December 2023 20:41:12 +0000 (0:00:00.213) 0:00:29.508 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/assert_profile_present.yml:3 Wednesday 20 December 2023 20:41:12 +0000 (0:00:00.035) 0:00:29.543 **** included: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 20 December 2023 20:41:12 +0000 (0:00:00.070) 0:00:29.614 **** 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-skip_initscriptsyy0h4na4/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 20 December 2023 20:41:12 +0000 (0:00:00.025) 0:00:29.640 **** ok: [sut] => { "changed": false, "stat": { "atime": 1703104866.3666477, "block_size": 4096, "blocks": 8, "ctime": 1703104866.3046465, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 5991249, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1703104866.3046465, "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-skip_initscriptsyy0h4na4/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 20 December 2023 20:41:12 +0000 (0:00:00.202) 0:00:29.842 **** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 20 December 2023 20:41:12 +0000 (0:00:00.026) 0:00:29.869 **** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.023175", "end": "2023-12-20 20:41:12.714864", "rc": 0, "start": "2023-12-20 20:41:12.691689" } 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-skip_initscriptsyy0h4na4/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 20 December 2023 20:41:12 +0000 (0:00:00.224) 0:00:30.093 **** 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-skip_initscriptsyy0h4na4/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 20 December 2023 20:41:12 +0000 (0:00:00.037) 0:00:30.130 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 20 December 2023 20:41:12 +0000 (0:00:00.024) 0:00:30.155 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 20 December 2023 20:41:12 +0000 (0:00:00.029) 0:00:30.184 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 20 December 2023 20:41:12 +0000 (0:00:00.048) 0:00:30.233 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/assert_profile_present.yml:5 Wednesday 20 December 2023 20:41:12 +0000 (0:00:00.024) 0:00:30.258 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/assert_profile_present.yml:10 Wednesday 20 December 2023 20:41:12 +0000 (0:00:00.037) 0:00:30.296 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/assert_profile_present.yml:15 Wednesday 20 December 2023 20:41:12 +0000 (0:00:00.037) 0:00:30.334 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/run_test.yml:42 Wednesday 20 December 2023 20:41:13 +0000 (0:00:00.026) 0:00:30.360 **** TASK [Success in test 'I can activate an existing profile'] ******************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/run_test.yml:47 Wednesday 20 December 2023 20:41:13 +0000 (0:00:00.049) 0:00:30.409 **** ok: [sut] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/run_test.yml:66 Wednesday 20 December 2023 20:41:13 +0000 (0:00:00.057) 0:00:30.467 **** included: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 20 December 2023 20:41:13 +0000 (0:00:00.116) 0:00:30.584 **** 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.065450", "end": "2023-12-20 20:41:13.501307", "rc": 1, "start": "2023-12-20 20:41:13.435857" } STDOUT: Connection 'statebr' (01475e1e-f33f-4f1b-baf9-33eab6d133e3) successfully deleted. STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tests_states.yml:83 Wednesday 20 December 2023 20:41:13 +0000 (0:00:00.297) 0:00:30.882 **** included: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can remove an existing profile without taking it down] *********** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/run_test.yml:5 Wednesday 20 December 2023 20:41:13 +0000 (0:00:00.060) 0:00:30.942 **** ok: [sut] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/run_test.yml:9 Wednesday 20 December 2023 20:41:13 +0000 (0:00:00.038) 0:00:30.981 **** 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-skip_initscriptsyy0h4na4/tests/playbooks/tasks/run_test.yml:21 Wednesday 20 December 2023 20:41:13 +0000 (0:00:00.078) 0:00:31.060 **** included: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 20 December 2023 20:41:13 +0000 (0:00:00.069) 0:00:31.129 **** included: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 20 December 2023 20:41:13 +0000 (0:00:00.054) 0:00:31.184 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003239", "end": "2023-12-20 20:41:14.010633", "rc": 0, "start": "2023-12-20 20:41:14.007394" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 20 December 2023 20:41:14 +0000 (0:00:00.218) 0:00:31.402 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 20 December 2023 20:41:14 +0000 (0:00:00.030) 0:00:31.432 **** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/run_test.yml:24 Wednesday 20 December 2023 20:41:14 +0000 (0:00:00.024) 0:00:31.456 **** included: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 20 December 2023 20:41:14 +0000 (0:00:00.055) 0:00:31.512 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 20 December 2023 20:41:14 +0000 (0:00:00.064) 0:00:31.577 **** included: /WORKDIR/git-skip_initscriptsyy0h4na4/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-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 20 December 2023 20:41:14 +0000 (0:00:00.042) 0:00:31.619 **** 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-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 20 December 2023 20:41:14 +0000 (0:00:00.026) 0:00:31.645 **** 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-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 20 December 2023 20:41:14 +0000 (0:00:00.021) 0:00:31.666 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 20 December 2023 20:41:14 +0000 (0:00:00.021) 0:00:31.688 **** 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-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 20 December 2023 20:41:15 +0000 (0:00:01.607) 0:00:33.295 **** 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-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 20 December 2023 20:41:17 +0000 (0:00:01.343) 0:00:34.639 **** 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-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 20 December 2023 20:41:17 +0000 (0:00:00.025) 0:00:34.665 **** 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-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 20 December 2023 20:41:17 +0000 (0:00:00.028) 0:00:34.693 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 20 December 2023 20:41:17 +0000 (0:00:00.026) 0:00:34.719 **** 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-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 20 December 2023 20:41:17 +0000 (0:00:00.072) 0:00:34.792 **** 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-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 20 December 2023 20:41:17 +0000 (0:00:00.038) 0:00:34.831 **** 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-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 20 December 2023 20:41:17 +0000 (0:00:00.033) 0:00:34.864 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 20 December 2023 20:41:17 +0000 (0:00:00.034) 0:00:34.898 **** 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-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 20 December 2023 20:41:17 +0000 (0:00:00.360) 0:00:35.258 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 20 December 2023 20:41:17 +0000 (0:00:00.049) 0:00:35.308 **** 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-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 20 December 2023 20:41:17 +0000 (0:00:00.028) 0:00:35.337 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 20 December 2023 20:41:18 +0000 (0:00:00.031) 0:00:35.368 **** 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, b53e3639-fe30-49fd-bc23-77526faf654f TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 20 December 2023 20:41:18 +0000 (0:00:00.523) 0:00:35.892 **** 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-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 20 December 2023 20:41:18 +0000 (0:00:00.023) 0:00:35.915 **** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, b53e3639-fe30-49fd-bc23-77526faf654f" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 20 December 2023 20:41:18 +0000 (0:00:00.026) 0:00:35.941 **** 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, b53e3639-fe30-49fd-bc23-77526faf654f\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, b53e3639-fe30-49fd-bc23-77526faf654f" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 20 December 2023 20:41:18 +0000 (0:00:00.024) 0:00:35.966 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 20 December 2023 20:41:18 +0000 (0:00:00.022) 0:00:35.988 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 20 December 2023 20:41:18 +0000 (0:00:00.196) 0:00:36.185 **** 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, b53e3639-fe30-49fd-bc23-77526faf654f\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, b53e3639-fe30-49fd-bc23-77526faf654f" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/activate_profile.yml:3 Wednesday 20 December 2023 20:41:18 +0000 (0:00:00.023) 0:00:36.209 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 20 December 2023 20:41:18 +0000 (0:00:00.044) 0:00:36.253 **** included: /WORKDIR/git-skip_initscriptsyy0h4na4/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-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 20 December 2023 20:41:18 +0000 (0:00:00.048) 0:00:36.302 **** 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-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 20 December 2023 20:41:19 +0000 (0:00:00.080) 0:00:36.382 **** 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-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 20 December 2023 20:41:19 +0000 (0:00:00.025) 0:00:36.408 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 20 December 2023 20:41:19 +0000 (0:00:00.036) 0:00:36.444 **** 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-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 20 December 2023 20:41:20 +0000 (0:00:01.668) 0:00:38.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-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 20 December 2023 20:41:22 +0000 (0:00:01.368) 0:00:39.482 **** 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-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 20 December 2023 20:41:22 +0000 (0:00:00.028) 0:00:39.510 **** 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-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 20 December 2023 20:41:22 +0000 (0:00:00.026) 0:00:39.537 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 20 December 2023 20:41:22 +0000 (0:00:00.032) 0:00:39.570 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 20 December 2023 20:41:22 +0000 (0:00:00.053) 0:00:39.623 **** 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-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 20 December 2023 20:41:22 +0000 (0:00:00.050) 0:00:39.673 **** 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-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 20 December 2023 20:41:22 +0000 (0:00:00.036) 0:00:39.710 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 20 December 2023 20:41:22 +0000 (0:00:00.041) 0:00:39.751 **** 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-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 20 December 2023 20:41:22 +0000 (0:00:00.350) 0:00:40.102 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 20 December 2023 20:41:22 +0000 (0:00:00.032) 0:00:40.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 : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 20 December 2023 20:41:22 +0000 (0:00:00.045) 0:00:40.180 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 20 December 2023 20:41:22 +0000 (0:00:00.030) 0:00:40.210 **** 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, b53e3639-fe30-49fd-bc23-77526faf654f skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 20 December 2023 20:41:23 +0000 (0:00:00.423) 0:00:40.633 **** 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-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 20 December 2023 20:41:23 +0000 (0:00:00.031) 0:00:40.664 **** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, b53e3639-fe30-49fd-bc23-77526faf654f skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 20 December 2023 20:41:23 +0000 (0:00:00.035) 0:00:40.700 **** 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, b53e3639-fe30-49fd-bc23-77526faf654f skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, b53e3639-fe30-49fd-bc23-77526faf654f skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 20 December 2023 20:41:23 +0000 (0:00:00.026) 0:00:40.726 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 20 December 2023 20:41:23 +0000 (0:00:00.042) 0:00:40.768 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/run_test.yml:30 Wednesday 20 December 2023 20:41:23 +0000 (0:00:00.211) 0:00:40.979 **** included: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/remove_profile.yml:3 Wednesday 20 December 2023 20:41:23 +0000 (0:00:00.061) 0:00:41.041 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 20 December 2023 20:41:23 +0000 (0:00:00.081) 0:00:41.122 **** included: /WORKDIR/git-skip_initscriptsyy0h4na4/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-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 20 December 2023 20:41:23 +0000 (0:00:00.086) 0:00:41.209 **** 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-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 20 December 2023 20:41:23 +0000 (0:00:00.035) 0:00:41.244 **** 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-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 20 December 2023 20:41:23 +0000 (0:00:00.030) 0:00:41.275 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 20 December 2023 20:41:23 +0000 (0:00:00.051) 0:00:41.326 **** 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-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 20 December 2023 20:41:25 +0000 (0:00:01.641) 0:00:42.967 **** 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-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 20 December 2023 20:41:26 +0000 (0:00:01.368) 0:00:44.336 **** 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-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 20 December 2023 20:41:27 +0000 (0:00:00.034) 0:00:44.371 **** 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-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 20 December 2023 20:41:27 +0000 (0:00:00.035) 0:00:44.406 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 20 December 2023 20:41:27 +0000 (0:00:00.042) 0:00:44.449 **** 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-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 20 December 2023 20:41:27 +0000 (0:00:00.064) 0:00:44.513 **** 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-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 20 December 2023 20:41:27 +0000 (0:00:00.029) 0:00:44.543 **** 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-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 20 December 2023 20:41:27 +0000 (0:00:00.027) 0:00:44.571 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 20 December 2023 20:41:27 +0000 (0:00:00.052) 0:00:44.623 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 20 December 2023 20:41:27 +0000 (0:00:00.428) 0:00:45.052 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 20 December 2023 20:41:27 +0000 (0:00:00.035) 0:00:45.087 **** 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-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 20 December 2023 20:41:27 +0000 (0:00:00.023) 0:00:45.111 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 20 December 2023 20:41:27 +0000 (0:00:00.035) 0:00:45.146 **** 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-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 20 December 2023 20:41:28 +0000 (0:00:00.409) 0:00:45.556 **** 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-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 20 December 2023 20:41:28 +0000 (0:00:00.063) 0:00:45.619 **** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 20 December 2023 20:41:28 +0000 (0:00:00.139) 0:00:45.759 **** 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-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 20 December 2023 20:41:28 +0000 (0:00:00.121) 0:00:45.881 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 20 December 2023 20:41:28 +0000 (0:00:00.064) 0:00:45.945 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/run_test.yml:36 Wednesday 20 December 2023 20:41:28 +0000 (0:00:00.226) 0:00:46.171 **** included: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 20 December 2023 20:41:28 +0000 (0:00:00.108) 0:00:46.279 **** included: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 20 December 2023 20:41:29 +0000 (0:00:00.089) 0:00:46.369 **** ok: [sut] => { "changed": false, "stat": { "atime": 1703104878.440733, "block_size": 4096, "blocks": 0, "ctime": 1703104878.440733, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 39045, "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": 1703104878.440733, "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-skip_initscriptsyy0h4na4/tests/playbooks/tasks/assert_device_present.yml:5 Wednesday 20 December 2023 20:41:29 +0000 (0:00:00.256) 0:00:46.626 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/assert_profile_absent.yml:3 Wednesday 20 December 2023 20:41:29 +0000 (0:00:00.028) 0:00:46.654 **** included: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 20 December 2023 20:41:29 +0000 (0:00:00.039) 0:00:46.694 **** 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-skip_initscriptsyy0h4na4/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 20 December 2023 20:41:29 +0000 (0:00:00.026) 0:00:46.720 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 20 December 2023 20:41:29 +0000 (0:00:00.242) 0:00:46.963 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 20 December 2023 20:41:29 +0000 (0:00:00.036) 0:00:46.999 **** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.023318", "end": "2023-12-20 20:41:29.863667", "rc": 1, "start": "2023-12-20 20:41:29.840349" } 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-skip_initscriptsyy0h4na4/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 20 December 2023 20:41:29 +0000 (0:00:00.285) 0:00:47.285 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 20 December 2023 20:41:29 +0000 (0:00:00.031) 0:00:47.317 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 20 December 2023 20:41:30 +0000 (0:00:00.029) 0:00:47.346 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 20 December 2023 20:41:30 +0000 (0:00:00.025) 0:00:47.372 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 20 December 2023 20:41:30 +0000 (0:00:00.040) 0:00:47.413 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/assert_profile_absent.yml:5 Wednesday 20 December 2023 20:41:30 +0000 (0:00:00.053) 0:00:47.466 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/run_test.yml:42 Wednesday 20 December 2023 20:41:30 +0000 (0:00:00.049) 0:00:47.516 **** TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/run_test.yml:47 Wednesday 20 December 2023 20:41:30 +0000 (0:00:00.029) 0:00:47.545 **** ok: [sut] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/run_test.yml:66 Wednesday 20 December 2023 20:41:30 +0000 (0:00:00.029) 0:00:47.575 **** included: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 20 December 2023 20:41:30 +0000 (0:00:00.073) 0:00:47.648 **** 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.081804", "end": "2023-12-20 20:41:30.559179", "rc": 1, "start": "2023-12-20 20:41:30.477375" } STDOUT: Connection 'statebr' (b53e3639-fe30-49fd-bc23-77526faf654f) successfully deleted. STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tests_states.yml:103 Wednesday 20 December 2023 20:41:30 +0000 (0:00:00.284) 0:00:47.933 **** included: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can take a profile down that is absent] ************************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/run_test.yml:5 Wednesday 20 December 2023 20:41:30 +0000 (0:00:00.038) 0:00:47.972 **** ok: [sut] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/run_test.yml:9 Wednesday 20 December 2023 20:41:30 +0000 (0:00:00.024) 0:00:47.997 **** 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-skip_initscriptsyy0h4na4/tests/playbooks/tasks/run_test.yml:21 Wednesday 20 December 2023 20:41:30 +0000 (0:00:00.054) 0:00:48.051 **** included: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 20 December 2023 20:41:30 +0000 (0:00:00.092) 0:00:48.144 **** included: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 20 December 2023 20:41:30 +0000 (0:00:00.038) 0:00:48.182 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003558", "end": "2023-12-20 20:41:31.010073", "rc": 0, "start": "2023-12-20 20:41:31.006515" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 20 December 2023 20:41:31 +0000 (0:00:00.212) 0:00:48.394 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 20 December 2023 20:41:31 +0000 (0:00:00.042) 0:00:48.437 **** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/run_test.yml:24 Wednesday 20 December 2023 20:41:31 +0000 (0:00:00.027) 0:00:48.465 **** included: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 20 December 2023 20:41:31 +0000 (0:00:00.091) 0:00:48.557 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 20 December 2023 20:41:31 +0000 (0:00:00.045) 0:00:48.602 **** included: /WORKDIR/git-skip_initscriptsyy0h4na4/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-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 20 December 2023 20:41:31 +0000 (0:00:00.048) 0:00:48.650 **** 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-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 20 December 2023 20:41:31 +0000 (0:00:00.031) 0:00:48.682 **** 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-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 20 December 2023 20:41:31 +0000 (0:00:00.048) 0:00:48.730 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 20 December 2023 20:41:31 +0000 (0:00:00.109) 0:00:48.839 **** 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-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 20 December 2023 20:41:33 +0000 (0:00:01.634) 0:00:50.474 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 20 December 2023 20:41:34 +0000 (0:00:01.357) 0:00:51.832 **** 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-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 20 December 2023 20:41:34 +0000 (0:00:00.046) 0:00:51.878 **** 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-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 20 December 2023 20:41:34 +0000 (0:00:00.057) 0:00:51.936 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 20 December 2023 20:41:34 +0000 (0:00:00.052) 0:00:51.988 **** 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-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 20 December 2023 20:41:34 +0000 (0:00:00.104) 0:00:52.092 **** 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-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 20 December 2023 20:41:34 +0000 (0:00:00.040) 0:00:52.133 **** 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-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 20 December 2023 20:41:34 +0000 (0:00:00.082) 0:00:52.216 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 20 December 2023 20:41:34 +0000 (0:00:00.039) 0:00:52.255 **** 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-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 20 December 2023 20:41:35 +0000 (0:00:00.418) 0:00:52.674 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 20 December 2023 20:41:35 +0000 (0:00:00.037) 0:00:52.711 **** 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-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 20 December 2023 20:41:35 +0000 (0:00:00.030) 0:00:52.742 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 20 December 2023 20:41:35 +0000 (0:00:00.037) 0:00:52.780 **** 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, bc258d0e-8021-4ffa-849a-b8eec4d7134a TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 20 December 2023 20:41:35 +0000 (0:00:00.460) 0:00:53.241 **** 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-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 20 December 2023 20:41:35 +0000 (0:00:00.062) 0:00:53.303 **** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, bc258d0e-8021-4ffa-849a-b8eec4d7134a" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 20 December 2023 20:41:36 +0000 (0:00:00.044) 0:00:53.348 **** 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, bc258d0e-8021-4ffa-849a-b8eec4d7134a\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, bc258d0e-8021-4ffa-849a-b8eec4d7134a" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 20 December 2023 20:41:36 +0000 (0:00:00.054) 0:00:53.402 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 20 December 2023 20:41:36 +0000 (0:00:00.034) 0:00:53.436 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 20 December 2023 20:41:36 +0000 (0:00:00.221) 0:00:53.658 **** 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, bc258d0e-8021-4ffa-849a-b8eec4d7134a\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, bc258d0e-8021-4ffa-849a-b8eec4d7134a" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/activate_profile.yml:3 Wednesday 20 December 2023 20:41:36 +0000 (0:00:00.036) 0:00:53.694 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 20 December 2023 20:41:36 +0000 (0:00:00.087) 0:00:53.782 **** included: /WORKDIR/git-skip_initscriptsyy0h4na4/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-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 20 December 2023 20:41:36 +0000 (0:00:00.055) 0:00:53.837 **** 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-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 20 December 2023 20:41:36 +0000 (0:00:00.031) 0:00:53.868 **** 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-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 20 December 2023 20:41:36 +0000 (0:00:00.022) 0:00:53.891 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 20 December 2023 20:41:36 +0000 (0:00:00.023) 0:00:53.915 **** 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-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 20 December 2023 20:41:38 +0000 (0:00:01.647) 0:00:55.562 **** 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-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 20 December 2023 20:41:39 +0000 (0:00:01.465) 0:00:57.028 **** 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-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 20 December 2023 20:41:39 +0000 (0:00:00.112) 0:00:57.141 **** 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-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 20 December 2023 20:41:39 +0000 (0:00:00.041) 0:00:57.182 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 20 December 2023 20:41:39 +0000 (0:00:00.045) 0:00:57.227 **** 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-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 20 December 2023 20:41:39 +0000 (0:00:00.079) 0:00:57.306 **** 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-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 20 December 2023 20:41:40 +0000 (0:00:00.052) 0:00:57.359 **** 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-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 20 December 2023 20:41:40 +0000 (0:00:00.027) 0:00:57.387 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 20 December 2023 20:41:40 +0000 (0:00:00.036) 0:00:57.423 **** 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-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 20 December 2023 20:41:40 +0000 (0:00:00.370) 0:00:57.793 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 20 December 2023 20:41:40 +0000 (0:00:00.037) 0:00:57.831 **** 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-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 20 December 2023 20:41:40 +0000 (0:00:00.044) 0:00:57.875 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 20 December 2023 20:41:40 +0000 (0:00:00.031) 0:00:57.907 **** 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, bc258d0e-8021-4ffa-849a-b8eec4d7134a skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 20 December 2023 20:41:40 +0000 (0:00:00.380) 0:00:58.288 **** 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-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 20 December 2023 20:41:40 +0000 (0:00:00.022) 0:00:58.310 **** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, bc258d0e-8021-4ffa-849a-b8eec4d7134a skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 20 December 2023 20:41:40 +0000 (0:00:00.026) 0:00:58.337 **** 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, bc258d0e-8021-4ffa-849a-b8eec4d7134a skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, bc258d0e-8021-4ffa-849a-b8eec4d7134a skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 20 December 2023 20:41:41 +0000 (0:00:00.030) 0:00:58.368 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 20 December 2023 20:41:41 +0000 (0:00:00.090) 0:00:58.459 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/remove_profile.yml:3 Wednesday 20 December 2023 20:41:41 +0000 (0:00:00.218) 0:00:58.677 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 20 December 2023 20:41:41 +0000 (0:00:00.049) 0:00:58.727 **** included: /WORKDIR/git-skip_initscriptsyy0h4na4/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-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 20 December 2023 20:41:41 +0000 (0:00:00.072) 0:00:58.800 **** 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-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 20 December 2023 20:41:41 +0000 (0:00:00.031) 0:00:58.831 **** 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-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 20 December 2023 20:41:41 +0000 (0:00:00.024) 0:00:58.855 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 20 December 2023 20:41:41 +0000 (0:00:00.044) 0:00:58.899 **** 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-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 20 December 2023 20:41:43 +0000 (0:00:01.637) 0:01:00.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 : Print network provider] ********************* task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 20 December 2023 20:41:44 +0000 (0:00:01.359) 0:01:01.896 **** 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-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 20 December 2023 20:41:44 +0000 (0:00:00.036) 0:01:01.932 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 20 December 2023 20:41:44 +0000 (0:00:00.044) 0:01:01.976 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 20 December 2023 20:41:44 +0000 (0:00:00.076) 0:01:02.053 **** 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-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 20 December 2023 20:41:44 +0000 (0:00:00.060) 0:01:02.114 **** 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-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 20 December 2023 20:41:44 +0000 (0:00:00.033) 0:01:02.147 **** 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-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 20 December 2023 20:41:44 +0000 (0:00:00.041) 0:01:02.188 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 20 December 2023 20:41:44 +0000 (0:00:00.038) 0:01:02.227 **** 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-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 20 December 2023 20:41:45 +0000 (0:00:00.395) 0:01:02.622 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 20 December 2023 20:41:45 +0000 (0:00:00.027) 0:01:02.650 **** 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-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 20 December 2023 20:41:45 +0000 (0:00:00.021) 0:01:02.672 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 20 December 2023 20:41:45 +0000 (0:00:00.021) 0:01:02.693 **** 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-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 20 December 2023 20:41:45 +0000 (0:00:00.401) 0:01:03.094 **** 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-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 20 December 2023 20:41:45 +0000 (0:00:00.026) 0:01:03.120 **** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 20 December 2023 20:41:45 +0000 (0:00:00.025) 0:01:03.146 **** 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-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 20 December 2023 20:41:45 +0000 (0:00:00.026) 0:01:03.172 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 20 December 2023 20:41:45 +0000 (0:00:00.028) 0:01:03.201 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/run_test.yml:30 Wednesday 20 December 2023 20:41:46 +0000 (0:00:00.206) 0:01:03.407 **** included: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/remove+down_profile.yml:3 Wednesday 20 December 2023 20:41:46 +0000 (0:00:00.088) 0:01:03.496 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 20 December 2023 20:41:46 +0000 (0:00:00.061) 0:01:03.558 **** included: /WORKDIR/git-skip_initscriptsyy0h4na4/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-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 20 December 2023 20:41:46 +0000 (0:00:00.051) 0:01:03.610 **** 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-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 20 December 2023 20:41:46 +0000 (0:00:00.064) 0:01:03.674 **** 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-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 20 December 2023 20:41:46 +0000 (0:00:00.058) 0:01:03.733 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 20 December 2023 20:41:46 +0000 (0:00:00.105) 0:01:03.838 **** 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-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 20 December 2023 20:41:48 +0000 (0:00:01.639) 0:01:05.477 **** 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-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 20 December 2023 20:41:49 +0000 (0:00:01.360) 0:01:06.838 **** 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-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 20 December 2023 20:41:49 +0000 (0:00:00.048) 0:01:06.886 **** 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-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 20 December 2023 20:41:49 +0000 (0:00:00.030) 0:01:06.916 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 20 December 2023 20:41:49 +0000 (0:00:00.026) 0:01:06.943 **** 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-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 20 December 2023 20:41:49 +0000 (0:00:00.053) 0:01:06.996 **** 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-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 20 December 2023 20:41:49 +0000 (0:00:00.027) 0:01:07.024 **** 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-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 20 December 2023 20:41:49 +0000 (0:00:00.083) 0:01:07.107 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 20 December 2023 20:41:49 +0000 (0:00:00.045) 0:01:07.153 **** 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-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 20 December 2023 20:41:50 +0000 (0:00:00.378) 0:01:07.532 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 20 December 2023 20:41:50 +0000 (0:00:00.066) 0:01:07.598 **** 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-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 20 December 2023 20:41:50 +0000 (0:00:00.037) 0:01:07.636 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 20 December 2023 20:41:50 +0000 (0:00:00.055) 0:01:07.691 **** 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-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 20 December 2023 20:41:50 +0000 (0:00:00.627) 0:01:08.319 **** 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-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 20 December 2023 20:41:51 +0000 (0:00:00.058) 0:01:08.377 **** 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-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 20 December 2023 20:41:51 +0000 (0:00:00.049) 0:01:08.426 **** 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-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 20 December 2023 20:41:51 +0000 (0:00:00.040) 0:01:08.466 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 20 December 2023 20:41:51 +0000 (0:00:00.033) 0:01:08.499 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/run_test.yml:36 Wednesday 20 December 2023 20:41:51 +0000 (0:00:00.230) 0:01:08.729 **** included: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/assert_profile_absent.yml:3 Wednesday 20 December 2023 20:41:51 +0000 (0:00:00.060) 0:01:08.790 **** included: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 20 December 2023 20:41:51 +0000 (0:00:00.111) 0:01:08.902 **** 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-skip_initscriptsyy0h4na4/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 20 December 2023 20:41:51 +0000 (0:00:00.023) 0:01:08.926 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 20 December 2023 20:41:51 +0000 (0:00:00.232) 0:01:09.159 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 20 December 2023 20:41:51 +0000 (0:00:00.062) 0:01:09.221 **** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022795", "end": "2023-12-20 20:41:52.089500", "rc": 1, "start": "2023-12-20 20:41:52.066705" } 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-skip_initscriptsyy0h4na4/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 20 December 2023 20:41:52 +0000 (0:00:00.263) 0:01:09.484 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 20 December 2023 20:41:52 +0000 (0:00:00.035) 0:01:09.519 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 20 December 2023 20:41:52 +0000 (0:00:00.023) 0:01:09.543 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 20 December 2023 20:41:52 +0000 (0:00:00.026) 0:01:09.569 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 20 December 2023 20:41:52 +0000 (0:00:00.045) 0:01:09.615 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/assert_profile_absent.yml:5 Wednesday 20 December 2023 20:41:52 +0000 (0:00:00.026) 0:01:09.641 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/run_test.yml:42 Wednesday 20 December 2023 20:41:52 +0000 (0:00:00.028) 0:01:09.669 **** included: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/assert_device_absent.yml:3 Wednesday 20 December 2023 20:41:52 +0000 (0:00:00.044) 0:01:09.713 **** included: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 20 December 2023 20:41:52 +0000 (0:00:00.038) 0:01:09.752 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/assert_device_absent.yml:5 Wednesday 20 December 2023 20:41:52 +0000 (0:00:00.239) 0:01:09.991 **** 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-skip_initscriptsyy0h4na4/tests/playbooks/tasks/run_test.yml:47 Wednesday 20 December 2023 20:41:52 +0000 (0:00:00.031) 0:01:10.022 **** ok: [sut] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/run_test.yml:66 Wednesday 20 December 2023 20:41:52 +0000 (0:00:00.026) 0:01:10.049 **** included: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 20 December 2023 20:41:52 +0000 (0:00:00.063) 0:01:10.112 **** 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.044726", "end": "2023-12-20 20:41:52.985992", "rc": 1, "start": "2023-12-20 20:41:52.941266" } 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-skip_initscriptsyy0h4na4/tests/playbooks/tests_states.yml:126 Wednesday 20 December 2023 20:41:53 +0000 (0:00:00.267) 0:01:10.380 **** included: /WORKDIR/git-skip_initscriptsyy0h4na4/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-skip_initscriptsyy0h4na4/tests/playbooks/tasks/run_test.yml:5 Wednesday 20 December 2023 20:41:53 +0000 (0:00:00.055) 0:01:10.436 **** ok: [sut] => {} MSG: ########## I will not get an error when I try to remove an absent profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/run_test.yml:9 Wednesday 20 December 2023 20:41:53 +0000 (0:00:00.030) 0:01:10.467 **** 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-skip_initscriptsyy0h4na4/tests/playbooks/tasks/run_test.yml:21 Wednesday 20 December 2023 20:41:53 +0000 (0:00:00.059) 0:01:10.526 **** included: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 20 December 2023 20:41:53 +0000 (0:00:00.058) 0:01:10.584 **** included: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 20 December 2023 20:41:53 +0000 (0:00:00.038) 0:01:10.623 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003516", "end": "2023-12-20 20:41:53.453297", "rc": 0, "start": "2023-12-20 20:41:53.449781" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 20 December 2023 20:41:53 +0000 (0:00:00.209) 0:01:10.832 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 20 December 2023 20:41:53 +0000 (0:00:00.066) 0:01:10.899 **** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/run_test.yml:24 Wednesday 20 December 2023 20:41:53 +0000 (0:00:00.045) 0:01:10.944 **** included: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 20 December 2023 20:41:53 +0000 (0:00:00.052) 0:01:10.997 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 20 December 2023 20:41:53 +0000 (0:00:00.051) 0:01:11.048 **** included: /WORKDIR/git-skip_initscriptsyy0h4na4/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-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 20 December 2023 20:41:53 +0000 (0:00:00.057) 0:01:11.106 **** 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-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 20 December 2023 20:41:53 +0000 (0:00:00.028) 0:01:11.134 **** 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-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 20 December 2023 20:41:53 +0000 (0:00:00.023) 0:01:11.158 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 20 December 2023 20:41:53 +0000 (0:00:00.027) 0:01:11.185 **** 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-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 20 December 2023 20:41:55 +0000 (0:00:01.745) 0:01:12.931 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 20 December 2023 20:41:56 +0000 (0:00:01.335) 0:01:14.267 **** 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-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 20 December 2023 20:41:56 +0000 (0:00:00.036) 0:01:14.303 **** 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-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 20 December 2023 20:41:56 +0000 (0:00:00.035) 0:01:14.338 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 20 December 2023 20:41:57 +0000 (0:00:00.024) 0:01:14.362 **** 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-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 20 December 2023 20:41:57 +0000 (0:00:00.089) 0:01:14.452 **** 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-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 20 December 2023 20:41:57 +0000 (0:00:00.061) 0:01:14.514 **** 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-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 20 December 2023 20:41:57 +0000 (0:00:00.037) 0:01:14.551 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 20 December 2023 20:41:57 +0000 (0:00:00.086) 0:01:14.638 **** 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-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 20 December 2023 20:41:57 +0000 (0:00:00.422) 0:01:15.060 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 20 December 2023 20:41:57 +0000 (0:00:00.062) 0:01:15.123 **** 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-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 20 December 2023 20:41:57 +0000 (0:00:00.024) 0:01:15.148 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 20 December 2023 20:41:57 +0000 (0:00:00.030) 0:01:15.179 **** 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, f941bdf7-cbe0-4da9-a4bc-2b3e3d7c0047 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 20 December 2023 20:41:58 +0000 (0:00:00.419) 0:01:15.598 **** 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-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 20 December 2023 20:41:58 +0000 (0:00:00.031) 0:01:15.629 **** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, f941bdf7-cbe0-4da9-a4bc-2b3e3d7c0047" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 20 December 2023 20:41:58 +0000 (0:00:00.026) 0:01:15.656 **** 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, f941bdf7-cbe0-4da9-a4bc-2b3e3d7c0047\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, f941bdf7-cbe0-4da9-a4bc-2b3e3d7c0047" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 20 December 2023 20:41:58 +0000 (0:00:00.044) 0:01:15.700 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 20 December 2023 20:41:58 +0000 (0:00:00.046) 0:01:15.746 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 20 December 2023 20:41:58 +0000 (0:00:00.197) 0:01:15.944 **** 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, f941bdf7-cbe0-4da9-a4bc-2b3e3d7c0047\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, f941bdf7-cbe0-4da9-a4bc-2b3e3d7c0047" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/activate_profile.yml:3 Wednesday 20 December 2023 20:41:58 +0000 (0:00:00.041) 0:01:15.985 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 20 December 2023 20:41:58 +0000 (0:00:00.038) 0:01:16.023 **** included: /WORKDIR/git-skip_initscriptsyy0h4na4/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-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 20 December 2023 20:41:58 +0000 (0:00:00.053) 0:01:16.077 **** 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-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 20 December 2023 20:41:58 +0000 (0:00:00.056) 0:01:16.134 **** 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-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 20 December 2023 20:41:58 +0000 (0:00:00.097) 0:01:16.231 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 20 December 2023 20:41:58 +0000 (0:00:00.036) 0:01:16.268 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 20 December 2023 20:42:00 +0000 (0:00:01.636) 0:01:17.904 **** 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-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 20 December 2023 20:42:01 +0000 (0:00:01.344) 0:01:19.248 **** 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-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 20 December 2023 20:42:01 +0000 (0:00:00.028) 0:01:19.277 **** 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-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 20 December 2023 20:42:01 +0000 (0:00:00.023) 0:01:19.301 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 20 December 2023 20:42:01 +0000 (0:00:00.023) 0:01:19.324 **** 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-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 20 December 2023 20:42:02 +0000 (0:00:00.051) 0:01:19.376 **** 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-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 20 December 2023 20:42:02 +0000 (0:00:00.073) 0:01:19.450 **** 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-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 20 December 2023 20:42:02 +0000 (0:00:00.036) 0:01:19.486 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 20 December 2023 20:42:02 +0000 (0:00:00.039) 0:01:19.526 **** 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-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 20 December 2023 20:42:02 +0000 (0:00:00.375) 0:01:19.901 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 20 December 2023 20:42:02 +0000 (0:00:00.056) 0:01:19.958 **** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 20 December 2023 20:42:02 +0000 (0:00:00.093) 0:01:20.052 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 20 December 2023 20:42:02 +0000 (0:00:00.073) 0:01:20.125 **** 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, f941bdf7-cbe0-4da9-a4bc-2b3e3d7c0047 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 20 December 2023 20:42:03 +0000 (0:00:00.553) 0:01:20.679 **** 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-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 20 December 2023 20:42:03 +0000 (0:00:00.052) 0:01:20.731 **** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, f941bdf7-cbe0-4da9-a4bc-2b3e3d7c0047 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 20 December 2023 20:42:03 +0000 (0:00:00.040) 0:01:20.771 **** 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, f941bdf7-cbe0-4da9-a4bc-2b3e3d7c0047 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, f941bdf7-cbe0-4da9-a4bc-2b3e3d7c0047 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 20 December 2023 20:42:03 +0000 (0:00:00.025) 0:01:20.797 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 20 December 2023 20:42:03 +0000 (0:00:00.024) 0:01:20.822 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/remove+down_profile.yml:3 Wednesday 20 December 2023 20:42:03 +0000 (0:00:00.238) 0:01:21.061 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 20 December 2023 20:42:03 +0000 (0:00:00.081) 0:01:21.142 **** included: /WORKDIR/git-skip_initscriptsyy0h4na4/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-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 20 December 2023 20:42:03 +0000 (0:00:00.054) 0:01:21.197 **** 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-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 20 December 2023 20:42:03 +0000 (0:00:00.030) 0:01:21.227 **** 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-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 20 December 2023 20:42:03 +0000 (0:00:00.027) 0:01:21.255 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 20 December 2023 20:42:03 +0000 (0:00:00.037) 0:01:21.292 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 20 December 2023 20:42:05 +0000 (0:00:01.591) 0:01:22.883 **** 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-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 20 December 2023 20:42:06 +0000 (0:00:01.423) 0:01:24.307 **** 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-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 20 December 2023 20:42:07 +0000 (0:00:00.068) 0:01:24.375 **** 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-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 20 December 2023 20:42:07 +0000 (0:00:00.048) 0:01:24.424 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 20 December 2023 20:42:07 +0000 (0:00:00.032) 0:01:24.457 **** 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-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 20 December 2023 20:42:07 +0000 (0:00:00.077) 0:01:24.534 **** 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-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 20 December 2023 20:42:07 +0000 (0:00:00.050) 0:01:24.585 **** 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-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 20 December 2023 20:42:07 +0000 (0:00:00.065) 0:01:24.651 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 20 December 2023 20:42:07 +0000 (0:00:00.124) 0:01:24.775 **** 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-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 20 December 2023 20:42:07 +0000 (0:00:00.401) 0:01:25.177 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 20 December 2023 20:42:07 +0000 (0:00:00.067) 0:01:25.245 **** 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-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 20 December 2023 20:42:07 +0000 (0:00:00.029) 0:01:25.274 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 20 December 2023 20:42:07 +0000 (0:00:00.035) 0:01:25.310 **** 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-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 20 December 2023 20:42:08 +0000 (0:00:00.456) 0:01:25.767 **** 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-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 20 December 2023 20:42:08 +0000 (0:00:00.027) 0:01:25.794 **** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 20 December 2023 20:42:08 +0000 (0:00:00.037) 0:01:25.831 **** 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-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 20 December 2023 20:42:08 +0000 (0:00:00.069) 0:01:25.901 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 20 December 2023 20:42:08 +0000 (0:00:00.026) 0:01:25.927 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/run_test.yml:30 Wednesday 20 December 2023 20:42:08 +0000 (0:00:00.204) 0:01:26.132 **** included: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/remove+down_profile.yml:3 Wednesday 20 December 2023 20:42:08 +0000 (0:00:00.042) 0:01:26.174 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 20 December 2023 20:42:08 +0000 (0:00:00.037) 0:01:26.212 **** included: /WORKDIR/git-skip_initscriptsyy0h4na4/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-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 20 December 2023 20:42:08 +0000 (0:00:00.040) 0:01:26.253 **** 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-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 20 December 2023 20:42:08 +0000 (0:00:00.026) 0:01:26.279 **** 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-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 20 December 2023 20:42:08 +0000 (0:00:00.028) 0:01:26.308 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 20 December 2023 20:42:08 +0000 (0:00:00.023) 0:01:26.332 **** 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-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 20 December 2023 20:42:10 +0000 (0:00:01.586) 0:01:27.918 **** 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-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 20 December 2023 20:42:11 +0000 (0:00:01.381) 0:01:29.299 **** 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-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 20 December 2023 20:42:12 +0000 (0:00:00.048) 0:01:29.348 **** 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-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 20 December 2023 20:42:12 +0000 (0:00:00.035) 0:01:29.383 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 20 December 2023 20:42:12 +0000 (0:00:00.030) 0:01:29.414 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 20 December 2023 20:42:12 +0000 (0:00:00.059) 0:01:29.474 **** 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-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 20 December 2023 20:42:12 +0000 (0:00:00.036) 0:01:29.510 **** 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-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 20 December 2023 20:42:12 +0000 (0:00:00.047) 0:01:29.557 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 20 December 2023 20:42:12 +0000 (0:00:00.041) 0:01:29.599 **** 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-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 20 December 2023 20:42:12 +0000 (0:00:00.382) 0:01:29.981 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 20 December 2023 20:42:12 +0000 (0:00:00.025) 0:01:30.007 **** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 20 December 2023 20:42:12 +0000 (0:00:00.021) 0:01:30.029 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 20 December 2023 20:42:12 +0000 (0:00:00.021) 0:01:30.050 **** 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-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 20 December 2023 20:42:13 +0000 (0:00:00.389) 0:01:30.440 **** 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-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 20 December 2023 20:42:13 +0000 (0:00:00.064) 0:01:30.505 **** 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-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 20 December 2023 20:42:13 +0000 (0:00:00.034) 0:01:30.539 **** 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-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 20 December 2023 20:42:13 +0000 (0:00:00.063) 0:01:30.602 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 20 December 2023 20:42:13 +0000 (0:00:00.041) 0:01:30.643 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/run_test.yml:36 Wednesday 20 December 2023 20:42:13 +0000 (0:00:00.214) 0:01:30.858 **** included: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/assert_profile_absent.yml for sut included: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/get_NetworkManager_NVR.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/assert_profile_absent.yml:3 Wednesday 20 December 2023 20:42:13 +0000 (0:00:00.063) 0:01:30.921 **** included: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 20 December 2023 20:42:13 +0000 (0:00:00.065) 0:01:30.986 **** 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-skip_initscriptsyy0h4na4/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 20 December 2023 20:42:13 +0000 (0:00:00.028) 0:01:31.014 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 20 December 2023 20:42:13 +0000 (0:00:00.245) 0:01:31.259 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 20 December 2023 20:42:13 +0000 (0:00:00.027) 0:01:31.287 **** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.023239", "end": "2023-12-20 20:42:14.136610", "rc": 1, "start": "2023-12-20 20:42:14.113371" } 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-skip_initscriptsyy0h4na4/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 20 December 2023 20:42:14 +0000 (0:00:00.243) 0:01:31.530 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 20 December 2023 20:42:14 +0000 (0:00:00.036) 0:01:31.566 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 20 December 2023 20:42:14 +0000 (0:00:00.025) 0:01:31.591 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 20 December 2023 20:42:14 +0000 (0:00:00.028) 0:01:31.620 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 20 December 2023 20:42:14 +0000 (0:00:00.026) 0:01:31.647 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/assert_profile_absent.yml:5 Wednesday 20 December 2023 20:42:14 +0000 (0:00:00.033) 0:01:31.681 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/get_NetworkManager_NVR.yml:7 Wednesday 20 December 2023 20:42:14 +0000 (0:00:00.027) 0:01:31.708 **** ok: [sut] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.945696", "end": "2023-12-20 20:42:15.480072", "rc": 0, "start": "2023-12-20 20:42:14.534376" } STDOUT: NetworkManager-1.40.16-11.el8 TASK [Store NetworkManager version] ******************************************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/get_NetworkManager_NVR.yml:14 Wednesday 20 December 2023 20:42:15 +0000 (0:00:01.160) 0:01:32.869 **** ok: [sut] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.40.16-11.el8" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/get_NetworkManager_NVR.yml:18 Wednesday 20 December 2023 20:42:15 +0000 (0:00:00.033) 0:01:32.902 **** ok: [sut] => { "networkmanager_nvr": "NetworkManager-1.40.16-11.el8" } TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/run_test.yml:42 Wednesday 20 December 2023 20:42:15 +0000 (0:00:00.043) 0:01:32.945 **** included: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/assert_device_absent.yml:3 Wednesday 20 December 2023 20:42:15 +0000 (0:00:00.091) 0:01:33.037 **** included: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 20 December 2023 20:42:15 +0000 (0:00:00.135) 0:01:33.172 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/assert_device_absent.yml:5 Wednesday 20 December 2023 20:42:16 +0000 (0:00:00.266) 0:01:33.439 **** 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-skip_initscriptsyy0h4na4/tests/playbooks/tasks/run_test.yml:47 Wednesday 20 December 2023 20:42:16 +0000 (0:00:00.059) 0:01:33.499 **** 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-skip_initscriptsyy0h4na4/tests/playbooks/tasks/run_test.yml:66 Wednesday 20 December 2023 20:42:16 +0000 (0:00:00.089) 0:01:33.588 **** included: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 20 December 2023 20:42:16 +0000 (0:00:00.054) 0:01:33.643 **** 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.044431", "end": "2023-12-20 20:42:16.519166", "rc": 1, "start": "2023-12-20 20:42:16.474735" } 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 Wednesday 20 December 2023 20:42:16 +0000 (0:00:00.260) 0:01:33.904 **** =============================================================================== linux-system-roles.network : Configure networking connection profiles --- 2.39s /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Enable and start NetworkManager ------------ 2.08s /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:85 linux-system-roles.network : Check which services are running ----------- 1.75s /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.75s /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Configure networking connection profiles --- 1.74s /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Check which services are running ----------- 1.67s /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.66s /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.65s /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.64s /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.64s /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.64s /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.64s /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.63s /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.62s /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.61s /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.61s /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.59s /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.59s /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Enable and start NetworkManager ------------ 1.52s /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:85 linux-system-roles.network : Check which packages are installed --------- 1.49s /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 ---^---^---^---^---^--- # 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. ---^---^---^---^---^---