# 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_rewrite3efwbews/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_rewrite3efwbews/tests/tests_states_nm.yml:6 Tuesday 13 February 2024 14:11:28 +0000 (0:00:00.023) 0:00:00.023 ****** ok: [sut] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/tests_states_nm.yml:9 Tuesday 13 February 2024 14:11:28 +0000 (0:00:00.736) 0:00:00.760 ****** included: /WORKDIR/git-bond_options_rewrite3efwbews/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_rewrite3efwbews/tests/tasks/el_repo_setup.yml:3 Tuesday 13 February 2024 14:11:28 +0000 (0:00:00.021) 0:00:00.781 ****** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/tasks/el_repo_setup.yml:19 Tuesday 13 February 2024 14:11:29 +0000 (0:00:00.324) 0:00:01.106 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/tasks/el_repo_setup.yml:24 Tuesday 13 February 2024 14:11:29 +0000 (0:00:00.251) 0:00:01.357 ****** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/tasks/el_repo_setup.yml:28 Tuesday 13 February 2024 14:11:29 +0000 (0:00:00.019) 0:00:01.377 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/tasks/el_repo_setup.yml:53 Tuesday 13 February 2024 14:11:29 +0000 (0:00:00.016) 0:00:01.394 ****** included: /WORKDIR/git-bond_options_rewrite3efwbews/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 8] *********************************************************** task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/tasks/enable_epel.yml:8 Tuesday 13 February 2024 14:11:29 +0000 (0:00:00.042) 0:00:01.436 ****** 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_rewrite3efwbews/tests/tasks/enable_epel.yml:24 Tuesday 13 February 2024 14:11:29 +0000 (0:00:00.241) 0:00:01.677 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/tasks/enable_epel.yml:30 Tuesday 13 February 2024 14:11:29 +0000 (0:00:00.010) 0:00:01.688 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/tasks/enable_epel.yml:35 Tuesday 13 February 2024 14:11:29 +0000 (0:00:00.010) 0:00:01.699 ****** ok: [sut] => { "changed": false, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:01.247022", "end": "2024-02-13 14:11:31.255792", "rc": 0, "start": "2024-02-13 14:11:30.008770" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/tasks/enable_epel.yml:40 Tuesday 13 February 2024 14:11:31 +0000 (0:00:01.430) 0:00:03.129 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/tests_states_nm.yml:11 Tuesday 13 February 2024 14:11:31 +0000 (0:00:00.009) 0:00:03.138 ****** 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_rewrite3efwbews/tests/playbooks/tests_states.yml:3 Tuesday 13 February 2024 14:11:31 +0000 (0:00:00.009) 0:00:03.148 ****** ok: [sut] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tests_states.yml:11 Tuesday 13 February 2024 14:11:31 +0000 (0:00:00.480) 0:00:03.629 ****** ok: [sut] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tests_states.yml:22 Tuesday 13 February 2024 14:11:31 +0000 (0:00:00.010) 0:00:03.640 ****** included: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile] ******************************************** task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/run_test.yml:5 Tuesday 13 February 2024 14:11:31 +0000 (0:00:00.015) 0:00:03.655 ****** ok: [sut] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/run_test.yml:9 Tuesday 13 February 2024 14:11:31 +0000 (0:00:00.010) 0:00:03.666 ****** 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_rewrite3efwbews/tests/playbooks/tasks/run_test.yml:21 Tuesday 13 February 2024 14:11:31 +0000 (0:00:00.032) 0:00:03.698 ****** included: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 13 February 2024 14:11:31 +0000 (0:00:00.013) 0:00:03.711 ****** included: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 13 February 2024 14:11:31 +0000 (0:00:00.013) 0:00:03.725 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003172", "end": "2024-02-13 14:11:32.036387", "rc": 0, "start": "2024-02-13 14:11:32.033215" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 13 February 2024 14:11:32 +0000 (0:00:00.184) 0:00:03.909 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 13 February 2024 14:11:32 +0000 (0:00:00.010) 0:00:03.920 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/run_test.yml:24 Tuesday 13 February 2024 14:11:32 +0000 (0:00:00.010) 0:00:03.930 ****** included: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/delete_interface.yml:3 Tuesday 13 February 2024 14:11:32 +0000 (0:00:00.019) 0:00:03.950 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.007630", "end": "2024-02-13 14:11:32.265170", "rc": 1, "start": "2024-02-13 14:11:32.257540" } 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_rewrite3efwbews/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 13 February 2024 14:11:32 +0000 (0:00:00.186) 0:00:04.136 ****** included: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 13 February 2024 14:11:32 +0000 (0:00:00.013) 0:00:04.150 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 13 February 2024 14:11:32 +0000 (0:00:00.179) 0:00:04.329 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/run_test.yml:30 Tuesday 13 February 2024 14:11:32 +0000 (0:00:00.011) 0:00:04.341 ****** included: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 13 February 2024 14:11:32 +0000 (0:00:00.016) 0:00:04.357 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 13 February 2024 14:11:32 +0000 (0:00:00.030) 0:00:04.388 ****** included: /WORKDIR/git-bond_options_rewrite3efwbews/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_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 13 February 2024 14:11:32 +0000 (0:00:00.066) 0:00:04.455 ****** 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_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 13 February 2024 14:11:32 +0000 (0:00:00.011) 0:00:04.467 ****** 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_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 13 February 2024 14:11:32 +0000 (0:00:00.011) 0:00:04.479 ****** 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_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 13 February 2024 14:11:32 +0000 (0:00:00.009) 0:00:04.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 : Check which packages are installed] ********* task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 13 February 2024 14:11:34 +0000 (0:00:01.567) 0:00:06.056 ****** 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_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 13 February 2024 14:11:35 +0000 (0:00:01.450) 0:00:07.506 ****** 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_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 13 February 2024 14:11:35 +0000 (0:00:00.024) 0:00:07.531 ****** 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_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 13 February 2024 14:11:35 +0000 (0:00:00.038) 0:00:07.570 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 13 February 2024 14:11:35 +0000 (0:00:00.024) 0:00:07.594 ****** 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_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 13 February 2024 14:11:35 +0000 (0:00:00.043) 0:00:07.638 ****** 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_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 13 February 2024 14:11:35 +0000 (0:00:00.022) 0:00:07.660 ****** 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_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 13 February 2024 14:11:35 +0000 (0:00:00.022) 0:00:07.683 ****** 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_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 13 February 2024 14:11:35 +0000 (0:00:00.023) 0:00:07.706 ****** 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_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 13 February 2024 14:11:36 +0000 (0:00:00.481) 0:00:08.188 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 13 February 2024 14:11:36 +0000 (0:00:00.025) 0:00:08.213 ****** 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_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 13 February 2024 14:11:36 +0000 (0:00:00.020) 0:00:08.234 ****** 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_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 13 February 2024 14:11:36 +0000 (0:00:00.020) 0:00:08.254 ****** 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, 0a17ec65-c5d9-4506-952b-243beb4f4ef2 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 13 February 2024 14:11:36 +0000 (0:00:00.531) 0:00:08.786 ****** 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_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 13 February 2024 14:11:36 +0000 (0:00:00.022) 0:00:08.808 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 0a17ec65-c5d9-4506-952b-243beb4f4ef2" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 13 February 2024 14:11:36 +0000 (0:00:00.023) 0:00:08.831 ****** 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, 0a17ec65-c5d9-4506-952b-243beb4f4ef2\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 0a17ec65-c5d9-4506-952b-243beb4f4ef2" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 13 February 2024 14:11:37 +0000 (0:00:00.026) 0:00:08.858 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 13 February 2024 14:11:37 +0000 (0:00:00.022) 0:00:08.880 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 13 February 2024 14:11:37 +0000 (0:00:00.240) 0:00:09.121 ****** 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, 0a17ec65-c5d9-4506-952b-243beb4f4ef2\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 0a17ec65-c5d9-4506-952b-243beb4f4ef2" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/run_test.yml:36 Tuesday 13 February 2024 14:11:37 +0000 (0:00:00.024) 0:00:09.146 ****** included: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 13 February 2024 14:11:37 +0000 (0:00:00.040) 0:00:09.186 ****** included: /WORKDIR/git-bond_options_rewrite3efwbews/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_rewrite3efwbews/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 13 February 2024 14:11:37 +0000 (0:00:00.038) 0:00:09.225 ****** 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_rewrite3efwbews/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 13 February 2024 14:11:37 +0000 (0:00:00.022) 0:00:09.247 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1707833496.8857727, "block_size": 4096, "blocks": 8, "ctime": 1707833496.8287725, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 6204086, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1707833496.8287725, "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_rewrite3efwbews/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 13 February 2024 14:11:37 +0000 (0:00:00.194) 0:00:09.442 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 13 February 2024 14:11:37 +0000 (0:00:00.022) 0:00:09.465 ****** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022314", "end": "2024-02-13 14:11:37.796492", "rc": 0, "start": "2024-02-13 14:11:37.774178" } 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_rewrite3efwbews/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 13 February 2024 14:11:37 +0000 (0:00:00.236) 0:00:09.701 ****** 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_rewrite3efwbews/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 13 February 2024 14:11:37 +0000 (0:00:00.024) 0:00:09.726 ****** 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_rewrite3efwbews/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 13 February 2024 14:11:37 +0000 (0:00:00.022) 0:00:09.748 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 13 February 2024 14:11:37 +0000 (0:00:00.023) 0:00:09.772 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 13 February 2024 14:11:37 +0000 (0:00:00.023) 0:00:09.795 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 13 February 2024 14:11:37 +0000 (0:00:00.026) 0:00:09.822 ****** 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_rewrite3efwbews/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 13 February 2024 14:11:37 +0000 (0:00:00.030) 0:00:09.853 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 13 February 2024 14:11:38 +0000 (0:00:00.024) 0:00:09.877 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/run_test.yml:42 Tuesday 13 February 2024 14:11:38 +0000 (0:00:00.022) 0:00:09.900 ****** included: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 13 February 2024 14:11:38 +0000 (0:00:00.042) 0:00:09.942 ****** included: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 13 February 2024 14:11:38 +0000 (0:00:00.034) 0:00:09.977 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1707833496.8315423, "block_size": 4096, "blocks": 0, "ctime": 1707833496.8315423, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 37169, "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": 1707833496.8315423, "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_rewrite3efwbews/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 13 February 2024 14:11:38 +0000 (0:00:00.193) 0:00:10.170 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can create a profile'] ******************************** task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/run_test.yml:47 Tuesday 13 February 2024 14:11:38 +0000 (0:00:00.023) 0:00:10.194 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/run_test.yml:66 Tuesday 13 February 2024 14:11:38 +0000 (0:00:00.045) 0:00:10.239 ****** included: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 13 February 2024 14:11:38 +0000 (0:00:00.040) 0:00:10.280 ****** 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.060586", "end": "2024-02-13 14:11:38.649989", "rc": 1, "start": "2024-02-13 14:11:38.589403" } STDOUT: Connection 'statebr' (0a17ec65-c5d9-4506-952b-243beb4f4ef2) 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_rewrite3efwbews/tests/playbooks/tests_states.yml:45 Tuesday 13 February 2024 14:11:38 +0000 (0:00:00.253) 0:00:10.533 ****** included: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile without autoconnect] ************************ task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/run_test.yml:5 Tuesday 13 February 2024 14:11:38 +0000 (0:00:00.037) 0:00:10.571 ****** ok: [sut] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/run_test.yml:9 Tuesday 13 February 2024 14:11:38 +0000 (0:00:00.021) 0:00:10.592 ****** 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_rewrite3efwbews/tests/playbooks/tasks/run_test.yml:21 Tuesday 13 February 2024 14:11:38 +0000 (0:00:00.044) 0:00:10.637 ****** included: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 13 February 2024 14:11:38 +0000 (0:00:00.034) 0:00:10.671 ****** included: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 13 February 2024 14:11:38 +0000 (0:00:00.032) 0:00:10.704 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003611", "end": "2024-02-13 14:11:39.015848", "rc": 0, "start": "2024-02-13 14:11:39.012237" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 13 February 2024 14:11:39 +0000 (0:00:00.195) 0:00:10.899 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 13 February 2024 14:11:39 +0000 (0:00:00.023) 0:00:10.923 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/run_test.yml:24 Tuesday 13 February 2024 14:11:39 +0000 (0:00:00.021) 0:00:10.944 ****** included: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/delete_interface.yml:3 Tuesday 13 February 2024 14:11:39 +0000 (0:00:00.066) 0:00:11.010 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.005992", "end": "2024-02-13 14:11:39.326027", "rc": 1, "start": "2024-02-13 14:11:39.320035" } 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_rewrite3efwbews/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 13 February 2024 14:11:39 +0000 (0:00:00.198) 0:00:11.209 ****** included: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 13 February 2024 14:11:39 +0000 (0:00:00.040) 0:00:11.249 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 13 February 2024 14:11:39 +0000 (0:00:00.195) 0:00:11.445 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/run_test.yml:30 Tuesday 13 February 2024 14:11:39 +0000 (0:00:00.024) 0:00:11.469 ****** included: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Tuesday 13 February 2024 14:11:39 +0000 (0:00:00.037) 0:00:11.507 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 13 February 2024 14:11:39 +0000 (0:00:00.039) 0:00:11.546 ****** included: /WORKDIR/git-bond_options_rewrite3efwbews/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_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 13 February 2024 14:11:39 +0000 (0:00:00.038) 0:00:11.585 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 13 February 2024 14:11:39 +0000 (0:00:00.026) 0:00:11.611 ****** 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_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 13 February 2024 14:11:39 +0000 (0:00:00.020) 0:00:11.631 ****** 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_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 13 February 2024 14:11:39 +0000 (0:00:00.044) 0:00:11.676 ****** 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_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 13 February 2024 14:11:41 +0000 (0:00:01.507) 0:00:13.184 ****** 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_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 13 February 2024 14:11:42 +0000 (0:00:01.315) 0:00:14.499 ****** 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_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 13 February 2024 14:11:42 +0000 (0:00:00.023) 0:00:14.523 ****** 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_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 13 February 2024 14:11:42 +0000 (0:00:00.022) 0:00:14.545 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 13 February 2024 14:11:42 +0000 (0:00:00.021) 0:00:14.567 ****** 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_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 13 February 2024 14:11:42 +0000 (0:00:00.043) 0:00:14.610 ****** 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_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 13 February 2024 14:11:42 +0000 (0:00:00.023) 0:00:14.633 ****** 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_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 13 February 2024 14:11:42 +0000 (0:00:00.022) 0:00:14.656 ****** 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_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 13 February 2024 14:11:42 +0000 (0:00:00.028) 0:00:14.684 ****** 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_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 13 February 2024 14:11:43 +0000 (0:00:00.339) 0:00:15.023 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 13 February 2024 14:11:43 +0000 (0:00:00.027) 0:00:15.050 ****** 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_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 13 February 2024 14:11:43 +0000 (0:00:00.025) 0:00:15.075 ****** 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_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 13 February 2024 14:11:43 +0000 (0:00:00.031) 0:00:15.107 ****** 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, dc78c565-d5de-4375-b15e-f3ea519202c2 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 13 February 2024 14:11:43 +0000 (0:00:00.339) 0:00:15.447 ****** 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_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 13 February 2024 14:11:43 +0000 (0:00:00.022) 0:00:15.469 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, dc78c565-d5de-4375-b15e-f3ea519202c2" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 13 February 2024 14:11:43 +0000 (0:00:00.022) 0:00:15.492 ****** 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, dc78c565-d5de-4375-b15e-f3ea519202c2\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, dc78c565-d5de-4375-b15e-f3ea519202c2" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 13 February 2024 14:11:43 +0000 (0:00:00.050) 0:00:15.542 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 13 February 2024 14:11:43 +0000 (0:00:00.022) 0:00:15.565 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Tuesday 13 February 2024 14:11:43 +0000 (0:00:00.192) 0:00:15.757 ****** 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, dc78c565-d5de-4375-b15e-f3ea519202c2\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, dc78c565-d5de-4375-b15e-f3ea519202c2" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/run_test.yml:36 Tuesday 13 February 2024 14:11:43 +0000 (0:00:00.023) 0:00:15.780 ****** included: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/assert_device_absent.yml for sut included: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 13 February 2024 14:11:43 +0000 (0:00:00.045) 0:00:15.826 ****** included: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 13 February 2024 14:11:44 +0000 (0:00:00.036) 0:00:15.863 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 13 February 2024 14:11:44 +0000 (0:00:00.194) 0:00:16.057 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 13 February 2024 14:11:44 +0000 (0:00:00.023) 0:00:16.080 ****** included: /WORKDIR/git-bond_options_rewrite3efwbews/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_rewrite3efwbews/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 13 February 2024 14:11:44 +0000 (0:00:00.036) 0:00:16.116 ****** 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_rewrite3efwbews/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 13 February 2024 14:11:44 +0000 (0:00:00.021) 0:00:16.137 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1707833503.548799, "block_size": 4096, "blocks": 8, "ctime": 1707833503.548799, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 6204086, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1707833503.548799, "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_rewrite3efwbews/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 13 February 2024 14:11:44 +0000 (0:00:00.193) 0:00:16.331 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 13 February 2024 14:11:44 +0000 (0:00:00.046) 0:00:16.378 ****** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020721", "end": "2024-02-13 14:11:44.711670", "rc": 0, "start": "2024-02-13 14:11:44.690949" } 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_rewrite3efwbews/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 13 February 2024 14:11:44 +0000 (0:00:00.218) 0:00:16.597 ****** 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_rewrite3efwbews/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 13 February 2024 14:11:44 +0000 (0:00:00.024) 0:00:16.622 ****** 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_rewrite3efwbews/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 13 February 2024 14:11:44 +0000 (0:00:00.022) 0:00:16.644 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 13 February 2024 14:11:44 +0000 (0:00:00.022) 0:00:16.667 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 13 February 2024 14:11:44 +0000 (0:00:00.022) 0:00:16.690 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 13 February 2024 14:11:44 +0000 (0:00:00.022) 0:00:16.713 ****** 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_rewrite3efwbews/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 13 February 2024 14:11:44 +0000 (0:00:00.024) 0:00:16.738 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 13 February 2024 14:11:44 +0000 (0:00:00.024) 0:00:16.762 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/run_test.yml:42 Tuesday 13 February 2024 14:11:44 +0000 (0:00:00.021) 0:00:16.784 ****** TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/run_test.yml:47 Tuesday 13 February 2024 14:11:44 +0000 (0:00:00.020) 0:00:16.804 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/run_test.yml:66 Tuesday 13 February 2024 14:11:44 +0000 (0:00:00.025) 0:00:16.830 ****** included: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 13 February 2024 14:11:45 +0000 (0:00:00.040) 0:00:16.871 ****** 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.042565", "end": "2024-02-13 14:11:45.224180", "rc": 1, "start": "2024-02-13 14:11:45.181615" } STDOUT: Connection 'statebr' (dc78c565-d5de-4375-b15e-f3ea519202c2) 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_rewrite3efwbews/tests/playbooks/tests_states.yml:65 Tuesday 13 February 2024 14:11:45 +0000 (0:00:00.237) 0:00:17.108 ****** included: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can activate an existing profile] ******************************** task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/run_test.yml:5 Tuesday 13 February 2024 14:11:45 +0000 (0:00:00.064) 0:00:17.172 ****** ok: [sut] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/run_test.yml:9 Tuesday 13 February 2024 14:11:45 +0000 (0:00:00.021) 0:00:17.194 ****** 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_rewrite3efwbews/tests/playbooks/tasks/run_test.yml:21 Tuesday 13 February 2024 14:11:45 +0000 (0:00:00.043) 0:00:17.237 ****** included: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 13 February 2024 14:11:45 +0000 (0:00:00.034) 0:00:17.271 ****** included: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 13 February 2024 14:11:45 +0000 (0:00:00.033) 0:00:17.305 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003310", "end": "2024-02-13 14:11:45.618460", "rc": 0, "start": "2024-02-13 14:11:45.615150" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 13 February 2024 14:11:45 +0000 (0:00:00.197) 0:00:17.503 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 13 February 2024 14:11:45 +0000 (0:00:00.022) 0:00:17.525 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/run_test.yml:24 Tuesday 13 February 2024 14:11:45 +0000 (0:00:00.021) 0:00:17.547 ****** included: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 13 February 2024 14:11:45 +0000 (0:00:00.037) 0:00:17.585 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 13 February 2024 14:11:45 +0000 (0:00:00.036) 0:00:17.621 ****** included: /WORKDIR/git-bond_options_rewrite3efwbews/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_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 13 February 2024 14:11:45 +0000 (0:00:00.063) 0:00:17.685 ****** 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_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 13 February 2024 14:11:45 +0000 (0:00:00.026) 0:00:17.711 ****** 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_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 13 February 2024 14:11:45 +0000 (0:00:00.020) 0:00:17.732 ****** 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_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 13 February 2024 14:11:45 +0000 (0:00:00.020) 0:00:17.752 ****** 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_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 13 February 2024 14:11:47 +0000 (0:00:01.489) 0:00:19.241 ****** 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_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 13 February 2024 14:11:48 +0000 (0:00:01.294) 0:00:20.536 ****** 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_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 13 February 2024 14:11:48 +0000 (0:00:00.025) 0:00:20.561 ****** 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_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 13 February 2024 14:11:48 +0000 (0:00:00.039) 0:00:20.601 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 13 February 2024 14:11:48 +0000 (0:00:00.022) 0:00:20.623 ****** 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_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 13 February 2024 14:11:48 +0000 (0:00:00.042) 0:00:20.666 ****** 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_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 13 February 2024 14:11:48 +0000 (0:00:00.021) 0:00:20.687 ****** 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_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 13 February 2024 14:11:48 +0000 (0:00:00.021) 0:00:20.708 ****** 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_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 13 February 2024 14:11:48 +0000 (0:00:00.024) 0:00:20.733 ****** 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_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 13 February 2024 14:11:49 +0000 (0:00:00.340) 0:00:21.073 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 13 February 2024 14:11:49 +0000 (0:00:00.025) 0:00:21.099 ****** 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_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 13 February 2024 14:11:49 +0000 (0:00:00.020) 0:00:21.119 ****** 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_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 13 February 2024 14:11:49 +0000 (0:00:00.020) 0:00:21.140 ****** 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, 418d7649-2376-4db7-a33f-2fb88e480f51 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 13 February 2024 14:11:49 +0000 (0:00:00.402) 0:00:21.542 ****** 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_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 13 February 2024 14:11:49 +0000 (0:00:00.021) 0:00:21.563 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 418d7649-2376-4db7-a33f-2fb88e480f51" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 13 February 2024 14:11:49 +0000 (0:00:00.021) 0:00:21.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, 418d7649-2376-4db7-a33f-2fb88e480f51\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 418d7649-2376-4db7-a33f-2fb88e480f51" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 13 February 2024 14:11:49 +0000 (0:00:00.021) 0:00:21.606 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 13 February 2024 14:11:49 +0000 (0:00:00.020) 0:00:21.627 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 13 February 2024 14:11:49 +0000 (0:00:00.190) 0:00:21.818 ****** 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, 418d7649-2376-4db7-a33f-2fb88e480f51\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 418d7649-2376-4db7-a33f-2fb88e480f51" ] } } TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/run_test.yml:30 Tuesday 13 February 2024 14:11:49 +0000 (0:00:00.023) 0:00:21.841 ****** included: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 13 February 2024 14:11:50 +0000 (0:00:00.037) 0:00:21.879 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 13 February 2024 14:11:50 +0000 (0:00:00.039) 0:00:21.918 ****** included: /WORKDIR/git-bond_options_rewrite3efwbews/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_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 13 February 2024 14:11:50 +0000 (0:00:00.038) 0:00:21.957 ****** 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_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 13 February 2024 14:11:50 +0000 (0:00:00.026) 0:00:21.983 ****** 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_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 13 February 2024 14:11:50 +0000 (0:00:00.020) 0:00:22.003 ****** 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_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 13 February 2024 14:11:50 +0000 (0:00:00.049) 0:00:22.053 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 13 February 2024 14:11:51 +0000 (0:00:01.498) 0:00:23.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 : Print network provider] ********************* task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 13 February 2024 14:11:53 +0000 (0:00:01.315) 0:00:24.866 ****** 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_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 13 February 2024 14:11:53 +0000 (0:00:00.023) 0:00:24.890 ****** 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_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 13 February 2024 14:11:53 +0000 (0:00:00.021) 0:00:24.911 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 13 February 2024 14:11:53 +0000 (0:00:00.021) 0:00:24.932 ****** 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_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 13 February 2024 14:11:53 +0000 (0:00:00.043) 0:00:24.976 ****** 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_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 13 February 2024 14:11:53 +0000 (0:00:00.022) 0:00:24.998 ****** 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_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 13 February 2024 14:11:53 +0000 (0:00:00.022) 0:00:25.021 ****** 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_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 13 February 2024 14:11:53 +0000 (0:00:00.025) 0:00:25.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 : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 13 February 2024 14:11:53 +0000 (0:00:00.342) 0:00:25.390 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 13 February 2024 14:11:53 +0000 (0:00:00.025) 0:00:25.415 ****** 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_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 13 February 2024 14:11:53 +0000 (0:00:00.019) 0:00:25.435 ****** 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_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 13 February 2024 14:11:53 +0000 (0:00:00.020) 0:00:25.456 ****** 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, 418d7649-2376-4db7-a33f-2fb88e480f51 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 13 February 2024 14:11:53 +0000 (0:00:00.330) 0:00:25.786 ****** 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_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 13 February 2024 14:11:53 +0000 (0:00:00.022) 0:00:25.808 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 418d7649-2376-4db7-a33f-2fb88e480f51 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 13 February 2024 14:11:54 +0000 (0:00:00.055) 0:00:25.863 ****** 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, 418d7649-2376-4db7-a33f-2fb88e480f51 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 418d7649-2376-4db7-a33f-2fb88e480f51 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 13 February 2024 14:11:54 +0000 (0:00:00.024) 0:00:25.888 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 13 February 2024 14:11:54 +0000 (0:00:00.022) 0:00:25.911 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/run_test.yml:36 Tuesday 13 February 2024 14:11:54 +0000 (0:00:00.188) 0:00:26.099 ****** included: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 13 February 2024 14:11:54 +0000 (0:00:00.043) 0:00:26.143 ****** included: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 13 February 2024 14:11:54 +0000 (0:00:00.035) 0:00:26.178 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1707833509.6110473, "block_size": 4096, "blocks": 0, "ctime": 1707833509.6110473, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 37300, "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": 1707833509.6110473, "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_rewrite3efwbews/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 13 February 2024 14:11:54 +0000 (0:00:00.205) 0:00:26.383 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 13 February 2024 14:11:54 +0000 (0:00:00.024) 0:00:26.408 ****** included: /WORKDIR/git-bond_options_rewrite3efwbews/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_rewrite3efwbews/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 13 February 2024 14:11:54 +0000 (0:00:00.036) 0:00:26.444 ****** 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_rewrite3efwbews/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 13 February 2024 14:11:54 +0000 (0:00:00.021) 0:00:26.466 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1707833509.6658232, "block_size": 4096, "blocks": 8, "ctime": 1707833509.608823, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 6204086, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1707833509.608823, "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_rewrite3efwbews/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 13 February 2024 14:11:54 +0000 (0:00:00.191) 0:00:26.658 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 13 February 2024 14:11:54 +0000 (0:00:00.022) 0:00:26.681 ****** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021310", "end": "2024-02-13 14:11:55.011141", "rc": 0, "start": "2024-02-13 14:11:54.989831" } 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_rewrite3efwbews/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 13 February 2024 14:11:55 +0000 (0:00:00.214) 0:00:26.895 ****** 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_rewrite3efwbews/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 13 February 2024 14:11:55 +0000 (0:00:00.025) 0:00:26.921 ****** 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_rewrite3efwbews/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 13 February 2024 14:11:55 +0000 (0:00:00.023) 0:00:26.944 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 13 February 2024 14:11:55 +0000 (0:00:00.022) 0:00:26.967 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 13 February 2024 14:11:55 +0000 (0:00:00.023) 0:00:26.990 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 13 February 2024 14:11:55 +0000 (0:00:00.023) 0:00:27.013 ****** 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_rewrite3efwbews/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 13 February 2024 14:11:55 +0000 (0:00:00.023) 0:00:27.037 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 13 February 2024 14:11:55 +0000 (0:00:00.023) 0:00:27.060 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/run_test.yml:42 Tuesday 13 February 2024 14:11:55 +0000 (0:00:00.022) 0:00:27.082 ****** TASK [Success in test 'I can activate an existing profile'] ******************** task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/run_test.yml:47 Tuesday 13 February 2024 14:11:55 +0000 (0:00:00.020) 0:00:27.103 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/run_test.yml:66 Tuesday 13 February 2024 14:11:55 +0000 (0:00:00.023) 0:00:27.127 ****** included: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 13 February 2024 14:11:55 +0000 (0:00:00.041) 0:00:27.169 ****** 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.059236", "end": "2024-02-13 14:11:55.539741", "rc": 1, "start": "2024-02-13 14:11:55.480505" } STDOUT: Connection 'statebr' (418d7649-2376-4db7-a33f-2fb88e480f51) 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_rewrite3efwbews/tests/playbooks/tests_states.yml:83 Tuesday 13 February 2024 14:11:55 +0000 (0:00:00.255) 0:00:27.424 ****** included: /WORKDIR/git-bond_options_rewrite3efwbews/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_rewrite3efwbews/tests/playbooks/tasks/run_test.yml:5 Tuesday 13 February 2024 14:11:55 +0000 (0:00:00.063) 0:00:27.488 ****** ok: [sut] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/run_test.yml:9 Tuesday 13 February 2024 14:11:55 +0000 (0:00:00.023) 0:00:27.511 ****** 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_rewrite3efwbews/tests/playbooks/tasks/run_test.yml:21 Tuesday 13 February 2024 14:11:55 +0000 (0:00:00.042) 0:00:27.554 ****** included: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 13 February 2024 14:11:55 +0000 (0:00:00.034) 0:00:27.589 ****** included: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 13 February 2024 14:11:55 +0000 (0:00:00.033) 0:00:27.622 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003246", "end": "2024-02-13 14:11:55.935809", "rc": 0, "start": "2024-02-13 14:11:55.932563" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 13 February 2024 14:11:55 +0000 (0:00:00.198) 0:00:27.820 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 13 February 2024 14:11:55 +0000 (0:00:00.024) 0:00:27.845 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/run_test.yml:24 Tuesday 13 February 2024 14:11:56 +0000 (0:00:00.023) 0:00:27.868 ****** included: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 13 February 2024 14:11:56 +0000 (0:00:00.045) 0:00:27.914 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 13 February 2024 14:11:56 +0000 (0:00:00.043) 0:00:27.958 ****** included: /WORKDIR/git-bond_options_rewrite3efwbews/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_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 13 February 2024 14:11:56 +0000 (0:00:00.079) 0:00:28.037 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 13 February 2024 14:11:56 +0000 (0:00:00.042) 0:00:28.079 ****** 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_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 13 February 2024 14:11:56 +0000 (0:00:00.023) 0:00:28.103 ****** 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_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 13 February 2024 14:11:56 +0000 (0:00:00.027) 0:00:28.131 ****** 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_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 13 February 2024 14:11:57 +0000 (0:00:01.492) 0:00:29.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 : Print network provider] ********************* task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 13 February 2024 14:11:59 +0000 (0:00:01.313) 0:00:30.937 ****** 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_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 13 February 2024 14:11:59 +0000 (0:00:00.023) 0:00:30.960 ****** 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_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 13 February 2024 14:11:59 +0000 (0:00:00.020) 0:00:30.981 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 13 February 2024 14:11:59 +0000 (0:00:00.020) 0:00:31.001 ****** 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_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 13 February 2024 14:11:59 +0000 (0:00:00.042) 0:00:31.044 ****** 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_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 13 February 2024 14:11:59 +0000 (0:00:00.020) 0:00:31.065 ****** 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_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 13 February 2024 14:11:59 +0000 (0:00:00.020) 0:00:31.085 ****** 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_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 13 February 2024 14:11:59 +0000 (0:00:00.026) 0:00:31.111 ****** 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_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 13 February 2024 14:11:59 +0000 (0:00:00.338) 0:00:31.450 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 13 February 2024 14:11:59 +0000 (0:00:00.025) 0:00:31.476 ****** 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_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 13 February 2024 14:11:59 +0000 (0:00:00.020) 0:00:31.497 ****** 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_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 13 February 2024 14:11:59 +0000 (0:00:00.020) 0:00:31.517 ****** 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, 1aa98d5a-ec32-4521-9118-3768e0147310 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 13 February 2024 14:12:00 +0000 (0:00:00.366) 0:00:31.884 ****** 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_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 13 February 2024 14:12:00 +0000 (0:00:00.046) 0:00:31.930 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 1aa98d5a-ec32-4521-9118-3768e0147310" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 13 February 2024 14:12:00 +0000 (0:00:00.024) 0:00:31.954 ****** 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, 1aa98d5a-ec32-4521-9118-3768e0147310\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 1aa98d5a-ec32-4521-9118-3768e0147310" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 13 February 2024 14:12:00 +0000 (0:00:00.023) 0:00:31.978 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 13 February 2024 14:12:00 +0000 (0:00:00.021) 0:00:31.999 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 13 February 2024 14:12:00 +0000 (0:00:00.191) 0:00:32.190 ****** 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, 1aa98d5a-ec32-4521-9118-3768e0147310\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 1aa98d5a-ec32-4521-9118-3768e0147310" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 13 February 2024 14:12:00 +0000 (0:00:00.022) 0:00:32.213 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 13 February 2024 14:12:00 +0000 (0:00:00.036) 0:00:32.250 ****** included: /WORKDIR/git-bond_options_rewrite3efwbews/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_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 13 February 2024 14:12:00 +0000 (0:00:00.039) 0:00:32.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 : Check if system is ostree] ****************** task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 13 February 2024 14:12:00 +0000 (0:00:00.026) 0:00:32.315 ****** 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_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 13 February 2024 14:12:00 +0000 (0:00:00.021) 0:00:32.336 ****** 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_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 13 February 2024 14:12:00 +0000 (0:00:00.020) 0:00:32.357 ****** 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_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 13 February 2024 14:12:02 +0000 (0:00:01.508) 0:00:33.866 ****** 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_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 13 February 2024 14:12:03 +0000 (0:00:01.297) 0:00:35.163 ****** 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_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 13 February 2024 14:12:03 +0000 (0:00:00.023) 0:00:35.187 ****** 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_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 13 February 2024 14:12:03 +0000 (0:00:00.020) 0:00:35.207 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 13 February 2024 14:12:03 +0000 (0:00:00.020) 0:00:35.228 ****** 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_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 13 February 2024 14:12:03 +0000 (0:00:00.042) 0:00:35.271 ****** 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_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 13 February 2024 14:12:03 +0000 (0:00:00.020) 0:00:35.291 ****** 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_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 13 February 2024 14:12:03 +0000 (0:00:00.041) 0:00:35.333 ****** 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_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 13 February 2024 14:12:03 +0000 (0:00:00.025) 0:00:35.359 ****** 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_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 13 February 2024 14:12:03 +0000 (0:00:00.338) 0:00:35.697 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 13 February 2024 14:12:03 +0000 (0:00:00.025) 0:00:35.722 ****** 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_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 13 February 2024 14:12:03 +0000 (0:00:00.022) 0:00:35.745 ****** 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_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 13 February 2024 14:12:03 +0000 (0:00:00.020) 0:00:35.765 ****** 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, 1aa98d5a-ec32-4521-9118-3768e0147310 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 13 February 2024 14:12:04 +0000 (0:00:00.328) 0:00:36.093 ****** 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_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 13 February 2024 14:12:04 +0000 (0:00:00.021) 0:00:36.115 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 1aa98d5a-ec32-4521-9118-3768e0147310 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 13 February 2024 14:12:04 +0000 (0:00:00.022) 0:00:36.137 ****** 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, 1aa98d5a-ec32-4521-9118-3768e0147310 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 1aa98d5a-ec32-4521-9118-3768e0147310 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 13 February 2024 14:12:04 +0000 (0:00:00.022) 0:00:36.160 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 13 February 2024 14:12:04 +0000 (0:00:00.020) 0:00:36.180 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/run_test.yml:30 Tuesday 13 February 2024 14:12:04 +0000 (0:00:00.190) 0:00:36.371 ****** included: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/remove_profile.yml:3 Tuesday 13 February 2024 14:12:04 +0000 (0:00:00.070) 0:00:36.441 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 13 February 2024 14:12:04 +0000 (0:00:00.043) 0:00:36.484 ****** included: /WORKDIR/git-bond_options_rewrite3efwbews/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_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 13 February 2024 14:12:04 +0000 (0:00:00.040) 0:00:36.525 ****** 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_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 13 February 2024 14:12:04 +0000 (0:00:00.026) 0:00:36.552 ****** 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_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 13 February 2024 14:12:04 +0000 (0:00:00.024) 0:00:36.576 ****** 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_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 13 February 2024 14:12:04 +0000 (0:00:00.022) 0:00:36.599 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 13 February 2024 14:12:06 +0000 (0:00:01.492) 0:00:38.092 ****** 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_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 13 February 2024 14:12:07 +0000 (0:00:01.316) 0:00:39.409 ****** 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_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 13 February 2024 14:12:07 +0000 (0:00:00.028) 0:00:39.438 ****** 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_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 13 February 2024 14:12:07 +0000 (0:00:00.023) 0:00:39.461 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 13 February 2024 14:12:07 +0000 (0:00:00.022) 0:00:39.483 ****** 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_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 13 February 2024 14:12:07 +0000 (0:00:00.044) 0:00:39.527 ****** 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_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 13 February 2024 14:12:07 +0000 (0:00:00.021) 0:00:39.549 ****** 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_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 13 February 2024 14:12:07 +0000 (0:00:00.020) 0:00:39.569 ****** 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_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 13 February 2024 14:12:07 +0000 (0:00:00.023) 0:00:39.593 ****** 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_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 13 February 2024 14:12:08 +0000 (0:00:00.348) 0:00:39.942 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 13 February 2024 14:12:08 +0000 (0:00:00.054) 0:00:39.997 ****** 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_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 13 February 2024 14:12:08 +0000 (0:00:00.023) 0:00:40.020 ****** 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_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 13 February 2024 14:12:08 +0000 (0:00:00.024) 0:00:40.044 ****** 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_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 13 February 2024 14:12:08 +0000 (0:00:00.369) 0:00:40.413 ****** 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_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 13 February 2024 14:12:08 +0000 (0:00:00.022) 0:00:40.436 ****** 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_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 13 February 2024 14:12:08 +0000 (0:00:00.023) 0:00:40.459 ****** 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_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 13 February 2024 14:12:08 +0000 (0:00:00.025) 0:00:40.484 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 13 February 2024 14:12:08 +0000 (0:00:00.022) 0:00:40.507 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/run_test.yml:36 Tuesday 13 February 2024 14:12:08 +0000 (0:00:00.192) 0:00:40.699 ****** included: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 13 February 2024 14:12:08 +0000 (0:00:00.043) 0:00:40.743 ****** included: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 13 February 2024 14:12:08 +0000 (0:00:00.034) 0:00:40.778 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1707833519.9587243, "block_size": 4096, "blocks": 0, "ctime": 1707833519.9587243, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 37431, "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": 1707833519.9587243, "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_rewrite3efwbews/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 13 February 2024 14:12:09 +0000 (0:00:00.197) 0:00:40.976 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/assert_profile_absent.yml:3 Tuesday 13 February 2024 14:12:09 +0000 (0:00:00.052) 0:00:41.029 ****** included: /WORKDIR/git-bond_options_rewrite3efwbews/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_rewrite3efwbews/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 13 February 2024 14:12:09 +0000 (0:00:00.041) 0:00:41.071 ****** 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_rewrite3efwbews/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 13 February 2024 14:12:09 +0000 (0:00:00.027) 0:00:41.099 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 13 February 2024 14:12:09 +0000 (0:00:00.194) 0:00:41.293 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 13 February 2024 14:12:09 +0000 (0:00:00.023) 0:00:41.317 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022193", "end": "2024-02-13 14:12:09.651711", "rc": 1, "start": "2024-02-13 14:12:09.629518" } 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_rewrite3efwbews/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 13 February 2024 14:12:09 +0000 (0:00:00.225) 0:00:41.542 ****** 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_rewrite3efwbews/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 13 February 2024 14:12:09 +0000 (0:00:00.024) 0:00:41.566 ****** 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_rewrite3efwbews/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 13 February 2024 14:12:09 +0000 (0:00:00.021) 0:00:41.588 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 13 February 2024 14:12:09 +0000 (0:00:00.022) 0:00:41.610 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 13 February 2024 14:12:09 +0000 (0:00:00.021) 0:00:41.632 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/assert_profile_absent.yml:5 Tuesday 13 February 2024 14:12:09 +0000 (0:00:00.021) 0:00:41.654 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/run_test.yml:42 Tuesday 13 February 2024 14:12:09 +0000 (0:00:00.023) 0:00:41.677 ****** TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/run_test.yml:47 Tuesday 13 February 2024 14:12:09 +0000 (0:00:00.020) 0:00:41.698 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/run_test.yml:66 Tuesday 13 February 2024 14:12:09 +0000 (0:00:00.022) 0:00:41.721 ****** included: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 13 February 2024 14:12:09 +0000 (0:00:00.069) 0:00:41.791 ****** 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.075301", "end": "2024-02-13 14:12:10.181866", "rc": 1, "start": "2024-02-13 14:12:10.106565" } STDOUT: Connection 'statebr' (1aa98d5a-ec32-4521-9118-3768e0147310) 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_rewrite3efwbews/tests/playbooks/tests_states.yml:103 Tuesday 13 February 2024 14:12:10 +0000 (0:00:00.278) 0:00:42.069 ****** included: /WORKDIR/git-bond_options_rewrite3efwbews/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_rewrite3efwbews/tests/playbooks/tasks/run_test.yml:5 Tuesday 13 February 2024 14:12:10 +0000 (0:00:00.039) 0:00:42.108 ****** ok: [sut] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/run_test.yml:9 Tuesday 13 February 2024 14:12:10 +0000 (0:00:00.029) 0:00:42.137 ****** 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_rewrite3efwbews/tests/playbooks/tasks/run_test.yml:21 Tuesday 13 February 2024 14:12:10 +0000 (0:00:00.050) 0:00:42.188 ****** included: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 13 February 2024 14:12:10 +0000 (0:00:00.036) 0:00:42.224 ****** included: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 13 February 2024 14:12:10 +0000 (0:00:00.035) 0:00:42.260 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003098", "end": "2024-02-13 14:12:10.574045", "rc": 0, "start": "2024-02-13 14:12:10.570947" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 13 February 2024 14:12:10 +0000 (0:00:00.207) 0:00:42.467 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 13 February 2024 14:12:10 +0000 (0:00:00.030) 0:00:42.498 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/run_test.yml:24 Tuesday 13 February 2024 14:12:10 +0000 (0:00:00.022) 0:00:42.520 ****** included: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 13 February 2024 14:12:10 +0000 (0:00:00.075) 0:00:42.595 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 13 February 2024 14:12:10 +0000 (0:00:00.051) 0:00:42.647 ****** included: /WORKDIR/git-bond_options_rewrite3efwbews/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_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 13 February 2024 14:12:10 +0000 (0:00:00.043) 0:00:42.691 ****** 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_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 13 February 2024 14:12:10 +0000 (0:00:00.038) 0:00:42.729 ****** 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_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 13 February 2024 14:12:10 +0000 (0:00:00.024) 0:00:42.754 ****** 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_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 13 February 2024 14:12:10 +0000 (0:00:00.031) 0:00:42.785 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 13 February 2024 14:12:12 +0000 (0:00:01.497) 0:00:44.283 ****** 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_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 13 February 2024 14:12:13 +0000 (0:00:01.313) 0:00:45.597 ****** 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_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 13 February 2024 14:12:13 +0000 (0:00:00.023) 0:00:45.620 ****** 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_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 13 February 2024 14:12:13 +0000 (0:00:00.020) 0:00:45.641 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 13 February 2024 14:12:13 +0000 (0:00:00.020) 0:00:45.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_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 13 February 2024 14:12:13 +0000 (0:00:00.042) 0:00:45.704 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 13 February 2024 14:12:13 +0000 (0:00:00.020) 0:00:45.725 ****** 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_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 13 February 2024 14:12:13 +0000 (0:00:00.020) 0:00:45.746 ****** 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_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 13 February 2024 14:12:13 +0000 (0:00:00.026) 0:00:45.772 ****** 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_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 13 February 2024 14:12:14 +0000 (0:00:00.364) 0:00:46.136 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 13 February 2024 14:12:14 +0000 (0:00:00.026) 0:00:46.162 ****** 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_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 13 February 2024 14:12:14 +0000 (0:00:00.021) 0:00:46.184 ****** 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_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 13 February 2024 14:12:14 +0000 (0:00:00.020) 0:00:46.204 ****** 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, e0d06804-471c-425c-8959-edf827087fec TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 13 February 2024 14:12:14 +0000 (0:00:00.377) 0:00:46.582 ****** 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_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 13 February 2024 14:12:14 +0000 (0:00:00.022) 0:00:46.604 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, e0d06804-471c-425c-8959-edf827087fec" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 13 February 2024 14:12:14 +0000 (0:00:00.021) 0:00:46.625 ****** 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, e0d06804-471c-425c-8959-edf827087fec\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, e0d06804-471c-425c-8959-edf827087fec" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 13 February 2024 14:12:14 +0000 (0:00:00.021) 0:00:46.647 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 13 February 2024 14:12:14 +0000 (0:00:00.020) 0:00:46.668 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 13 February 2024 14:12:15 +0000 (0:00:00.189) 0:00:46.858 ****** 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, e0d06804-471c-425c-8959-edf827087fec\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, e0d06804-471c-425c-8959-edf827087fec" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 13 February 2024 14:12:15 +0000 (0:00:00.023) 0:00:46.881 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 13 February 2024 14:12:15 +0000 (0:00:00.034) 0:00:46.916 ****** included: /WORKDIR/git-bond_options_rewrite3efwbews/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_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 13 February 2024 14:12:15 +0000 (0:00:00.039) 0:00:46.955 ****** 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_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 13 February 2024 14:12:15 +0000 (0:00:00.052) 0:00:47.008 ****** 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_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 13 February 2024 14:12:15 +0000 (0:00:00.022) 0:00:47.030 ****** 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_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 13 February 2024 14:12:15 +0000 (0:00:00.020) 0:00:47.051 ****** 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_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 13 February 2024 14:12:16 +0000 (0:00:01.485) 0:00:48.537 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 13 February 2024 14:12:18 +0000 (0:00:01.333) 0:00:49.870 ****** 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_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 13 February 2024 14:12:18 +0000 (0:00:00.023) 0:00:49.894 ****** 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_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 13 February 2024 14:12:18 +0000 (0:00:00.021) 0:00:49.915 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 13 February 2024 14:12:18 +0000 (0:00:00.021) 0:00:49.937 ****** 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_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 13 February 2024 14:12:18 +0000 (0:00:00.044) 0:00:49.981 ****** 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_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 13 February 2024 14:12:18 +0000 (0:00:00.022) 0:00:50.004 ****** 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_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 13 February 2024 14:12:18 +0000 (0:00:00.021) 0:00:50.025 ****** 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_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 13 February 2024 14:12:18 +0000 (0:00:00.024) 0:00:50.049 ****** 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_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 13 February 2024 14:12:18 +0000 (0:00:00.363) 0:00:50.413 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 13 February 2024 14:12:18 +0000 (0:00:00.027) 0:00:50.440 ****** 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_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 13 February 2024 14:12:18 +0000 (0:00:00.024) 0:00:50.465 ****** 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_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 13 February 2024 14:12:18 +0000 (0:00:00.023) 0:00:50.488 ****** ok: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr, e0d06804-471c-425c-8959-edf827087fec skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 13 February 2024 14:12:18 +0000 (0:00:00.328) 0:00:50.816 ****** 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_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 13 February 2024 14:12:18 +0000 (0:00:00.021) 0:00:50.838 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, e0d06804-471c-425c-8959-edf827087fec skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 13 February 2024 14:12:19 +0000 (0:00:00.048) 0:00:50.887 ****** 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, e0d06804-471c-425c-8959-edf827087fec skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, e0d06804-471c-425c-8959-edf827087fec skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 13 February 2024 14:12:19 +0000 (0:00:00.023) 0:00:50.910 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 13 February 2024 14:12:19 +0000 (0:00:00.020) 0:00:50.930 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/remove_profile.yml:3 Tuesday 13 February 2024 14:12:19 +0000 (0:00:00.188) 0:00:51.119 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 13 February 2024 14:12:19 +0000 (0:00:00.039) 0:00:51.158 ****** included: /WORKDIR/git-bond_options_rewrite3efwbews/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_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 13 February 2024 14:12:19 +0000 (0:00:00.041) 0:00:51.199 ****** 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_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 13 February 2024 14:12:19 +0000 (0:00:00.028) 0:00:51.227 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 13 February 2024 14:12:19 +0000 (0:00:00.021) 0:00:51.248 ****** 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_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 13 February 2024 14:12:19 +0000 (0:00:00.021) 0:00:51.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 : Check which packages are installed] ********* task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 13 February 2024 14:12:20 +0000 (0:00:01.482) 0:00:52.753 ****** 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_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 13 February 2024 14:12:22 +0000 (0:00:01.292) 0:00:54.045 ****** 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_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 13 February 2024 14:12:22 +0000 (0:00:00.023) 0:00:54.069 ****** 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_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 13 February 2024 14:12:22 +0000 (0:00:00.024) 0:00:54.093 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 13 February 2024 14:12:22 +0000 (0:00:00.023) 0:00:54.117 ****** 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_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 13 February 2024 14:12:22 +0000 (0:00:00.044) 0:00:54.161 ****** 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_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 13 February 2024 14:12:22 +0000 (0:00:00.021) 0:00:54.183 ****** 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_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 13 February 2024 14:12:22 +0000 (0:00:00.046) 0:00:54.229 ****** 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_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 13 February 2024 14:12:22 +0000 (0:00:00.025) 0:00:54.254 ****** 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_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 13 February 2024 14:12:22 +0000 (0:00:00.337) 0:00:54.592 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 13 February 2024 14:12:22 +0000 (0:00:00.025) 0:00:54.617 ****** 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_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 13 February 2024 14:12:22 +0000 (0:00:00.022) 0:00:54.639 ****** 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_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 13 February 2024 14:12:22 +0000 (0:00:00.023) 0:00:54.662 ****** 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_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 13 February 2024 14:12:23 +0000 (0:00:00.355) 0:00:55.018 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 13 February 2024 14:12:23 +0000 (0:00:00.023) 0:00:55.041 ****** 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_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 13 February 2024 14:12:23 +0000 (0:00:00.022) 0:00:55.064 ****** 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_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 13 February 2024 14:12:23 +0000 (0:00:00.022) 0:00:55.087 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 13 February 2024 14:12:23 +0000 (0:00:00.020) 0:00:55.108 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/run_test.yml:30 Tuesday 13 February 2024 14:12:23 +0000 (0:00:00.191) 0:00:55.299 ****** included: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/remove+down_profile.yml:3 Tuesday 13 February 2024 14:12:23 +0000 (0:00:00.039) 0:00:55.339 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 13 February 2024 14:12:23 +0000 (0:00:00.063) 0:00:55.402 ****** included: /WORKDIR/git-bond_options_rewrite3efwbews/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_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 13 February 2024 14:12:23 +0000 (0:00:00.040) 0:00:55.443 ****** 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_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 13 February 2024 14:12:23 +0000 (0:00:00.026) 0:00:55.469 ****** 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_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 13 February 2024 14:12:23 +0000 (0:00:00.021) 0:00:55.490 ****** 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_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 13 February 2024 14:12:23 +0000 (0:00:00.020) 0:00:55.511 ****** 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_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 13 February 2024 14:12:25 +0000 (0:00:01.498) 0:00:57.009 ****** 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_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 13 February 2024 14:12:26 +0000 (0:00:01.317) 0:00:58.327 ****** 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_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 13 February 2024 14:12:26 +0000 (0:00:00.022) 0:00:58.350 ****** 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_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 13 February 2024 14:12:26 +0000 (0:00:00.021) 0:00:58.372 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 13 February 2024 14:12:26 +0000 (0:00:00.020) 0:00:58.393 ****** 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_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 13 February 2024 14:12:26 +0000 (0:00:00.042) 0:00:58.436 ****** 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_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 13 February 2024 14:12:26 +0000 (0:00:00.022) 0:00:58.458 ****** 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_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 13 February 2024 14:12:26 +0000 (0:00:00.021) 0:00:58.479 ****** 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_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 13 February 2024 14:12:26 +0000 (0:00:00.027) 0:00:58.506 ****** 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_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 13 February 2024 14:12:27 +0000 (0:00:00.353) 0:00:58.860 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 13 February 2024 14:12:27 +0000 (0:00:00.049) 0:00:58.910 ****** 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_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 13 February 2024 14:12:27 +0000 (0:00:00.020) 0:00:58.931 ****** 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_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 13 February 2024 14:12:27 +0000 (0:00:00.020) 0:00:58.952 ****** 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_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 13 February 2024 14:12:27 +0000 (0:00:00.397) 0:00:59.350 ****** 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_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 13 February 2024 14:12:27 +0000 (0:00:00.050) 0:00:59.401 ****** 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_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 13 February 2024 14:12:27 +0000 (0:00:00.028) 0:00:59.429 ****** 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_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 13 February 2024 14:12:27 +0000 (0:00:00.036) 0:00:59.466 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 13 February 2024 14:12:27 +0000 (0:00:00.028) 0:00:59.494 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/run_test.yml:36 Tuesday 13 February 2024 14:12:27 +0000 (0:00:00.194) 0:00:59.689 ****** included: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/assert_profile_absent.yml:3 Tuesday 13 February 2024 14:12:27 +0000 (0:00:00.042) 0:00:59.732 ****** included: /WORKDIR/git-bond_options_rewrite3efwbews/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_rewrite3efwbews/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 13 February 2024 14:12:27 +0000 (0:00:00.036) 0:00:59.768 ****** 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_rewrite3efwbews/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 13 February 2024 14:12:27 +0000 (0:00:00.021) 0:00:59.790 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 13 February 2024 14:12:28 +0000 (0:00:00.217) 0:01:00.008 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 13 February 2024 14:12:28 +0000 (0:00:00.022) 0:01:00.030 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.019679", "end": "2024-02-13 14:12:28.359046", "rc": 1, "start": "2024-02-13 14:12:28.339367" } 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_rewrite3efwbews/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 13 February 2024 14:12:28 +0000 (0:00:00.212) 0:01:00.242 ****** 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_rewrite3efwbews/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 13 February 2024 14:12:28 +0000 (0:00:00.022) 0:01:00.265 ****** 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_rewrite3efwbews/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 13 February 2024 14:12:28 +0000 (0:00:00.022) 0:01:00.288 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 13 February 2024 14:12:28 +0000 (0:00:00.022) 0:01:00.310 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 13 February 2024 14:12:28 +0000 (0:00:00.022) 0:01:00.333 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/assert_profile_absent.yml:5 Tuesday 13 February 2024 14:12:28 +0000 (0:00:00.023) 0:01:00.356 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/run_test.yml:42 Tuesday 13 February 2024 14:12:28 +0000 (0:00:00.023) 0:01:00.379 ****** included: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 13 February 2024 14:12:28 +0000 (0:00:00.041) 0:01:00.421 ****** included: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 13 February 2024 14:12:28 +0000 (0:00:00.035) 0:01:00.456 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 13 February 2024 14:12:28 +0000 (0:00:00.193) 0:01:00.649 ****** 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_rewrite3efwbews/tests/playbooks/tasks/run_test.yml:47 Tuesday 13 February 2024 14:12:28 +0000 (0:00:00.024) 0:01:00.674 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/run_test.yml:66 Tuesday 13 February 2024 14:12:28 +0000 (0:00:00.049) 0:01:00.724 ****** included: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 13 February 2024 14:12:28 +0000 (0:00:00.040) 0:01:00.765 ****** 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.041098", "end": "2024-02-13 14:12:29.116750", "rc": 1, "start": "2024-02-13 14:12:29.075652" } 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_rewrite3efwbews/tests/playbooks/tests_states.yml:126 Tuesday 13 February 2024 14:12:29 +0000 (0:00:00.235) 0:01:01.001 ****** included: /WORKDIR/git-bond_options_rewrite3efwbews/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_rewrite3efwbews/tests/playbooks/tasks/run_test.yml:5 Tuesday 13 February 2024 14:12:29 +0000 (0:00:00.038) 0:01:01.039 ****** 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_rewrite3efwbews/tests/playbooks/tasks/run_test.yml:9 Tuesday 13 February 2024 14:12:29 +0000 (0:00:00.029) 0:01:01.068 ****** 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_rewrite3efwbews/tests/playbooks/tasks/run_test.yml:21 Tuesday 13 February 2024 14:12:29 +0000 (0:00:00.046) 0:01:01.115 ****** included: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 13 February 2024 14:12:29 +0000 (0:00:00.036) 0:01:01.151 ****** included: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 13 February 2024 14:12:29 +0000 (0:00:00.033) 0:01:01.185 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003113", "end": "2024-02-13 14:12:29.497265", "rc": 0, "start": "2024-02-13 14:12:29.494152" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 13 February 2024 14:12:29 +0000 (0:00:00.197) 0:01:01.382 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 13 February 2024 14:12:29 +0000 (0:00:00.023) 0:01:01.405 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/run_test.yml:24 Tuesday 13 February 2024 14:12:29 +0000 (0:00:00.020) 0:01:01.426 ****** included: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 13 February 2024 14:12:29 +0000 (0:00:00.082) 0:01:01.508 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 13 February 2024 14:12:29 +0000 (0:00:00.037) 0:01:01.546 ****** included: /WORKDIR/git-bond_options_rewrite3efwbews/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_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 13 February 2024 14:12:29 +0000 (0:00:00.040) 0:01:01.586 ****** 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_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 13 February 2024 14:12:29 +0000 (0:00:00.026) 0:01:01.613 ****** 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_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 13 February 2024 14:12:29 +0000 (0:00:00.022) 0:01:01.635 ****** 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_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 13 February 2024 14:12:29 +0000 (0:00:00.020) 0:01:01.655 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 13 February 2024 14:12:31 +0000 (0:00:01.489) 0:01:03.145 ****** 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_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 13 February 2024 14:12:32 +0000 (0:00:01.313) 0:01:04.458 ****** 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_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 13 February 2024 14:12:32 +0000 (0:00:00.022) 0:01:04.481 ****** 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_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 13 February 2024 14:12:32 +0000 (0:00:00.020) 0:01:04.502 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 13 February 2024 14:12:32 +0000 (0:00:00.020) 0:01:04.523 ****** 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_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 13 February 2024 14:12:32 +0000 (0:00:00.042) 0:01:04.565 ****** 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_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 13 February 2024 14:12:32 +0000 (0:00:00.020) 0:01:04.586 ****** 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_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 13 February 2024 14:12:32 +0000 (0:00:00.020) 0:01:04.607 ****** 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_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 13 February 2024 14:12:32 +0000 (0:00:00.024) 0:01:04.632 ****** 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_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 13 February 2024 14:12:33 +0000 (0:00:00.360) 0:01:04.993 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 13 February 2024 14:12:33 +0000 (0:00:00.026) 0:01:05.019 ****** 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_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 13 February 2024 14:12:33 +0000 (0:00:00.022) 0:01:05.041 ****** 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_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 13 February 2024 14:12:33 +0000 (0:00:00.022) 0:01:05.064 ****** 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, 958b1490-2d5c-42c7-b510-29c1fee54db0 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 13 February 2024 14:12:33 +0000 (0:00:00.381) 0:01:05.445 ****** 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_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 13 February 2024 14:12:33 +0000 (0:00:00.022) 0:01:05.468 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 958b1490-2d5c-42c7-b510-29c1fee54db0" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 13 February 2024 14:12:33 +0000 (0:00:00.023) 0:01:05.491 ****** 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, 958b1490-2d5c-42c7-b510-29c1fee54db0\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 958b1490-2d5c-42c7-b510-29c1fee54db0" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 13 February 2024 14:12:33 +0000 (0:00:00.021) 0:01:05.513 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 13 February 2024 14:12:33 +0000 (0:00:00.020) 0:01:05.534 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 13 February 2024 14:12:33 +0000 (0:00:00.189) 0:01:05.724 ****** 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, 958b1490-2d5c-42c7-b510-29c1fee54db0\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 958b1490-2d5c-42c7-b510-29c1fee54db0" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 13 February 2024 14:12:33 +0000 (0:00:00.023) 0:01:05.747 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 13 February 2024 14:12:33 +0000 (0:00:00.035) 0:01:05.783 ****** included: /WORKDIR/git-bond_options_rewrite3efwbews/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_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 13 February 2024 14:12:33 +0000 (0:00:00.068) 0:01:05.852 ****** 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_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 13 February 2024 14:12:34 +0000 (0:00:00.027) 0:01:05.879 ****** 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_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 13 February 2024 14:12:34 +0000 (0:00:00.022) 0:01:05.902 ****** 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_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 13 February 2024 14:12:34 +0000 (0:00:00.023) 0:01:05.926 ****** 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_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 13 February 2024 14:12:35 +0000 (0:00:01.492) 0:01:07.418 ****** 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_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 13 February 2024 14:12:36 +0000 (0:00:01.315) 0:01:08.734 ****** 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_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 13 February 2024 14:12:36 +0000 (0:00:00.024) 0:01:08.759 ****** 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_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 13 February 2024 14:12:36 +0000 (0:00:00.021) 0:01:08.781 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 13 February 2024 14:12:36 +0000 (0:00:00.021) 0:01:08.802 ****** 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_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 13 February 2024 14:12:36 +0000 (0:00:00.044) 0:01:08.847 ****** 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_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 13 February 2024 14:12:37 +0000 (0:00:00.022) 0:01:08.869 ****** 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_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 13 February 2024 14:12:37 +0000 (0:00:00.022) 0:01:08.892 ****** 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_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 13 February 2024 14:12:37 +0000 (0:00:00.027) 0:01:08.919 ****** 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_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 13 February 2024 14:12:37 +0000 (0:00:00.340) 0:01:09.260 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 13 February 2024 14:12:37 +0000 (0:00:00.027) 0:01:09.288 ****** 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_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 13 February 2024 14:12:37 +0000 (0:00:00.022) 0:01:09.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_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 13 February 2024 14:12:37 +0000 (0:00:00.022) 0:01:09.333 ****** 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, 958b1490-2d5c-42c7-b510-29c1fee54db0 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 13 February 2024 14:12:37 +0000 (0:00:00.330) 0:01:09.663 ****** 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_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 13 February 2024 14:12:37 +0000 (0:00:00.054) 0:01:09.718 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 958b1490-2d5c-42c7-b510-29c1fee54db0 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 13 February 2024 14:12:37 +0000 (0:00:00.025) 0:01:09.744 ****** 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, 958b1490-2d5c-42c7-b510-29c1fee54db0 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 958b1490-2d5c-42c7-b510-29c1fee54db0 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 13 February 2024 14:12:37 +0000 (0:00:00.024) 0:01:09.768 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 13 February 2024 14:12:37 +0000 (0:00:00.022) 0:01:09.791 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/remove+down_profile.yml:3 Tuesday 13 February 2024 14:12:38 +0000 (0:00:00.190) 0:01:09.982 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 13 February 2024 14:12:38 +0000 (0:00:00.037) 0:01:10.019 ****** included: /WORKDIR/git-bond_options_rewrite3efwbews/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_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 13 February 2024 14:12:38 +0000 (0:00:00.041) 0:01:10.060 ****** 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_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 13 February 2024 14:12:38 +0000 (0:00:00.027) 0:01:10.088 ****** 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_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 13 February 2024 14:12:38 +0000 (0:00:00.021) 0:01:10.110 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 13 February 2024 14:12:38 +0000 (0:00:00.021) 0:01:10.131 ****** 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_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 13 February 2024 14:12:39 +0000 (0:00:01.481) 0:01:11.613 ****** 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_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 13 February 2024 14:12:41 +0000 (0:00:01.286) 0:01:12.900 ****** 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_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 13 February 2024 14:12:41 +0000 (0:00:00.022) 0:01:12.922 ****** 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_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 13 February 2024 14:12:41 +0000 (0:00:00.021) 0:01:12.943 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 13 February 2024 14:12:41 +0000 (0:00:00.020) 0:01:12.964 ****** 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_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 13 February 2024 14:12:41 +0000 (0:00:00.042) 0:01:13.007 ****** 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_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 13 February 2024 14:12:41 +0000 (0:00:00.021) 0:01:13.028 ****** 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_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 13 February 2024 14:12:41 +0000 (0:00:00.044) 0:01:13.073 ****** 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_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 13 February 2024 14:12:41 +0000 (0:00:00.025) 0:01:13.099 ****** 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_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 13 February 2024 14:12:41 +0000 (0:00:00.336) 0:01:13.436 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 13 February 2024 14:12:41 +0000 (0:00:00.025) 0:01:13.461 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 13 February 2024 14:12:41 +0000 (0:00:00.021) 0:01:13.482 ****** 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_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 13 February 2024 14:12:41 +0000 (0:00:00.020) 0:01:13.503 ****** 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_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 13 February 2024 14:12:42 +0000 (0:00:00.396) 0:01:13.899 ****** 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_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 13 February 2024 14:12:42 +0000 (0:00:00.021) 0:01:13.920 ****** 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_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 13 February 2024 14:12:42 +0000 (0:00:00.021) 0:01:13.942 ****** 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_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 13 February 2024 14:12:42 +0000 (0:00:00.022) 0:01:13.964 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 13 February 2024 14:12:42 +0000 (0:00:00.020) 0:01:13.985 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/run_test.yml:30 Tuesday 13 February 2024 14:12:42 +0000 (0:00:00.190) 0:01:14.176 ****** included: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/remove+down_profile.yml:3 Tuesday 13 February 2024 14:12:42 +0000 (0:00:00.066) 0:01:14.243 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 13 February 2024 14:12:42 +0000 (0:00:00.037) 0:01:14.280 ****** included: /WORKDIR/git-bond_options_rewrite3efwbews/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_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 13 February 2024 14:12:42 +0000 (0:00:00.040) 0:01:14.321 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 13 February 2024 14:12:42 +0000 (0:00:00.026) 0:01:14.347 ****** 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_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 13 February 2024 14:12:42 +0000 (0:00:00.021) 0:01:14.369 ****** 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_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 13 February 2024 14:12:42 +0000 (0:00:00.020) 0:01:14.390 ****** 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_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 13 February 2024 14:12:44 +0000 (0:00:01.481) 0:01:15.871 ****** 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_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 13 February 2024 14:12:45 +0000 (0:00:01.320) 0:01:17.192 ****** 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_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 13 February 2024 14:12:45 +0000 (0:00:00.024) 0:01:17.217 ****** 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_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 13 February 2024 14:12:45 +0000 (0:00:00.028) 0:01:17.245 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 13 February 2024 14:12:45 +0000 (0:00:00.022) 0:01:17.268 ****** 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_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 13 February 2024 14:12:45 +0000 (0:00:00.046) 0:01:17.315 ****** 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_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 13 February 2024 14:12:45 +0000 (0:00:00.025) 0:01:17.341 ****** 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_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 13 February 2024 14:12:45 +0000 (0:00:00.031) 0:01:17.372 ****** 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_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 13 February 2024 14:12:45 +0000 (0:00:00.029) 0:01:17.401 ****** 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_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 13 February 2024 14:12:45 +0000 (0:00:00.344) 0:01:17.746 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 13 February 2024 14:12:45 +0000 (0:00:00.073) 0:01:17.819 ****** 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_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 13 February 2024 14:12:45 +0000 (0:00:00.023) 0:01:17.843 ****** 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_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 13 February 2024 14:12:46 +0000 (0:00:00.020) 0:01:17.864 ****** 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_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 13 February 2024 14:12:46 +0000 (0:00:00.346) 0:01:18.210 ****** 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_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 13 February 2024 14:12:46 +0000 (0:00:00.023) 0:01:18.233 ****** 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_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 13 February 2024 14:12:46 +0000 (0:00:00.023) 0:01:18.257 ****** 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_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 13 February 2024 14:12:46 +0000 (0:00:00.023) 0:01:18.281 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 13 February 2024 14:12:46 +0000 (0:00:00.022) 0:01:18.304 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/run_test.yml:36 Tuesday 13 February 2024 14:12:46 +0000 (0:00:00.190) 0:01:18.494 ****** included: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/assert_profile_absent.yml for sut included: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/get_NetworkManager_NVR.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/assert_profile_absent.yml:3 Tuesday 13 February 2024 14:12:46 +0000 (0:00:00.045) 0:01:18.540 ****** included: /WORKDIR/git-bond_options_rewrite3efwbews/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_rewrite3efwbews/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 13 February 2024 14:12:46 +0000 (0:00:00.039) 0:01:18.579 ****** 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_rewrite3efwbews/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 13 February 2024 14:12:46 +0000 (0:00:00.022) 0:01:18.602 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 13 February 2024 14:12:46 +0000 (0:00:00.211) 0:01:18.813 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 13 February 2024 14:12:46 +0000 (0:00:00.027) 0:01:18.841 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020011", "end": "2024-02-13 14:12:47.172193", "rc": 1, "start": "2024-02-13 14:12:47.152182" } 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_rewrite3efwbews/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 13 February 2024 14:12:47 +0000 (0:00:00.216) 0:01:19.058 ****** 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_rewrite3efwbews/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 13 February 2024 14:12:47 +0000 (0:00:00.024) 0:01:19.083 ****** 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_rewrite3efwbews/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 13 February 2024 14:12:47 +0000 (0:00:00.022) 0:01:19.105 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 13 February 2024 14:12:47 +0000 (0:00:00.028) 0:01:19.133 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 13 February 2024 14:12:47 +0000 (0:00:00.037) 0:01:19.171 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/assert_profile_absent.yml:5 Tuesday 13 February 2024 14:12:47 +0000 (0:00:00.026) 0:01:19.197 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/get_NetworkManager_NVR.yml:7 Tuesday 13 February 2024 14:12:47 +0000 (0:00:00.039) 0:01:19.237 ****** ok: [sut] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.936137", "end": "2024-02-13 14:12:48.487228", "rc": 0, "start": "2024-02-13 14:12:47.551091" } STDOUT: NetworkManager-1.40.16-14.el8 TASK [Store NetworkManager version] ******************************************** task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/get_NetworkManager_NVR.yml:14 Tuesday 13 February 2024 14:12:48 +0000 (0:00:01.137) 0:01:20.374 ****** ok: [sut] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.40.16-14.el8" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/get_NetworkManager_NVR.yml:18 Tuesday 13 February 2024 14:12:48 +0000 (0:00:00.023) 0:01:20.398 ****** ok: [sut] => { "networkmanager_nvr": "NetworkManager-1.40.16-14.el8" } TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/run_test.yml:42 Tuesday 13 February 2024 14:12:48 +0000 (0:00:00.053) 0:01:20.452 ****** included: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 13 February 2024 14:12:48 +0000 (0:00:00.046) 0:01:20.499 ****** included: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 13 February 2024 14:12:48 +0000 (0:00:00.038) 0:01:20.538 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 13 February 2024 14:12:48 +0000 (0:00:00.195) 0:01:20.733 ****** 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_rewrite3efwbews/tests/playbooks/tasks/run_test.yml:47 Tuesday 13 February 2024 14:12:48 +0000 (0:00:00.026) 0:01:20.760 ****** 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_rewrite3efwbews/tests/playbooks/tasks/run_test.yml:66 Tuesday 13 February 2024 14:12:48 +0000 (0:00:00.024) 0:01:20.784 ****** included: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/cleanup_profile+device.yml for sut included: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/check_network_dns.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 13 February 2024 14:12:48 +0000 (0:00:00.046) 0:01:20.831 ****** 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.040779", "end": "2024-02-13 14:12:49.182335", "rc": 1, "start": "2024-02-13 14:12:49.141556" } 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_rewrite3efwbews/tests/playbooks/tasks/check_network_dns.yml:6 Tuesday 13 February 2024 14:12:49 +0000 (0:00:00.236) 0:01:21.067 ****** ok: [sut] => { "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\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.315554", "end": "2024-02-13 14:12:49.698607", "rc": 0, "start": "2024-02-13 14:12:49.383053" } 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 0e:3b:4b:08:62:ab brd ff:ff:ff:ff:ff:ff inet 10.31.42.152/22 brd 10.31.43.255 scope global dynamic noprefixroute eth0 valid_lft 2215sec preferred_lft 2215sec inet6 fe80::c3b:4bff:fe08:62ab/64 scope link valid_lft forever preferred_lft forever IP ROUTE default via 10.31.40.1 dev eth0 proto dhcp src 10.31.42.152 metric 100 10.31.40.0/22 dev eth0 proto kernel scope link src 10.31.42.152 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 CHECK DNS AND CONNECTIVITY 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org STDERR: % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 305 100 305 0 0 3177 0 --:--:-- --:--:-- --:--:-- 3177 % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 291 100 291 0 0 1523 0 --:--:-- --:--:-- --:--:-- 1523 META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=323 changed=10 unreachable=0 failed=0 skipped=247 rescued=0 ignored=11 Tuesday 13 February 2024 14:12:49 +0000 (0:00:00.503) 0:01:21.571 ****** =============================================================================== linux-system-roles.network : Configure networking connection profiles --- 2.06s /WORKDIR/git-bond_options_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:125 linux-system-roles.network : Enable and start NetworkManager ------------ 1.89s /WORKDIR/git-bond_options_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:88 linux-system-roles.network : Check which services are running ----------- 1.57s /WORKDIR/git-bond_options_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.51s /WORKDIR/git-bond_options_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.51s /WORKDIR/git-bond_options_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.50s /WORKDIR/git-bond_options_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.50s /WORKDIR/git-bond_options_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.50s /WORKDIR/git-bond_options_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.49s /WORKDIR/git-bond_options_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.49s /WORKDIR/git-bond_options_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.49s /WORKDIR/git-bond_options_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.49s /WORKDIR/git-bond_options_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.49s /WORKDIR/git-bond_options_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.49s /WORKDIR/git-bond_options_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.48s /WORKDIR/git-bond_options_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.48s /WORKDIR/git-bond_options_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.48s /WORKDIR/git-bond_options_rewrite3efwbews/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_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Enable EPEL 8 ----------------------------------------------------------- 1.43s /WORKDIR/git-bond_options_rewrite3efwbews/tests/tasks/enable_epel.yml:35 ------ linux-system-roles.network : Enable and start NetworkManager ------------ 1.39s /WORKDIR/git-bond_options_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:88 ---^---^---^---^---^--- # 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. ---^---^---^---^---^---