# 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-bond_options_rewrite73us5rz2/tests/tests_states_nm.yml PLAY [Run playbook 'playbooks/tests_states.yml' with nm as provider] *********** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/tests_states_nm.yml:6 Tuesday 13 February 2024 02:16:57 +0000 (0:00:00.011) 0:00:00.011 ****** ok: [sut] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/tests_states_nm.yml:9 Tuesday 13 February 2024 02:16:58 +0000 (0:00:00.737) 0:00:00.749 ****** included: /WORKDIR/git-bond_options_rewrite73us5rz2/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-bond_options_rewrite73us5rz2/tests/tasks/el_repo_setup.yml:3 Tuesday 13 February 2024 02:16:58 +0000 (0:00:00.021) 0:00:00.770 ****** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/tasks/el_repo_setup.yml:19 Tuesday 13 February 2024 02:16:58 +0000 (0:00:00.396) 0:00:01.167 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/tasks/el_repo_setup.yml:24 Tuesday 13 February 2024 02:16:59 +0000 (0:00:00.274) 0:00:01.442 ****** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/tasks/el_repo_setup.yml:28 Tuesday 13 February 2024 02:16:59 +0000 (0:00:00.019) 0:00:01.462 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/tasks/el_repo_setup.yml:53 Tuesday 13 February 2024 02:16:59 +0000 (0:00:00.017) 0:00:01.479 ****** included: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 8] *********************************************************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/tasks/enable_epel.yml:8 Tuesday 13 February 2024 02:16:59 +0000 (0:00:00.029) 0:00:01.509 ****** 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-bond_options_rewrite73us5rz2/tests/tasks/enable_epel.yml:24 Tuesday 13 February 2024 02:16:59 +0000 (0:00:00.247) 0:00:01.757 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/tasks/enable_epel.yml:30 Tuesday 13 February 2024 02:16:59 +0000 (0:00:00.010) 0:00:01.767 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/tasks/enable_epel.yml:35 Tuesday 13 February 2024 02:16:59 +0000 (0:00:00.010) 0:00:01.778 ****** ok: [sut] => { "changed": false, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:00.266399", "end": "2024-02-13 02:16:59.868682", "rc": 0, "start": "2024-02-13 02:16:59.602283" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/tasks/enable_epel.yml:40 Tuesday 13 February 2024 02:16:59 +0000 (0:00:00.477) 0:00:02.255 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/tests_states_nm.yml:11 Tuesday 13 February 2024 02:16:59 +0000 (0:00:00.009) 0:00:02.265 ****** 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-bond_options_rewrite73us5rz2/tests/playbooks/tests_states.yml:3 Tuesday 13 February 2024 02:16:59 +0000 (0:00:00.009) 0:00:02.274 ****** ok: [sut] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tests_states.yml:11 Tuesday 13 February 2024 02:17:00 +0000 (0:00:00.541) 0:00:02.815 ****** ok: [sut] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tests_states.yml:22 Tuesday 13 February 2024 02:17:00 +0000 (0:00:00.009) 0:00:02.825 ****** included: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile] ******************************************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/run_test.yml:5 Tuesday 13 February 2024 02:17:00 +0000 (0:00:00.015) 0:00:02.840 ****** ok: [sut] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/run_test.yml:9 Tuesday 13 February 2024 02:17:00 +0000 (0:00:00.010) 0:00:02.850 ****** 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-bond_options_rewrite73us5rz2/tests/playbooks/tasks/run_test.yml:21 Tuesday 13 February 2024 02:17:00 +0000 (0:00:00.031) 0:00:02.882 ****** included: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 13 February 2024 02:17:00 +0000 (0:00:00.012) 0:00:02.895 ****** included: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 13 February 2024 02:17:00 +0000 (0:00:00.011) 0:00:02.906 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003683", "end": "2024-02-13 02:17:00.724355", "rc": 0, "start": "2024-02-13 02:17:00.720672" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 13 February 2024 02:17:00 +0000 (0:00:00.204) 0:00:03.111 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 13 February 2024 02:17:00 +0000 (0:00:00.010) 0:00:03.121 ****** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/run_test.yml:24 Tuesday 13 February 2024 02:17:00 +0000 (0:00:00.010) 0:00:03.132 ****** included: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/delete_interface.yml:3 Tuesday 13 February 2024 02:17:00 +0000 (0:00:00.019) 0:00:03.151 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.008494", "end": "2024-02-13 02:17:00.971845", "rc": 1, "start": "2024-02-13 02:17:00.963351" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 13 February 2024 02:17:00 +0000 (0:00:00.204) 0:00:03.356 ****** included: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 13 February 2024 02:17:01 +0000 (0:00:00.013) 0:00:03.370 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 13 February 2024 02:17:01 +0000 (0:00:00.197) 0:00:03.568 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/run_test.yml:30 Tuesday 13 February 2024 02:17:01 +0000 (0:00:00.011) 0:00:03.580 ****** included: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 13 February 2024 02:17:01 +0000 (0:00:00.016) 0:00:03.596 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 13 February 2024 02:17:01 +0000 (0:00:00.031) 0:00:03.628 ****** included: /WORKDIR/git-bond_options_rewrite73us5rz2/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-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 13 February 2024 02:17:01 +0000 (0:00:00.068) 0:00:03.696 ****** 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-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 13 February 2024 02:17:01 +0000 (0:00:00.011) 0:00:03.707 ****** 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-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 13 February 2024 02:17:01 +0000 (0:00:00.009) 0:00:03.717 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 13 February 2024 02:17:01 +0000 (0:00:00.009) 0:00:03.726 ****** 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-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 13 February 2024 02:17:02 +0000 (0:00:01.604) 0:00:05.331 ****** 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-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 13 February 2024 02:17:04 +0000 (0:00:01.566) 0:00:06.898 ****** 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-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 13 February 2024 02:17:04 +0000 (0:00:00.021) 0:00:06.919 ****** 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-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 13 February 2024 02:17:04 +0000 (0:00:00.020) 0:00:06.939 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 13 February 2024 02:17:04 +0000 (0:00:00.019) 0:00:06.958 ****** 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-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 13 February 2024 02:17:04 +0000 (0:00:00.041) 0:00:07.000 ****** 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-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 13 February 2024 02:17:04 +0000 (0:00:00.020) 0:00:07.020 ****** 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-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 13 February 2024 02:17:04 +0000 (0:00:00.019) 0:00:07.040 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 13 February 2024 02:17:04 +0000 (0:00:00.024) 0:00:07.064 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 13 February 2024 02:17:05 +0000 (0:00:00.517) 0:00:07.582 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 13 February 2024 02:17:05 +0000 (0:00:00.025) 0:00:07.607 ****** 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-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 13 February 2024 02:17:05 +0000 (0:00:00.019) 0:00:07.627 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 13 February 2024 02:17:05 +0000 (0:00:00.020) 0:00:07.647 ****** 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, 6c756e6b-ef60-409a-a363-c49891aef547 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 13 February 2024 02:17:06 +0000 (0:00:00.753) 0:00:08.401 ****** 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-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 13 February 2024 02:17:06 +0000 (0:00:00.021) 0:00:08.422 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 6c756e6b-ef60-409a-a363-c49891aef547" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 13 February 2024 02:17:06 +0000 (0:00:00.021) 0:00:08.443 ****** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 6c756e6b-ef60-409a-a363-c49891aef547\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 6c756e6b-ef60-409a-a363-c49891aef547" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 13 February 2024 02:17:06 +0000 (0:00:00.021) 0:00:08.465 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 13 February 2024 02:17:06 +0000 (0:00:00.019) 0:00:08.485 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 13 February 2024 02:17:06 +0000 (0:00:00.276) 0:00:08.762 ****** 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, 6c756e6b-ef60-409a-a363-c49891aef547\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 6c756e6b-ef60-409a-a363-c49891aef547" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/run_test.yml:36 Tuesday 13 February 2024 02:17:06 +0000 (0:00:00.022) 0:00:08.784 ****** included: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 13 February 2024 02:17:06 +0000 (0:00:00.056) 0:00:08.840 ****** included: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 13 February 2024 02:17:06 +0000 (0:00:00.036) 0:00:08.876 ****** 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-bond_options_rewrite73us5rz2/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 13 February 2024 02:17:06 +0000 (0:00:00.020) 0:00:08.897 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1707790626.0277128, "block_size": 4096, "blocks": 8, "ctime": 1707790625.753711, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 5028035, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1707790625.753711, "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-bond_options_rewrite73us5rz2/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 13 February 2024 02:17:06 +0000 (0:00:00.211) 0:00:09.108 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 13 February 2024 02:17:06 +0000 (0:00:00.022) 0:00:09.130 ****** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.134918", "end": "2024-02-13 02:17:07.077126", "rc": 0, "start": "2024-02-13 02:17:06.942208" } 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-bond_options_rewrite73us5rz2/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 13 February 2024 02:17:07 +0000 (0:00:00.344) 0:00:09.474 ****** 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-bond_options_rewrite73us5rz2/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 13 February 2024 02:17:07 +0000 (0:00:00.023) 0:00:09.498 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 13 February 2024 02:17:07 +0000 (0:00:00.022) 0:00:09.520 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 13 February 2024 02:17:07 +0000 (0:00:00.022) 0:00:09.543 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 13 February 2024 02:17:07 +0000 (0:00:00.022) 0:00:09.566 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 13 February 2024 02:17:07 +0000 (0:00:00.022) 0:00:09.588 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 13 February 2024 02:17:07 +0000 (0:00:00.023) 0:00:09.612 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 13 February 2024 02:17:07 +0000 (0:00:00.022) 0:00:09.634 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/run_test.yml:42 Tuesday 13 February 2024 02:17:07 +0000 (0:00:00.042) 0:00:09.677 ****** included: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 13 February 2024 02:17:07 +0000 (0:00:00.043) 0:00:09.720 ****** included: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 13 February 2024 02:17:07 +0000 (0:00:00.036) 0:00:09.756 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1707790625.9506166, "block_size": 4096, "blocks": 0, "ctime": 1707790625.9506166, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 21498, "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": 1707790625.9506166, "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-bond_options_rewrite73us5rz2/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 13 February 2024 02:17:07 +0000 (0:00:00.212) 0:00:09.968 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can create a profile'] ******************************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/run_test.yml:47 Tuesday 13 February 2024 02:17:07 +0000 (0:00:00.024) 0:00:09.993 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/run_test.yml:66 Tuesday 13 February 2024 02:17:07 +0000 (0:00:00.020) 0:00:10.014 ****** included: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 13 February 2024 02:17:07 +0000 (0:00:00.039) 0:00:10.053 ****** 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.060820", "end": "2024-02-13 02:17:07.927893", "rc": 1, "start": "2024-02-13 02:17:07.867073" } STDOUT: Connection 'statebr' (6c756e6b-ef60-409a-a363-c49891aef547) successfully deleted. STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tests_states.yml:45 Tuesday 13 February 2024 02:17:07 +0000 (0:00:00.272) 0:00:10.325 ****** included: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile without autoconnect] ************************ task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/run_test.yml:5 Tuesday 13 February 2024 02:17:07 +0000 (0:00:00.035) 0:00:10.361 ****** ok: [sut] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/run_test.yml:9 Tuesday 13 February 2024 02:17:08 +0000 (0:00:00.021) 0:00:10.382 ****** 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-bond_options_rewrite73us5rz2/tests/playbooks/tasks/run_test.yml:21 Tuesday 13 February 2024 02:17:08 +0000 (0:00:00.062) 0:00:10.445 ****** included: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 13 February 2024 02:17:08 +0000 (0:00:00.035) 0:00:10.480 ****** included: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 13 February 2024 02:17:08 +0000 (0:00:00.032) 0:00:10.513 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003681", "end": "2024-02-13 02:17:08.328909", "rc": 0, "start": "2024-02-13 02:17:08.325228" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 13 February 2024 02:17:08 +0000 (0:00:00.213) 0:00:10.726 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 13 February 2024 02:17:08 +0000 (0:00:00.022) 0:00:10.748 ****** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/run_test.yml:24 Tuesday 13 February 2024 02:17:08 +0000 (0:00:00.021) 0:00:10.770 ****** included: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/delete_interface.yml:3 Tuesday 13 February 2024 02:17:08 +0000 (0:00:00.039) 0:00:10.809 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.006549", "end": "2024-02-13 02:17:08.630573", "rc": 1, "start": "2024-02-13 02:17:08.624024" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 13 February 2024 02:17:08 +0000 (0:00:00.216) 0:00:11.025 ****** included: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 13 February 2024 02:17:08 +0000 (0:00:00.034) 0:00:11.060 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 13 February 2024 02:17:08 +0000 (0:00:00.210) 0:00:11.270 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/run_test.yml:30 Tuesday 13 February 2024 02:17:08 +0000 (0:00:00.022) 0:00:11.292 ****** included: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Tuesday 13 February 2024 02:17:08 +0000 (0:00:00.058) 0:00:11.351 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 13 February 2024 02:17:09 +0000 (0:00:00.039) 0:00:11.391 ****** included: /WORKDIR/git-bond_options_rewrite73us5rz2/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-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 13 February 2024 02:17:09 +0000 (0:00:00.039) 0:00:11.430 ****** 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-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 13 February 2024 02:17:09 +0000 (0:00:00.025) 0:00:11.455 ****** 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-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 13 February 2024 02:17:09 +0000 (0:00:00.021) 0:00:11.476 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 13 February 2024 02:17:09 +0000 (0:00:00.019) 0:00:11.496 ****** 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-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 13 February 2024 02:17:10 +0000 (0:00:01.550) 0:00:13.047 ****** 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-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 13 February 2024 02:17:12 +0000 (0:00:01.423) 0:00:14.471 ****** 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-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 13 February 2024 02:17:12 +0000 (0:00:00.021) 0:00:14.492 ****** 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-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 13 February 2024 02:17:12 +0000 (0:00:00.020) 0:00:14.513 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 13 February 2024 02:17:12 +0000 (0:00:00.020) 0:00:14.534 ****** 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-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 13 February 2024 02:17:12 +0000 (0:00:00.042) 0:00:14.576 ****** 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-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 13 February 2024 02:17:12 +0000 (0:00:00.022) 0:00:14.598 ****** 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-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 13 February 2024 02:17:12 +0000 (0:00:00.020) 0:00:14.618 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 13 February 2024 02:17:12 +0000 (0:00:00.024) 0:00:14.643 ****** 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-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 13 February 2024 02:17:12 +0000 (0:00:00.401) 0:00:15.044 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 13 February 2024 02:17:12 +0000 (0:00:00.025) 0:00:15.069 ****** 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-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 13 February 2024 02:17:12 +0000 (0:00:00.019) 0:00:15.089 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 13 February 2024 02:17:12 +0000 (0:00:00.020) 0:00:15.110 ****** 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, ee53080d-9e92-4b7e-8e0a-6e62c2632835 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 13 February 2024 02:17:13 +0000 (0:00:00.361) 0:00:15.471 ****** 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-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 13 February 2024 02:17:13 +0000 (0:00:00.021) 0:00:15.493 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, ee53080d-9e92-4b7e-8e0a-6e62c2632835" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 13 February 2024 02:17:13 +0000 (0:00:00.021) 0:00:15.514 ****** 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, ee53080d-9e92-4b7e-8e0a-6e62c2632835\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, ee53080d-9e92-4b7e-8e0a-6e62c2632835" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 13 February 2024 02:17:13 +0000 (0:00:00.022) 0:00:15.536 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 13 February 2024 02:17:13 +0000 (0:00:00.019) 0:00:15.556 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Tuesday 13 February 2024 02:17:13 +0000 (0:00:00.203) 0:00:15.760 ****** 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, ee53080d-9e92-4b7e-8e0a-6e62c2632835\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, ee53080d-9e92-4b7e-8e0a-6e62c2632835" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/run_test.yml:36 Tuesday 13 February 2024 02:17:13 +0000 (0:00:00.022) 0:00:15.783 ****** included: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/assert_device_absent.yml for sut included: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 13 February 2024 02:17:13 +0000 (0:00:00.041) 0:00:15.824 ****** included: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 13 February 2024 02:17:13 +0000 (0:00:00.062) 0:00:15.887 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 13 February 2024 02:17:13 +0000 (0:00:00.213) 0:00:16.100 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 13 February 2024 02:17:13 +0000 (0:00:00.022) 0:00:16.123 ****** included: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 13 February 2024 02:17:13 +0000 (0:00:00.037) 0:00:16.161 ****** 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-bond_options_rewrite73us5rz2/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 13 February 2024 02:17:13 +0000 (0:00:00.021) 0:00:16.182 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1707790633.0627627, "block_size": 4096, "blocks": 8, "ctime": 1707790633.0627627, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 5028035, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1707790633.0627627, "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-bond_options_rewrite73us5rz2/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 13 February 2024 02:17:14 +0000 (0:00:00.212) 0:00:16.395 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 13 February 2024 02:17:14 +0000 (0:00:00.022) 0:00:16.418 ****** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020741", "end": "2024-02-13 02:17:14.253924", "rc": 0, "start": "2024-02-13 02:17:14.233183" } 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-bond_options_rewrite73us5rz2/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 13 February 2024 02:17:14 +0000 (0:00:00.234) 0:00:16.652 ****** 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-bond_options_rewrite73us5rz2/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 13 February 2024 02:17:14 +0000 (0:00:00.023) 0:00:16.676 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 13 February 2024 02:17:14 +0000 (0:00:00.022) 0:00:16.699 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 13 February 2024 02:17:14 +0000 (0:00:00.022) 0:00:16.721 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 13 February 2024 02:17:14 +0000 (0:00:00.023) 0:00:16.745 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 13 February 2024 02:17:14 +0000 (0:00:00.043) 0:00:16.788 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 13 February 2024 02:17:14 +0000 (0:00:00.023) 0:00:16.812 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 13 February 2024 02:17:14 +0000 (0:00:00.022) 0:00:16.835 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/run_test.yml:42 Tuesday 13 February 2024 02:17:14 +0000 (0:00:00.021) 0:00:16.856 ****** TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/run_test.yml:47 Tuesday 13 February 2024 02:17:14 +0000 (0:00:00.019) 0:00:16.876 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/run_test.yml:66 Tuesday 13 February 2024 02:17:14 +0000 (0:00:00.021) 0:00:16.897 ****** included: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 13 February 2024 02:17:14 +0000 (0:00:00.038) 0:00:16.936 ****** 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.039989", "end": "2024-02-13 02:17:14.789122", "rc": 1, "start": "2024-02-13 02:17:14.749133" } STDOUT: Connection 'statebr' (ee53080d-9e92-4b7e-8e0a-6e62c2632835) successfully deleted. STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tests_states.yml:65 Tuesday 13 February 2024 02:17:14 +0000 (0:00:00.249) 0:00:17.186 ****** included: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can activate an existing profile] ******************************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/run_test.yml:5 Tuesday 13 February 2024 02:17:14 +0000 (0:00:00.035) 0:00:17.221 ****** ok: [sut] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/run_test.yml:9 Tuesday 13 February 2024 02:17:14 +0000 (0:00:00.021) 0:00:17.243 ****** 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-bond_options_rewrite73us5rz2/tests/playbooks/tasks/run_test.yml:21 Tuesday 13 February 2024 02:17:14 +0000 (0:00:00.042) 0:00:17.285 ****** included: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 13 February 2024 02:17:14 +0000 (0:00:00.034) 0:00:17.319 ****** included: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 13 February 2024 02:17:15 +0000 (0:00:00.054) 0:00:17.373 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003521", "end": "2024-02-13 02:17:15.191275", "rc": 0, "start": "2024-02-13 02:17:15.187754" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 13 February 2024 02:17:15 +0000 (0:00:00.215) 0:00:17.589 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 13 February 2024 02:17:15 +0000 (0:00:00.022) 0:00:17.612 ****** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/run_test.yml:24 Tuesday 13 February 2024 02:17:15 +0000 (0:00:00.021) 0:00:17.633 ****** included: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 13 February 2024 02:17:15 +0000 (0:00:00.037) 0:00:17.671 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 13 February 2024 02:17:15 +0000 (0:00:00.034) 0:00:17.705 ****** included: /WORKDIR/git-bond_options_rewrite73us5rz2/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-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 13 February 2024 02:17:15 +0000 (0:00:00.038) 0:00:17.744 ****** 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-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 13 February 2024 02:17:15 +0000 (0:00:00.025) 0:00:17.770 ****** 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-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 13 February 2024 02:17:15 +0000 (0:00:00.020) 0:00:17.791 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 13 February 2024 02:17:15 +0000 (0:00:00.019) 0:00:17.811 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 13 February 2024 02:17:16 +0000 (0:00:01.522) 0:00:19.333 ****** 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-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 13 February 2024 02:17:18 +0000 (0:00:01.439) 0:00:20.772 ****** 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-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 13 February 2024 02:17:18 +0000 (0:00:00.022) 0:00:20.794 ****** 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-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 13 February 2024 02:17:18 +0000 (0:00:00.020) 0:00:20.815 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 13 February 2024 02:17:18 +0000 (0:00:00.019) 0:00:20.835 ****** 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-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 13 February 2024 02:17:18 +0000 (0:00:00.083) 0:00:20.918 ****** 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-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 13 February 2024 02:17:18 +0000 (0:00:00.022) 0:00:20.940 ****** 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-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 13 February 2024 02:17:18 +0000 (0:00:00.020) 0:00:20.960 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 13 February 2024 02:17:18 +0000 (0:00:00.024) 0:00:20.984 ****** 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-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 13 February 2024 02:17:18 +0000 (0:00:00.378) 0:00:21.362 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 13 February 2024 02:17:19 +0000 (0:00:00.024) 0:00:21.387 ****** 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-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 13 February 2024 02:17:19 +0000 (0:00:00.021) 0:00:21.409 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 13 February 2024 02:17:19 +0000 (0:00:00.020) 0:00:21.429 ****** 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, ebafed65-d8c9-4c4e-b1b4-0b57bf5befae TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 13 February 2024 02:17:19 +0000 (0:00:00.404) 0:00:21.834 ****** 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-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 13 February 2024 02:17:19 +0000 (0:00:00.021) 0:00:21.855 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, ebafed65-d8c9-4c4e-b1b4-0b57bf5befae" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 13 February 2024 02:17:19 +0000 (0:00:00.021) 0:00:21.877 ****** 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, ebafed65-d8c9-4c4e-b1b4-0b57bf5befae\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, ebafed65-d8c9-4c4e-b1b4-0b57bf5befae" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 13 February 2024 02:17:19 +0000 (0:00:00.020) 0:00:21.897 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 13 February 2024 02:17:19 +0000 (0:00:00.020) 0:00:21.917 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 13 February 2024 02:17:19 +0000 (0:00:00.227) 0:00:22.144 ****** 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, ebafed65-d8c9-4c4e-b1b4-0b57bf5befae\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, ebafed65-d8c9-4c4e-b1b4-0b57bf5befae" ] } } TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/run_test.yml:30 Tuesday 13 February 2024 02:17:19 +0000 (0:00:00.023) 0:00:22.168 ****** included: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 13 February 2024 02:17:19 +0000 (0:00:00.036) 0:00:22.205 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 13 February 2024 02:17:19 +0000 (0:00:00.039) 0:00:22.244 ****** included: /WORKDIR/git-bond_options_rewrite73us5rz2/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-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 13 February 2024 02:17:19 +0000 (0:00:00.039) 0:00:22.283 ****** 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-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 13 February 2024 02:17:19 +0000 (0:00:00.026) 0:00:22.310 ****** 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-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 13 February 2024 02:17:19 +0000 (0:00:00.019) 0:00:22.330 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 13 February 2024 02:17:19 +0000 (0:00:00.020) 0:00:22.350 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 13 February 2024 02:17:21 +0000 (0:00:01.535) 0:00:23.885 ****** 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-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 13 February 2024 02:17:22 +0000 (0:00:01.421) 0:00:25.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-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 13 February 2024 02:17:22 +0000 (0:00:00.022) 0:00:25.329 ****** 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-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 13 February 2024 02:17:22 +0000 (0:00:00.020) 0:00:25.349 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 13 February 2024 02:17:23 +0000 (0:00:00.020) 0:00:25.370 ****** 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-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 13 February 2024 02:17:23 +0000 (0:00:00.041) 0:00:25.412 ****** 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-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 13 February 2024 02:17:23 +0000 (0:00:00.020) 0:00:25.432 ****** 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-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 13 February 2024 02:17:23 +0000 (0:00:00.040) 0:00:25.473 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 13 February 2024 02:17:23 +0000 (0:00:00.025) 0:00:25.498 ****** 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-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 13 February 2024 02:17:23 +0000 (0:00:00.372) 0:00:25.871 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 13 February 2024 02:17:23 +0000 (0:00:00.025) 0:00:25.896 ****** 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-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 13 February 2024 02:17:23 +0000 (0:00:00.020) 0:00:25.917 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 13 February 2024 02:17:23 +0000 (0:00:00.020) 0:00:25.938 ****** 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, ebafed65-d8c9-4c4e-b1b4-0b57bf5befae skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 13 February 2024 02:17:23 +0000 (0:00:00.358) 0:00:26.296 ****** 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-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 13 February 2024 02:17:23 +0000 (0:00:00.020) 0:00:26.316 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, ebafed65-d8c9-4c4e-b1b4-0b57bf5befae skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 13 February 2024 02:17:23 +0000 (0:00:00.022) 0:00:26.339 ****** 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, ebafed65-d8c9-4c4e-b1b4-0b57bf5befae skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, ebafed65-d8c9-4c4e-b1b4-0b57bf5befae skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 13 February 2024 02:17:23 +0000 (0:00:00.022) 0:00:26.361 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 13 February 2024 02:17:24 +0000 (0:00:00.020) 0:00:26.382 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/run_test.yml:36 Tuesday 13 February 2024 02:17:24 +0000 (0:00:00.204) 0:00:26.586 ****** included: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 13 February 2024 02:17:24 +0000 (0:00:00.066) 0:00:26.653 ****** included: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 13 February 2024 02:17:24 +0000 (0:00:00.035) 0:00:26.688 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1707790639.3832445, "block_size": 4096, "blocks": 0, "ctime": 1707790639.3832445, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 21629, "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": 1707790639.3832445, "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-bond_options_rewrite73us5rz2/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 13 February 2024 02:17:24 +0000 (0:00:00.210) 0:00:26.899 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 13 February 2024 02:17:24 +0000 (0:00:00.023) 0:00:26.922 ****** included: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 13 February 2024 02:17:24 +0000 (0:00:00.037) 0:00:26.959 ****** 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-bond_options_rewrite73us5rz2/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 13 February 2024 02:17:24 +0000 (0:00:00.022) 0:00:26.981 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1707790639.432808, "block_size": 4096, "blocks": 8, "ctime": 1707790639.3818076, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 5028035, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1707790639.3818076, "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-bond_options_rewrite73us5rz2/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 13 February 2024 02:17:24 +0000 (0:00:00.207) 0:00:27.189 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 13 February 2024 02:17:24 +0000 (0:00:00.023) 0:00:27.213 ****** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020289", "end": "2024-02-13 02:17:25.046623", "rc": 0, "start": "2024-02-13 02:17:25.026334" } 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-bond_options_rewrite73us5rz2/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 13 February 2024 02:17:25 +0000 (0:00:00.231) 0:00:27.444 ****** 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-bond_options_rewrite73us5rz2/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 13 February 2024 02:17:25 +0000 (0:00:00.023) 0:00:27.467 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 13 February 2024 02:17:25 +0000 (0:00:00.023) 0:00:27.491 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 13 February 2024 02:17:25 +0000 (0:00:00.022) 0:00:27.513 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 13 February 2024 02:17:25 +0000 (0:00:00.021) 0:00:27.535 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 13 February 2024 02:17:25 +0000 (0:00:00.047) 0:00:27.582 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 13 February 2024 02:17:25 +0000 (0:00:00.024) 0:00:27.607 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 13 February 2024 02:17:25 +0000 (0:00:00.022) 0:00:27.629 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/run_test.yml:42 Tuesday 13 February 2024 02:17:25 +0000 (0:00:00.021) 0:00:27.651 ****** TASK [Success in test 'I can activate an existing profile'] ******************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/run_test.yml:47 Tuesday 13 February 2024 02:17:25 +0000 (0:00:00.019) 0:00:27.670 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/run_test.yml:66 Tuesday 13 February 2024 02:17:25 +0000 (0:00:00.021) 0:00:27.691 ****** included: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 13 February 2024 02:17:25 +0000 (0:00:00.039) 0:00:27.731 ****** 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.058991", "end": "2024-02-13 02:17:25.603107", "rc": 1, "start": "2024-02-13 02:17:25.544116" } STDOUT: Connection 'statebr' (ebafed65-d8c9-4c4e-b1b4-0b57bf5befae) successfully deleted. STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tests_states.yml:83 Tuesday 13 February 2024 02:17:25 +0000 (0:00:00.269) 0:00:28.000 ****** included: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can remove an existing profile without taking it down] *********** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/run_test.yml:5 Tuesday 13 February 2024 02:17:25 +0000 (0:00:00.035) 0:00:28.036 ****** ok: [sut] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/run_test.yml:9 Tuesday 13 February 2024 02:17:25 +0000 (0:00:00.021) 0:00:28.058 ****** 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-bond_options_rewrite73us5rz2/tests/playbooks/tasks/run_test.yml:21 Tuesday 13 February 2024 02:17:25 +0000 (0:00:00.042) 0:00:28.100 ****** included: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 13 February 2024 02:17:25 +0000 (0:00:00.033) 0:00:28.134 ****** included: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 13 February 2024 02:17:25 +0000 (0:00:00.060) 0:00:28.194 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003647", "end": "2024-02-13 02:17:26.012256", "rc": 0, "start": "2024-02-13 02:17:26.008609" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 13 February 2024 02:17:26 +0000 (0:00:00.214) 0:00:28.409 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 13 February 2024 02:17:26 +0000 (0:00:00.022) 0:00:28.432 ****** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/run_test.yml:24 Tuesday 13 February 2024 02:17:26 +0000 (0:00:00.021) 0:00:28.453 ****** included: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 13 February 2024 02:17:26 +0000 (0:00:00.039) 0:00:28.493 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 13 February 2024 02:17:26 +0000 (0:00:00.035) 0:00:28.528 ****** included: /WORKDIR/git-bond_options_rewrite73us5rz2/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-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 13 February 2024 02:17:26 +0000 (0:00:00.038) 0:00:28.567 ****** 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-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 13 February 2024 02:17:26 +0000 (0:00:00.025) 0:00:28.593 ****** 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-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 13 February 2024 02:17:26 +0000 (0:00:00.020) 0:00:28.613 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 13 February 2024 02:17:26 +0000 (0:00:00.020) 0:00:28.634 ****** 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-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 13 February 2024 02:17:27 +0000 (0:00:01.523) 0:00:30.158 ****** 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-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 13 February 2024 02:17:29 +0000 (0:00:01.421) 0:00:31.579 ****** 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-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 13 February 2024 02:17:29 +0000 (0:00:00.021) 0:00:31.601 ****** 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-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 13 February 2024 02:17:29 +0000 (0:00:00.020) 0:00:31.621 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 13 February 2024 02:17:29 +0000 (0:00:00.039) 0:00:31.661 ****** 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-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 13 February 2024 02:17:29 +0000 (0:00:00.043) 0:00:31.705 ****** 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-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 13 February 2024 02:17:29 +0000 (0:00:00.021) 0:00:31.726 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 13 February 2024 02:17:29 +0000 (0:00:00.021) 0:00:31.747 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 13 February 2024 02:17:29 +0000 (0:00:00.023) 0:00:31.771 ****** 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-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 13 February 2024 02:17:29 +0000 (0:00:00.374) 0:00:32.145 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 13 February 2024 02:17:29 +0000 (0:00:00.025) 0:00:32.170 ****** 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-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 13 February 2024 02:17:29 +0000 (0:00:00.022) 0:00:32.192 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 13 February 2024 02:17:29 +0000 (0:00:00.020) 0:00:32.213 ****** 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, 7c484ae9-7a34-4f7c-8b5b-1755d10f240d TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 13 February 2024 02:17:30 +0000 (0:00:00.403) 0:00:32.616 ****** 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-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 13 February 2024 02:17:30 +0000 (0:00:00.020) 0:00:32.637 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 7c484ae9-7a34-4f7c-8b5b-1755d10f240d" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 13 February 2024 02:17:30 +0000 (0:00:00.022) 0:00:32.659 ****** 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, 7c484ae9-7a34-4f7c-8b5b-1755d10f240d\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 7c484ae9-7a34-4f7c-8b5b-1755d10f240d" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 13 February 2024 02:17:30 +0000 (0:00:00.021) 0:00:32.681 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 13 February 2024 02:17:30 +0000 (0:00:00.020) 0:00:32.701 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 13 February 2024 02:17:30 +0000 (0:00:00.230) 0:00:32.932 ****** 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, 7c484ae9-7a34-4f7c-8b5b-1755d10f240d\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 7c484ae9-7a34-4f7c-8b5b-1755d10f240d" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 13 February 2024 02:17:30 +0000 (0:00:00.023) 0:00:32.956 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 13 February 2024 02:17:30 +0000 (0:00:00.034) 0:00:32.990 ****** included: /WORKDIR/git-bond_options_rewrite73us5rz2/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-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 13 February 2024 02:17:30 +0000 (0:00:00.040) 0:00:33.031 ****** 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-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 13 February 2024 02:17:30 +0000 (0:00:00.025) 0:00:33.056 ****** 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-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 13 February 2024 02:17:30 +0000 (0:00:00.020) 0:00:33.077 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 13 February 2024 02:17:30 +0000 (0:00:00.020) 0:00:33.097 ****** 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-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 13 February 2024 02:17:32 +0000 (0:00:01.542) 0:00:34.640 ****** 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-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 13 February 2024 02:17:33 +0000 (0:00:01.422) 0:00:36.063 ****** 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-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 13 February 2024 02:17:33 +0000 (0:00:00.021) 0:00:36.084 ****** 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-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 13 February 2024 02:17:33 +0000 (0:00:00.021) 0:00:36.105 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 13 February 2024 02:17:33 +0000 (0:00:00.021) 0:00:36.126 ****** 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-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 13 February 2024 02:17:33 +0000 (0:00:00.042) 0:00:36.169 ****** 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-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 13 February 2024 02:17:33 +0000 (0:00:00.020) 0:00:36.190 ****** 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-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 13 February 2024 02:17:33 +0000 (0:00:00.020) 0:00:36.211 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 13 February 2024 02:17:33 +0000 (0:00:00.023) 0:00:36.234 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 13 February 2024 02:17:34 +0000 (0:00:00.396) 0:00:36.631 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 13 February 2024 02:17:34 +0000 (0:00:00.025) 0:00:36.656 ****** 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-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 13 February 2024 02:17:34 +0000 (0:00:00.019) 0:00:36.676 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 13 February 2024 02:17:34 +0000 (0:00:00.020) 0:00:36.696 ****** 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, 7c484ae9-7a34-4f7c-8b5b-1755d10f240d skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 13 February 2024 02:17:34 +0000 (0:00:00.352) 0:00:37.049 ****** 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-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 13 February 2024 02:17:34 +0000 (0:00:00.020) 0:00:37.070 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 7c484ae9-7a34-4f7c-8b5b-1755d10f240d skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 13 February 2024 02:17:34 +0000 (0:00:00.021) 0:00:37.092 ****** 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, 7c484ae9-7a34-4f7c-8b5b-1755d10f240d skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 7c484ae9-7a34-4f7c-8b5b-1755d10f240d skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 13 February 2024 02:17:34 +0000 (0:00:00.021) 0:00:37.113 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 13 February 2024 02:17:34 +0000 (0:00:00.021) 0:00:37.135 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/run_test.yml:30 Tuesday 13 February 2024 02:17:34 +0000 (0:00:00.203) 0:00:37.339 ****** included: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/remove_profile.yml:3 Tuesday 13 February 2024 02:17:35 +0000 (0:00:00.039) 0:00:37.378 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 13 February 2024 02:17:35 +0000 (0:00:00.060) 0:00:37.439 ****** included: /WORKDIR/git-bond_options_rewrite73us5rz2/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-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 13 February 2024 02:17:35 +0000 (0:00:00.040) 0:00:37.479 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 13 February 2024 02:17:35 +0000 (0:00:00.025) 0:00:37.505 ****** 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-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 13 February 2024 02:17:35 +0000 (0:00:00.020) 0:00:37.526 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 13 February 2024 02:17:35 +0000 (0:00:00.020) 0:00:37.546 ****** 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-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 13 February 2024 02:17:36 +0000 (0:00:01.526) 0:00:39.072 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 13 February 2024 02:17:38 +0000 (0:00:01.445) 0:00:40.517 ****** 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-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 13 February 2024 02:17:38 +0000 (0:00:00.021) 0:00:40.539 ****** 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-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 13 February 2024 02:17:38 +0000 (0:00:00.020) 0:00:40.560 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 13 February 2024 02:17:38 +0000 (0:00:00.020) 0:00:40.581 ****** 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-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 13 February 2024 02:17:38 +0000 (0:00:00.042) 0:00:40.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-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 13 February 2024 02:17:38 +0000 (0:00:00.021) 0:00:40.644 ****** 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-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 13 February 2024 02:17:38 +0000 (0:00:00.020) 0:00:40.665 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 13 February 2024 02:17:38 +0000 (0:00:00.023) 0:00:40.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 : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 13 February 2024 02:17:38 +0000 (0:00:00.374) 0:00:41.062 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 13 February 2024 02:17:38 +0000 (0:00:00.048) 0:00:41.111 ****** 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-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 13 February 2024 02:17:38 +0000 (0:00:00.022) 0:00:41.133 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 13 February 2024 02:17:38 +0000 (0:00:00.020) 0:00:41.154 ****** 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-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 13 February 2024 02:17:39 +0000 (0:00:00.373) 0:00:41.527 ****** 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-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 13 February 2024 02:17:39 +0000 (0:00:00.021) 0:00:41.548 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 13 February 2024 02:17:39 +0000 (0:00:00.022) 0:00:41.571 ****** 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-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 13 February 2024 02:17:39 +0000 (0:00:00.021) 0:00:41.592 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 13 February 2024 02:17:39 +0000 (0:00:00.020) 0:00:41.612 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/run_test.yml:36 Tuesday 13 February 2024 02:17:39 +0000 (0:00:00.204) 0:00:41.817 ****** included: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 13 February 2024 02:17:39 +0000 (0:00:00.041) 0:00:41.859 ****** included: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 13 February 2024 02:17:39 +0000 (0:00:00.034) 0:00:41.893 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1707790650.1654406, "block_size": 4096, "blocks": 0, "ctime": 1707790650.1654406, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 21760, "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": 1707790650.1654406, "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-bond_options_rewrite73us5rz2/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 13 February 2024 02:17:39 +0000 (0:00:00.211) 0:00:42.105 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/assert_profile_absent.yml:3 Tuesday 13 February 2024 02:17:39 +0000 (0:00:00.023) 0:00:42.129 ****** included: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 13 February 2024 02:17:39 +0000 (0:00:00.060) 0:00:42.189 ****** 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-bond_options_rewrite73us5rz2/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 13 February 2024 02:17:39 +0000 (0:00:00.022) 0:00:42.211 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 13 February 2024 02:17:40 +0000 (0:00:00.211) 0:00:42.422 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 13 February 2024 02:17:40 +0000 (0:00:00.021) 0:00:42.444 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.026346", "end": "2024-02-13 02:17:40.282431", "rc": 1, "start": "2024-02-13 02:17:40.256085" } 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-bond_options_rewrite73us5rz2/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 13 February 2024 02:17:40 +0000 (0:00:00.235) 0:00:42.680 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 13 February 2024 02:17:40 +0000 (0:00:00.021) 0:00:42.702 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 13 February 2024 02:17:40 +0000 (0:00:00.021) 0:00:42.724 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 13 February 2024 02:17:40 +0000 (0:00:00.021) 0:00:42.745 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 13 February 2024 02:17:40 +0000 (0:00:00.021) 0:00:42.767 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/assert_profile_absent.yml:5 Tuesday 13 February 2024 02:17:40 +0000 (0:00:00.021) 0:00:42.788 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/run_test.yml:42 Tuesday 13 February 2024 02:17:40 +0000 (0:00:00.022) 0:00:42.811 ****** TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/run_test.yml:47 Tuesday 13 February 2024 02:17:40 +0000 (0:00:00.019) 0:00:42.830 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/run_test.yml:66 Tuesday 13 February 2024 02:17:40 +0000 (0:00:00.021) 0:00:42.852 ****** included: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 13 February 2024 02:17:40 +0000 (0:00:00.061) 0:00:42.913 ****** 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.072258", "end": "2024-02-13 02:17:40.799328", "rc": 1, "start": "2024-02-13 02:17:40.727070" } STDOUT: Connection 'statebr' (7c484ae9-7a34-4f7c-8b5b-1755d10f240d) successfully deleted. STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tests_states.yml:103 Tuesday 13 February 2024 02:17:40 +0000 (0:00:00.283) 0:00:43.197 ****** included: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can take a profile down that is absent] ************************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/run_test.yml:5 Tuesday 13 February 2024 02:17:40 +0000 (0:00:00.036) 0:00:43.233 ****** ok: [sut] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/run_test.yml:9 Tuesday 13 February 2024 02:17:40 +0000 (0:00:00.021) 0:00:43.254 ****** 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-bond_options_rewrite73us5rz2/tests/playbooks/tasks/run_test.yml:21 Tuesday 13 February 2024 02:17:40 +0000 (0:00:00.044) 0:00:43.298 ****** included: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 13 February 2024 02:17:40 +0000 (0:00:00.034) 0:00:43.333 ****** included: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 13 February 2024 02:17:41 +0000 (0:00:00.035) 0:00:43.368 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003457", "end": "2024-02-13 02:17:41.187060", "rc": 0, "start": "2024-02-13 02:17:41.183603" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 13 February 2024 02:17:41 +0000 (0:00:00.217) 0:00:43.585 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 13 February 2024 02:17:41 +0000 (0:00:00.022) 0:00:43.607 ****** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/run_test.yml:24 Tuesday 13 February 2024 02:17:41 +0000 (0:00:00.021) 0:00:43.629 ****** included: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 13 February 2024 02:17:41 +0000 (0:00:00.043) 0:00:43.673 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 13 February 2024 02:17:41 +0000 (0:00:00.062) 0:00:43.735 ****** included: /WORKDIR/git-bond_options_rewrite73us5rz2/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-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 13 February 2024 02:17:41 +0000 (0:00:00.041) 0:00:43.776 ****** 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-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 13 February 2024 02:17:41 +0000 (0:00:00.026) 0:00:43.803 ****** 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-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 13 February 2024 02:17:41 +0000 (0:00:00.020) 0:00:43.824 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 13 February 2024 02:17:41 +0000 (0:00:00.020) 0:00:43.844 ****** 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-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 13 February 2024 02:17:43 +0000 (0:00:01.534) 0:00:45.378 ****** 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-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 13 February 2024 02:17:44 +0000 (0:00:01.443) 0:00:46.822 ****** 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-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 13 February 2024 02:17:44 +0000 (0:00:00.021) 0:00:46.844 ****** 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-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 13 February 2024 02:17:44 +0000 (0:00:00.021) 0:00:46.865 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 13 February 2024 02:17:44 +0000 (0:00:00.020) 0:00:46.886 ****** 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-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 13 February 2024 02:17:44 +0000 (0:00:00.041) 0:00:46.927 ****** 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-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 13 February 2024 02:17:44 +0000 (0:00:00.021) 0:00:46.949 ****** 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-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 13 February 2024 02:17:44 +0000 (0:00:00.020) 0:00:46.969 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 13 February 2024 02:17:44 +0000 (0:00:00.025) 0:00:46.995 ****** 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-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 13 February 2024 02:17:45 +0000 (0:00:00.398) 0:00:47.394 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 13 February 2024 02:17:45 +0000 (0:00:00.025) 0:00:47.419 ****** 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-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 13 February 2024 02:17:45 +0000 (0:00:00.021) 0:00:47.440 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 13 February 2024 02:17:45 +0000 (0:00:00.021) 0:00:47.461 ****** 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, 9a335f82-4f1e-42ce-bf11-4f74e1b9f1cb TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 13 February 2024 02:17:45 +0000 (0:00:00.390) 0:00:47.852 ****** 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-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 13 February 2024 02:17:45 +0000 (0:00:00.021) 0:00:47.873 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 9a335f82-4f1e-42ce-bf11-4f74e1b9f1cb" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 13 February 2024 02:17:45 +0000 (0:00:00.021) 0:00:47.895 ****** 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, 9a335f82-4f1e-42ce-bf11-4f74e1b9f1cb\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 9a335f82-4f1e-42ce-bf11-4f74e1b9f1cb" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 13 February 2024 02:17:45 +0000 (0:00:00.023) 0:00:47.919 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 13 February 2024 02:17:45 +0000 (0:00:00.021) 0:00:47.940 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 13 February 2024 02:17:45 +0000 (0:00:00.208) 0:00:48.148 ****** 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, 9a335f82-4f1e-42ce-bf11-4f74e1b9f1cb\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 9a335f82-4f1e-42ce-bf11-4f74e1b9f1cb" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 13 February 2024 02:17:45 +0000 (0:00:00.023) 0:00:48.171 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 13 February 2024 02:17:45 +0000 (0:00:00.034) 0:00:48.206 ****** included: /WORKDIR/git-bond_options_rewrite73us5rz2/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-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 13 February 2024 02:17:45 +0000 (0:00:00.038) 0:00:48.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 : Check if system is ostree] ****************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 13 February 2024 02:17:45 +0000 (0:00:00.059) 0:00:48.304 ****** 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-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 13 February 2024 02:17:45 +0000 (0:00:00.023) 0:00:48.327 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 13 February 2024 02:17:45 +0000 (0:00:00.021) 0:00:48.349 ****** 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-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 13 February 2024 02:17:47 +0000 (0:00:01.526) 0:00:49.875 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 13 February 2024 02:17:48 +0000 (0:00:01.442) 0:00:51.317 ****** 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-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 13 February 2024 02:17:48 +0000 (0:00:00.022) 0:00:51.339 ****** 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-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 13 February 2024 02:17:48 +0000 (0:00:00.020) 0:00:51.360 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 13 February 2024 02:17:49 +0000 (0:00:00.019) 0:00:51.380 ****** 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-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 13 February 2024 02:17:49 +0000 (0:00:00.042) 0:00:51.422 ****** 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-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 13 February 2024 02:17:49 +0000 (0:00:00.020) 0:00:51.443 ****** 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-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 13 February 2024 02:17:49 +0000 (0:00:00.020) 0:00:51.463 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 13 February 2024 02:17:49 +0000 (0:00:00.024) 0:00:51.488 ****** 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-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 13 February 2024 02:17:49 +0000 (0:00:00.374) 0:00:51.862 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 13 February 2024 02:17:49 +0000 (0:00:00.025) 0:00:51.888 ****** 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-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 13 February 2024 02:17:49 +0000 (0:00:00.021) 0:00:51.909 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 13 February 2024 02:17:49 +0000 (0:00:00.020) 0:00:51.929 ****** 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, 9a335f82-4f1e-42ce-bf11-4f74e1b9f1cb skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 13 February 2024 02:17:49 +0000 (0:00:00.350) 0:00:52.280 ****** 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-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 13 February 2024 02:17:49 +0000 (0:00:00.020) 0:00:52.301 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 9a335f82-4f1e-42ce-bf11-4f74e1b9f1cb skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 13 February 2024 02:17:49 +0000 (0:00:00.047) 0:00:52.349 ****** 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, 9a335f82-4f1e-42ce-bf11-4f74e1b9f1cb skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 9a335f82-4f1e-42ce-bf11-4f74e1b9f1cb skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 13 February 2024 02:17:50 +0000 (0:00:00.023) 0:00:52.372 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 13 February 2024 02:17:50 +0000 (0:00:00.020) 0:00:52.393 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/remove_profile.yml:3 Tuesday 13 February 2024 02:17:50 +0000 (0:00:00.206) 0:00:52.599 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 13 February 2024 02:17:50 +0000 (0:00:00.036) 0:00:52.635 ****** included: /WORKDIR/git-bond_options_rewrite73us5rz2/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-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 13 February 2024 02:17:50 +0000 (0:00:00.039) 0:00:52.675 ****** 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-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 13 February 2024 02:17:50 +0000 (0:00:00.026) 0:00:52.701 ****** 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-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 13 February 2024 02:17:50 +0000 (0:00:00.021) 0:00:52.722 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 13 February 2024 02:17:50 +0000 (0:00:00.020) 0:00:52.743 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 13 February 2024 02:17:51 +0000 (0:00:01.527) 0:00:54.270 ****** 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-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 13 February 2024 02:17:53 +0000 (0:00:01.425) 0:00:55.695 ****** 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-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 13 February 2024 02:17:53 +0000 (0:00:00.021) 0:00:55.717 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 13 February 2024 02:17:53 +0000 (0:00:00.020) 0:00:55.738 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 13 February 2024 02:17:53 +0000 (0:00:00.020) 0:00:55.758 ****** 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-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 13 February 2024 02:17:53 +0000 (0:00:00.042) 0:00:55.800 ****** 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-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 13 February 2024 02:17:53 +0000 (0:00:00.020) 0:00:55.821 ****** 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-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 13 February 2024 02:17:53 +0000 (0:00:00.043) 0:00:55.864 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 13 February 2024 02:17:53 +0000 (0:00:00.024) 0:00:55.889 ****** 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-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 13 February 2024 02:17:53 +0000 (0:00:00.375) 0:00:56.265 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 13 February 2024 02:17:53 +0000 (0:00:00.024) 0:00:56.289 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 13 February 2024 02:17:53 +0000 (0:00:00.020) 0:00:56.310 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 13 February 2024 02:17:53 +0000 (0:00:00.020) 0:00:56.330 ****** 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-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 13 February 2024 02:17:54 +0000 (0:00:00.371) 0:00:56.702 ****** 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-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 13 February 2024 02:17:54 +0000 (0:00:00.022) 0:00:56.725 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 13 February 2024 02:17:54 +0000 (0:00:00.022) 0:00:56.748 ****** 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-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 13 February 2024 02:17:54 +0000 (0:00:00.025) 0:00:56.773 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 13 February 2024 02:17:54 +0000 (0:00:00.021) 0:00:56.795 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/run_test.yml:30 Tuesday 13 February 2024 02:17:54 +0000 (0:00:00.206) 0:00:57.002 ****** included: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/remove+down_profile.yml:3 Tuesday 13 February 2024 02:17:54 +0000 (0:00:00.061) 0:00:57.063 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 13 February 2024 02:17:54 +0000 (0:00:00.041) 0:00:57.104 ****** included: /WORKDIR/git-bond_options_rewrite73us5rz2/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-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 13 February 2024 02:17:54 +0000 (0:00:00.039) 0:00:57.144 ****** 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-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 13 February 2024 02:17:54 +0000 (0:00:00.027) 0:00:57.171 ****** 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-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 13 February 2024 02:17:54 +0000 (0:00:00.020) 0:00:57.191 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 13 February 2024 02:17:54 +0000 (0:00:00.020) 0:00:57.212 ****** 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-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 13 February 2024 02:17:56 +0000 (0:00:01.522) 0:00:58.735 ****** 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-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 13 February 2024 02:17:57 +0000 (0:00:01.442) 0:01:00.177 ****** 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-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 13 February 2024 02:17:57 +0000 (0:00:00.022) 0:01:00.199 ****** 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-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 13 February 2024 02:17:57 +0000 (0:00:00.020) 0:01:00.220 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 13 February 2024 02:17:57 +0000 (0:00:00.021) 0:01:00.241 ****** 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-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 13 February 2024 02:17:57 +0000 (0:00:00.042) 0:01:00.283 ****** 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-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 13 February 2024 02:17:57 +0000 (0:00:00.020) 0:01:00.303 ****** 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-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 13 February 2024 02:17:57 +0000 (0:00:00.020) 0:01:00.324 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 13 February 2024 02:17:57 +0000 (0:00:00.023) 0:01:00.347 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 13 February 2024 02:17:58 +0000 (0:00:00.372) 0:01:00.720 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 13 February 2024 02:17:58 +0000 (0:00:00.025) 0:01:00.745 ****** 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-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 13 February 2024 02:17:58 +0000 (0:00:00.021) 0:01:00.766 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 13 February 2024 02:17:58 +0000 (0:00:00.020) 0:01:00.787 ****** 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-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 13 February 2024 02:17:58 +0000 (0:00:00.414) 0:01:01.201 ****** 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-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 13 February 2024 02:17:58 +0000 (0:00:00.022) 0:01:01.223 ****** 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-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 13 February 2024 02:17:58 +0000 (0:00:00.022) 0:01:01.246 ****** 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-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 13 February 2024 02:17:58 +0000 (0:00:00.022) 0:01:01.268 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 13 February 2024 02:17:58 +0000 (0:00:00.020) 0:01:01.289 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/run_test.yml:36 Tuesday 13 February 2024 02:17:59 +0000 (0:00:00.205) 0:01:01.495 ****** included: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/assert_profile_absent.yml:3 Tuesday 13 February 2024 02:17:59 +0000 (0:00:00.042) 0:01:01.537 ****** included: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 13 February 2024 02:17:59 +0000 (0:00:00.073) 0:01:01.611 ****** 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-bond_options_rewrite73us5rz2/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 13 February 2024 02:17:59 +0000 (0:00:00.025) 0:01:01.636 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 13 February 2024 02:17:59 +0000 (0:00:00.209) 0:01:01.846 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 13 February 2024 02:17:59 +0000 (0:00:00.022) 0:01:01.869 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.019731", "end": "2024-02-13 02:17:59.700670", "rc": 1, "start": "2024-02-13 02:17:59.680939" } 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-bond_options_rewrite73us5rz2/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 13 February 2024 02:17:59 +0000 (0:00:00.229) 0:01:02.098 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 13 February 2024 02:17:59 +0000 (0:00:00.024) 0:01:02.122 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 13 February 2024 02:17:59 +0000 (0:00:00.022) 0:01:02.145 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 13 February 2024 02:17:59 +0000 (0:00:00.024) 0:01:02.169 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 13 February 2024 02:17:59 +0000 (0:00:00.023) 0:01:02.193 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/assert_profile_absent.yml:5 Tuesday 13 February 2024 02:17:59 +0000 (0:00:00.021) 0:01:02.215 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/run_test.yml:42 Tuesday 13 February 2024 02:17:59 +0000 (0:00:00.023) 0:01:02.238 ****** included: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 13 February 2024 02:17:59 +0000 (0:00:00.043) 0:01:02.281 ****** included: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 13 February 2024 02:17:59 +0000 (0:00:00.036) 0:01:02.318 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 13 February 2024 02:18:00 +0000 (0:00:00.243) 0:01:02.561 ****** 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-bond_options_rewrite73us5rz2/tests/playbooks/tasks/run_test.yml:47 Tuesday 13 February 2024 02:18:00 +0000 (0:00:00.026) 0:01:02.587 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/run_test.yml:66 Tuesday 13 February 2024 02:18:00 +0000 (0:00:00.022) 0:01:02.609 ****** included: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 13 February 2024 02:18:00 +0000 (0:00:00.042) 0:01:02.652 ****** 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.039099", "end": "2024-02-13 02:18:00.506293", "rc": 1, "start": "2024-02-13 02:18:00.467194" } 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-bond_options_rewrite73us5rz2/tests/playbooks/tests_states.yml:126 Tuesday 13 February 2024 02:18:00 +0000 (0:00:00.250) 0:01:02.903 ****** included: /WORKDIR/git-bond_options_rewrite73us5rz2/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-bond_options_rewrite73us5rz2/tests/playbooks/tasks/run_test.yml:5 Tuesday 13 February 2024 02:18:00 +0000 (0:00:00.037) 0:01:02.941 ****** ok: [sut] => {} MSG: ########## I will not get an error when I try to remove an absent profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/run_test.yml:9 Tuesday 13 February 2024 02:18:00 +0000 (0:00:00.022) 0:01:02.963 ****** 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", "tasks/check_network_dns.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/run_test.yml:21 Tuesday 13 February 2024 02:18:00 +0000 (0:00:00.044) 0:01:03.007 ****** included: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 13 February 2024 02:18:00 +0000 (0:00:00.034) 0:01:03.041 ****** included: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 13 February 2024 02:18:00 +0000 (0:00:00.033) 0:01:03.074 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003380", "end": "2024-02-13 02:18:00.890004", "rc": 0, "start": "2024-02-13 02:18:00.886624" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 13 February 2024 02:18:00 +0000 (0:00:00.211) 0:01:03.286 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 13 February 2024 02:18:00 +0000 (0:00:00.052) 0:01:03.339 ****** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/run_test.yml:24 Tuesday 13 February 2024 02:18:00 +0000 (0:00:00.021) 0:01:03.361 ****** included: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 13 February 2024 02:18:01 +0000 (0:00:00.045) 0:01:03.406 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 13 February 2024 02:18:01 +0000 (0:00:00.035) 0:01:03.442 ****** included: /WORKDIR/git-bond_options_rewrite73us5rz2/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-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 13 February 2024 02:18:01 +0000 (0:00:00.039) 0:01:03.481 ****** 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-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 13 February 2024 02:18:01 +0000 (0:00:00.025) 0:01:03.507 ****** 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-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 13 February 2024 02:18:01 +0000 (0:00:00.020) 0:01:03.528 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 13 February 2024 02:18:01 +0000 (0:00:00.023) 0:01:03.551 ****** 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-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 13 February 2024 02:18:02 +0000 (0:00:01.530) 0:01:05.082 ****** 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-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 13 February 2024 02:18:04 +0000 (0:00:01.420) 0:01:06.502 ****** 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-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 13 February 2024 02:18:04 +0000 (0:00:00.022) 0:01:06.525 ****** 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-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 13 February 2024 02:18:04 +0000 (0:00:00.021) 0:01:06.546 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 13 February 2024 02:18:04 +0000 (0:00:00.022) 0:01:06.569 ****** 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-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 13 February 2024 02:18:04 +0000 (0:00:00.045) 0:01:06.615 ****** 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-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 13 February 2024 02:18:04 +0000 (0:00:00.022) 0:01:06.637 ****** 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-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 13 February 2024 02:18:04 +0000 (0:00:00.020) 0:01:06.658 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 13 February 2024 02:18:04 +0000 (0:00:00.050) 0:01:06.709 ****** 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-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 13 February 2024 02:18:04 +0000 (0:00:00.371) 0:01:07.081 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 13 February 2024 02:18:04 +0000 (0:00:00.025) 0:01:07.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 : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 13 February 2024 02:18:04 +0000 (0:00:00.021) 0:01:07.127 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 13 February 2024 02:18:04 +0000 (0:00:00.021) 0:01:07.148 ****** 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, db0aff34-5115-4224-a7a5-86d4040c8cb6 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 13 February 2024 02:18:05 +0000 (0:00:00.391) 0:01:07.540 ****** 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-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 13 February 2024 02:18:05 +0000 (0:00:00.022) 0:01:07.562 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, db0aff34-5115-4224-a7a5-86d4040c8cb6" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 13 February 2024 02:18:05 +0000 (0:00:00.023) 0:01:07.585 ****** 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, db0aff34-5115-4224-a7a5-86d4040c8cb6\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, db0aff34-5115-4224-a7a5-86d4040c8cb6" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 13 February 2024 02:18:05 +0000 (0:00:00.022) 0:01:07.608 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 13 February 2024 02:18:05 +0000 (0:00:00.022) 0:01:07.631 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 13 February 2024 02:18:05 +0000 (0:00:00.204) 0:01:07.835 ****** 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, db0aff34-5115-4224-a7a5-86d4040c8cb6\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, db0aff34-5115-4224-a7a5-86d4040c8cb6" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 13 February 2024 02:18:05 +0000 (0:00:00.023) 0:01:07.859 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 13 February 2024 02:18:05 +0000 (0:00:00.064) 0:01:07.924 ****** included: /WORKDIR/git-bond_options_rewrite73us5rz2/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-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 13 February 2024 02:18:05 +0000 (0:00:00.041) 0:01:07.965 ****** 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-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 13 February 2024 02:18:05 +0000 (0:00:00.027) 0:01:07.993 ****** 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-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 13 February 2024 02:18:05 +0000 (0:00:00.022) 0:01:08.015 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 13 February 2024 02:18:05 +0000 (0:00:00.020) 0:01:08.036 ****** 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-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 13 February 2024 02:18:07 +0000 (0:00:01.520) 0:01:09.557 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 13 February 2024 02:18:08 +0000 (0:00:01.441) 0:01:10.999 ****** ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 13 February 2024 02:18:08 +0000 (0:00:00.021) 0:01:11.021 ****** 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-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 13 February 2024 02:18:08 +0000 (0:00:00.020) 0:01:11.041 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 13 February 2024 02:18:08 +0000 (0:00:00.022) 0:01:11.063 ****** 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-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 13 February 2024 02:18:08 +0000 (0:00:00.042) 0:01:11.106 ****** 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-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 13 February 2024 02:18:08 +0000 (0:00:00.020) 0:01:11.127 ****** 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-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 13 February 2024 02:18:08 +0000 (0:00:00.020) 0:01:11.147 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 13 February 2024 02:18:08 +0000 (0:00:00.026) 0:01:11.174 ****** 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-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 13 February 2024 02:18:09 +0000 (0:00:00.382) 0:01:11.557 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 13 February 2024 02:18:09 +0000 (0:00:00.026) 0:01:11.583 ****** 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-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 13 February 2024 02:18:09 +0000 (0:00:00.049) 0:01:11.632 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 13 February 2024 02:18:09 +0000 (0:00:00.023) 0:01:11.655 ****** 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, db0aff34-5115-4224-a7a5-86d4040c8cb6 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 13 February 2024 02:18:09 +0000 (0:00:00.358) 0:01:12.013 ****** 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-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 13 February 2024 02:18:09 +0000 (0:00:00.023) 0:01:12.036 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, db0aff34-5115-4224-a7a5-86d4040c8cb6 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 13 February 2024 02:18:09 +0000 (0:00:00.023) 0:01:12.060 ****** 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, db0aff34-5115-4224-a7a5-86d4040c8cb6 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, db0aff34-5115-4224-a7a5-86d4040c8cb6 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 13 February 2024 02:18:09 +0000 (0:00:00.023) 0:01:12.083 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 13 February 2024 02:18:09 +0000 (0:00:00.021) 0:01:12.105 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/remove+down_profile.yml:3 Tuesday 13 February 2024 02:18:09 +0000 (0:00:00.206) 0:01:12.312 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 13 February 2024 02:18:09 +0000 (0:00:00.036) 0:01:12.348 ****** included: /WORKDIR/git-bond_options_rewrite73us5rz2/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-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 13 February 2024 02:18:10 +0000 (0:00:00.040) 0:01:12.389 ****** 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-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 13 February 2024 02:18:10 +0000 (0:00:00.025) 0:01:12.415 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 13 February 2024 02:18:10 +0000 (0:00:00.020) 0:01:12.436 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 13 February 2024 02:18:10 +0000 (0:00:00.020) 0:01:12.456 ****** 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-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 13 February 2024 02:18:11 +0000 (0:00:01.556) 0:01:14.013 ****** 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-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 13 February 2024 02:18:13 +0000 (0:00:01.438) 0:01:15.451 ****** ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 13 February 2024 02:18:13 +0000 (0:00:00.023) 0:01:15.474 ****** 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-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 13 February 2024 02:18:13 +0000 (0:00:00.020) 0:01:15.495 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 13 February 2024 02:18:13 +0000 (0:00:00.020) 0:01:15.515 ****** 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-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 13 February 2024 02:18:13 +0000 (0:00:00.042) 0:01:15.557 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 13 February 2024 02:18:13 +0000 (0:00:00.020) 0:01:15.578 ****** 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-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 13 February 2024 02:18:13 +0000 (0:00:00.020) 0:01:15.598 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 13 February 2024 02:18:13 +0000 (0:00:00.024) 0:01:15.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-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 13 February 2024 02:18:13 +0000 (0:00:00.374) 0:01:15.997 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 13 February 2024 02:18:13 +0000 (0:00:00.025) 0:01:16.022 ****** 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-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 13 February 2024 02:18:13 +0000 (0:00:00.020) 0:01:16.043 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 13 February 2024 02:18:13 +0000 (0:00:00.020) 0:01:16.064 ****** 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-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 13 February 2024 02:18:14 +0000 (0:00:00.412) 0:01:16.477 ****** 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-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 13 February 2024 02:18:14 +0000 (0:00:00.021) 0:01:16.498 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 13 February 2024 02:18:14 +0000 (0:00:00.051) 0:01:16.550 ****** 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-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 13 February 2024 02:18:14 +0000 (0:00:00.022) 0:01:16.573 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 13 February 2024 02:18:14 +0000 (0:00:00.020) 0:01:16.594 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/run_test.yml:30 Tuesday 13 February 2024 02:18:14 +0000 (0:00:00.209) 0:01:16.803 ****** included: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/remove+down_profile.yml:3 Tuesday 13 February 2024 02:18:14 +0000 (0:00:00.039) 0:01:16.842 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 13 February 2024 02:18:14 +0000 (0:00:00.035) 0:01:16.878 ****** included: /WORKDIR/git-bond_options_rewrite73us5rz2/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-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 13 February 2024 02:18:14 +0000 (0:00:00.040) 0:01:16.918 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 13 February 2024 02:18:14 +0000 (0:00:00.026) 0:01:16.945 ****** 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-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 13 February 2024 02:18:14 +0000 (0:00:00.020) 0:01:16.966 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 13 February 2024 02:18:14 +0000 (0:00:00.021) 0:01:16.987 ****** 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-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 13 February 2024 02:18:16 +0000 (0:00:01.517) 0:01:18.505 ****** 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-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 13 February 2024 02:18:17 +0000 (0:00:01.418) 0:01:19.924 ****** ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 13 February 2024 02:18:17 +0000 (0:00:00.024) 0:01:19.948 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 13 February 2024 02:18:17 +0000 (0:00:00.022) 0:01:19.971 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 13 February 2024 02:18:17 +0000 (0:00:00.025) 0:01:19.996 ****** 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-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 13 February 2024 02:18:17 +0000 (0:00:00.068) 0:01:20.065 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 13 February 2024 02:18:17 +0000 (0:00:00.022) 0:01:20.087 ****** 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-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 13 February 2024 02:18:17 +0000 (0:00:00.022) 0:01:20.110 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 13 February 2024 02:18:17 +0000 (0:00:00.028) 0:01:20.138 ****** 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-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 13 February 2024 02:18:18 +0000 (0:00:00.376) 0:01:20.514 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 13 February 2024 02:18:18 +0000 (0:00:00.026) 0:01:20.541 ****** 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-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 13 February 2024 02:18:18 +0000 (0:00:00.023) 0:01:20.564 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 13 February 2024 02:18:18 +0000 (0:00:00.020) 0:01:20.585 ****** 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-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 13 February 2024 02:18:18 +0000 (0:00:00.369) 0:01:20.955 ****** 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-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 13 February 2024 02:18:18 +0000 (0:00:00.021) 0:01:20.976 ****** 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-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 13 February 2024 02:18:18 +0000 (0:00:00.023) 0:01:21.000 ****** 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-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 13 February 2024 02:18:18 +0000 (0:00:00.024) 0:01:21.025 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 13 February 2024 02:18:18 +0000 (0:00:00.021) 0:01:21.047 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/run_test.yml:36 Tuesday 13 February 2024 02:18:18 +0000 (0:00:00.202) 0:01:21.250 ****** included: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/assert_profile_absent.yml for sut included: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/get_NetworkManager_NVR.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/assert_profile_absent.yml:3 Tuesday 13 February 2024 02:18:18 +0000 (0:00:00.087) 0:01:21.337 ****** included: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 13 February 2024 02:18:19 +0000 (0:00:00.036) 0:01:21.374 ****** 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-bond_options_rewrite73us5rz2/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 13 February 2024 02:18:19 +0000 (0:00:00.022) 0:01:21.397 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 13 February 2024 02:18:19 +0000 (0:00:00.209) 0:01:21.606 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 13 February 2024 02:18:19 +0000 (0:00:00.021) 0:01:21.627 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.019524", "end": "2024-02-13 02:18:19.460586", "rc": 1, "start": "2024-02-13 02:18:19.441062" } 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-bond_options_rewrite73us5rz2/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 13 February 2024 02:18:19 +0000 (0:00:00.230) 0:01:21.858 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 13 February 2024 02:18:19 +0000 (0:00:00.023) 0:01:21.882 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 13 February 2024 02:18:19 +0000 (0:00:00.021) 0:01:21.904 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 13 February 2024 02:18:19 +0000 (0:00:00.022) 0:01:21.926 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 13 February 2024 02:18:19 +0000 (0:00:00.021) 0:01:21.948 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/assert_profile_absent.yml:5 Tuesday 13 February 2024 02:18:19 +0000 (0:00:00.023) 0:01:21.971 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/get_NetworkManager_NVR.yml:7 Tuesday 13 February 2024 02:18:19 +0000 (0:00:00.023) 0:01:21.994 ****** ok: [sut] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:01.030053", "end": "2024-02-13 02:18:20.835819", "rc": 0, "start": "2024-02-13 02:18:19.805766" } STDOUT: NetworkManager-1.40.16-14.el8 TASK [Store NetworkManager version] ******************************************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/get_NetworkManager_NVR.yml:14 Tuesday 13 February 2024 02:18:20 +0000 (0:00:01.240) 0:01:23.234 ****** ok: [sut] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.40.16-14.el8" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/get_NetworkManager_NVR.yml:18 Tuesday 13 February 2024 02:18:20 +0000 (0:00:00.022) 0:01:23.257 ****** ok: [sut] => { "networkmanager_nvr": "NetworkManager-1.40.16-14.el8" } TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/run_test.yml:42 Tuesday 13 February 2024 02:18:20 +0000 (0:00:00.021) 0:01:23.279 ****** included: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 13 February 2024 02:18:20 +0000 (0:00:00.042) 0:01:23.321 ****** included: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 13 February 2024 02:18:20 +0000 (0:00:00.034) 0:01:23.356 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 13 February 2024 02:18:21 +0000 (0:00:00.209) 0:01:23.565 ****** 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-bond_options_rewrite73us5rz2/tests/playbooks/tasks/run_test.yml:47 Tuesday 13 February 2024 02:18:21 +0000 (0:00:00.024) 0:01:23.590 ****** 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-bond_options_rewrite73us5rz2/tests/playbooks/tasks/run_test.yml:66 Tuesday 13 February 2024 02:18:21 +0000 (0:00:00.021) 0:01:23.612 ****** included: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/cleanup_profile+device.yml for sut included: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/check_network_dns.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 13 February 2024 02:18:21 +0000 (0:00:00.044) 0:01:23.657 ****** 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.038221", "end": "2024-02-13 02:18:21.509889", "rc": 1, "start": "2024-02-13 02:18:21.471668" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Verify DNS and ping still work] ****************************************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/check_network_dns.yml:6 Tuesday 13 February 2024 02:18:21 +0000 (0:00:00.250) 0:01:23.907 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "set -euo pipefail\necho IP\nip a\necho IP ROUTE\nip route\necho RESOLV\nif [ -f /etc/resolv.conf ]; then\n cat /etc/resolv.conf\nelse\n echo NO /etc/resolv.conf\n ls -alrtF /etc/resolv.* || :\nfi\ntype -p resolvectl && resolvectl\necho CHECK DNS AND CONNECTIVITY\nfor host in mirrors.fedoraproject.org mirrors.centos.org; do\n if ! getent hosts \"$host\"; then\n echo FAILED to lookup host \"$host\"\n exit 1\n fi\n if ! curl -o /dev/null https://\"$host\"; then\n echo FAILED to contact host \"$host\"\n exit 1\n fi\ndone\n", "delta": "0:00:00.018763", "end": "2024-02-13 02:18:21.745349", "rc": 1, "start": "2024-02-13 02:18:21.726586" } STDOUT: IP 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: eth0: mtu 9001 qdisc mq state UP group default qlen 1000 link/ether 02:4a:3f:e8:e5:47 brd ff:ff:ff:ff:ff:ff inet 10.31.44.47/22 brd 10.31.47.255 scope global dynamic noprefixroute eth0 valid_lft 2762sec preferred_lft 2762sec inet6 fe80::4a:3fff:fee8:e547/64 scope link valid_lft forever preferred_lft forever IP ROUTE default via 10.31.44.1 dev eth0 proto dhcp src 10.31.44.47 metric 100 10.31.44.0/22 dev eth0 proto kernel scope link src 10.31.44.47 metric 100 RESOLV # Generated by NetworkManager search us-east-1.aws.redhat.com testing-farm nameserver 10.29.169.13 nameserver 10.29.170.12 nameserver 10.2.32.1 /usr/bin/resolvectl STDERR: Failed to get global data: Unit dbus-org.freedesktop.resolve1.service not found. MSG: non-zero return code to retry, use: --limit @/tmp/tests_states_nm.retry PLAY RECAP ********************************************************************* sut : ok=322 changed=10 unreachable=0 failed=1 skipped=247 rescued=0 ignored=11 Tuesday 13 February 2024 02:18:21 +0000 (0:00:00.221) 0:01:24.129 ****** =============================================================================== linux-system-roles.network : Configure networking connection profiles --- 2.34s /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:125 linux-system-roles.network : Enable and start NetworkManager ------------ 2.04s /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:88 linux-system-roles.network : Check which services are running ----------- 1.60s /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which packages are installed --------- 1.57s /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which services are running ----------- 1.56s /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.55s /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.54s /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.54s /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.53s /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.53s /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.53s /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Enable and start NetworkManager ------------ 1.53s /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:88 linux-system-roles.network : Check which services are running ----------- 1.53s /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.53s /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.52s /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.52s /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.52s /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.52s /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.52s /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which packages are installed --------- 1.45s /WORKDIR/git-bond_options_rewrite73us5rz2/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. ---^---^---^---^---^---