# 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_rewrite4wjuc8m3/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_rewrite4wjuc8m3/tests/tests_states_nm.yml:6 Tuesday 06 February 2024 16:49:53 +0000 (0:00:00.011) 0:00:00.011 ****** ok: [sut] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/tests_states_nm.yml:9 Tuesday 06 February 2024 16:49:53 +0000 (0:00:00.632) 0:00:00.644 ****** included: /WORKDIR/git-bond_options_rewrite4wjuc8m3/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_rewrite4wjuc8m3/tests/tasks/el_repo_setup.yml:3 Tuesday 06 February 2024 16:49:53 +0000 (0:00:00.021) 0:00:00.666 ****** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/tasks/el_repo_setup.yml:19 Tuesday 06 February 2024 16:49:54 +0000 (0:00:00.342) 0:00:01.008 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/tasks/el_repo_setup.yml:24 Tuesday 06 February 2024 16:49:54 +0000 (0:00:00.263) 0:00:01.272 ****** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/tasks/el_repo_setup.yml:28 Tuesday 06 February 2024 16:49:54 +0000 (0:00:00.021) 0:00:01.293 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/tasks/el_repo_setup.yml:53 Tuesday 06 February 2024 16:49:54 +0000 (0:00:00.024) 0:00:01.318 ****** included: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 8] *********************************************************** task path: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/tasks/enable_epel.yml:8 Tuesday 06 February 2024 16:49:54 +0000 (0:00:00.031) 0:00:01.350 ****** 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_rewrite4wjuc8m3/tests/tasks/enable_epel.yml:24 Tuesday 06 February 2024 16:49:54 +0000 (0:00:00.271) 0:00:01.621 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/tasks/enable_epel.yml:30 Tuesday 06 February 2024 16:49:54 +0000 (0:00:00.011) 0:00:01.633 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/tasks/enable_epel.yml:35 Tuesday 06 February 2024 16:49:54 +0000 (0:00:00.012) 0:00:01.646 ****** ok: [sut] => { "changed": false, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:00.257824", "end": "2024-02-06 16:49:55.329753", "rc": 0, "start": "2024-02-06 16:49:55.071929" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/tasks/enable_epel.yml:40 Tuesday 06 February 2024 16:49:55 +0000 (0:00:00.450) 0:00:02.096 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/tests_states_nm.yml:11 Tuesday 06 February 2024 16:49:55 +0000 (0:00:00.009) 0:00:02.106 ****** 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_rewrite4wjuc8m3/tests/playbooks/tests_states.yml:3 Tuesday 06 February 2024 16:49:55 +0000 (0:00:00.010) 0:00:02.117 ****** ok: [sut] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/playbooks/tests_states.yml:11 Tuesday 06 February 2024 16:49:55 +0000 (0:00:00.481) 0:00:02.598 ****** ok: [sut] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/playbooks/tests_states.yml:22 Tuesday 06 February 2024 16:49:55 +0000 (0:00:00.009) 0:00:02.608 ****** included: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile] ******************************************** task path: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/playbooks/tasks/run_test.yml:5 Tuesday 06 February 2024 16:49:55 +0000 (0:00:00.014) 0:00:02.623 ****** ok: [sut] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/playbooks/tasks/run_test.yml:9 Tuesday 06 February 2024 16:49:55 +0000 (0:00:00.010) 0:00:02.633 ****** 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_rewrite4wjuc8m3/tests/playbooks/tasks/run_test.yml:21 Tuesday 06 February 2024 16:49:55 +0000 (0:00:00.031) 0:00:02.664 ****** included: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 06 February 2024 16:49:55 +0000 (0:00:00.012) 0:00:02.677 ****** included: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 06 February 2024 16:49:55 +0000 (0:00:00.012) 0:00:02.690 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003456", "end": "2024-02-06 16:49:56.114514", "rc": 0, "start": "2024-02-06 16:49:56.111058" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 06 February 2024 16:49:56 +0000 (0:00:00.189) 0:00:02.879 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 06 February 2024 16:49:56 +0000 (0:00:00.011) 0:00:02.891 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/playbooks/tasks/run_test.yml:24 Tuesday 06 February 2024 16:49:56 +0000 (0:00:00.010) 0:00:02.901 ****** included: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/playbooks/tasks/delete_interface.yml:3 Tuesday 06 February 2024 16:49:56 +0000 (0:00:00.019) 0:00:02.920 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.008319", "end": "2024-02-06 16:49:56.352873", "rc": 1, "start": "2024-02-06 16:49:56.344554" } 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_rewrite4wjuc8m3/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 06 February 2024 16:49:56 +0000 (0:00:00.196) 0:00:03.117 ****** included: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 06 February 2024 16:49:56 +0000 (0:00:00.013) 0:00:03.131 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 06 February 2024 16:49:56 +0000 (0:00:00.188) 0:00:03.320 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/playbooks/tasks/run_test.yml:30 Tuesday 06 February 2024 16:49:56 +0000 (0:00:00.011) 0:00:03.332 ****** included: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 06 February 2024 16:49:56 +0000 (0:00:00.016) 0:00:03.349 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 16:49:56 +0000 (0:00:00.031) 0:00:03.380 ****** included: /WORKDIR/git-bond_options_rewrite4wjuc8m3/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_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 16:49:56 +0000 (0:00:00.066) 0:00:03.447 ****** 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_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 16:49:56 +0000 (0:00:00.011) 0:00:03.458 ****** 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_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 16:49:56 +0000 (0:00:00.009) 0:00:03.467 ****** 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_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 16:49:56 +0000 (0:00:00.010) 0:00:03.477 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 16:49:58 +0000 (0:00:01.672) 0:00:05.150 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 16:49:59 +0000 (0:00:01.499) 0:00:06.650 ****** 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_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 16:49:59 +0000 (0:00:00.023) 0:00:06.673 ****** 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_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 16:49:59 +0000 (0:00:00.019) 0:00:06.693 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 16:49:59 +0000 (0:00:00.020) 0:00:06.713 ****** 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_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 16:50:00 +0000 (0:00:00.042) 0:00:06.755 ****** 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_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 16:50:00 +0000 (0:00:00.020) 0:00:06.775 ****** 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_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 16:50:00 +0000 (0:00:00.020) 0:00:06.796 ****** 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_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 16:50:00 +0000 (0:00:00.024) 0:00:06.820 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 16:50:00 +0000 (0:00:00.485) 0:00:07.306 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 16:50:00 +0000 (0:00:00.025) 0:00:07.331 ****** 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_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 16:50:00 +0000 (0:00:00.020) 0:00:07.352 ****** 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_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 16:50:00 +0000 (0:00:00.020) 0:00:07.373 ****** 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, aa85cefd-4dff-41d9-9cd1-bac878e39caf TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 16:50:01 +0000 (0:00:00.535) 0:00:07.908 ****** 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_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 16:50:01 +0000 (0:00:00.024) 0:00:07.933 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, aa85cefd-4dff-41d9-9cd1-bac878e39caf" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 16:50:01 +0000 (0:00:00.022) 0:00:07.955 ****** 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, aa85cefd-4dff-41d9-9cd1-bac878e39caf\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, aa85cefd-4dff-41d9-9cd1-bac878e39caf" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 16:50:01 +0000 (0:00:00.023) 0:00:07.978 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 16:50:01 +0000 (0:00:00.020) 0:00:07.999 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 06 February 2024 16:50:01 +0000 (0:00:00.248) 0:00:08.248 ****** 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, aa85cefd-4dff-41d9-9cd1-bac878e39caf\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, aa85cefd-4dff-41d9-9cd1-bac878e39caf" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/playbooks/tasks/run_test.yml:36 Tuesday 06 February 2024 16:50:01 +0000 (0:00:00.024) 0:00:08.273 ****** included: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 06 February 2024 16:50:01 +0000 (0:00:00.040) 0:00:08.313 ****** included: /WORKDIR/git-bond_options_rewrite4wjuc8m3/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_rewrite4wjuc8m3/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 06 February 2024 16:50:01 +0000 (0:00:00.039) 0:00:08.353 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 06 February 2024 16:50:01 +0000 (0:00:00.023) 0:00:08.376 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1707238201.123355, "block_size": 4096, "blocks": 8, "ctime": 1707238201.0583546, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 5434782, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1707238201.0583546, "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_rewrite4wjuc8m3/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 06 February 2024 16:50:01 +0000 (0:00:00.203) 0:00:08.580 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 06 February 2024 16:50:01 +0000 (0:00:00.022) 0:00:08.602 ****** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021986", "end": "2024-02-06 16:50:02.050826", "rc": 0, "start": "2024-02-06 16:50:02.028840" } 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_rewrite4wjuc8m3/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 06 February 2024 16:50:02 +0000 (0:00:00.248) 0:00:08.851 ****** 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_rewrite4wjuc8m3/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 06 February 2024 16:50:02 +0000 (0:00:00.024) 0:00:08.876 ****** 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_rewrite4wjuc8m3/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 06 February 2024 16:50:02 +0000 (0:00:00.022) 0:00:08.898 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 06 February 2024 16:50:02 +0000 (0:00:00.022) 0:00:08.921 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 06 February 2024 16:50:02 +0000 (0:00:00.022) 0:00:08.944 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 06 February 2024 16:50:02 +0000 (0:00:00.022) 0:00:08.966 ****** 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_rewrite4wjuc8m3/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 06 February 2024 16:50:02 +0000 (0:00:00.024) 0:00:08.990 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 06 February 2024 16:50:02 +0000 (0:00:00.023) 0:00:09.014 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/playbooks/tasks/run_test.yml:42 Tuesday 06 February 2024 16:50:02 +0000 (0:00:00.022) 0:00:09.036 ****** included: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 06 February 2024 16:50:02 +0000 (0:00:00.041) 0:00:09.077 ****** included: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 06 February 2024 16:50:02 +0000 (0:00:00.034) 0:00:09.112 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1707238201.0603883, "block_size": 4096, "blocks": 0, "ctime": 1707238201.0603883, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 38232, "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": 1707238201.0603883, "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_rewrite4wjuc8m3/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 06 February 2024 16:50:02 +0000 (0:00:00.204) 0:00:09.316 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can create a profile'] ******************************** task path: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/playbooks/tasks/run_test.yml:47 Tuesday 06 February 2024 16:50:02 +0000 (0:00:00.024) 0:00:09.340 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/playbooks/tasks/run_test.yml:66 Tuesday 06 February 2024 16:50:02 +0000 (0:00:00.045) 0:00:09.386 ****** included: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 06 February 2024 16:50:02 +0000 (0:00:00.040) 0:00:09.427 ****** 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.067302", "end": "2024-02-06 16:50:02.922263", "rc": 1, "start": "2024-02-06 16:50:02.854961" } STDOUT: Connection 'statebr' (aa85cefd-4dff-41d9-9cd1-bac878e39caf) 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_rewrite4wjuc8m3/tests/playbooks/tests_states.yml:45 Tuesday 06 February 2024 16:50:02 +0000 (0:00:00.270) 0:00:09.698 ****** included: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile without autoconnect] ************************ task path: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/playbooks/tasks/run_test.yml:5 Tuesday 06 February 2024 16:50:02 +0000 (0:00:00.037) 0:00:09.735 ****** ok: [sut] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/playbooks/tasks/run_test.yml:9 Tuesday 06 February 2024 16:50:03 +0000 (0:00:00.021) 0:00:09.756 ****** 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_rewrite4wjuc8m3/tests/playbooks/tasks/run_test.yml:21 Tuesday 06 February 2024 16:50:03 +0000 (0:00:00.045) 0:00:09.801 ****** included: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 06 February 2024 16:50:03 +0000 (0:00:00.033) 0:00:09.835 ****** included: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 06 February 2024 16:50:03 +0000 (0:00:00.032) 0:00:09.868 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003717", "end": "2024-02-06 16:50:03.297651", "rc": 0, "start": "2024-02-06 16:50:03.293934" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 06 February 2024 16:50:03 +0000 (0:00:00.205) 0:00:10.073 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 06 February 2024 16:50:03 +0000 (0:00:00.022) 0:00:10.096 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/playbooks/tasks/run_test.yml:24 Tuesday 06 February 2024 16:50:03 +0000 (0:00:00.020) 0:00:10.117 ****** included: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/playbooks/tasks/delete_interface.yml:3 Tuesday 06 February 2024 16:50:03 +0000 (0:00:00.061) 0:00:10.179 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.006748", "end": "2024-02-06 16:50:03.611194", "rc": 1, "start": "2024-02-06 16:50:03.604446" } 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_rewrite4wjuc8m3/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 06 February 2024 16:50:03 +0000 (0:00:00.208) 0:00:10.387 ****** included: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 06 February 2024 16:50:03 +0000 (0:00:00.035) 0:00:10.423 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 06 February 2024 16:50:03 +0000 (0:00:00.203) 0:00:10.626 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/playbooks/tasks/run_test.yml:30 Tuesday 06 February 2024 16:50:03 +0000 (0:00:00.025) 0:00:10.652 ****** included: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Tuesday 06 February 2024 16:50:03 +0000 (0:00:00.039) 0:00:10.691 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 16:50:03 +0000 (0:00:00.041) 0:00:10.733 ****** included: /WORKDIR/git-bond_options_rewrite4wjuc8m3/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_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 16:50:04 +0000 (0:00:00.040) 0:00:10.773 ****** 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_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 16:50:04 +0000 (0:00:00.025) 0:00:10.799 ****** 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_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 16:50:04 +0000 (0:00:00.020) 0:00:10.820 ****** 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_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 16:50:04 +0000 (0:00:00.048) 0:00:10.868 ****** 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_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 16:50:05 +0000 (0:00:01.622) 0:00:12.491 ****** 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_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 16:50:07 +0000 (0:00:01.335) 0:00:13.826 ****** 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_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 16:50:07 +0000 (0:00:00.039) 0:00:13.865 ****** 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_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 16:50:07 +0000 (0:00:00.020) 0:00:13.886 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 16:50:07 +0000 (0:00:00.020) 0:00:13.907 ****** 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_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 16:50:07 +0000 (0:00:00.042) 0:00:13.949 ****** 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_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 16:50:07 +0000 (0:00:00.020) 0:00:13.969 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 16:50:07 +0000 (0:00:00.020) 0:00:13.990 ****** 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_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 16:50:07 +0000 (0:00:00.023) 0:00:14.014 ****** 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_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 16:50:07 +0000 (0:00:00.353) 0:00:14.367 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 16:50:07 +0000 (0:00:00.024) 0:00:14.392 ****** 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_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 16:50:07 +0000 (0:00:00.020) 0:00:14.413 ****** 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_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 16:50:07 +0000 (0:00:00.019) 0:00:14.432 ****** 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, 9fc96b5d-b740-4dd0-bc1e-3db631ab35fb TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 16:50:08 +0000 (0:00:00.348) 0:00:14.781 ****** 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_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 16:50:08 +0000 (0:00:00.020) 0:00:14.802 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 9fc96b5d-b740-4dd0-bc1e-3db631ab35fb" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 16:50:08 +0000 (0:00:00.021) 0:00:14.823 ****** 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, 9fc96b5d-b740-4dd0-bc1e-3db631ab35fb\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 9fc96b5d-b740-4dd0-bc1e-3db631ab35fb" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 16:50:08 +0000 (0:00:00.049) 0:00:14.873 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 16:50:08 +0000 (0:00:00.021) 0:00:14.894 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Tuesday 06 February 2024 16:50:08 +0000 (0:00:00.196) 0:00:15.091 ****** 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, 9fc96b5d-b740-4dd0-bc1e-3db631ab35fb\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 9fc96b5d-b740-4dd0-bc1e-3db631ab35fb" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/playbooks/tasks/run_test.yml:36 Tuesday 06 February 2024 16:50:08 +0000 (0:00:00.023) 0:00:15.114 ****** included: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/playbooks/tasks/assert_device_absent.yml for sut included: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 06 February 2024 16:50:08 +0000 (0:00:00.043) 0:00:15.157 ****** included: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 06 February 2024 16:50:08 +0000 (0:00:00.034) 0:00:15.192 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 06 February 2024 16:50:08 +0000 (0:00:00.201) 0:00:15.393 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 06 February 2024 16:50:08 +0000 (0:00:00.023) 0:00:15.416 ****** included: /WORKDIR/git-bond_options_rewrite4wjuc8m3/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_rewrite4wjuc8m3/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 06 February 2024 16:50:08 +0000 (0:00:00.035) 0:00:15.452 ****** 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_rewrite4wjuc8m3/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 06 February 2024 16:50:08 +0000 (0:00:00.021) 0:00:15.473 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1707238207.9923713, "block_size": 4096, "blocks": 8, "ctime": 1707238207.9923713, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 5434782, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1707238207.9923713, "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_rewrite4wjuc8m3/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 06 February 2024 16:50:08 +0000 (0:00:00.201) 0:00:15.675 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 06 February 2024 16:50:08 +0000 (0:00:00.050) 0:00:15.726 ****** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021215", "end": "2024-02-06 16:50:09.174206", "rc": 0, "start": "2024-02-06 16:50:09.152991" } 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_rewrite4wjuc8m3/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 06 February 2024 16:50:09 +0000 (0:00:00.225) 0:00:15.951 ****** 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_rewrite4wjuc8m3/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 06 February 2024 16:50:09 +0000 (0:00:00.024) 0:00:15.976 ****** 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_rewrite4wjuc8m3/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 06 February 2024 16:50:09 +0000 (0:00:00.023) 0:00:16.000 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 06 February 2024 16:50:09 +0000 (0:00:00.023) 0:00:16.023 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 06 February 2024 16:50:09 +0000 (0:00:00.022) 0:00:16.045 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 06 February 2024 16:50:09 +0000 (0:00:00.023) 0:00:16.068 ****** 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_rewrite4wjuc8m3/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 06 February 2024 16:50:09 +0000 (0:00:00.024) 0:00:16.093 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 06 February 2024 16:50:09 +0000 (0:00:00.023) 0:00:16.116 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/playbooks/tasks/run_test.yml:42 Tuesday 06 February 2024 16:50:09 +0000 (0:00:00.023) 0:00:16.139 ****** TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/playbooks/tasks/run_test.yml:47 Tuesday 06 February 2024 16:50:09 +0000 (0:00:00.020) 0:00:16.159 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/playbooks/tasks/run_test.yml:66 Tuesday 06 February 2024 16:50:09 +0000 (0:00:00.020) 0:00:16.180 ****** included: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 06 February 2024 16:50:09 +0000 (0:00:00.039) 0:00:16.219 ****** 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.043387", "end": "2024-02-06 16:50:09.687585", "rc": 1, "start": "2024-02-06 16:50:09.644198" } STDOUT: Connection 'statebr' (9fc96b5d-b740-4dd0-bc1e-3db631ab35fb) 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_rewrite4wjuc8m3/tests/playbooks/tests_states.yml:65 Tuesday 06 February 2024 16:50:09 +0000 (0:00:00.244) 0:00:16.463 ****** included: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can activate an existing profile] ******************************** task path: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/playbooks/tasks/run_test.yml:5 Tuesday 06 February 2024 16:50:09 +0000 (0:00:00.059) 0:00:16.523 ****** ok: [sut] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/playbooks/tasks/run_test.yml:9 Tuesday 06 February 2024 16:50:09 +0000 (0:00:00.023) 0:00:16.547 ****** 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_rewrite4wjuc8m3/tests/playbooks/tasks/run_test.yml:21 Tuesday 06 February 2024 16:50:09 +0000 (0:00:00.043) 0:00:16.590 ****** included: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 06 February 2024 16:50:09 +0000 (0:00:00.033) 0:00:16.624 ****** included: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 06 February 2024 16:50:09 +0000 (0:00:00.035) 0:00:16.660 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003382", "end": "2024-02-06 16:50:10.088150", "rc": 0, "start": "2024-02-06 16:50:10.084768" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 06 February 2024 16:50:10 +0000 (0:00:00.204) 0:00:16.864 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 06 February 2024 16:50:10 +0000 (0:00:00.022) 0:00:16.887 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/playbooks/tasks/run_test.yml:24 Tuesday 06 February 2024 16:50:10 +0000 (0:00:00.021) 0:00:16.909 ****** included: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 06 February 2024 16:50:10 +0000 (0:00:00.036) 0:00:16.945 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 16:50:10 +0000 (0:00:00.035) 0:00:16.981 ****** included: /WORKDIR/git-bond_options_rewrite4wjuc8m3/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_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 16:50:10 +0000 (0:00:00.062) 0:00:17.043 ****** 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_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 16:50:10 +0000 (0:00:00.027) 0:00:17.071 ****** 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_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 16:50:10 +0000 (0:00:00.021) 0:00:17.093 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 16:50:10 +0000 (0:00:00.022) 0:00:17.116 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 16:50:11 +0000 (0:00:01.614) 0:00:18.730 ****** 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_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 16:50:13 +0000 (0:00:01.340) 0:00:20.071 ****** 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_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 16:50:13 +0000 (0:00:00.022) 0:00:20.093 ****** 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_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 16:50:13 +0000 (0:00:00.020) 0:00:20.113 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 16:50:13 +0000 (0:00:00.020) 0:00:20.134 ****** 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_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 16:50:13 +0000 (0:00:00.043) 0:00:20.177 ****** 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_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 16:50:13 +0000 (0:00:00.022) 0:00:20.199 ****** 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_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 16:50:13 +0000 (0:00:00.020) 0:00:20.220 ****** 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_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 16:50:13 +0000 (0:00:00.023) 0:00:20.243 ****** 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_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 16:50:13 +0000 (0:00:00.353) 0:00:20.597 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 16:50:13 +0000 (0:00:00.025) 0:00:20.622 ****** 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_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 16:50:13 +0000 (0:00:00.020) 0:00:20.642 ****** 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_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 16:50:13 +0000 (0:00:00.020) 0:00:20.663 ****** 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, ab0e1346-fcf2-4fca-88a3-c09c3c5ec745 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 16:50:14 +0000 (0:00:00.401) 0:00:21.064 ****** 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_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 16:50:14 +0000 (0:00:00.021) 0:00:21.086 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, ab0e1346-fcf2-4fca-88a3-c09c3c5ec745" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 16:50:14 +0000 (0:00:00.022) 0:00:21.108 ****** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, ab0e1346-fcf2-4fca-88a3-c09c3c5ec745\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, ab0e1346-fcf2-4fca-88a3-c09c3c5ec745" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 16:50:14 +0000 (0:00:00.022) 0:00:21.131 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 16:50:14 +0000 (0:00:00.020) 0:00:21.151 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 06 February 2024 16:50:14 +0000 (0:00:00.192) 0:00:21.344 ****** 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, ab0e1346-fcf2-4fca-88a3-c09c3c5ec745\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, ab0e1346-fcf2-4fca-88a3-c09c3c5ec745" ] } } TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/playbooks/tasks/run_test.yml:30 Tuesday 06 February 2024 16:50:14 +0000 (0:00:00.023) 0:00:21.367 ****** included: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 06 February 2024 16:50:14 +0000 (0:00:00.037) 0:00:21.405 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 16:50:14 +0000 (0:00:00.039) 0:00:21.444 ****** included: /WORKDIR/git-bond_options_rewrite4wjuc8m3/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_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 16:50:14 +0000 (0:00:00.038) 0:00:21.482 ****** 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_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 16:50:14 +0000 (0:00:00.026) 0:00:21.508 ****** 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_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 16:50:14 +0000 (0:00:00.020) 0:00:21.529 ****** 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_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 16:50:14 +0000 (0:00:00.043) 0:00:21.573 ****** 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_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 16:50:16 +0000 (0:00:01.547) 0:00:23.120 ****** 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_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 16:50:17 +0000 (0:00:01.300) 0:00:24.421 ****** 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_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 16:50:17 +0000 (0:00:00.042) 0:00:24.463 ****** 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_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 16:50:17 +0000 (0:00:00.022) 0:00:24.485 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 16:50:17 +0000 (0:00:00.021) 0:00:24.507 ****** 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_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 16:50:17 +0000 (0:00:00.042) 0:00:24.549 ****** 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_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 16:50:17 +0000 (0:00:00.020) 0:00:24.570 ****** 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_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 16:50:17 +0000 (0:00:00.020) 0:00:24.591 ****** 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_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 16:50:17 +0000 (0:00:00.023) 0:00:24.615 ****** 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_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 16:50:18 +0000 (0:00:00.345) 0:00:24.960 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 16:50:18 +0000 (0:00:00.025) 0:00:24.986 ****** 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_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 16:50:18 +0000 (0:00:00.021) 0:00:25.007 ****** 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_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 16:50:18 +0000 (0:00:00.020) 0:00:25.028 ****** 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, ab0e1346-fcf2-4fca-88a3-c09c3c5ec745 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 16:50:18 +0000 (0:00:00.329) 0:00:25.357 ****** 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_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 16:50:18 +0000 (0:00:00.020) 0:00:25.377 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, ab0e1346-fcf2-4fca-88a3-c09c3c5ec745 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 16:50:18 +0000 (0:00:00.022) 0:00:25.400 ****** 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, ab0e1346-fcf2-4fca-88a3-c09c3c5ec745 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, ab0e1346-fcf2-4fca-88a3-c09c3c5ec745 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 16:50:18 +0000 (0:00:00.022) 0:00:25.423 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 16:50:18 +0000 (0:00:00.046) 0:00:25.469 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/playbooks/tasks/run_test.yml:36 Tuesday 06 February 2024 16:50:18 +0000 (0:00:00.192) 0:00:25.661 ****** included: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 06 February 2024 16:50:18 +0000 (0:00:00.042) 0:00:25.704 ****** included: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 06 February 2024 16:50:18 +0000 (0:00:00.034) 0:00:25.738 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1707238214.2383883, "block_size": 4096, "blocks": 0, "ctime": 1707238214.2383883, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 38363, "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": 1707238214.2383883, "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_rewrite4wjuc8m3/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 06 February 2024 16:50:19 +0000 (0:00:00.197) 0:00:25.935 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 06 February 2024 16:50:19 +0000 (0:00:00.023) 0:00:25.959 ****** included: /WORKDIR/git-bond_options_rewrite4wjuc8m3/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_rewrite4wjuc8m3/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 06 February 2024 16:50:19 +0000 (0:00:00.036) 0:00:25.995 ****** 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_rewrite4wjuc8m3/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 06 February 2024 16:50:19 +0000 (0:00:00.021) 0:00:26.017 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1707238214.2983863, "block_size": 4096, "blocks": 8, "ctime": 1707238214.2373862, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 5434782, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1707238214.2373862, "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_rewrite4wjuc8m3/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 06 February 2024 16:50:19 +0000 (0:00:00.197) 0:00:26.215 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 06 February 2024 16:50:19 +0000 (0:00:00.022) 0:00:26.238 ****** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020668", "end": "2024-02-06 16:50:19.677917", "rc": 0, "start": "2024-02-06 16:50:19.657249" } 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_rewrite4wjuc8m3/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 06 February 2024 16:50:19 +0000 (0:00:00.240) 0:00:26.478 ****** 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_rewrite4wjuc8m3/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 06 February 2024 16:50:19 +0000 (0:00:00.024) 0:00:26.503 ****** 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_rewrite4wjuc8m3/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 06 February 2024 16:50:19 +0000 (0:00:00.022) 0:00:26.526 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 06 February 2024 16:50:19 +0000 (0:00:00.023) 0:00:26.549 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 06 February 2024 16:50:19 +0000 (0:00:00.022) 0:00:26.571 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 06 February 2024 16:50:19 +0000 (0:00:00.022) 0:00:26.594 ****** 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_rewrite4wjuc8m3/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 06 February 2024 16:50:19 +0000 (0:00:00.023) 0:00:26.617 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 06 February 2024 16:50:19 +0000 (0:00:00.022) 0:00:26.639 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/playbooks/tasks/run_test.yml:42 Tuesday 06 February 2024 16:50:19 +0000 (0:00:00.021) 0:00:26.661 ****** TASK [Success in test 'I can activate an existing profile'] ******************** task path: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/playbooks/tasks/run_test.yml:47 Tuesday 06 February 2024 16:50:19 +0000 (0:00:00.020) 0:00:26.682 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/playbooks/tasks/run_test.yml:66 Tuesday 06 February 2024 16:50:19 +0000 (0:00:00.020) 0:00:26.703 ****** included: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 06 February 2024 16:50:19 +0000 (0:00:00.039) 0:00:26.742 ****** 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.062230", "end": "2024-02-06 16:50:20.222347", "rc": 1, "start": "2024-02-06 16:50:20.160117" } STDOUT: Connection 'statebr' (ab0e1346-fcf2-4fca-88a3-c09c3c5ec745) 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_rewrite4wjuc8m3/tests/playbooks/tests_states.yml:83 Tuesday 06 February 2024 16:50:20 +0000 (0:00:00.255) 0:00:26.997 ****** included: /WORKDIR/git-bond_options_rewrite4wjuc8m3/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_rewrite4wjuc8m3/tests/playbooks/tasks/run_test.yml:5 Tuesday 06 February 2024 16:50:20 +0000 (0:00:00.036) 0:00:27.034 ****** ok: [sut] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/playbooks/tasks/run_test.yml:9 Tuesday 06 February 2024 16:50:20 +0000 (0:00:00.044) 0:00:27.078 ****** 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_rewrite4wjuc8m3/tests/playbooks/tasks/run_test.yml:21 Tuesday 06 February 2024 16:50:20 +0000 (0:00:00.043) 0:00:27.121 ****** included: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 06 February 2024 16:50:20 +0000 (0:00:00.033) 0:00:27.155 ****** included: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 06 February 2024 16:50:20 +0000 (0:00:00.033) 0:00:27.188 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003312", "end": "2024-02-06 16:50:20.610949", "rc": 0, "start": "2024-02-06 16:50:20.607637" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 06 February 2024 16:50:20 +0000 (0:00:00.199) 0:00:27.387 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 06 February 2024 16:50:20 +0000 (0:00:00.025) 0:00:27.413 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/playbooks/tasks/run_test.yml:24 Tuesday 06 February 2024 16:50:20 +0000 (0:00:00.023) 0:00:27.436 ****** included: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 06 February 2024 16:50:20 +0000 (0:00:00.046) 0:00:27.483 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 16:50:20 +0000 (0:00:00.038) 0:00:27.521 ****** included: /WORKDIR/git-bond_options_rewrite4wjuc8m3/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_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 16:50:20 +0000 (0:00:00.044) 0:00:27.566 ****** 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_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 16:50:20 +0000 (0:00:00.030) 0:00:27.596 ****** 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_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 16:50:20 +0000 (0:00:00.051) 0:00:27.648 ****** 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_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 16:50:20 +0000 (0:00:00.022) 0:00:27.671 ****** 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_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 16:50:22 +0000 (0:00:01.530) 0:00:29.201 ****** 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_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 16:50:23 +0000 (0:00:01.318) 0:00:30.519 ****** 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_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 16:50:23 +0000 (0:00:00.022) 0:00:30.541 ****** 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_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 16:50:23 +0000 (0:00:00.020) 0:00:30.562 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 16:50:23 +0000 (0:00:00.020) 0:00:30.582 ****** 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_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 16:50:23 +0000 (0:00:00.043) 0:00:30.625 ****** 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_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 16:50:23 +0000 (0:00:00.021) 0:00:30.647 ****** 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_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 16:50:23 +0000 (0:00:00.022) 0:00:30.669 ****** 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_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 16:50:23 +0000 (0:00:00.026) 0:00:30.695 ****** 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_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 16:50:24 +0000 (0:00:00.347) 0:00:31.043 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 16:50:24 +0000 (0:00:00.025) 0:00:31.069 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 16:50:24 +0000 (0:00:00.020) 0:00:31.089 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 16:50:24 +0000 (0:00:00.021) 0:00:31.111 ****** 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, 268b7123-208d-47b5-ab47-8d59d2978a47 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 16:50:24 +0000 (0:00:00.387) 0:00:31.499 ****** 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_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 16:50:24 +0000 (0:00:00.047) 0:00:31.547 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 268b7123-208d-47b5-ab47-8d59d2978a47" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 16:50:24 +0000 (0:00:00.026) 0:00:31.573 ****** 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, 268b7123-208d-47b5-ab47-8d59d2978a47\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 268b7123-208d-47b5-ab47-8d59d2978a47" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 16:50:24 +0000 (0:00:00.023) 0:00:31.597 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 16:50:24 +0000 (0:00:00.021) 0:00:31.618 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 06 February 2024 16:50:25 +0000 (0:00:00.194) 0:00:31.813 ****** 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, 268b7123-208d-47b5-ab47-8d59d2978a47\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 268b7123-208d-47b5-ab47-8d59d2978a47" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 06 February 2024 16:50:25 +0000 (0:00:00.023) 0:00:31.837 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 16:50:25 +0000 (0:00:00.036) 0:00:31.873 ****** included: /WORKDIR/git-bond_options_rewrite4wjuc8m3/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_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 16:50:25 +0000 (0:00:00.039) 0:00:31.912 ****** 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_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 16:50:25 +0000 (0:00:00.026) 0:00:31.939 ****** 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_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 16:50:25 +0000 (0:00:00.020) 0:00:31.960 ****** 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_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 16:50:25 +0000 (0:00:00.020) 0:00:31.981 ****** 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_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 16:50:26 +0000 (0:00:01.564) 0:00:33.545 ****** 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_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 16:50:28 +0000 (0:00:01.301) 0:00:34.846 ****** 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_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 16:50:28 +0000 (0:00:00.021) 0:00:34.868 ****** 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_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 16:50:28 +0000 (0:00:00.020) 0:00:34.889 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 16:50:28 +0000 (0:00:00.022) 0:00:34.911 ****** 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_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 16:50:28 +0000 (0:00:00.043) 0:00:34.954 ****** 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_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 16:50:28 +0000 (0:00:00.040) 0:00:34.994 ****** 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_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 16:50:28 +0000 (0:00:00.022) 0:00:35.017 ****** 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_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 16:50:28 +0000 (0:00:00.023) 0:00:35.040 ****** 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_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 16:50:28 +0000 (0:00:00.345) 0:00:35.386 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 16:50:28 +0000 (0:00:00.025) 0:00:35.412 ****** 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_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 16:50:28 +0000 (0:00:00.021) 0:00:35.434 ****** 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_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 16:50:28 +0000 (0:00:00.021) 0:00:35.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, 268b7123-208d-47b5-ab47-8d59d2978a47 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 16:50:29 +0000 (0:00:00.331) 0:00:35.788 ****** 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_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 16:50:29 +0000 (0:00:00.022) 0:00:35.810 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 268b7123-208d-47b5-ab47-8d59d2978a47 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 16:50:29 +0000 (0:00:00.022) 0:00:35.833 ****** 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, 268b7123-208d-47b5-ab47-8d59d2978a47 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 268b7123-208d-47b5-ab47-8d59d2978a47 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 16:50:29 +0000 (0:00:00.022) 0:00:35.855 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 16:50:29 +0000 (0:00:00.020) 0:00:35.876 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/playbooks/tasks/run_test.yml:30 Tuesday 06 February 2024 16:50:29 +0000 (0:00:00.192) 0:00:36.068 ****** included: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/playbooks/tasks/remove_profile.yml:3 Tuesday 06 February 2024 16:50:29 +0000 (0:00:00.062) 0:00:36.131 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 16:50:29 +0000 (0:00:00.040) 0:00:36.172 ****** included: /WORKDIR/git-bond_options_rewrite4wjuc8m3/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_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 16:50:29 +0000 (0:00:00.039) 0:00:36.212 ****** 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_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 16:50:29 +0000 (0:00:00.026) 0:00:36.239 ****** 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_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 16:50:29 +0000 (0:00:00.021) 0:00:36.260 ****** 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_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 16:50:29 +0000 (0:00:00.020) 0:00:36.280 ****** 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_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 16:50:31 +0000 (0:00:01.552) 0:00:37.833 ****** 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_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 16:50:32 +0000 (0:00:01.321) 0:00:39.154 ****** 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_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 16:50:32 +0000 (0:00:00.027) 0:00:39.182 ****** 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_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 16:50:32 +0000 (0:00:00.028) 0:00:39.210 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 16:50:32 +0000 (0:00:00.024) 0:00:39.234 ****** 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_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 16:50:32 +0000 (0:00:00.048) 0:00:39.283 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 16:50:32 +0000 (0:00:00.022) 0:00:39.305 ****** 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_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 16:50:32 +0000 (0:00:00.021) 0:00:39.327 ****** 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_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 16:50:32 +0000 (0:00:00.023) 0:00:39.351 ****** 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_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 16:50:32 +0000 (0:00:00.364) 0:00:39.716 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 16:50:32 +0000 (0:00:00.025) 0:00:39.741 ****** 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_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 16:50:33 +0000 (0:00:00.021) 0:00:39.762 ****** 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_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 16:50:33 +0000 (0:00:00.027) 0:00:39.790 ****** 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_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 16:50:33 +0000 (0:00:00.359) 0:00:40.150 ****** 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_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 16:50:33 +0000 (0:00:00.022) 0:00:40.172 ****** 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_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 16:50:33 +0000 (0:00:00.022) 0:00:40.195 ****** 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_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 16:50:33 +0000 (0:00:00.021) 0:00:40.217 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 16:50:33 +0000 (0:00:00.020) 0:00:40.237 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/playbooks/tasks/run_test.yml:36 Tuesday 06 February 2024 16:50:33 +0000 (0:00:00.191) 0:00:40.429 ****** included: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 06 February 2024 16:50:33 +0000 (0:00:00.043) 0:00:40.472 ****** included: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 06 February 2024 16:50:33 +0000 (0:00:00.035) 0:00:40.508 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1707238224.6698494, "block_size": 4096, "blocks": 0, "ctime": 1707238224.6698494, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 38494, "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": 1707238224.6698494, "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_rewrite4wjuc8m3/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 06 February 2024 16:50:33 +0000 (0:00:00.230) 0:00:40.738 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/playbooks/tasks/assert_profile_absent.yml:3 Tuesday 06 February 2024 16:50:34 +0000 (0:00:00.028) 0:00:40.767 ****** included: /WORKDIR/git-bond_options_rewrite4wjuc8m3/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_rewrite4wjuc8m3/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 06 February 2024 16:50:34 +0000 (0:00:00.036) 0:00:40.804 ****** 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_rewrite4wjuc8m3/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 06 February 2024 16:50:34 +0000 (0:00:00.021) 0:00:40.825 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 06 February 2024 16:50:34 +0000 (0:00:00.195) 0:00:41.021 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 06 February 2024 16:50:34 +0000 (0:00:00.022) 0:00:41.043 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020898", "end": "2024-02-06 16:50:34.482900", "rc": 1, "start": "2024-02-06 16:50:34.462002" } 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_rewrite4wjuc8m3/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 06 February 2024 16:50:34 +0000 (0:00:00.214) 0:00:41.258 ****** 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_rewrite4wjuc8m3/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 06 February 2024 16:50:34 +0000 (0:00:00.022) 0:00:41.280 ****** 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_rewrite4wjuc8m3/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 06 February 2024 16:50:34 +0000 (0:00:00.025) 0:00:41.306 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 06 February 2024 16:50:34 +0000 (0:00:00.024) 0:00:41.331 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 06 February 2024 16:50:34 +0000 (0:00:00.026) 0:00:41.357 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/playbooks/tasks/assert_profile_absent.yml:5 Tuesday 06 February 2024 16:50:34 +0000 (0:00:00.021) 0:00:41.379 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/playbooks/tasks/run_test.yml:42 Tuesday 06 February 2024 16:50:34 +0000 (0:00:00.022) 0:00:41.402 ****** TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/playbooks/tasks/run_test.yml:47 Tuesday 06 February 2024 16:50:34 +0000 (0:00:00.020) 0:00:41.422 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/playbooks/tasks/run_test.yml:66 Tuesday 06 February 2024 16:50:34 +0000 (0:00:00.045) 0:00:41.468 ****** included: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 06 February 2024 16:50:34 +0000 (0:00:00.040) 0:00:41.508 ****** 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.074030", "end": "2024-02-06 16:50:35.002402", "rc": 1, "start": "2024-02-06 16:50:34.928372" } STDOUT: Connection 'statebr' (268b7123-208d-47b5-ab47-8d59d2978a47) 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_rewrite4wjuc8m3/tests/playbooks/tests_states.yml:103 Tuesday 06 February 2024 16:50:35 +0000 (0:00:00.269) 0:00:41.778 ****** included: /WORKDIR/git-bond_options_rewrite4wjuc8m3/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_rewrite4wjuc8m3/tests/playbooks/tasks/run_test.yml:5 Tuesday 06 February 2024 16:50:35 +0000 (0:00:00.037) 0:00:41.816 ****** ok: [sut] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/playbooks/tasks/run_test.yml:9 Tuesday 06 February 2024 16:50:35 +0000 (0:00:00.022) 0:00:41.838 ****** 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_rewrite4wjuc8m3/tests/playbooks/tasks/run_test.yml:21 Tuesday 06 February 2024 16:50:35 +0000 (0:00:00.046) 0:00:41.885 ****** included: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 06 February 2024 16:50:35 +0000 (0:00:00.035) 0:00:41.920 ****** included: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 06 February 2024 16:50:35 +0000 (0:00:00.036) 0:00:41.957 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003518", "end": "2024-02-06 16:50:35.382596", "rc": 0, "start": "2024-02-06 16:50:35.379078" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 06 February 2024 16:50:35 +0000 (0:00:00.201) 0:00:42.159 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 06 February 2024 16:50:35 +0000 (0:00:00.022) 0:00:42.181 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/playbooks/tasks/run_test.yml:24 Tuesday 06 February 2024 16:50:35 +0000 (0:00:00.021) 0:00:42.203 ****** included: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 06 February 2024 16:50:35 +0000 (0:00:00.068) 0:00:42.271 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 16:50:35 +0000 (0:00:00.036) 0:00:42.308 ****** included: /WORKDIR/git-bond_options_rewrite4wjuc8m3/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_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 16:50:35 +0000 (0:00:00.039) 0:00:42.348 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 16:50:35 +0000 (0:00:00.027) 0:00:42.375 ****** 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_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 16:50:35 +0000 (0:00:00.021) 0:00:42.396 ****** 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_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 16:50:35 +0000 (0:00:00.022) 0:00:42.419 ****** 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_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 16:50:37 +0000 (0:00:01.553) 0:00:43.973 ****** 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_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 16:50:38 +0000 (0:00:01.323) 0:00:45.297 ****** 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_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 16:50:38 +0000 (0:00:00.023) 0:00:45.320 ****** 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_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 16:50:38 +0000 (0:00:00.020) 0:00:45.340 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 16:50:38 +0000 (0:00:00.020) 0:00:45.361 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 16:50:38 +0000 (0:00:00.042) 0:00:45.404 ****** 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_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 16:50:38 +0000 (0:00:00.020) 0:00:45.424 ****** 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_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 16:50:38 +0000 (0:00:00.020) 0:00:45.445 ****** 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_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 16:50:38 +0000 (0:00:00.023) 0:00:45.469 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 16:50:39 +0000 (0:00:00.345) 0:00:45.815 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 16:50:39 +0000 (0:00:00.025) 0:00:45.840 ****** 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_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 16:50:39 +0000 (0:00:00.022) 0:00:45.863 ****** 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_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 16:50:39 +0000 (0:00:00.022) 0:00:45.886 ****** 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, 3a192657-2732-4bb4-9034-d671f401d535 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 16:50:39 +0000 (0:00:00.379) 0:00:46.265 ****** 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_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 16:50:39 +0000 (0:00:00.021) 0:00:46.287 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 3a192657-2732-4bb4-9034-d671f401d535" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 16:50:39 +0000 (0:00:00.024) 0:00:46.312 ****** 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, 3a192657-2732-4bb4-9034-d671f401d535\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 3a192657-2732-4bb4-9034-d671f401d535" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 16:50:39 +0000 (0:00:00.024) 0:00:46.336 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 16:50:39 +0000 (0:00:00.021) 0:00:46.357 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 06 February 2024 16:50:39 +0000 (0:00:00.193) 0:00:46.551 ****** 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, 3a192657-2732-4bb4-9034-d671f401d535\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 3a192657-2732-4bb4-9034-d671f401d535" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 06 February 2024 16:50:39 +0000 (0:00:00.023) 0:00:46.574 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 16:50:39 +0000 (0:00:00.034) 0:00:46.608 ****** included: /WORKDIR/git-bond_options_rewrite4wjuc8m3/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_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 16:50:39 +0000 (0:00:00.062) 0:00:46.671 ****** 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_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 16:50:39 +0000 (0:00:00.026) 0:00:46.698 ****** 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_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 16:50:39 +0000 (0:00:00.022) 0:00:46.720 ****** 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_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 16:50:39 +0000 (0:00:00.022) 0:00:46.742 ****** 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_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 16:50:41 +0000 (0:00:01.553) 0:00:48.295 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 16:50:42 +0000 (0:00:01.311) 0:00:49.607 ****** 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_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 16:50:42 +0000 (0:00:00.023) 0:00:49.631 ****** 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_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 16:50:42 +0000 (0:00:00.027) 0:00:49.658 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 16:50:42 +0000 (0:00:00.020) 0:00:49.679 ****** 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_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 16:50:42 +0000 (0:00:00.044) 0:00:49.723 ****** 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_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 16:50:42 +0000 (0:00:00.020) 0:00:49.744 ****** 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_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 16:50:43 +0000 (0:00:00.020) 0:00:49.764 ****** 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_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 16:50:43 +0000 (0:00:00.024) 0:00:49.788 ****** 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_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 16:50:43 +0000 (0:00:00.344) 0:00:50.132 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 16:50:43 +0000 (0:00:00.025) 0:00:50.157 ****** 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_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 16:50:43 +0000 (0:00:00.020) 0:00:50.178 ****** 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_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 16:50:43 +0000 (0:00:00.020) 0:00:50.198 ****** 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, 3a192657-2732-4bb4-9034-d671f401d535 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 16:50:43 +0000 (0:00:00.327) 0:00:50.525 ****** 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_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 16:50:43 +0000 (0:00:00.043) 0:00:50.568 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 3a192657-2732-4bb4-9034-d671f401d535 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 16:50:43 +0000 (0:00:00.054) 0:00:50.623 ****** 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, 3a192657-2732-4bb4-9034-d671f401d535 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 3a192657-2732-4bb4-9034-d671f401d535 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 16:50:43 +0000 (0:00:00.026) 0:00:50.650 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 16:50:43 +0000 (0:00:00.022) 0:00:50.672 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/playbooks/tasks/remove_profile.yml:3 Tuesday 06 February 2024 16:50:44 +0000 (0:00:00.192) 0:00:50.865 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 16:50:44 +0000 (0:00:00.036) 0:00:50.902 ****** included: /WORKDIR/git-bond_options_rewrite4wjuc8m3/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_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 16:50:44 +0000 (0:00:00.043) 0:00:50.945 ****** 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_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 16:50:44 +0000 (0:00:00.027) 0:00:50.972 ****** 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_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 16:50:44 +0000 (0:00:00.021) 0:00:50.993 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 16:50:44 +0000 (0:00:00.021) 0:00:51.015 ****** 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_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 16:50:45 +0000 (0:00:01.521) 0:00:52.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_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 16:50:47 +0000 (0:00:01.300) 0:00:53.837 ****** 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_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 16:50:47 +0000 (0:00:00.023) 0:00:53.861 ****** 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_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 16:50:47 +0000 (0:00:00.022) 0:00:53.883 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 16:50:47 +0000 (0:00:00.022) 0:00:53.906 ****** 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_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 16:50:47 +0000 (0:00:00.043) 0:00:53.950 ****** 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_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 16:50:47 +0000 (0:00:00.022) 0:00:53.973 ****** 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_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 16:50:47 +0000 (0:00:00.020) 0:00:53.994 ****** 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_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 16:50:47 +0000 (0:00:00.051) 0:00:54.045 ****** 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_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 16:50:47 +0000 (0:00:00.345) 0:00:54.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_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 16:50:47 +0000 (0:00:00.025) 0:00:54.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_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 16:50:47 +0000 (0:00:00.022) 0:00:54.437 ****** 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_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 16:50:47 +0000 (0:00:00.021) 0:00:54.459 ****** 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_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 16:50:48 +0000 (0:00:00.353) 0:00:54.813 ****** 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_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 16:50:48 +0000 (0:00:00.022) 0:00:54.835 ****** 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_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 16:50:48 +0000 (0:00:00.022) 0:00:54.858 ****** 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_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 16:50:48 +0000 (0:00:00.030) 0:00:54.889 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 16:50:48 +0000 (0:00:00.022) 0:00:54.911 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/playbooks/tasks/run_test.yml:30 Tuesday 06 February 2024 16:50:48 +0000 (0:00:00.199) 0:00:55.110 ****** included: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/playbooks/tasks/remove+down_profile.yml:3 Tuesday 06 February 2024 16:50:48 +0000 (0:00:00.047) 0:00:55.158 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 16:50:48 +0000 (0:00:00.075) 0:00:55.234 ****** included: /WORKDIR/git-bond_options_rewrite4wjuc8m3/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_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 16:50:48 +0000 (0:00:00.040) 0:00:55.274 ****** 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_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 16:50:48 +0000 (0:00:00.033) 0:00:55.308 ****** 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_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 16:50:48 +0000 (0:00:00.021) 0:00:55.330 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 16:50:48 +0000 (0:00:00.031) 0:00:55.361 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 16:50:50 +0000 (0:00:01.512) 0:00:56.873 ****** 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_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 16:50:51 +0000 (0:00:01.319) 0:00:58.193 ****** 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_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 16:50:51 +0000 (0:00:00.024) 0:00:58.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_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 16:50:51 +0000 (0:00:00.022) 0:00:58.239 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 16:50:51 +0000 (0:00:00.021) 0:00:58.261 ****** 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_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 16:50:51 +0000 (0:00:00.043) 0:00:58.304 ****** 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_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 16:50:51 +0000 (0:00:00.022) 0:00:58.327 ****** 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_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 16:50:51 +0000 (0:00:00.021) 0:00:58.348 ****** 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_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 16:50:51 +0000 (0:00:00.025) 0:00:58.374 ****** 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_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 16:50:51 +0000 (0:00:00.343) 0:00:58.717 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 16:50:51 +0000 (0:00:00.026) 0:00:58.744 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 16:50:52 +0000 (0:00:00.021) 0:00:58.765 ****** 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_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 16:50:52 +0000 (0:00:00.046) 0:00:58.812 ****** 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_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 16:50:52 +0000 (0:00:00.399) 0:00:59.212 ****** 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_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 16:50:52 +0000 (0:00:00.022) 0:00:59.234 ****** 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_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 16:50:52 +0000 (0:00:00.023) 0:00:59.258 ****** 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_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 16:50:52 +0000 (0:00:00.023) 0:00:59.282 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 16:50:52 +0000 (0:00:00.022) 0:00:59.304 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/playbooks/tasks/run_test.yml:36 Tuesday 06 February 2024 16:50:52 +0000 (0:00:00.194) 0:00:59.498 ****** included: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/playbooks/tasks/assert_profile_absent.yml:3 Tuesday 06 February 2024 16:50:52 +0000 (0:00:00.041) 0:00:59.539 ****** included: /WORKDIR/git-bond_options_rewrite4wjuc8m3/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_rewrite4wjuc8m3/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 06 February 2024 16:50:52 +0000 (0:00:00.037) 0:00:59.576 ****** 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_rewrite4wjuc8m3/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 06 February 2024 16:50:52 +0000 (0:00:00.031) 0:00:59.608 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 06 February 2024 16:50:53 +0000 (0:00:00.195) 0:00:59.804 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 06 February 2024 16:50:53 +0000 (0:00:00.020) 0:00:59.824 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.019387", "end": "2024-02-06 16:50:53.275482", "rc": 1, "start": "2024-02-06 16:50:53.256095" } 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_rewrite4wjuc8m3/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 06 February 2024 16:50:53 +0000 (0:00:00.225) 0:01:00.050 ****** 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_rewrite4wjuc8m3/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 06 February 2024 16:50:53 +0000 (0:00:00.024) 0:01:00.074 ****** 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_rewrite4wjuc8m3/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 06 February 2024 16:50:53 +0000 (0:00:00.023) 0:01:00.097 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 06 February 2024 16:50:53 +0000 (0:00:00.022) 0:01:00.120 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 06 February 2024 16:50:53 +0000 (0:00:00.023) 0:01:00.143 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/playbooks/tasks/assert_profile_absent.yml:5 Tuesday 06 February 2024 16:50:53 +0000 (0:00:00.023) 0:01:00.167 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/playbooks/tasks/run_test.yml:42 Tuesday 06 February 2024 16:50:53 +0000 (0:00:00.024) 0:01:00.191 ****** included: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 06 February 2024 16:50:53 +0000 (0:00:00.043) 0:01:00.235 ****** included: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 06 February 2024 16:50:53 +0000 (0:00:00.036) 0:01:00.271 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 06 February 2024 16:50:53 +0000 (0:00:00.197) 0:01:00.468 ****** 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_rewrite4wjuc8m3/tests/playbooks/tasks/run_test.yml:47 Tuesday 06 February 2024 16:50:53 +0000 (0:00:00.025) 0:01:00.493 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/playbooks/tasks/run_test.yml:66 Tuesday 06 February 2024 16:50:53 +0000 (0:00:00.021) 0:01:00.514 ****** included: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 06 February 2024 16:50:53 +0000 (0:00:00.068) 0:01:00.583 ****** 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.039523", "end": "2024-02-06 16:50:54.044281", "rc": 1, "start": "2024-02-06 16:50:54.004758" } 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_rewrite4wjuc8m3/tests/playbooks/tests_states.yml:126 Tuesday 06 February 2024 16:50:54 +0000 (0:00:00.237) 0:01:00.820 ****** included: /WORKDIR/git-bond_options_rewrite4wjuc8m3/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_rewrite4wjuc8m3/tests/playbooks/tasks/run_test.yml:5 Tuesday 06 February 2024 16:50:54 +0000 (0:00:00.038) 0:01:00.859 ****** 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_rewrite4wjuc8m3/tests/playbooks/tasks/run_test.yml:9 Tuesday 06 February 2024 16:50:54 +0000 (0:00:00.032) 0:01:00.891 ****** ok: [sut] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I will not get an error when I try to remove an absent profile" } ok: [sut] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml", "tasks/activate_profile.yml", "tasks/remove+down_profile.yml" ] } ok: [sut] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove+down_profile.yml" ] } ok: [sut] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_absent.yml", "tasks/get_NetworkManager_NVR.yml" ] } ok: [sut] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": [ { "condition": true, "what": "tasks/assert_device_absent.yml" } ] } ok: [sut] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [sut] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/playbooks/tasks/run_test.yml:21 Tuesday 06 February 2024 16:50:54 +0000 (0:00:00.045) 0:01:00.936 ****** included: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 06 February 2024 16:50:54 +0000 (0:00:00.041) 0:01:00.977 ****** included: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 06 February 2024 16:50:54 +0000 (0:00:00.034) 0:01:01.012 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003340", "end": "2024-02-06 16:50:54.435768", "rc": 0, "start": "2024-02-06 16:50:54.432428" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 06 February 2024 16:50:54 +0000 (0:00:00.199) 0:01:01.212 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 06 February 2024 16:50:54 +0000 (0:00:00.022) 0:01:01.235 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/playbooks/tasks/run_test.yml:24 Tuesday 06 February 2024 16:50:54 +0000 (0:00:00.021) 0:01:01.256 ****** included: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 06 February 2024 16:50:54 +0000 (0:00:00.043) 0:01:01.300 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 16:50:54 +0000 (0:00:00.075) 0:01:01.375 ****** included: /WORKDIR/git-bond_options_rewrite4wjuc8m3/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_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 16:50:54 +0000 (0:00:00.040) 0:01:01.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 : Check if system is ostree] ****************** task path: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 16:50:54 +0000 (0:00:00.027) 0:01:01.443 ****** 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_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 16:50:54 +0000 (0:00:00.026) 0:01:01.469 ****** 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_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 16:50:54 +0000 (0:00:00.021) 0:01:01.491 ****** 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_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 16:50:56 +0000 (0:00:01.516) 0:01:03.008 ****** 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_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 16:50:57 +0000 (0:00:01.325) 0:01:04.333 ****** 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_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 16:50:57 +0000 (0:00:00.031) 0:01:04.365 ****** 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_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 16:50:57 +0000 (0:00:00.026) 0:01:04.391 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 16:50:57 +0000 (0:00:00.023) 0:01:04.414 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 16:50:57 +0000 (0:00:00.048) 0:01:04.462 ****** 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_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 16:50:57 +0000 (0:00:00.040) 0:01:04.503 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 16:50:57 +0000 (0:00:00.051) 0:01:04.555 ****** 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_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 16:50:57 +0000 (0:00:00.065) 0:01:04.620 ****** 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_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 16:50:58 +0000 (0:00:00.383) 0:01:05.004 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 16:50:58 +0000 (0:00:00.038) 0:01:05.043 ****** 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_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 16:50:58 +0000 (0:00:00.075) 0:01:05.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_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 16:50:58 +0000 (0:00:00.048) 0:01:05.167 ****** 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, d734ac6f-dc06-461a-af4d-5604280a2780 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 16:50:58 +0000 (0:00:00.376) 0:01:05.543 ****** 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_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 16:50:58 +0000 (0:00:00.022) 0:01:05.566 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, d734ac6f-dc06-461a-af4d-5604280a2780" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 16:50:58 +0000 (0:00:00.023) 0:01:05.589 ****** 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, d734ac6f-dc06-461a-af4d-5604280a2780\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, d734ac6f-dc06-461a-af4d-5604280a2780" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 16:50:58 +0000 (0:00:00.025) 0:01:05.615 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 16:50:58 +0000 (0:00:00.021) 0:01:05.636 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 06 February 2024 16:50:59 +0000 (0:00:00.196) 0:01:05.833 ****** 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, d734ac6f-dc06-461a-af4d-5604280a2780\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, d734ac6f-dc06-461a-af4d-5604280a2780" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 06 February 2024 16:50:59 +0000 (0:00:00.023) 0:01:05.857 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 16:50:59 +0000 (0:00:00.045) 0:01:05.902 ****** included: /WORKDIR/git-bond_options_rewrite4wjuc8m3/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_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 16:50:59 +0000 (0:00:00.049) 0:01:05.952 ****** 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_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 16:50:59 +0000 (0:00:00.027) 0:01:05.979 ****** 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_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 16:50:59 +0000 (0:00:00.021) 0:01:06.001 ****** 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_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 16:50:59 +0000 (0:00:00.049) 0:01:06.050 ****** 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_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 16:51:00 +0000 (0:00:01.523) 0:01:07.574 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 16:51:02 +0000 (0:00:01.298) 0:01:08.873 ****** 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_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 16:51:02 +0000 (0:00:00.042) 0:01:08.915 ****** 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_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 16:51:02 +0000 (0:00:00.022) 0:01:08.938 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 16:51:02 +0000 (0:00:00.021) 0:01:08.959 ****** 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_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 16:51:02 +0000 (0:00:00.044) 0:01:09.004 ****** 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_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 16:51:02 +0000 (0:00:00.022) 0:01:09.027 ****** 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_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 16:51:02 +0000 (0:00:00.021) 0:01:09.048 ****** 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_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 16:51:02 +0000 (0:00:00.028) 0:01:09.077 ****** 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_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 16:51:02 +0000 (0:00:00.345) 0:01:09.423 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 16:51:02 +0000 (0:00:00.025) 0:01:09.448 ****** 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_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 16:51:02 +0000 (0:00:00.021) 0:01:09.469 ****** 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_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 16:51:02 +0000 (0:00:00.020) 0:01:09.490 ****** 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, d734ac6f-dc06-461a-af4d-5604280a2780 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 16:51:03 +0000 (0:00:00.328) 0:01:09.819 ****** 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_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 16:51:03 +0000 (0:00:00.021) 0:01:09.841 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, d734ac6f-dc06-461a-af4d-5604280a2780 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 16:51:03 +0000 (0:00:00.022) 0:01:09.864 ****** 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, d734ac6f-dc06-461a-af4d-5604280a2780 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, d734ac6f-dc06-461a-af4d-5604280a2780 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 16:51:03 +0000 (0:00:00.055) 0:01:09.919 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 16:51:03 +0000 (0:00:00.022) 0:01:09.942 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/playbooks/tasks/remove+down_profile.yml:3 Tuesday 06 February 2024 16:51:03 +0000 (0:00:00.190) 0:01:10.133 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 16:51:03 +0000 (0:00:00.036) 0:01:10.169 ****** included: /WORKDIR/git-bond_options_rewrite4wjuc8m3/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_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 16:51:03 +0000 (0:00:00.042) 0:01:10.212 ****** 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_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 16:51:03 +0000 (0:00:00.028) 0:01:10.240 ****** 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_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 16:51:03 +0000 (0:00:00.021) 0:01:10.262 ****** 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_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 16:51:03 +0000 (0:00:00.033) 0:01:10.295 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 16:51:05 +0000 (0:00:01.543) 0:01:11.838 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 16:51:06 +0000 (0:00:01.299) 0:01:13.138 ****** 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_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 16:51:06 +0000 (0:00:00.022) 0:01:13.160 ****** 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_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 16:51:06 +0000 (0:00:00.021) 0:01:13.181 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 16:51:06 +0000 (0:00:00.021) 0:01:13.202 ****** 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_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 16:51:06 +0000 (0:00:00.043) 0:01:13.246 ****** 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_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 16:51:06 +0000 (0:00:00.021) 0:01:13.267 ****** 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_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 16:51:06 +0000 (0:00:00.021) 0:01:13.288 ****** 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_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 16:51:06 +0000 (0:00:00.047) 0:01:13.335 ****** 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_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 16:51:06 +0000 (0:00:00.342) 0:01:13.678 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 16:51:06 +0000 (0:00:00.025) 0:01:13.703 ****** 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_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 16:51:06 +0000 (0:00:00.021) 0:01:13.724 ****** 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_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 16:51:06 +0000 (0:00:00.020) 0:01:13.745 ****** 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_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 16:51:07 +0000 (0:00:00.387) 0:01:14.132 ****** 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_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 16:51:07 +0000 (0:00:00.022) 0:01:14.154 ****** 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_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 16:51:07 +0000 (0:00:00.022) 0:01:14.177 ****** 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_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 16:51:07 +0000 (0:00:00.023) 0:01:14.201 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 16:51:07 +0000 (0:00:00.020) 0:01:14.221 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/playbooks/tasks/run_test.yml:30 Tuesday 06 February 2024 16:51:07 +0000 (0:00:00.190) 0:01:14.412 ****** included: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/playbooks/tasks/remove+down_profile.yml:3 Tuesday 06 February 2024 16:51:07 +0000 (0:00:00.039) 0:01:14.451 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 16:51:07 +0000 (0:00:00.059) 0:01:14.511 ****** included: /WORKDIR/git-bond_options_rewrite4wjuc8m3/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_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 16:51:07 +0000 (0:00:00.040) 0:01:14.552 ****** 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_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 16:51:07 +0000 (0:00:00.026) 0:01:14.579 ****** 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_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 16:51:07 +0000 (0:00:00.020) 0:01:14.599 ****** 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_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 16:51:07 +0000 (0:00:00.021) 0:01:14.621 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 16:51:09 +0000 (0:00:01.533) 0:01:16.154 ****** 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_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 16:51:10 +0000 (0:00:01.321) 0:01:17.476 ****** 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_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 16:51:10 +0000 (0:00:00.022) 0:01:17.498 ****** 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_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 16:51:10 +0000 (0:00:00.022) 0:01:17.521 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 16:51:10 +0000 (0:00:00.020) 0:01:17.541 ****** 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_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 16:51:10 +0000 (0:00:00.044) 0:01:17.586 ****** 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_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 16:51:10 +0000 (0:00:00.022) 0:01:17.609 ****** 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_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 16:51:10 +0000 (0:00:00.020) 0:01:17.629 ****** 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_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 16:51:10 +0000 (0:00:00.025) 0:01:17.655 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 16:51:11 +0000 (0:00:00.341) 0:01:17.997 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 16:51:11 +0000 (0:00:00.025) 0:01:18.022 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 16:51:11 +0000 (0:00:00.052) 0:01:18.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_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 16:51:11 +0000 (0:00:00.022) 0:01:18.098 ****** 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_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 16:51:11 +0000 (0:00:00.343) 0:01:18.441 ****** 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_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 16:51:11 +0000 (0:00:00.023) 0:01:18.464 ****** 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_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 16:51:11 +0000 (0:00:00.032) 0:01:18.496 ****** 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_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 16:51:11 +0000 (0:00:00.025) 0:01:18.522 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 16:51:11 +0000 (0:00:00.022) 0:01:18.544 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/playbooks/tasks/run_test.yml:36 Tuesday 06 February 2024 16:51:11 +0000 (0:00:00.198) 0:01:18.743 ****** included: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/playbooks/tasks/assert_profile_absent.yml for sut included: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/playbooks/tasks/get_NetworkManager_NVR.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/playbooks/tasks/assert_profile_absent.yml:3 Tuesday 06 February 2024 16:51:12 +0000 (0:00:00.045) 0:01:18.788 ****** included: /WORKDIR/git-bond_options_rewrite4wjuc8m3/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_rewrite4wjuc8m3/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 06 February 2024 16:51:12 +0000 (0:00:00.038) 0:01:18.826 ****** 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_rewrite4wjuc8m3/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 06 February 2024 16:51:12 +0000 (0:00:00.023) 0:01:18.849 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 06 February 2024 16:51:12 +0000 (0:00:00.198) 0:01:19.048 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 06 February 2024 16:51:12 +0000 (0:00:00.050) 0:01:19.098 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020037", "end": "2024-02-06 16:51:12.541985", "rc": 1, "start": "2024-02-06 16:51:12.521948" } 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_rewrite4wjuc8m3/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 06 February 2024 16:51:12 +0000 (0:00:00.220) 0:01:19.319 ****** 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_rewrite4wjuc8m3/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 06 February 2024 16:51:12 +0000 (0:00:00.028) 0:01:19.347 ****** 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_rewrite4wjuc8m3/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 06 February 2024 16:51:12 +0000 (0:00:00.024) 0:01:19.371 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 06 February 2024 16:51:12 +0000 (0:00:00.024) 0:01:19.395 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 06 February 2024 16:51:12 +0000 (0:00:00.023) 0:01:19.418 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/playbooks/tasks/assert_profile_absent.yml:5 Tuesday 06 February 2024 16:51:12 +0000 (0:00:00.023) 0:01:19.442 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/playbooks/tasks/get_NetworkManager_NVR.yml:7 Tuesday 06 February 2024 16:51:12 +0000 (0:00:00.024) 0:01:19.467 ****** ok: [sut] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.936343", "end": "2024-02-06 16:51:13.823703", "rc": 0, "start": "2024-02-06 16:51:12.887360" } STDOUT: NetworkManager-1.40.16-14.el8 TASK [Store NetworkManager version] ******************************************** task path: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/playbooks/tasks/get_NetworkManager_NVR.yml:14 Tuesday 06 February 2024 16:51:13 +0000 (0:00:01.134) 0:01:20.601 ****** ok: [sut] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.40.16-14.el8" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/playbooks/tasks/get_NetworkManager_NVR.yml:18 Tuesday 06 February 2024 16:51:13 +0000 (0:00:00.023) 0:01:20.624 ****** ok: [sut] => { "networkmanager_nvr": "NetworkManager-1.40.16-14.el8" } TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/playbooks/tasks/run_test.yml:42 Tuesday 06 February 2024 16:51:13 +0000 (0:00:00.033) 0:01:20.658 ****** included: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 06 February 2024 16:51:13 +0000 (0:00:00.069) 0:01:20.727 ****** included: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 06 February 2024 16:51:14 +0000 (0:00:00.037) 0:01:20.765 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 06 February 2024 16:51:14 +0000 (0:00:00.196) 0:01:20.961 ****** 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_rewrite4wjuc8m3/tests/playbooks/tasks/run_test.yml:47 Tuesday 06 February 2024 16:51:14 +0000 (0:00:00.026) 0:01:20.987 ****** 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_rewrite4wjuc8m3/tests/playbooks/tasks/run_test.yml:66 Tuesday 06 February 2024 16:51:14 +0000 (0:00:00.024) 0:01:21.012 ****** included: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 06 February 2024 16:51:14 +0000 (0:00:00.047) 0:01:21.060 ****** 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.038878", "end": "2024-02-06 16:51:14.520239", "rc": 1, "start": "2024-02-06 16:51:14.481361" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. Cannot find device "statebr" MSG: non-zero return code ...ignoring META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=321 changed=10 unreachable=0 failed=0 skipped=247 rescued=0 ignored=11 Tuesday 06 February 2024 16:51:14 +0000 (0:00:00.224) 0:01:21.284 ****** =============================================================================== linux-system-roles.network : Configure networking connection profiles --- 2.08s /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/main.yml:125 linux-system-roles.network : Enable and start NetworkManager ------------ 1.92s /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/main.yml:88 linux-system-roles.network : Check which services are running ----------- 1.67s /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.62s /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.61s /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.56s /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.55s /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.55s /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.55s /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.55s /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.54s /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.53s /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.53s /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.52s /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.52s /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.52s /WORKDIR/git-bond_options_rewrite4wjuc8m3/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_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which packages are installed --------- 1.50s /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Enable and start NetworkManager ------------ 1.38s /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/main.yml:88 linux-system-roles.network : Check which packages are installed --------- 1.34s /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- [WARNING]: Consider using the dnf module rather than running 'dnf'. If you need to use command because dnf is insufficient you can add 'warn: false' to this command task or set 'command_warnings=False' in ansible.cfg to get rid of this message. [WARNING]: Consider using the yum, dnf or zypper module rather than running 'rpm'. If you need to use command because yum, dnf or zypper is insufficient you can add 'warn: false' to this command task or set 'command_warnings=False' in ansible.cfg to get rid of this message. ---^---^---^---^---^---