# 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_rewritexh39axfg/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_rewritexh39axfg/tests/tests_states_nm.yml:6 Tuesday 06 February 2024 17:33:45 +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_rewritexh39axfg/tests/tests_states_nm.yml:9 Tuesday 06 February 2024 17:33:46 +0000 (0:00:00.605) 0:00:00.617 ****** included: /WORKDIR/git-bond_options_rewritexh39axfg/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_rewritexh39axfg/tests/tasks/el_repo_setup.yml:3 Tuesday 06 February 2024 17:33:46 +0000 (0:00:00.021) 0:00:00.638 ****** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/tasks/el_repo_setup.yml:19 Tuesday 06 February 2024 17:33:46 +0000 (0:00:00.335) 0:00:00.974 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/tasks/el_repo_setup.yml:24 Tuesday 06 February 2024 17:33:46 +0000 (0:00:00.245) 0:00:01.220 ****** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/tasks/el_repo_setup.yml:28 Tuesday 06 February 2024 17:33:46 +0000 (0:00:00.019) 0:00:01.239 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/tasks/el_repo_setup.yml:53 Tuesday 06 February 2024 17:33:46 +0000 (0:00:00.016) 0:00:01.256 ****** included: /WORKDIR/git-bond_options_rewritexh39axfg/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 8] *********************************************************** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/tasks/enable_epel.yml:8 Tuesday 06 February 2024 17:33:47 +0000 (0:00:00.028) 0:00:01.285 ****** 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_rewritexh39axfg/tests/tasks/enable_epel.yml:24 Tuesday 06 February 2024 17:33:47 +0000 (0:00:00.242) 0:00:01.527 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/tasks/enable_epel.yml:30 Tuesday 06 February 2024 17:33:47 +0000 (0:00:00.010) 0:00:01.538 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/tasks/enable_epel.yml:35 Tuesday 06 February 2024 17:33:47 +0000 (0:00:00.010) 0:00:01.548 ****** ok: [sut] => { "changed": false, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:00.246446", "end": "2024-02-06 17:33:47.697239", "rc": 0, "start": "2024-02-06 17:33:47.450793" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/tasks/enable_epel.yml:40 Tuesday 06 February 2024 17:33:47 +0000 (0:00:00.429) 0:00:01.978 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/tests_states_nm.yml:11 Tuesday 06 February 2024 17:33:47 +0000 (0:00:00.009) 0:00:01.987 ****** 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_rewritexh39axfg/tests/playbooks/tests_states.yml:3 Tuesday 06 February 2024 17:33:47 +0000 (0:00:00.009) 0:00:01.996 ****** ok: [sut] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tests_states.yml:11 Tuesday 06 February 2024 17:33:48 +0000 (0:00:00.476) 0:00:02.473 ****** ok: [sut] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tests_states.yml:22 Tuesday 06 February 2024 17:33:48 +0000 (0:00:00.010) 0:00:02.484 ****** included: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile] ******************************************** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/run_test.yml:5 Tuesday 06 February 2024 17:33:48 +0000 (0:00:00.015) 0:00:02.499 ****** ok: [sut] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/run_test.yml:9 Tuesday 06 February 2024 17:33:48 +0000 (0:00:00.010) 0:00:02.509 ****** 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_rewritexh39axfg/tests/playbooks/tasks/run_test.yml:21 Tuesday 06 February 2024 17:33:48 +0000 (0:00:00.031) 0:00:02.541 ****** included: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 06 February 2024 17:33:48 +0000 (0:00:00.013) 0:00:02.554 ****** included: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 06 February 2024 17:33:48 +0000 (0:00:00.012) 0:00:02.566 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003237", "end": "2024-02-06 17:33:48.472290", "rc": 0, "start": "2024-02-06 17:33:48.469053" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 06 February 2024 17:33:48 +0000 (0:00:00.186) 0:00:02.753 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 06 February 2024 17:33:48 +0000 (0:00:00.010) 0:00:02.763 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/run_test.yml:24 Tuesday 06 February 2024 17:33:48 +0000 (0:00:00.010) 0:00:02.773 ****** included: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/delete_interface.yml:3 Tuesday 06 February 2024 17:33:48 +0000 (0:00:00.019) 0:00:02.793 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.008156", "end": "2024-02-06 17:33:48.704528", "rc": 1, "start": "2024-02-06 17:33:48.696372" } 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_rewritexh39axfg/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 06 February 2024 17:33:48 +0000 (0:00:00.190) 0:00:02.984 ****** included: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 06 February 2024 17:33:48 +0000 (0:00:00.013) 0:00:02.997 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 06 February 2024 17:33:48 +0000 (0:00:00.181) 0:00:03.179 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/run_test.yml:30 Tuesday 06 February 2024 17:33:48 +0000 (0:00:00.011) 0:00:03.191 ****** included: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 06 February 2024 17:33:48 +0000 (0:00:00.016) 0:00:03.207 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 17:33:48 +0000 (0:00:00.030) 0:00:03.238 ****** included: /WORKDIR/git-bond_options_rewritexh39axfg/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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 17:33:49 +0000 (0:00:00.066) 0:00:03.305 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 17:33:49 +0000 (0:00:00.010) 0:00:03.316 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 17:33:49 +0000 (0:00:00.009) 0:00:03.325 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 17:33:49 +0000 (0:00:00.009) 0:00:03.334 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 17:33:50 +0000 (0:00:01.603) 0:00:04.938 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 17:33:52 +0000 (0:00:01.447) 0:00:06.385 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 17:33:52 +0000 (0:00:00.022) 0:00:06.408 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 17:33:52 +0000 (0:00:00.020) 0:00:06.428 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 17:33:52 +0000 (0:00:00.020) 0:00:06.448 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 17:33:52 +0000 (0:00:00.044) 0:00:06.493 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 17:33:52 +0000 (0:00:00.021) 0:00:06.514 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 17:33:52 +0000 (0:00:00.020) 0:00:06.535 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 17:33:52 +0000 (0:00:00.023) 0:00:06.558 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 17:33:52 +0000 (0:00:00.467) 0:00:07.025 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 17:33:52 +0000 (0:00:00.025) 0:00:07.051 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 17:33:52 +0000 (0:00:00.020) 0:00:07.071 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 17:33:52 +0000 (0:00:00.021) 0:00:07.093 ****** 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, aa94dfa7-fd43-44a4-9b7c-18ca3021cb7a TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 17:33:53 +0000 (0:00:00.512) 0:00:07.605 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 17:33:53 +0000 (0:00:00.020) 0:00:07.626 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, aa94dfa7-fd43-44a4-9b7c-18ca3021cb7a" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 17:33:53 +0000 (0:00:00.021) 0:00:07.648 ****** 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, aa94dfa7-fd43-44a4-9b7c-18ca3021cb7a\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, aa94dfa7-fd43-44a4-9b7c-18ca3021cb7a" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 17:33:53 +0000 (0:00:00.021) 0:00:07.669 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 17:33:53 +0000 (0:00:00.020) 0:00:07.689 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 06 February 2024 17:33:53 +0000 (0:00:00.236) 0:00:07.926 ****** 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, aa94dfa7-fd43-44a4-9b7c-18ca3021cb7a\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, aa94dfa7-fd43-44a4-9b7c-18ca3021cb7a" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/run_test.yml:36 Tuesday 06 February 2024 17:33:53 +0000 (0:00:00.022) 0:00:07.948 ****** included: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 06 February 2024 17:33:53 +0000 (0:00:00.038) 0:00:07.987 ****** included: /WORKDIR/git-bond_options_rewritexh39axfg/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_rewritexh39axfg/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 06 February 2024 17:33:53 +0000 (0:00:00.036) 0:00:08.024 ****** 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_rewritexh39axfg/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 06 February 2024 17:33:53 +0000 (0:00:00.020) 0:00:08.045 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1707240833.3018484, "block_size": 4096, "blocks": 8, "ctime": 1707240833.2518504, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 5434805, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1707240833.2518504, "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_rewritexh39axfg/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 06 February 2024 17:33:53 +0000 (0:00:00.192) 0:00:08.237 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 06 February 2024 17:33:53 +0000 (0:00:00.022) 0:00:08.260 ****** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020866", "end": "2024-02-06 17:33:54.184727", "rc": 0, "start": "2024-02-06 17:33:54.163861" } 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_rewritexh39axfg/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 06 February 2024 17:33:54 +0000 (0:00:00.235) 0:00:08.496 ****** 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_rewritexh39axfg/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 06 February 2024 17:33:54 +0000 (0:00:00.024) 0:00:08.520 ****** 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_rewritexh39axfg/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 06 February 2024 17:33:54 +0000 (0:00:00.022) 0:00:08.543 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 06 February 2024 17:33:54 +0000 (0:00:00.023) 0:00:08.567 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 06 February 2024 17:33:54 +0000 (0:00:00.022) 0:00:08.590 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 06 February 2024 17:33:54 +0000 (0:00:00.021) 0:00:08.612 ****** 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_rewritexh39axfg/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 06 February 2024 17:33:54 +0000 (0:00:00.024) 0:00:08.636 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 06 February 2024 17:33:54 +0000 (0:00:00.022) 0:00:08.659 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/run_test.yml:42 Tuesday 06 February 2024 17:33:54 +0000 (0:00:00.020) 0:00:08.680 ****** included: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 06 February 2024 17:33:54 +0000 (0:00:00.042) 0:00:08.722 ****** included: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 06 February 2024 17:33:54 +0000 (0:00:00.034) 0:00:08.757 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1707240833.2533698, "block_size": 4096, "blocks": 0, "ctime": 1707240833.2533698, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 40741, "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": 1707240833.2533698, "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_rewritexh39axfg/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 06 February 2024 17:33:54 +0000 (0:00:00.193) 0:00:08.951 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can create a profile'] ******************************** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/run_test.yml:47 Tuesday 06 February 2024 17:33:54 +0000 (0:00:00.023) 0:00:08.975 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/run_test.yml:66 Tuesday 06 February 2024 17:33:54 +0000 (0:00:00.043) 0:00:09.018 ****** included: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 06 February 2024 17:33:54 +0000 (0:00:00.041) 0:00:09.059 ****** 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.057418", "end": "2024-02-06 17:33:55.019374", "rc": 1, "start": "2024-02-06 17:33:54.961956" } STDOUT: Connection 'statebr' (aa94dfa7-fd43-44a4-9b7c-18ca3021cb7a) 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_rewritexh39axfg/tests/playbooks/tests_states.yml:45 Tuesday 06 February 2024 17:33:55 +0000 (0:00:00.250) 0:00:09.310 ****** included: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile without autoconnect] ************************ task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/run_test.yml:5 Tuesday 06 February 2024 17:33:55 +0000 (0:00:00.036) 0:00:09.347 ****** ok: [sut] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/run_test.yml:9 Tuesday 06 February 2024 17:33:55 +0000 (0:00:00.022) 0:00:09.369 ****** 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_rewritexh39axfg/tests/playbooks/tasks/run_test.yml:21 Tuesday 06 February 2024 17:33:55 +0000 (0:00:00.043) 0:00:09.413 ****** included: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 06 February 2024 17:33:55 +0000 (0:00:00.035) 0:00:09.448 ****** included: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 06 February 2024 17:33:55 +0000 (0:00:00.035) 0:00:09.483 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003719", "end": "2024-02-06 17:33:55.389313", "rc": 0, "start": "2024-02-06 17:33:55.385594" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 06 February 2024 17:33:55 +0000 (0:00:00.196) 0:00:09.680 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 06 February 2024 17:33:55 +0000 (0:00:00.021) 0:00:09.702 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/run_test.yml:24 Tuesday 06 February 2024 17:33:55 +0000 (0:00:00.020) 0:00:09.723 ****** included: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/delete_interface.yml:3 Tuesday 06 February 2024 17:33:55 +0000 (0:00:00.061) 0:00:09.784 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.006339", "end": "2024-02-06 17:33:55.693126", "rc": 1, "start": "2024-02-06 17:33:55.686787" } 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_rewritexh39axfg/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 06 February 2024 17:33:55 +0000 (0:00:00.199) 0:00:09.984 ****** included: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 06 February 2024 17:33:55 +0000 (0:00:00.034) 0:00:10.018 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 06 February 2024 17:33:55 +0000 (0:00:00.194) 0:00:10.212 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/run_test.yml:30 Tuesday 06 February 2024 17:33:55 +0000 (0:00:00.028) 0:00:10.241 ****** included: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Tuesday 06 February 2024 17:33:56 +0000 (0:00:00.038) 0:00:10.279 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 17:33:56 +0000 (0:00:00.041) 0:00:10.320 ****** included: /WORKDIR/git-bond_options_rewritexh39axfg/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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 17:33:56 +0000 (0:00:00.040) 0:00:10.360 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 17:33:56 +0000 (0:00:00.026) 0:00:10.387 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 17:33:56 +0000 (0:00:00.019) 0:00:10.406 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 17:33:56 +0000 (0:00:00.041) 0:00:10.448 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 17:33:57 +0000 (0:00:01.532) 0:00:11.980 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 17:33:59 +0000 (0:00:01.313) 0:00:13.294 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 17:33:59 +0000 (0:00:00.021) 0:00:13.316 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 17:33:59 +0000 (0:00:00.020) 0:00:13.336 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 17:33:59 +0000 (0:00:00.020) 0:00:13.357 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 17:33:59 +0000 (0:00:00.042) 0:00:13.399 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 17:33:59 +0000 (0:00:00.020) 0:00:13.420 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 17:33:59 +0000 (0:00:00.020) 0:00:13.440 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 17:33:59 +0000 (0:00:00.023) 0:00:13.463 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 17:33:59 +0000 (0:00:00.342) 0:00:13.805 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 17:33:59 +0000 (0:00:00.025) 0:00:13.831 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 17:33:59 +0000 (0:00:00.019) 0:00:13.851 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 17:33:59 +0000 (0:00:00.020) 0:00:13.871 ****** 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, 1936cec1-16c3-4771-9853-baf413da48ae TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 17:33:59 +0000 (0:00:00.337) 0:00:14.209 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 17:33:59 +0000 (0:00:00.020) 0:00:14.229 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 1936cec1-16c3-4771-9853-baf413da48ae" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 17:34:00 +0000 (0:00:00.048) 0:00:14.278 ****** 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, 1936cec1-16c3-4771-9853-baf413da48ae\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 1936cec1-16c3-4771-9853-baf413da48ae" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 17:34:00 +0000 (0:00:00.023) 0:00:14.301 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 17:34:00 +0000 (0:00:00.021) 0:00:14.322 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Tuesday 06 February 2024 17:34:00 +0000 (0:00:00.190) 0:00:14.513 ****** 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, 1936cec1-16c3-4771-9853-baf413da48ae\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 1936cec1-16c3-4771-9853-baf413da48ae" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/run_test.yml:36 Tuesday 06 February 2024 17:34:00 +0000 (0:00:00.023) 0:00:14.536 ****** included: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/assert_device_absent.yml for sut included: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 06 February 2024 17:34:00 +0000 (0:00:00.043) 0:00:14.580 ****** included: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 06 February 2024 17:34:00 +0000 (0:00:00.036) 0:00:14.616 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 06 February 2024 17:34:00 +0000 (0:00:00.195) 0:00:14.811 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 06 February 2024 17:34:00 +0000 (0:00:00.022) 0:00:14.834 ****** included: /WORKDIR/git-bond_options_rewritexh39axfg/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_rewritexh39axfg/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 06 February 2024 17:34:00 +0000 (0:00:00.036) 0:00:14.870 ****** 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_rewritexh39axfg/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 06 February 2024 17:34:00 +0000 (0:00:00.021) 0:00:14.892 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1707240839.905599, "block_size": 4096, "blocks": 8, "ctime": 1707240839.9045992, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 5434805, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1707240839.9045992, "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_rewritexh39axfg/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 06 February 2024 17:34:00 +0000 (0:00:00.195) 0:00:15.087 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 06 February 2024 17:34:00 +0000 (0:00:00.046) 0:00:15.134 ****** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020557", "end": "2024-02-06 17:34:01.059095", "rc": 0, "start": "2024-02-06 17:34:01.038538" } 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_rewritexh39axfg/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 06 February 2024 17:34:01 +0000 (0:00:00.217) 0:00:15.351 ****** 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_rewritexh39axfg/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 06 February 2024 17:34:01 +0000 (0:00:00.024) 0:00:15.376 ****** 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_rewritexh39axfg/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 06 February 2024 17:34:01 +0000 (0:00:00.022) 0:00:15.399 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 06 February 2024 17:34:01 +0000 (0:00:00.023) 0:00:15.422 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 06 February 2024 17:34:01 +0000 (0:00:00.022) 0:00:15.445 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 06 February 2024 17:34:01 +0000 (0:00:00.022) 0:00:15.468 ****** 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_rewritexh39axfg/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 06 February 2024 17:34:01 +0000 (0:00:00.024) 0:00:15.492 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 06 February 2024 17:34:01 +0000 (0:00:00.024) 0:00:15.517 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/run_test.yml:42 Tuesday 06 February 2024 17:34:01 +0000 (0:00:00.022) 0:00:15.539 ****** TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/run_test.yml:47 Tuesday 06 February 2024 17:34:01 +0000 (0:00:00.020) 0:00:15.560 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/run_test.yml:66 Tuesday 06 February 2024 17:34:01 +0000 (0:00:00.022) 0:00:15.582 ****** included: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 06 February 2024 17:34:01 +0000 (0:00:00.041) 0:00:15.624 ****** 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.039937", "end": "2024-02-06 17:34:01.568006", "rc": 1, "start": "2024-02-06 17:34:01.528069" } STDOUT: Connection 'statebr' (1936cec1-16c3-4771-9853-baf413da48ae) 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_rewritexh39axfg/tests/playbooks/tests_states.yml:65 Tuesday 06 February 2024 17:34:01 +0000 (0:00:00.236) 0:00:15.860 ****** included: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can activate an existing profile] ******************************** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/run_test.yml:5 Tuesday 06 February 2024 17:34:01 +0000 (0:00:00.063) 0:00:15.924 ****** ok: [sut] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/run_test.yml:9 Tuesday 06 February 2024 17:34:01 +0000 (0:00:00.023) 0:00:15.947 ****** 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_rewritexh39axfg/tests/playbooks/tasks/run_test.yml:21 Tuesday 06 February 2024 17:34:01 +0000 (0:00:00.045) 0:00:15.993 ****** included: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 06 February 2024 17:34:01 +0000 (0:00:00.034) 0:00:16.028 ****** included: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 06 February 2024 17:34:01 +0000 (0:00:00.033) 0:00:16.062 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003306", "end": "2024-02-06 17:34:01.973289", "rc": 0, "start": "2024-02-06 17:34:01.969983" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 06 February 2024 17:34:02 +0000 (0:00:00.203) 0:00:16.265 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 06 February 2024 17:34:02 +0000 (0:00:00.023) 0:00:16.289 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/run_test.yml:24 Tuesday 06 February 2024 17:34:02 +0000 (0:00:00.021) 0:00:16.310 ****** included: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 06 February 2024 17:34:02 +0000 (0:00:00.037) 0:00:16.347 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 17:34:02 +0000 (0:00:00.035) 0:00:16.382 ****** included: /WORKDIR/git-bond_options_rewritexh39axfg/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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 17:34:02 +0000 (0:00:00.064) 0:00:16.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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 17:34:02 +0000 (0:00:00.027) 0:00:16.474 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 17:34:02 +0000 (0:00:00.022) 0:00:16.497 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 17:34:02 +0000 (0:00:00.021) 0:00:16.518 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 17:34:03 +0000 (0:00:01.520) 0:00:18.038 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 17:34:05 +0000 (0:00:01.303) 0:00:19.342 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 17:34:05 +0000 (0:00:00.022) 0:00:19.364 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 17:34:05 +0000 (0:00:00.020) 0:00:19.385 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 17:34:05 +0000 (0:00:00.020) 0:00:19.405 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 17:34:05 +0000 (0:00:00.042) 0:00:19.448 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 17:34:05 +0000 (0:00:00.020) 0:00:19.468 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 17:34:05 +0000 (0:00:00.020) 0:00:19.489 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 17:34:05 +0000 (0:00:00.025) 0:00:19.514 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 17:34:05 +0000 (0:00:00.340) 0:00:19.855 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 17:34:05 +0000 (0:00:00.024) 0:00:19.880 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 17:34:05 +0000 (0:00:00.020) 0:00:19.901 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 17:34:05 +0000 (0:00:00.019) 0:00:19.920 ****** 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, 5995fad4-417c-49f9-8516-2feeba673741 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 17:34:06 +0000 (0:00:00.406) 0:00:20.327 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 17:34:06 +0000 (0:00:00.021) 0:00:20.348 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 5995fad4-417c-49f9-8516-2feeba673741" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 17:34:06 +0000 (0:00:00.021) 0:00:20.370 ****** 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, 5995fad4-417c-49f9-8516-2feeba673741\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 5995fad4-417c-49f9-8516-2feeba673741" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 17:34:06 +0000 (0:00:00.022) 0:00:20.392 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 17:34:06 +0000 (0:00:00.020) 0:00:20.412 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 06 February 2024 17:34:06 +0000 (0:00:00.190) 0:00:20.603 ****** 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, 5995fad4-417c-49f9-8516-2feeba673741\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 5995fad4-417c-49f9-8516-2feeba673741" ] } } TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/run_test.yml:30 Tuesday 06 February 2024 17:34:06 +0000 (0:00:00.022) 0:00:20.626 ****** included: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 06 February 2024 17:34:06 +0000 (0:00:00.037) 0:00:20.664 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 17:34:06 +0000 (0:00:00.039) 0:00:20.703 ****** included: /WORKDIR/git-bond_options_rewritexh39axfg/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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 17:34:06 +0000 (0:00:00.038) 0:00:20.742 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 17:34:06 +0000 (0:00:00.026) 0:00:20.768 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 17:34:06 +0000 (0:00:00.041) 0:00:20.810 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 17:34:06 +0000 (0:00:00.021) 0:00:20.832 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 17:34:08 +0000 (0:00:01.520) 0:00:22.353 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 17:34:09 +0000 (0:00:01.294) 0:00:23.647 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 17:34:09 +0000 (0:00:00.042) 0:00:23.690 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 17:34:09 +0000 (0:00:00.021) 0:00:23.711 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 17:34:09 +0000 (0:00:00.021) 0:00:23.732 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 17:34:09 +0000 (0:00:00.043) 0:00:23.776 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 17:34:09 +0000 (0:00:00.021) 0:00:23.797 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 17:34:09 +0000 (0:00:00.020) 0:00:23.817 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 17:34:09 +0000 (0:00:00.023) 0:00:23.841 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 17:34:09 +0000 (0:00:00.341) 0:00:24.182 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 17:34:09 +0000 (0:00:00.024) 0:00:24.207 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 17:34:09 +0000 (0:00:00.020) 0:00:24.228 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 17:34:09 +0000 (0:00:00.019) 0:00:24.248 ****** 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, 5995fad4-417c-49f9-8516-2feeba673741 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 17:34:10 +0000 (0:00:00.327) 0:00:24.575 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 17:34:10 +0000 (0:00:00.021) 0:00:24.597 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 5995fad4-417c-49f9-8516-2feeba673741 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 17:34:10 +0000 (0:00:00.022) 0:00:24.620 ****** 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, 5995fad4-417c-49f9-8516-2feeba673741 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 5995fad4-417c-49f9-8516-2feeba673741 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 17:34:10 +0000 (0:00:00.045) 0:00:24.665 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 17:34:10 +0000 (0:00:00.021) 0:00:24.687 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/run_test.yml:36 Tuesday 06 February 2024 17:34:10 +0000 (0:00:00.189) 0:00:24.876 ****** included: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 06 February 2024 17:34:10 +0000 (0:00:00.043) 0:00:24.920 ****** included: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 06 February 2024 17:34:10 +0000 (0:00:00.035) 0:00:24.955 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1707240845.9813435, "block_size": 4096, "blocks": 0, "ctime": 1707240845.9813435, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 40872, "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": 1707240845.9813435, "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_rewritexh39axfg/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 06 February 2024 17:34:10 +0000 (0:00:00.193) 0:00:25.148 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 06 February 2024 17:34:10 +0000 (0:00:00.023) 0:00:25.171 ****** included: /WORKDIR/git-bond_options_rewritexh39axfg/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_rewritexh39axfg/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 06 February 2024 17:34:10 +0000 (0:00:00.036) 0:00:25.207 ****** 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_rewritexh39axfg/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 06 February 2024 17:34:10 +0000 (0:00:00.021) 0:00:25.229 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1707240846.0283823, "block_size": 4096, "blocks": 8, "ctime": 1707240845.9793842, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 5434805, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1707240845.9793842, "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_rewritexh39axfg/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 06 February 2024 17:34:11 +0000 (0:00:00.194) 0:00:25.424 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 06 February 2024 17:34:11 +0000 (0:00:00.022) 0:00:25.447 ****** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020193", "end": "2024-02-06 17:34:11.370127", "rc": 0, "start": "2024-02-06 17:34:11.349934" } 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_rewritexh39axfg/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 06 February 2024 17:34:11 +0000 (0:00:00.239) 0:00:25.686 ****** 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_rewritexh39axfg/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 06 February 2024 17:34:11 +0000 (0:00:00.024) 0:00:25.710 ****** 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_rewritexh39axfg/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 06 February 2024 17:34:11 +0000 (0:00:00.022) 0:00:25.733 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 06 February 2024 17:34:11 +0000 (0:00:00.023) 0:00:25.756 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 06 February 2024 17:34:11 +0000 (0:00:00.023) 0:00:25.779 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 06 February 2024 17:34:11 +0000 (0:00:00.022) 0:00:25.802 ****** 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_rewritexh39axfg/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 06 February 2024 17:34:11 +0000 (0:00:00.024) 0:00:25.826 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 06 February 2024 17:34:11 +0000 (0:00:00.025) 0:00:25.852 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/run_test.yml:42 Tuesday 06 February 2024 17:34:11 +0000 (0:00:00.022) 0:00:25.874 ****** TASK [Success in test 'I can activate an existing profile'] ******************** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/run_test.yml:47 Tuesday 06 February 2024 17:34:11 +0000 (0:00:00.021) 0:00:25.896 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/run_test.yml:66 Tuesday 06 February 2024 17:34:11 +0000 (0:00:00.023) 0:00:25.919 ****** included: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 06 February 2024 17:34:11 +0000 (0:00:00.045) 0:00:25.965 ****** 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.064127", "end": "2024-02-06 17:34:11.932714", "rc": 1, "start": "2024-02-06 17:34:11.868587" } STDOUT: Connection 'statebr' (5995fad4-417c-49f9-8516-2feeba673741) 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_rewritexh39axfg/tests/playbooks/tests_states.yml:83 Tuesday 06 February 2024 17:34:11 +0000 (0:00:00.257) 0:00:26.223 ****** included: /WORKDIR/git-bond_options_rewritexh39axfg/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_rewritexh39axfg/tests/playbooks/tasks/run_test.yml:5 Tuesday 06 February 2024 17:34:12 +0000 (0:00:00.063) 0:00:26.286 ****** ok: [sut] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/run_test.yml:9 Tuesday 06 February 2024 17:34:12 +0000 (0:00:00.021) 0:00:26.308 ****** 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_rewritexh39axfg/tests/playbooks/tasks/run_test.yml:21 Tuesday 06 February 2024 17:34:12 +0000 (0:00:00.042) 0:00:26.351 ****** included: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 06 February 2024 17:34:12 +0000 (0:00:00.034) 0:00:26.386 ****** included: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 06 February 2024 17:34:12 +0000 (0:00:00.033) 0:00:26.420 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003250", "end": "2024-02-06 17:34:12.326283", "rc": 0, "start": "2024-02-06 17:34:12.323033" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 06 February 2024 17:34:12 +0000 (0:00:00.198) 0:00:26.618 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 06 February 2024 17:34:12 +0000 (0:00:00.022) 0:00:26.640 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/run_test.yml:24 Tuesday 06 February 2024 17:34:12 +0000 (0:00:00.021) 0:00:26.662 ****** included: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 06 February 2024 17:34:12 +0000 (0:00:00.040) 0:00:26.703 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 17:34:12 +0000 (0:00:00.038) 0:00:26.742 ****** included: /WORKDIR/git-bond_options_rewritexh39axfg/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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 17:34:12 +0000 (0:00:00.042) 0:00:26.784 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 17:34:12 +0000 (0:00:00.051) 0:00:26.836 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 17:34:12 +0000 (0:00:00.022) 0:00:26.858 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 17:34:12 +0000 (0:00:00.020) 0:00:26.879 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 17:34:14 +0000 (0:00:01.528) 0:00:28.407 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 17:34:15 +0000 (0:00:01.314) 0:00:29.721 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 17:34:15 +0000 (0:00:00.022) 0:00:29.743 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 17:34:15 +0000 (0:00:00.020) 0:00:29.764 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 17:34:15 +0000 (0:00:00.020) 0:00:29.784 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 17:34:15 +0000 (0:00:00.042) 0:00:29.827 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 17:34:15 +0000 (0:00:00.020) 0:00:29.848 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 17:34:15 +0000 (0:00:00.020) 0:00:29.869 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 17:34:15 +0000 (0:00:00.023) 0:00:29.893 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 17:34:15 +0000 (0:00:00.342) 0:00:30.235 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 17:34:15 +0000 (0:00:00.025) 0:00:30.261 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 17:34:16 +0000 (0:00:00.020) 0:00:30.281 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 17:34:16 +0000 (0:00:00.020) 0:00:30.302 ****** 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, 4965cf9a-3f48-42af-a274-6fcdf110275e TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 17:34:16 +0000 (0:00:00.377) 0:00:30.679 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 17:34:16 +0000 (0:00:00.021) 0:00:30.701 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 4965cf9a-3f48-42af-a274-6fcdf110275e" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 17:34:16 +0000 (0:00:00.049) 0:00:30.751 ****** 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, 4965cf9a-3f48-42af-a274-6fcdf110275e\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 4965cf9a-3f48-42af-a274-6fcdf110275e" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 17:34:16 +0000 (0:00:00.025) 0:00:30.777 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 17:34:16 +0000 (0:00:00.020) 0:00:30.797 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 06 February 2024 17:34:16 +0000 (0:00:00.199) 0:00:30.997 ****** 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, 4965cf9a-3f48-42af-a274-6fcdf110275e\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 4965cf9a-3f48-42af-a274-6fcdf110275e" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 06 February 2024 17:34:16 +0000 (0:00:00.023) 0:00:31.020 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 17:34:16 +0000 (0:00:00.035) 0:00:31.055 ****** included: /WORKDIR/git-bond_options_rewritexh39axfg/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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 17:34:16 +0000 (0:00:00.039) 0:00:31.095 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 17:34:16 +0000 (0:00:00.026) 0:00:31.122 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 17:34:16 +0000 (0:00:00.019) 0:00:31.142 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 17:34:16 +0000 (0:00:00.020) 0:00:31.162 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 17:34:18 +0000 (0:00:01.507) 0:00:32.669 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 17:34:19 +0000 (0:00:01.295) 0:00:33.965 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 17:34:19 +0000 (0:00:00.023) 0:00:33.989 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 17:34:19 +0000 (0:00:00.022) 0:00:34.012 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 17:34:19 +0000 (0:00:00.020) 0:00:34.032 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 17:34:19 +0000 (0:00:00.043) 0:00:34.076 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 17:34:19 +0000 (0:00:00.041) 0:00:34.117 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 17:34:19 +0000 (0:00:00.020) 0:00:34.137 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 17:34:19 +0000 (0:00:00.024) 0:00:34.162 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 17:34:20 +0000 (0:00:00.344) 0:00:34.506 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 17:34:20 +0000 (0:00:00.024) 0:00:34.531 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 17:34:20 +0000 (0:00:00.021) 0:00:34.552 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 17:34:20 +0000 (0:00:00.020) 0:00:34.573 ****** 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, 4965cf9a-3f48-42af-a274-6fcdf110275e skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 17:34:20 +0000 (0:00:00.327) 0:00:34.900 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 17:34:20 +0000 (0:00:00.021) 0:00:34.921 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 4965cf9a-3f48-42af-a274-6fcdf110275e skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 17:34:20 +0000 (0:00:00.021) 0:00:34.942 ****** 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, 4965cf9a-3f48-42af-a274-6fcdf110275e skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 4965cf9a-3f48-42af-a274-6fcdf110275e skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 17:34:20 +0000 (0:00:00.021) 0:00:34.964 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 17:34:20 +0000 (0:00:00.020) 0:00:34.984 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/run_test.yml:30 Tuesday 06 February 2024 17:34:20 +0000 (0:00:00.189) 0:00:35.173 ****** included: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/remove_profile.yml:3 Tuesday 06 February 2024 17:34:20 +0000 (0:00:00.063) 0:00:35.237 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 17:34:21 +0000 (0:00:00.041) 0:00:35.279 ****** included: /WORKDIR/git-bond_options_rewritexh39axfg/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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 17:34:21 +0000 (0:00:00.041) 0:00:35.320 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 17:34:21 +0000 (0:00:00.027) 0:00:35.348 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 17:34:21 +0000 (0:00:00.022) 0:00:35.371 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 17:34:21 +0000 (0:00:00.022) 0:00:35.393 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 17:34:22 +0000 (0:00:01.521) 0:00:36.914 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 17:34:23 +0000 (0:00:01.318) 0:00:38.233 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 17:34:23 +0000 (0:00:00.023) 0:00:38.256 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 17:34:24 +0000 (0:00:00.020) 0:00:38.277 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 17:34:24 +0000 (0:00:00.021) 0:00:38.298 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 17:34:24 +0000 (0:00:00.042) 0:00:38.341 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 17:34:24 +0000 (0:00:00.022) 0:00:38.363 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 17:34:24 +0000 (0:00:00.021) 0:00:38.385 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 17:34:24 +0000 (0:00:00.023) 0:00:38.409 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 17:34:24 +0000 (0:00:00.365) 0:00:38.774 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 17:34:24 +0000 (0:00:00.025) 0:00:38.800 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 17:34:24 +0000 (0:00:00.020) 0:00:38.820 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 17:34:24 +0000 (0:00:00.020) 0:00:38.841 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 17:34:24 +0000 (0:00:00.348) 0:00:39.190 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 17:34:24 +0000 (0:00:00.021) 0:00:39.211 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 17:34:24 +0000 (0:00:00.022) 0:00:39.233 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 17:34:24 +0000 (0:00:00.022) 0:00:39.256 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 17:34:25 +0000 (0:00:00.020) 0:00:39.277 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/run_test.yml:36 Tuesday 06 February 2024 17:34:25 +0000 (0:00:00.189) 0:00:39.466 ****** included: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 06 February 2024 17:34:25 +0000 (0:00:00.042) 0:00:39.508 ****** included: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 06 February 2024 17:34:25 +0000 (0:00:00.034) 0:00:39.543 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1707240856.3357425, "block_size": 4096, "blocks": 0, "ctime": 1707240856.3357425, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 41003, "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": 1707240856.3357425, "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_rewritexh39axfg/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 06 February 2024 17:34:25 +0000 (0:00:00.219) 0:00:39.762 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/assert_profile_absent.yml:3 Tuesday 06 February 2024 17:34:25 +0000 (0:00:00.024) 0:00:39.787 ****** included: /WORKDIR/git-bond_options_rewritexh39axfg/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_rewritexh39axfg/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 06 February 2024 17:34:25 +0000 (0:00:00.036) 0:00:39.823 ****** 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_rewritexh39axfg/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 06 February 2024 17:34:25 +0000 (0:00:00.024) 0:00:39.847 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 06 February 2024 17:34:25 +0000 (0:00:00.195) 0:00:40.043 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 06 February 2024 17:34:25 +0000 (0:00:00.020) 0:00:40.063 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020629", "end": "2024-02-06 17:34:25.986502", "rc": 1, "start": "2024-02-06 17:34:25.965873" } 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_rewritexh39axfg/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 06 February 2024 17:34:26 +0000 (0:00:00.213) 0:00:40.277 ****** 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_rewritexh39axfg/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 06 February 2024 17:34:26 +0000 (0:00:00.021) 0:00:40.299 ****** 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_rewritexh39axfg/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 06 February 2024 17:34:26 +0000 (0:00:00.021) 0:00:40.321 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 06 February 2024 17:34:26 +0000 (0:00:00.022) 0:00:40.343 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 06 February 2024 17:34:26 +0000 (0:00:00.021) 0:00:40.365 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/assert_profile_absent.yml:5 Tuesday 06 February 2024 17:34:26 +0000 (0:00:00.021) 0:00:40.386 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/run_test.yml:42 Tuesday 06 February 2024 17:34:26 +0000 (0:00:00.022) 0:00:40.409 ****** TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/run_test.yml:47 Tuesday 06 February 2024 17:34:26 +0000 (0:00:00.019) 0:00:40.429 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/run_test.yml:66 Tuesday 06 February 2024 17:34:26 +0000 (0:00:00.047) 0:00:40.476 ****** included: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 06 February 2024 17:34:26 +0000 (0:00:00.040) 0:00:40.517 ****** 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.080135", "end": "2024-02-06 17:34:26.499181", "rc": 1, "start": "2024-02-06 17:34:26.419046" } STDOUT: Connection 'statebr' (4965cf9a-3f48-42af-a274-6fcdf110275e) 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_rewritexh39axfg/tests/playbooks/tests_states.yml:103 Tuesday 06 February 2024 17:34:26 +0000 (0:00:00.273) 0:00:40.790 ****** included: /WORKDIR/git-bond_options_rewritexh39axfg/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_rewritexh39axfg/tests/playbooks/tasks/run_test.yml:5 Tuesday 06 February 2024 17:34:26 +0000 (0:00:00.036) 0:00:40.827 ****** ok: [sut] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/run_test.yml:9 Tuesday 06 February 2024 17:34:26 +0000 (0:00:00.022) 0:00:40.849 ****** 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_rewritexh39axfg/tests/playbooks/tasks/run_test.yml:21 Tuesday 06 February 2024 17:34:26 +0000 (0:00:00.043) 0:00:40.893 ****** included: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 06 February 2024 17:34:26 +0000 (0:00:00.034) 0:00:40.927 ****** included: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 06 February 2024 17:34:26 +0000 (0:00:00.033) 0:00:40.960 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003411", "end": "2024-02-06 17:34:26.867298", "rc": 0, "start": "2024-02-06 17:34:26.863887" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 06 February 2024 17:34:26 +0000 (0:00:00.197) 0:00:41.158 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 06 February 2024 17:34:26 +0000 (0:00:00.022) 0:00:41.181 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/run_test.yml:24 Tuesday 06 February 2024 17:34:26 +0000 (0:00:00.021) 0:00:41.203 ****** included: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 06 February 2024 17:34:27 +0000 (0:00:00.087) 0:00:41.290 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 17:34:27 +0000 (0:00:00.037) 0:00:41.327 ****** included: /WORKDIR/git-bond_options_rewritexh39axfg/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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 17:34:27 +0000 (0:00:00.039) 0:00:41.367 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 17:34:27 +0000 (0:00:00.026) 0:00:41.394 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 17:34:27 +0000 (0:00:00.021) 0:00:41.415 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 17:34:27 +0000 (0:00:00.021) 0:00:41.436 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 17:34:28 +0000 (0:00:01.547) 0:00:42.983 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 17:34:30 +0000 (0:00:01.294) 0:00:44.278 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 17:34:30 +0000 (0:00:00.021) 0:00:44.300 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 17:34:30 +0000 (0:00:00.020) 0:00:44.320 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 17:34:30 +0000 (0:00:00.020) 0:00:44.341 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 17:34:30 +0000 (0:00:00.042) 0:00:44.384 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 17:34:30 +0000 (0:00:00.021) 0:00:44.405 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 17:34:30 +0000 (0:00:00.020) 0:00:44.426 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 17:34:30 +0000 (0:00:00.023) 0:00:44.449 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 17:34:30 +0000 (0:00:00.367) 0:00:44.817 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 17:34:30 +0000 (0:00:00.025) 0:00:44.842 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 17:34:30 +0000 (0:00:00.020) 0:00:44.862 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 17:34:30 +0000 (0:00:00.020) 0:00:44.883 ****** 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, 1f272f4b-32fb-4b08-ad6d-f5d8b6294843 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 17:34:30 +0000 (0:00:00.378) 0:00:45.262 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 17:34:31 +0000 (0:00:00.020) 0:00:45.283 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 1f272f4b-32fb-4b08-ad6d-f5d8b6294843" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 17:34:31 +0000 (0:00:00.023) 0:00:45.306 ****** 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, 1f272f4b-32fb-4b08-ad6d-f5d8b6294843\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 1f272f4b-32fb-4b08-ad6d-f5d8b6294843" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 17:34:31 +0000 (0:00:00.022) 0:00:45.328 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 17:34:31 +0000 (0:00:00.020) 0:00:45.349 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 06 February 2024 17:34:31 +0000 (0:00:00.190) 0:00:45.540 ****** 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, 1f272f4b-32fb-4b08-ad6d-f5d8b6294843\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 1f272f4b-32fb-4b08-ad6d-f5d8b6294843" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 06 February 2024 17:34:31 +0000 (0:00:00.023) 0:00:45.563 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 17:34:31 +0000 (0:00:00.034) 0:00:45.598 ****** included: /WORKDIR/git-bond_options_rewritexh39axfg/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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 17:34:31 +0000 (0:00:00.062) 0:00:45.660 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 17:34:31 +0000 (0:00:00.026) 0:00:45.687 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 17:34:31 +0000 (0:00:00.020) 0:00:45.708 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 17:34:31 +0000 (0:00:00.020) 0:00:45.729 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 17:34:32 +0000 (0:00:01.517) 0:00:47.247 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 17:34:34 +0000 (0:00:01.302) 0:00:48.549 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 17:34:34 +0000 (0:00:00.023) 0:00:48.572 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 17:34:34 +0000 (0:00:00.020) 0:00:48.593 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 17:34:34 +0000 (0:00:00.020) 0:00:48.613 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 17:34:34 +0000 (0:00:00.043) 0:00:48.657 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 17:34:34 +0000 (0:00:00.021) 0:00:48.679 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 17:34:34 +0000 (0:00:00.020) 0:00:48.699 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 17:34:34 +0000 (0:00:00.024) 0:00:48.723 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 17:34:34 +0000 (0:00:00.342) 0:00:49.066 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 17:34:34 +0000 (0:00:00.024) 0:00:49.090 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 17:34:34 +0000 (0:00:00.020) 0:00:49.111 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 17:34:34 +0000 (0:00:00.020) 0:00:49.131 ****** 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, 1f272f4b-32fb-4b08-ad6d-f5d8b6294843 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 17:34:35 +0000 (0:00:00.354) 0:00:49.486 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 17:34:35 +0000 (0:00:00.021) 0:00:49.507 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 1f272f4b-32fb-4b08-ad6d-f5d8b6294843 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 17:34:35 +0000 (0:00:00.022) 0:00:49.530 ****** 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, 1f272f4b-32fb-4b08-ad6d-f5d8b6294843 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 1f272f4b-32fb-4b08-ad6d-f5d8b6294843 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 17:34:35 +0000 (0:00:00.023) 0:00:49.553 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 17:34:35 +0000 (0:00:00.020) 0:00:49.574 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/remove_profile.yml:3 Tuesday 06 February 2024 17:34:35 +0000 (0:00:00.189) 0:00:49.764 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 17:34:35 +0000 (0:00:00.036) 0:00:49.801 ****** included: /WORKDIR/git-bond_options_rewritexh39axfg/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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 17:34:35 +0000 (0:00:00.039) 0:00:49.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 : Check if system is ostree] ****************** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 17:34:35 +0000 (0:00:00.026) 0:00:49.867 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 17:34:35 +0000 (0:00:00.020) 0:00:49.887 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 17:34:35 +0000 (0:00:00.020) 0:00:49.908 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 17:34:37 +0000 (0:00:01.510) 0:00:51.418 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 17:34:38 +0000 (0:00:01.296) 0:00:52.714 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 17:34:38 +0000 (0:00:00.022) 0:00:52.736 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 17:34:38 +0000 (0:00:00.020) 0:00:52.757 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 17:34:38 +0000 (0:00:00.041) 0:00:52.799 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 17:34:38 +0000 (0:00:00.042) 0:00:52.842 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 17:34:38 +0000 (0:00:00.020) 0:00:52.863 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 17:34:38 +0000 (0:00:00.020) 0:00:52.884 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 17:34:38 +0000 (0:00:00.024) 0:00:52.908 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 17:34:38 +0000 (0:00:00.339) 0:00:53.247 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 17:34:39 +0000 (0:00:00.025) 0:00:53.273 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 17:34:39 +0000 (0:00:00.020) 0:00:53.293 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 17:34:39 +0000 (0:00:00.020) 0:00:53.313 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 17:34:39 +0000 (0:00:00.349) 0:00:53.663 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 17:34:39 +0000 (0:00:00.020) 0:00:53.683 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 17:34:39 +0000 (0:00:00.021) 0:00:53.705 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 17:34:39 +0000 (0:00:00.022) 0:00:53.727 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 17:34:39 +0000 (0:00:00.020) 0:00:53.747 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/run_test.yml:30 Tuesday 06 February 2024 17:34:39 +0000 (0:00:00.188) 0:00:53.936 ****** included: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/remove+down_profile.yml:3 Tuesday 06 February 2024 17:34:39 +0000 (0:00:00.040) 0:00:53.977 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 17:34:39 +0000 (0:00:00.039) 0:00:54.016 ****** included: /WORKDIR/git-bond_options_rewritexh39axfg/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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 17:34:39 +0000 (0:00:00.040) 0:00:54.056 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 17:34:39 +0000 (0:00:00.026) 0:00:54.082 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 17:34:39 +0000 (0:00:00.021) 0:00:54.103 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 17:34:39 +0000 (0:00:00.020) 0:00:54.124 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 17:34:41 +0000 (0:00:01.525) 0:00:55.650 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 17:34:42 +0000 (0:00:01.299) 0:00:56.949 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 17:34:42 +0000 (0:00:00.022) 0:00:56.971 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 17:34:42 +0000 (0:00:00.021) 0:00:56.992 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 17:34:42 +0000 (0:00:00.023) 0:00:57.016 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 17:34:42 +0000 (0:00:00.046) 0:00:57.062 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 17:34:42 +0000 (0:00:00.021) 0:00:57.083 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 17:34:42 +0000 (0:00:00.020) 0:00:57.104 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 17:34:42 +0000 (0:00:00.048) 0:00:57.152 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 17:34:43 +0000 (0:00:00.341) 0:00:57.493 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 17:34:43 +0000 (0:00:00.024) 0:00:57.518 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 17:34:43 +0000 (0:00:00.020) 0:00:57.538 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 17:34:43 +0000 (0:00:00.020) 0:00:57.559 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 17:34:43 +0000 (0:00:00.392) 0:00:57.951 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 17:34:43 +0000 (0:00:00.021) 0:00:57.973 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 17:34:43 +0000 (0:00:00.021) 0:00:57.994 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 17:34:43 +0000 (0:00:00.022) 0:00:58.017 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 17:34:43 +0000 (0:00:00.020) 0:00:58.038 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/run_test.yml:36 Tuesday 06 February 2024 17:34:43 +0000 (0:00:00.190) 0:00:58.228 ****** included: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/assert_profile_absent.yml:3 Tuesday 06 February 2024 17:34:44 +0000 (0:00:00.039) 0:00:58.267 ****** included: /WORKDIR/git-bond_options_rewritexh39axfg/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_rewritexh39axfg/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 06 February 2024 17:34:44 +0000 (0:00:00.059) 0:00:58.327 ****** 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_rewritexh39axfg/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 06 February 2024 17:34:44 +0000 (0:00:00.021) 0:00:58.348 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 06 February 2024 17:34:44 +0000 (0:00:00.191) 0:00:58.540 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 06 February 2024 17:34:44 +0000 (0:00:00.021) 0:00:58.561 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.019419", "end": "2024-02-06 17:34:44.483932", "rc": 1, "start": "2024-02-06 17:34:44.464513" } 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_rewritexh39axfg/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 06 February 2024 17:34:44 +0000 (0:00:00.213) 0:00:58.775 ****** 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_rewritexh39axfg/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 06 February 2024 17:34:44 +0000 (0:00:00.022) 0:00:58.798 ****** 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_rewritexh39axfg/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 06 February 2024 17:34:44 +0000 (0:00:00.022) 0:00:58.820 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 06 February 2024 17:34:44 +0000 (0:00:00.021) 0:00:58.841 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 06 February 2024 17:34:44 +0000 (0:00:00.021) 0:00:58.863 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/assert_profile_absent.yml:5 Tuesday 06 February 2024 17:34:44 +0000 (0:00:00.021) 0:00:58.885 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/run_test.yml:42 Tuesday 06 February 2024 17:34:44 +0000 (0:00:00.022) 0:00:58.907 ****** included: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 06 February 2024 17:34:44 +0000 (0:00:00.041) 0:00:58.949 ****** included: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 06 February 2024 17:34:44 +0000 (0:00:00.067) 0:00:59.017 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 06 February 2024 17:34:44 +0000 (0:00:00.195) 0:00:59.212 ****** 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_rewritexh39axfg/tests/playbooks/tasks/run_test.yml:47 Tuesday 06 February 2024 17:34:44 +0000 (0:00:00.024) 0:00:59.237 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/run_test.yml:66 Tuesday 06 February 2024 17:34:44 +0000 (0:00:00.021) 0:00:59.258 ****** included: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 06 February 2024 17:34:45 +0000 (0:00:00.040) 0:00:59.298 ****** 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.038441", "end": "2024-02-06 17:34:45.240026", "rc": 1, "start": "2024-02-06 17:34:45.201585" } 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_rewritexh39axfg/tests/playbooks/tests_states.yml:126 Tuesday 06 February 2024 17:34:45 +0000 (0:00:00.232) 0:00:59.531 ****** included: /WORKDIR/git-bond_options_rewritexh39axfg/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_rewritexh39axfg/tests/playbooks/tasks/run_test.yml:5 Tuesday 06 February 2024 17:34:45 +0000 (0:00:00.037) 0:00:59.568 ****** 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_rewritexh39axfg/tests/playbooks/tasks/run_test.yml:9 Tuesday 06 February 2024 17:34:45 +0000 (0:00:00.021) 0:00:59.590 ****** 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_rewritexh39axfg/tests/playbooks/tasks/run_test.yml:21 Tuesday 06 February 2024 17:34:45 +0000 (0:00:00.044) 0:00:59.634 ****** included: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 06 February 2024 17:34:45 +0000 (0:00:00.035) 0:00:59.670 ****** included: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 06 February 2024 17:34:45 +0000 (0:00:00.033) 0:00:59.703 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003171", "end": "2024-02-06 17:34:45.609209", "rc": 0, "start": "2024-02-06 17:34:45.606038" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 06 February 2024 17:34:45 +0000 (0:00:00.196) 0:00:59.900 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 06 February 2024 17:34:45 +0000 (0:00:00.023) 0:00:59.923 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/run_test.yml:24 Tuesday 06 February 2024 17:34:45 +0000 (0:00:00.021) 0:00:59.945 ****** included: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 06 February 2024 17:34:45 +0000 (0:00:00.043) 0:00:59.989 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 17:34:45 +0000 (0:00:00.036) 0:01:00.025 ****** included: /WORKDIR/git-bond_options_rewritexh39axfg/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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 17:34:45 +0000 (0:00:00.039) 0:01:00.065 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 17:34:45 +0000 (0:00:00.026) 0:01:00.091 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 17:34:45 +0000 (0:00:00.020) 0:01:00.112 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 17:34:45 +0000 (0:00:00.021) 0:01:00.133 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 17:34:47 +0000 (0:00:01.511) 0:01:01.645 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 17:34:48 +0000 (0:00:01.299) 0:01:02.944 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 17:34:48 +0000 (0:00:00.021) 0:01:02.966 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 17:34:48 +0000 (0:00:00.023) 0:01:02.989 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 17:34:48 +0000 (0:00:00.022) 0:01:03.012 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 17:34:48 +0000 (0:00:00.043) 0:01:03.056 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 17:34:48 +0000 (0:00:00.044) 0:01:03.101 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 17:34:48 +0000 (0:00:00.022) 0:01:03.123 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 17:34:48 +0000 (0:00:00.025) 0:01:03.148 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 17:34:49 +0000 (0:00:00.342) 0:01:03.491 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 17:34:49 +0000 (0:00:00.027) 0:01:03.518 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 17:34:49 +0000 (0:00:00.020) 0:01:03.539 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 17:34:49 +0000 (0:00:00.022) 0:01:03.562 ****** 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, a1191089-1eeb-4722-913e-0486c15f0f54 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 17:34:49 +0000 (0:00:00.375) 0:01:03.937 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 17:34:49 +0000 (0:00:00.020) 0:01:03.958 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, a1191089-1eeb-4722-913e-0486c15f0f54" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 17:34:49 +0000 (0:00:00.022) 0:01:03.981 ****** 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, a1191089-1eeb-4722-913e-0486c15f0f54\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, a1191089-1eeb-4722-913e-0486c15f0f54" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 17:34:49 +0000 (0:00:00.022) 0:01:04.003 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 17:34:49 +0000 (0:00:00.020) 0:01:04.024 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 06 February 2024 17:34:49 +0000 (0:00:00.190) 0:01:04.214 ****** 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, a1191089-1eeb-4722-913e-0486c15f0f54\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, a1191089-1eeb-4722-913e-0486c15f0f54" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 06 February 2024 17:34:50 +0000 (0:00:00.047) 0:01:04.262 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 17:34:50 +0000 (0:00:00.036) 0:01:04.299 ****** included: /WORKDIR/git-bond_options_rewritexh39axfg/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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 17:34:50 +0000 (0:00:00.040) 0:01:04.339 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 17:34:50 +0000 (0:00:00.026) 0:01:04.366 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 17:34:50 +0000 (0:00:00.020) 0:01:04.387 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 17:34:50 +0000 (0:00:00.020) 0:01:04.407 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 17:34:51 +0000 (0:00:01.513) 0:01:05.921 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 17:34:52 +0000 (0:00:01.318) 0:01:07.239 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 17:34:53 +0000 (0:00:00.024) 0:01:07.264 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 17:34:53 +0000 (0:00:00.023) 0:01:07.287 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 17:34:53 +0000 (0:00:00.022) 0:01:07.309 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 17:34:53 +0000 (0:00:00.044) 0:01:07.353 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 17:34:53 +0000 (0:00:00.021) 0:01:07.374 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 17:34:53 +0000 (0:00:00.022) 0:01:07.396 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 17:34:53 +0000 (0:00:00.024) 0:01:07.421 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 17:34:53 +0000 (0:00:00.363) 0:01:07.784 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 17:34:53 +0000 (0:00:00.025) 0:01:07.809 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 17:34:53 +0000 (0:00:00.020) 0:01:07.830 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 17:34:53 +0000 (0:00:00.020) 0:01:07.850 ****** 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, a1191089-1eeb-4722-913e-0486c15f0f54 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 17:34:53 +0000 (0:00:00.327) 0:01:08.177 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 17:34:53 +0000 (0:00:00.021) 0:01:08.198 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, a1191089-1eeb-4722-913e-0486c15f0f54 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 17:34:53 +0000 (0:00:00.021) 0:01:08.220 ****** 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, a1191089-1eeb-4722-913e-0486c15f0f54 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, a1191089-1eeb-4722-913e-0486c15f0f54 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 17:34:53 +0000 (0:00:00.022) 0:01:08.242 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 17:34:54 +0000 (0:00:00.020) 0:01:08.262 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/remove+down_profile.yml:3 Tuesday 06 February 2024 17:34:54 +0000 (0:00:00.190) 0:01:08.453 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 17:34:54 +0000 (0:00:00.036) 0:01:08.489 ****** included: /WORKDIR/git-bond_options_rewritexh39axfg/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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 17:34:54 +0000 (0:00:00.040) 0:01:08.529 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 17:34:54 +0000 (0:00:00.028) 0:01:08.558 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 17:34:54 +0000 (0:00:00.047) 0:01:08.605 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 17:34:54 +0000 (0:00:00.021) 0:01:08.627 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 17:34:55 +0000 (0:00:01.508) 0:01:10.135 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 17:34:57 +0000 (0:00:01.297) 0:01:11.433 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 17:34:57 +0000 (0:00:00.043) 0:01:11.476 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 17:34:57 +0000 (0:00:00.021) 0:01:11.498 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 17:34:57 +0000 (0:00:00.020) 0:01:11.519 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 17:34:57 +0000 (0:00:00.042) 0:01:11.561 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 17:34:57 +0000 (0:00:00.020) 0:01:11.582 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 17:34:57 +0000 (0:00:00.020) 0:01:11.603 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 17:34:57 +0000 (0:00:00.023) 0:01:11.626 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 17:34:57 +0000 (0:00:00.340) 0:01:11.967 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 17:34:57 +0000 (0:00:00.026) 0:01:11.993 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 17:34:57 +0000 (0:00:00.020) 0:01:12.014 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 17:34:57 +0000 (0:00:00.021) 0:01:12.035 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 17:34:58 +0000 (0:00:00.385) 0:01:12.421 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 17:34:58 +0000 (0:00:00.020) 0:01:12.441 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 17:34:58 +0000 (0:00:00.021) 0:01:12.463 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 17:34:58 +0000 (0:00:00.048) 0:01:12.512 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 17:34:58 +0000 (0:00:00.021) 0:01:12.533 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/run_test.yml:30 Tuesday 06 February 2024 17:34:58 +0000 (0:00:00.188) 0:01:12.721 ****** included: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/remove+down_profile.yml:3 Tuesday 06 February 2024 17:34:58 +0000 (0:00:00.046) 0:01:12.768 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 17:34:58 +0000 (0:00:00.037) 0:01:12.805 ****** included: /WORKDIR/git-bond_options_rewritexh39axfg/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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 17:34:58 +0000 (0:00:00.042) 0:01:12.848 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 17:34:58 +0000 (0:00:00.026) 0:01:12.874 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 17:34:58 +0000 (0:00:00.021) 0:01:12.895 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 17:34:58 +0000 (0:00:00.021) 0:01:12.917 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 17:35:00 +0000 (0:00:01.517) 0:01:14.434 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 17:35:01 +0000 (0:00:01.298) 0:01:15.733 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 17:35:01 +0000 (0:00:00.022) 0:01:15.756 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 17:35:01 +0000 (0:00:00.020) 0:01:15.777 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 17:35:01 +0000 (0:00:00.021) 0:01:15.798 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 17:35:01 +0000 (0:00:00.047) 0:01:15.846 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 17:35:01 +0000 (0:00:00.022) 0:01:15.868 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 17:35:01 +0000 (0:00:00.048) 0:01:15.916 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 17:35:01 +0000 (0:00:00.031) 0:01:15.948 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 17:35:02 +0000 (0:00:00.347) 0:01:16.295 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 17:35:02 +0000 (0:00:00.025) 0:01:16.321 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 17:35:02 +0000 (0:00:00.021) 0:01:16.343 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 17:35:02 +0000 (0:00:00.020) 0:01:16.364 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 17:35:02 +0000 (0:00:00.343) 0:01:16.707 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 17:35:02 +0000 (0:00:00.021) 0:01:16.728 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 17:35:02 +0000 (0:00:00.022) 0:01:16.751 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 17:35:02 +0000 (0:00:00.023) 0:01:16.774 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 17:35:02 +0000 (0:00:00.020) 0:01:16.794 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/run_test.yml:36 Tuesday 06 February 2024 17:35:02 +0000 (0:00:00.189) 0:01:16.984 ****** included: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/assert_profile_absent.yml for sut included: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/get_NetworkManager_NVR.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/assert_profile_absent.yml:3 Tuesday 06 February 2024 17:35:02 +0000 (0:00:00.069) 0:01:17.054 ****** included: /WORKDIR/git-bond_options_rewritexh39axfg/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_rewritexh39axfg/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 06 February 2024 17:35:02 +0000 (0:00:00.038) 0:01:17.092 ****** 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_rewritexh39axfg/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 06 February 2024 17:35:02 +0000 (0:00:00.022) 0:01:17.114 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 06 February 2024 17:35:03 +0000 (0:00:00.194) 0:01:17.309 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 06 February 2024 17:35:03 +0000 (0:00:00.021) 0:01:17.330 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.019112", "end": "2024-02-06 17:35:03.251633", "rc": 1, "start": "2024-02-06 17:35:03.232521" } 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_rewritexh39axfg/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 06 February 2024 17:35:03 +0000 (0:00:00.212) 0:01:17.543 ****** 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_rewritexh39axfg/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 06 February 2024 17:35:03 +0000 (0:00:00.024) 0:01:17.567 ****** 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_rewritexh39axfg/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 06 February 2024 17:35:03 +0000 (0:00:00.023) 0:01:17.590 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 06 February 2024 17:35:03 +0000 (0:00:00.022) 0:01:17.613 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 06 February 2024 17:35:03 +0000 (0:00:00.022) 0:01:17.635 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/assert_profile_absent.yml:5 Tuesday 06 February 2024 17:35:03 +0000 (0:00:00.022) 0:01:17.658 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/get_NetworkManager_NVR.yml:7 Tuesday 06 February 2024 17:35:03 +0000 (0:00:00.023) 0:01:17.681 ****** ok: [sut] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.943446", "end": "2024-02-06 17:35:04.526859", "rc": 0, "start": "2024-02-06 17:35:03.583413" } STDOUT: NetworkManager-1.40.16-14.el8 TASK [Store NetworkManager version] ******************************************** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/get_NetworkManager_NVR.yml:14 Tuesday 06 February 2024 17:35:04 +0000 (0:00:01.137) 0:01:18.818 ****** ok: [sut] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.40.16-14.el8" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/get_NetworkManager_NVR.yml:18 Tuesday 06 February 2024 17:35:04 +0000 (0:00:00.021) 0:01:18.840 ****** ok: [sut] => { "networkmanager_nvr": "NetworkManager-1.40.16-14.el8" } TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/run_test.yml:42 Tuesday 06 February 2024 17:35:04 +0000 (0:00:00.021) 0:01:18.862 ****** included: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 06 February 2024 17:35:04 +0000 (0:00:00.042) 0:01:18.905 ****** included: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 06 February 2024 17:35:04 +0000 (0:00:00.035) 0:01:18.940 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 06 February 2024 17:35:04 +0000 (0:00:00.194) 0:01:19.135 ****** 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_rewritexh39axfg/tests/playbooks/tasks/run_test.yml:47 Tuesday 06 February 2024 17:35:04 +0000 (0:00:00.024) 0:01:19.160 ****** 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_rewritexh39axfg/tests/playbooks/tasks/run_test.yml:66 Tuesday 06 February 2024 17:35:04 +0000 (0:00:00.022) 0:01:19.182 ****** included: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 06 February 2024 17:35:04 +0000 (0:00:00.041) 0:01:19.224 ****** 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.041085", "end": "2024-02-06 17:35:05.173567", "rc": 1, "start": "2024-02-06 17:35:05.132482" } 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 17:35:05 +0000 (0:00:00.227) 0:01:19.451 ****** =============================================================================== linux-system-roles.network : Configure networking connection profiles --- 2.05s /WORKDIR/git-bond_options_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:125 linux-system-roles.network : Enable and start NetworkManager ------------ 1.86s /WORKDIR/git-bond_options_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:88 linux-system-roles.network : Check which services are running ----------- 1.60s /WORKDIR/git-bond_options_rewritexh39axfg/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_rewritexh39axfg/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_rewritexh39axfg/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_rewritexh39axfg/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_rewritexh39axfg/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_rewritexh39axfg/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_rewritexh39axfg/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_rewritexh39axfg/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_rewritexh39axfg/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_rewritexh39axfg/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_rewritexh39axfg/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_rewritexh39axfg/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_rewritexh39axfg/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_rewritexh39axfg/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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which packages are installed --------- 1.45s /WORKDIR/git-bond_options_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Enable and start NetworkManager ------------ 1.39s /WORKDIR/git-bond_options_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:88 linux-system-roles.network : Configure networking connection profiles --- 1.34s /WORKDIR/git-bond_options_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:125 ---^---^---^---^---^--- # 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. ---^---^---^---^---^---