# 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_rewriteagf4dfb1/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_rewriteagf4dfb1/tests/tests_states_nm.yml:6 Wednesday 31 January 2024 23:34:21 +0000 (0:00:00.019) 0:00:00.019 ***** ok: [sut] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/tests_states_nm.yml:9 Wednesday 31 January 2024 23:34:22 +0000 (0:00:00.743) 0:00:00.763 ***** included: /WORKDIR/git-bond_options_rewriteagf4dfb1/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_rewriteagf4dfb1/tests/tasks/el_repo_setup.yml:3 Wednesday 31 January 2024 23:34:22 +0000 (0:00:00.029) 0:00:00.793 ***** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/tasks/el_repo_setup.yml:19 Wednesday 31 January 2024 23:34:22 +0000 (0:00:00.376) 0:00:01.169 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/tasks/el_repo_setup.yml:24 Wednesday 31 January 2024 23:34:22 +0000 (0:00:00.334) 0:00:01.504 ***** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/tasks/el_repo_setup.yml:28 Wednesday 31 January 2024 23:34:23 +0000 (0:00:00.037) 0:00:01.542 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/tasks/el_repo_setup.yml:53 Wednesday 31 January 2024 23:34:23 +0000 (0:00:00.029) 0:00:01.571 ***** included: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 9] *********************************************************** task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/tasks/enable_epel.yml:8 Wednesday 31 January 2024 23:34:23 +0000 (0:00:00.081) 0:00:01.652 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Install yum-utils package] *********************************************** task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/tasks/enable_epel.yml:24 Wednesday 31 January 2024 23:34:23 +0000 (0:00:00.015) 0:00:01.668 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/tasks/enable_epel.yml:30 Wednesday 31 January 2024 23:34:23 +0000 (0:00:00.014) 0:00:01.683 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/tasks/enable_epel.yml:35 Wednesday 31 January 2024 23:34:23 +0000 (0:00:00.012) 0:00:01.695 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/tasks/enable_epel.yml:40 Wednesday 31 January 2024 23:34:23 +0000 (0:00:00.012) 0:00:01.708 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/tests_states_nm.yml:11 Wednesday 31 January 2024 23:34:23 +0000 (0:00:00.012) 0:00:01.720 ***** 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_rewriteagf4dfb1/tests/playbooks/tests_states.yml:3 Wednesday 31 January 2024 23:34:23 +0000 (0:00:00.013) 0:00:01.733 ***** ok: [sut] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tests_states.yml:11 Wednesday 31 January 2024 23:34:23 +0000 (0:00:00.516) 0:00:02.249 ***** ok: [sut] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tests_states.yml:22 Wednesday 31 January 2024 23:34:23 +0000 (0:00:00.016) 0:00:02.266 ***** included: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile] ******************************************** task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/run_test.yml:5 Wednesday 31 January 2024 23:34:23 +0000 (0:00:00.025) 0:00:02.291 ***** ok: [sut] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/run_test.yml:9 Wednesday 31 January 2024 23:34:23 +0000 (0:00:00.015) 0:00:02.306 ***** 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_rewriteagf4dfb1/tests/playbooks/tasks/run_test.yml:21 Wednesday 31 January 2024 23:34:23 +0000 (0:00:00.042) 0:00:02.348 ***** included: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 31 January 2024 23:34:23 +0000 (0:00:00.017) 0:00:02.366 ***** included: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 31 January 2024 23:34:23 +0000 (0:00:00.018) 0:00:02.384 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003156", "end": "2024-01-31 23:34:24.083488", "rc": 0, "start": "2024-01-31 23:34:24.080332" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 31 January 2024 23:34:24 +0000 (0:00:00.250) 0:00:02.635 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 31 January 2024 23:34:24 +0000 (0:00:00.014) 0:00:02.650 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/run_test.yml:24 Wednesday 31 January 2024 23:34:24 +0000 (0:00:00.013) 0:00:02.663 ***** included: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/delete_interface.yml:3 Wednesday 31 January 2024 23:34:24 +0000 (0:00:00.028) 0:00:02.691 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.007330", "end": "2024-01-31 23:34:24.329172", "rc": 1, "start": "2024-01-31 23:34:24.321842" } 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_rewriteagf4dfb1/tests/playbooks/tasks/assert_device_absent.yml:3 Wednesday 31 January 2024 23:34:24 +0000 (0:00:00.189) 0:00:02.881 ***** included: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 31 January 2024 23:34:24 +0000 (0:00:00.017) 0:00:02.899 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/assert_device_absent.yml:5 Wednesday 31 January 2024 23:34:24 +0000 (0:00:00.182) 0:00:03.082 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/run_test.yml:30 Wednesday 31 January 2024 23:34:24 +0000 (0:00:00.019) 0:00:03.101 ***** included: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 31 January 2024 23:34:24 +0000 (0:00:00.030) 0:00:03.131 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 31 January 2024 23:34:24 +0000 (0:00:00.055) 0:00:03.186 ***** included: /WORKDIR/git-bond_options_rewriteagf4dfb1/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_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 31 January 2024 23:34:24 +0000 (0:00:00.103) 0:00:03.290 ***** 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_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 31 January 2024 23:34:24 +0000 (0:00:00.031) 0:00:03.322 ***** 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_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 31 January 2024 23:34:24 +0000 (0:00:00.016) 0:00:03.338 ***** 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_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 31 January 2024 23:34:24 +0000 (0:00:00.015) 0:00:03.354 ***** 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_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 31 January 2024 23:34:26 +0000 (0:00:01.558) 0:00:04.913 ***** 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_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 31 January 2024 23:34:27 +0000 (0:00:01.255) 0:00:06.168 ***** 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_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 31 January 2024 23:34:27 +0000 (0:00:00.028) 0:00:06.197 ***** 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_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 31 January 2024 23:34:27 +0000 (0:00:00.035) 0:00:06.232 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 31 January 2024 23:34:27 +0000 (0:00:00.031) 0:00:06.264 ***** 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_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 31 January 2024 23:34:27 +0000 (0:00:00.052) 0:00:06.317 ***** 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_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 31 January 2024 23:34:27 +0000 (0:00:00.024) 0:00:06.342 ***** 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_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 31 January 2024 23:34:27 +0000 (0:00:00.025) 0:00:06.367 ***** 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_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 31 January 2024 23:34:27 +0000 (0:00:00.031) 0:00:06.398 ***** 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_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 31 January 2024 23:34:28 +0000 (0:00:00.587) 0:00:06.985 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 31 January 2024 23:34:28 +0000 (0:00:00.076) 0:00:07.062 ***** 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_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 31 January 2024 23:34:28 +0000 (0:00:00.044) 0:00:07.106 ***** 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_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 31 January 2024 23:34:28 +0000 (0:00:00.032) 0:00:07.139 ***** 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, aa1f5106-eed8-42e1-84c5-e8f2ce53ee1c TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 31 January 2024 23:34:29 +0000 (0:00:00.681) 0:00:07.821 ***** 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_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 31 January 2024 23:34:29 +0000 (0:00:00.052) 0:00:07.874 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, aa1f5106-eed8-42e1-84c5-e8f2ce53ee1c" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 31 January 2024 23:34:29 +0000 (0:00:00.079) 0:00:07.953 ***** 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, aa1f5106-eed8-42e1-84c5-e8f2ce53ee1c\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, aa1f5106-eed8-42e1-84c5-e8f2ce53ee1c" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 31 January 2024 23:34:29 +0000 (0:00:00.062) 0:00:08.015 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 31 January 2024 23:34:29 +0000 (0:00:00.059) 0:00:08.074 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 31 January 2024 23:34:29 +0000 (0:00:00.316) 0:00:08.391 ***** 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, aa1f5106-eed8-42e1-84c5-e8f2ce53ee1c\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, aa1f5106-eed8-42e1-84c5-e8f2ce53ee1c" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/run_test.yml:36 Wednesday 31 January 2024 23:34:29 +0000 (0:00:00.071) 0:00:08.462 ***** included: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/assert_profile_present.yml:3 Wednesday 31 January 2024 23:34:30 +0000 (0:00:00.095) 0:00:08.558 ***** included: /WORKDIR/git-bond_options_rewriteagf4dfb1/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_rewriteagf4dfb1/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 31 January 2024 23:34:30 +0000 (0:00:00.066) 0:00:08.625 ***** 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_rewriteagf4dfb1/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 31 January 2024 23:34:30 +0000 (0:00:00.047) 0:00:08.672 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 31 January 2024 23:34:30 +0000 (0:00:00.225) 0:00:08.898 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 31 January 2024 23:34:30 +0000 (0:00:00.036) 0:00:08.934 ***** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022431", "end": "2024-01-31 23:34:30.646116", "rc": 0, "start": "2024-01-31 23:34:30.623685" } STDOUT: statebr /etc/NetworkManager/system-connections/statebr.nmconnection TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 31 January 2024 23:34:30 +0000 (0:00:00.346) 0:00:09.280 ***** 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_rewriteagf4dfb1/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 31 January 2024 23:34:30 +0000 (0:00:00.041) 0:00:09.322 ***** 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_rewriteagf4dfb1/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 31 January 2024 23:34:30 +0000 (0:00:00.028) 0:00:09.351 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 31 January 2024 23:34:30 +0000 (0:00:00.029) 0:00:09.380 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 31 January 2024 23:34:30 +0000 (0:00:00.029) 0:00:09.410 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/assert_profile_present.yml:5 Wednesday 31 January 2024 23:34:30 +0000 (0:00:00.028) 0:00:09.439 ***** 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_rewriteagf4dfb1/tests/playbooks/tasks/assert_profile_present.yml:10 Wednesday 31 January 2024 23:34:30 +0000 (0:00:00.031) 0:00:09.470 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/assert_profile_present.yml:15 Wednesday 31 January 2024 23:34:30 +0000 (0:00:00.042) 0:00:09.513 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/run_test.yml:42 Wednesday 31 January 2024 23:34:31 +0000 (0:00:00.032) 0:00:09.545 ***** included: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 31 January 2024 23:34:31 +0000 (0:00:00.067) 0:00:09.613 ***** included: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 31 January 2024 23:34:31 +0000 (0:00:00.055) 0:00:09.668 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1706744069.1770146, "block_size": 4096, "blocks": 0, "ctime": 1706744069.1770146, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 32340, "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": 1706744069.1770146, "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_rewriteagf4dfb1/tests/playbooks/tasks/assert_device_present.yml:5 Wednesday 31 January 2024 23:34:31 +0000 (0:00:00.216) 0:00:09.885 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can create a profile'] ******************************** task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/run_test.yml:47 Wednesday 31 January 2024 23:34:31 +0000 (0:00:00.045) 0:00:09.930 ***** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/run_test.yml:66 Wednesday 31 January 2024 23:34:31 +0000 (0:00:00.048) 0:00:09.978 ***** included: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 31 January 2024 23:34:31 +0000 (0:00:00.106) 0:00:10.085 ***** 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.063294", "end": "2024-01-31 23:34:31.787100", "rc": 1, "start": "2024-01-31 23:34:31.723806" } STDOUT: Connection 'statebr' (aa1f5106-eed8-42e1-84c5-e8f2ce53ee1c) 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_rewriteagf4dfb1/tests/playbooks/tests_states.yml:45 Wednesday 31 January 2024 23:34:31 +0000 (0:00:00.280) 0:00:10.365 ***** included: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile without autoconnect] ************************ task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/run_test.yml:5 Wednesday 31 January 2024 23:34:31 +0000 (0:00:00.064) 0:00:10.430 ***** ok: [sut] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/run_test.yml:9 Wednesday 31 January 2024 23:34:31 +0000 (0:00:00.026) 0:00:10.456 ***** 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_rewriteagf4dfb1/tests/playbooks/tasks/run_test.yml:21 Wednesday 31 January 2024 23:34:31 +0000 (0:00:00.057) 0:00:10.514 ***** included: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 31 January 2024 23:34:32 +0000 (0:00:00.046) 0:00:10.561 ***** included: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 31 January 2024 23:34:32 +0000 (0:00:00.066) 0:00:10.627 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003280", "end": "2024-01-31 23:34:32.276316", "rc": 0, "start": "2024-01-31 23:34:32.273036" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 31 January 2024 23:34:32 +0000 (0:00:00.231) 0:00:10.858 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 31 January 2024 23:34:32 +0000 (0:00:00.080) 0:00:10.939 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/run_test.yml:24 Wednesday 31 January 2024 23:34:32 +0000 (0:00:00.045) 0:00:10.984 ***** included: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/delete_interface.yml:3 Wednesday 31 January 2024 23:34:32 +0000 (0:00:00.097) 0:00:11.082 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.006239", "end": "2024-01-31 23:34:32.750551", "rc": 1, "start": "2024-01-31 23:34:32.744312" } 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_rewriteagf4dfb1/tests/playbooks/tasks/assert_device_absent.yml:3 Wednesday 31 January 2024 23:34:32 +0000 (0:00:00.277) 0:00:11.359 ***** included: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 31 January 2024 23:34:32 +0000 (0:00:00.073) 0:00:11.432 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/assert_device_absent.yml:5 Wednesday 31 January 2024 23:34:33 +0000 (0:00:00.221) 0:00:11.654 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/run_test.yml:30 Wednesday 31 January 2024 23:34:33 +0000 (0:00:00.071) 0:00:11.725 ***** included: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Wednesday 31 January 2024 23:34:33 +0000 (0:00:00.078) 0:00:11.804 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 31 January 2024 23:34:33 +0000 (0:00:00.059) 0:00:11.864 ***** included: /WORKDIR/git-bond_options_rewriteagf4dfb1/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_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 31 January 2024 23:34:33 +0000 (0:00:00.052) 0:00:11.916 ***** 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_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 31 January 2024 23:34:33 +0000 (0:00:00.033) 0:00:11.950 ***** 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_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 31 January 2024 23:34:33 +0000 (0:00:00.040) 0:00:11.990 ***** 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_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 31 January 2024 23:34:33 +0000 (0:00:00.044) 0:00:12.035 ***** 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_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 31 January 2024 23:34:34 +0000 (0:00:01.455) 0:00:13.491 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 31 January 2024 23:34:35 +0000 (0:00:00.987) 0:00:14.479 ***** 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_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 31 January 2024 23:34:35 +0000 (0:00:00.036) 0:00:14.515 ***** 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_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 31 January 2024 23:34:36 +0000 (0:00:00.051) 0:00:14.567 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 31 January 2024 23:34:36 +0000 (0:00:00.037) 0:00:14.605 ***** 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_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 31 January 2024 23:34:36 +0000 (0:00:00.073) 0:00:14.678 ***** 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_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 31 January 2024 23:34:36 +0000 (0:00:00.030) 0:00:14.709 ***** 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_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 31 January 2024 23:34:36 +0000 (0:00:00.026) 0:00:14.736 ***** 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_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 31 January 2024 23:34:36 +0000 (0:00:00.055) 0:00:14.791 ***** 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_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 31 January 2024 23:34:36 +0000 (0:00:00.406) 0:00:15.198 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 31 January 2024 23:34:36 +0000 (0:00:00.042) 0:00:15.240 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 31 January 2024 23:34:36 +0000 (0:00:00.045) 0:00:15.286 ***** 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_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 31 January 2024 23:34:36 +0000 (0:00:00.031) 0:00:15.317 ***** 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, b641ab97-d1e9-4106-8b63-b2108687f609 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 31 January 2024 23:34:37 +0000 (0:00:00.433) 0:00:15.751 ***** 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_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 31 January 2024 23:34:37 +0000 (0:00:00.043) 0:00:15.794 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, b641ab97-d1e9-4106-8b63-b2108687f609" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 31 January 2024 23:34:37 +0000 (0:00:00.041) 0:00:15.835 ***** 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, b641ab97-d1e9-4106-8b63-b2108687f609\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, b641ab97-d1e9-4106-8b63-b2108687f609" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 31 January 2024 23:34:37 +0000 (0:00:00.041) 0:00:15.876 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 31 January 2024 23:34:37 +0000 (0:00:00.035) 0:00:15.911 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Wednesday 31 January 2024 23:34:37 +0000 (0:00:00.204) 0:00:16.116 ***** 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, b641ab97-d1e9-4106-8b63-b2108687f609\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, b641ab97-d1e9-4106-8b63-b2108687f609" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/run_test.yml:36 Wednesday 31 January 2024 23:34:37 +0000 (0:00:00.028) 0:00:16.145 ***** included: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/assert_device_absent.yml for sut included: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/assert_device_absent.yml:3 Wednesday 31 January 2024 23:34:37 +0000 (0:00:00.054) 0:00:16.199 ***** included: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 31 January 2024 23:34:37 +0000 (0:00:00.069) 0:00:16.269 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/assert_device_absent.yml:5 Wednesday 31 January 2024 23:34:37 +0000 (0:00:00.200) 0:00:16.469 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/assert_profile_present.yml:3 Wednesday 31 January 2024 23:34:37 +0000 (0:00:00.030) 0:00:16.500 ***** included: /WORKDIR/git-bond_options_rewriteagf4dfb1/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_rewriteagf4dfb1/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 31 January 2024 23:34:38 +0000 (0:00:00.057) 0:00:16.558 ***** 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_rewriteagf4dfb1/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 31 January 2024 23:34:38 +0000 (0:00:00.031) 0:00:16.590 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 31 January 2024 23:34:38 +0000 (0:00:00.215) 0:00:16.805 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 31 January 2024 23:34:38 +0000 (0:00:00.038) 0:00:16.844 ***** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021902", "end": "2024-01-31 23:34:38.512203", "rc": 0, "start": "2024-01-31 23:34:38.490301" } STDOUT: statebr /etc/NetworkManager/system-connections/statebr.nmconnection TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 31 January 2024 23:34:38 +0000 (0:00:00.235) 0:00:17.080 ***** 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_rewriteagf4dfb1/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 31 January 2024 23:34:38 +0000 (0:00:00.030) 0:00:17.110 ***** 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_rewriteagf4dfb1/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 31 January 2024 23:34:38 +0000 (0:00:00.026) 0:00:17.137 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 31 January 2024 23:34:38 +0000 (0:00:00.042) 0:00:17.180 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 31 January 2024 23:34:38 +0000 (0:00:00.054) 0:00:17.235 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/assert_profile_present.yml:5 Wednesday 31 January 2024 23:34:38 +0000 (0:00:00.048) 0:00:17.283 ***** 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_rewriteagf4dfb1/tests/playbooks/tasks/assert_profile_present.yml:10 Wednesday 31 January 2024 23:34:38 +0000 (0:00:00.085) 0:00:17.369 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/assert_profile_present.yml:15 Wednesday 31 January 2024 23:34:38 +0000 (0:00:00.036) 0:00:17.406 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/run_test.yml:42 Wednesday 31 January 2024 23:34:38 +0000 (0:00:00.048) 0:00:17.454 ***** TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/run_test.yml:47 Wednesday 31 January 2024 23:34:38 +0000 (0:00:00.032) 0:00:17.486 ***** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/run_test.yml:66 Wednesday 31 January 2024 23:34:38 +0000 (0:00:00.041) 0:00:17.527 ***** included: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 31 January 2024 23:34:39 +0000 (0:00:00.059) 0:00:17.587 ***** 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.041345", "end": "2024-01-31 23:34:39.262895", "rc": 1, "start": "2024-01-31 23:34:39.221550" } STDOUT: Connection 'statebr' (b641ab97-d1e9-4106-8b63-b2108687f609) 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_rewriteagf4dfb1/tests/playbooks/tests_states.yml:65 Wednesday 31 January 2024 23:34:39 +0000 (0:00:00.250) 0:00:17.837 ***** included: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can activate an existing profile] ******************************** task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/run_test.yml:5 Wednesday 31 January 2024 23:34:39 +0000 (0:00:00.069) 0:00:17.906 ***** ok: [sut] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/run_test.yml:9 Wednesday 31 January 2024 23:34:39 +0000 (0:00:00.042) 0:00:17.949 ***** 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_rewriteagf4dfb1/tests/playbooks/tasks/run_test.yml:21 Wednesday 31 January 2024 23:34:39 +0000 (0:00:00.082) 0:00:18.032 ***** included: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 31 January 2024 23:34:39 +0000 (0:00:00.050) 0:00:18.082 ***** included: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 31 January 2024 23:34:39 +0000 (0:00:00.044) 0:00:18.127 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003214", "end": "2024-01-31 23:34:39.767786", "rc": 0, "start": "2024-01-31 23:34:39.764572" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 31 January 2024 23:34:39 +0000 (0:00:00.230) 0:00:18.357 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 31 January 2024 23:34:39 +0000 (0:00:00.029) 0:00:18.387 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/run_test.yml:24 Wednesday 31 January 2024 23:34:39 +0000 (0:00:00.027) 0:00:18.414 ***** included: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 31 January 2024 23:34:39 +0000 (0:00:00.068) 0:00:18.483 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 31 January 2024 23:34:40 +0000 (0:00:00.070) 0:00:18.553 ***** included: /WORKDIR/git-bond_options_rewriteagf4dfb1/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_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 31 January 2024 23:34:40 +0000 (0:00:00.071) 0:00:18.625 ***** 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_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 31 January 2024 23:34:40 +0000 (0:00:00.049) 0:00:18.674 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 31 January 2024 23:34:40 +0000 (0:00:00.034) 0:00:18.709 ***** 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_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 31 January 2024 23:34:40 +0000 (0:00:00.028) 0:00:18.737 ***** 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_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 31 January 2024 23:34:41 +0000 (0:00:01.452) 0:00:20.189 ***** 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_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 31 January 2024 23:34:42 +0000 (0:00:01.010) 0:00:21.199 ***** 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_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 31 January 2024 23:34:42 +0000 (0:00:00.044) 0:00:21.244 ***** 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_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 31 January 2024 23:34:42 +0000 (0:00:00.058) 0:00:21.302 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 31 January 2024 23:34:42 +0000 (0:00:00.040) 0:00:21.343 ***** 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_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 31 January 2024 23:34:42 +0000 (0:00:00.093) 0:00:21.436 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 31 January 2024 23:34:42 +0000 (0:00:00.048) 0:00:21.485 ***** 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_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 31 January 2024 23:34:43 +0000 (0:00:00.065) 0:00:21.550 ***** 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_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 31 January 2024 23:34:43 +0000 (0:00:00.067) 0:00:21.617 ***** 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_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 31 January 2024 23:34:43 +0000 (0:00:00.504) 0:00:22.122 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 31 January 2024 23:34:43 +0000 (0:00:00.055) 0:00:22.178 ***** 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_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 31 January 2024 23:34:43 +0000 (0:00:00.061) 0:00:22.239 ***** 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_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 31 January 2024 23:34:43 +0000 (0:00:00.048) 0:00:22.288 ***** 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, 6ad30609-5233-48e1-ab5d-e62cf7d8e9c6 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 31 January 2024 23:34:44 +0000 (0:00:00.510) 0:00:22.798 ***** 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_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 31 January 2024 23:34:44 +0000 (0:00:00.038) 0:00:22.837 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 6ad30609-5233-48e1-ab5d-e62cf7d8e9c6" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 31 January 2024 23:34:44 +0000 (0:00:00.037) 0:00:22.875 ***** 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, 6ad30609-5233-48e1-ab5d-e62cf7d8e9c6\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 6ad30609-5233-48e1-ab5d-e62cf7d8e9c6" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 31 January 2024 23:34:44 +0000 (0:00:00.038) 0:00:22.913 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 31 January 2024 23:34:44 +0000 (0:00:00.039) 0:00:22.953 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 31 January 2024 23:34:44 +0000 (0:00:00.203) 0:00:23.156 ***** 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, 6ad30609-5233-48e1-ab5d-e62cf7d8e9c6\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 6ad30609-5233-48e1-ab5d-e62cf7d8e9c6" ] } } TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/run_test.yml:30 Wednesday 31 January 2024 23:34:44 +0000 (0:00:00.031) 0:00:23.187 ***** included: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/activate_profile.yml:3 Wednesday 31 January 2024 23:34:44 +0000 (0:00:00.055) 0:00:23.242 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 31 January 2024 23:34:44 +0000 (0:00:00.062) 0:00:23.305 ***** included: /WORKDIR/git-bond_options_rewriteagf4dfb1/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_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 31 January 2024 23:34:44 +0000 (0:00:00.100) 0:00:23.405 ***** 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_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 31 January 2024 23:34:44 +0000 (0:00:00.047) 0:00:23.452 ***** 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_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 31 January 2024 23:34:44 +0000 (0:00:00.029) 0:00:23.481 ***** 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_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 31 January 2024 23:34:44 +0000 (0:00:00.028) 0:00:23.509 ***** 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_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 31 January 2024 23:34:46 +0000 (0:00:01.431) 0:00:24.941 ***** 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_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 31 January 2024 23:34:47 +0000 (0:00:00.969) 0:00:25.910 ***** 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_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 31 January 2024 23:34:47 +0000 (0:00:00.028) 0:00:25.938 ***** 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_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 31 January 2024 23:34:47 +0000 (0:00:00.026) 0:00:25.965 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 31 January 2024 23:34:47 +0000 (0:00:00.029) 0:00:25.995 ***** 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_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 31 January 2024 23:34:47 +0000 (0:00:00.059) 0:00:26.054 ***** 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_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 31 January 2024 23:34:47 +0000 (0:00:00.027) 0:00:26.081 ***** 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_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 31 January 2024 23:34:47 +0000 (0:00:00.032) 0:00:26.113 ***** 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_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 31 January 2024 23:34:47 +0000 (0:00:00.033) 0:00:26.147 ***** 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_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 31 January 2024 23:34:47 +0000 (0:00:00.371) 0:00:26.519 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 31 January 2024 23:34:48 +0000 (0:00:00.032) 0:00:26.551 ***** 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_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 31 January 2024 23:34:48 +0000 (0:00:00.026) 0:00:26.578 ***** 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_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 31 January 2024 23:34:48 +0000 (0:00:00.038) 0:00:26.617 ***** 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, 6ad30609-5233-48e1-ab5d-e62cf7d8e9c6 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 31 January 2024 23:34:48 +0000 (0:00:00.390) 0:00:27.007 ***** 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_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 31 January 2024 23:34:48 +0000 (0:00:00.027) 0:00:27.035 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 6ad30609-5233-48e1-ab5d-e62cf7d8e9c6 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 31 January 2024 23:34:48 +0000 (0:00:00.062) 0:00:27.097 ***** 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, 6ad30609-5233-48e1-ab5d-e62cf7d8e9c6 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 6ad30609-5233-48e1-ab5d-e62cf7d8e9c6 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 31 January 2024 23:34:48 +0000 (0:00:00.028) 0:00:27.126 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 31 January 2024 23:34:48 +0000 (0:00:00.028) 0:00:27.155 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/run_test.yml:36 Wednesday 31 January 2024 23:34:48 +0000 (0:00:00.206) 0:00:27.362 ***** included: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 31 January 2024 23:34:48 +0000 (0:00:00.075) 0:00:27.438 ***** included: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 31 January 2024 23:34:48 +0000 (0:00:00.073) 0:00:27.511 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1706744084.164658, "block_size": 4096, "blocks": 0, "ctime": 1706744084.164658, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 32471, "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": 1706744084.164658, "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_rewriteagf4dfb1/tests/playbooks/tasks/assert_device_present.yml:5 Wednesday 31 January 2024 23:34:49 +0000 (0:00:00.214) 0:00:27.725 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/assert_profile_present.yml:3 Wednesday 31 January 2024 23:34:49 +0000 (0:00:00.041) 0:00:27.767 ***** included: /WORKDIR/git-bond_options_rewriteagf4dfb1/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_rewriteagf4dfb1/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 31 January 2024 23:34:49 +0000 (0:00:00.075) 0:00:27.842 ***** 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_rewriteagf4dfb1/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 31 January 2024 23:34:49 +0000 (0:00:00.054) 0:00:27.897 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 31 January 2024 23:34:49 +0000 (0:00:00.226) 0:00:28.124 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 31 January 2024 23:34:49 +0000 (0:00:00.054) 0:00:28.178 ***** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021281", "end": "2024-01-31 23:34:49.850097", "rc": 0, "start": "2024-01-31 23:34:49.828816" } STDOUT: statebr /etc/NetworkManager/system-connections/statebr.nmconnection TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 31 January 2024 23:34:49 +0000 (0:00:00.292) 0:00:28.470 ***** 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_rewriteagf4dfb1/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 31 January 2024 23:34:49 +0000 (0:00:00.033) 0:00:28.504 ***** 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_rewriteagf4dfb1/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 31 January 2024 23:34:50 +0000 (0:00:00.031) 0:00:28.536 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 31 January 2024 23:34:50 +0000 (0:00:00.034) 0:00:28.570 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 31 January 2024 23:34:50 +0000 (0:00:00.033) 0:00:28.604 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/assert_profile_present.yml:5 Wednesday 31 January 2024 23:34:50 +0000 (0:00:00.029) 0:00:28.633 ***** 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_rewriteagf4dfb1/tests/playbooks/tasks/assert_profile_present.yml:10 Wednesday 31 January 2024 23:34:50 +0000 (0:00:00.030) 0:00:28.664 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/assert_profile_present.yml:15 Wednesday 31 January 2024 23:34:50 +0000 (0:00:00.029) 0:00:28.694 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/run_test.yml:42 Wednesday 31 January 2024 23:34:50 +0000 (0:00:00.029) 0:00:28.723 ***** TASK [Success in test 'I can activate an existing profile'] ******************** task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/run_test.yml:47 Wednesday 31 January 2024 23:34:50 +0000 (0:00:00.024) 0:00:28.747 ***** ok: [sut] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/run_test.yml:66 Wednesday 31 January 2024 23:34:50 +0000 (0:00:00.028) 0:00:28.776 ***** included: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 31 January 2024 23:34:50 +0000 (0:00:00.057) 0:00:28.833 ***** 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.071196", "end": "2024-01-31 23:34:50.542487", "rc": 1, "start": "2024-01-31 23:34:50.471291" } STDOUT: Connection 'statebr' (6ad30609-5233-48e1-ab5d-e62cf7d8e9c6) 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_rewriteagf4dfb1/tests/playbooks/tests_states.yml:83 Wednesday 31 January 2024 23:34:50 +0000 (0:00:00.276) 0:00:29.109 ***** included: /WORKDIR/git-bond_options_rewriteagf4dfb1/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_rewriteagf4dfb1/tests/playbooks/tasks/run_test.yml:5 Wednesday 31 January 2024 23:34:50 +0000 (0:00:00.049) 0:00:29.159 ***** ok: [sut] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/run_test.yml:9 Wednesday 31 January 2024 23:34:50 +0000 (0:00:00.070) 0:00:29.229 ***** 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_rewriteagf4dfb1/tests/playbooks/tasks/run_test.yml:21 Wednesday 31 January 2024 23:34:50 +0000 (0:00:00.088) 0:00:29.318 ***** included: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 31 January 2024 23:34:50 +0000 (0:00:00.051) 0:00:29.370 ***** included: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 31 January 2024 23:34:50 +0000 (0:00:00.049) 0:00:29.419 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003185", "end": "2024-01-31 23:34:51.057754", "rc": 0, "start": "2024-01-31 23:34:51.054569" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 31 January 2024 23:34:51 +0000 (0:00:00.211) 0:00:29.631 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 31 January 2024 23:34:51 +0000 (0:00:00.032) 0:00:29.664 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/run_test.yml:24 Wednesday 31 January 2024 23:34:51 +0000 (0:00:00.029) 0:00:29.694 ***** included: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 31 January 2024 23:34:51 +0000 (0:00:00.077) 0:00:29.771 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 31 January 2024 23:34:51 +0000 (0:00:00.048) 0:00:29.820 ***** included: /WORKDIR/git-bond_options_rewriteagf4dfb1/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_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 31 January 2024 23:34:51 +0000 (0:00:00.069) 0:00:29.889 ***** 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_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 31 January 2024 23:34:51 +0000 (0:00:00.045) 0:00:29.935 ***** 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_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 31 January 2024 23:34:51 +0000 (0:00:00.027) 0:00:29.962 ***** 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_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 31 January 2024 23:34:51 +0000 (0:00:00.066) 0:00:30.028 ***** 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_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 31 January 2024 23:34:52 +0000 (0:00:01.447) 0:00:31.476 ***** 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_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 31 January 2024 23:34:53 +0000 (0:00:00.987) 0:00:32.464 ***** 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_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 31 January 2024 23:34:53 +0000 (0:00:00.043) 0:00:32.508 ***** 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_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 31 January 2024 23:34:54 +0000 (0:00:00.038) 0:00:32.546 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 31 January 2024 23:34:54 +0000 (0:00:00.077) 0:00:32.624 ***** 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_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 31 January 2024 23:34:54 +0000 (0:00:00.076) 0:00:32.700 ***** 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_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 31 January 2024 23:34:54 +0000 (0:00:00.044) 0:00:32.744 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 31 January 2024 23:34:54 +0000 (0:00:00.042) 0:00:32.787 ***** 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_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 31 January 2024 23:34:54 +0000 (0:00:00.035) 0:00:32.823 ***** 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_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 31 January 2024 23:34:54 +0000 (0:00:00.368) 0:00:33.191 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 31 January 2024 23:34:54 +0000 (0:00:00.033) 0:00:33.225 ***** 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_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 31 January 2024 23:34:54 +0000 (0:00:00.037) 0:00:33.262 ***** 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_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 31 January 2024 23:34:54 +0000 (0:00:00.030) 0:00:33.292 ***** 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, dfe5418e-357a-4362-b33a-0f14866ee941 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 31 January 2024 23:34:55 +0000 (0:00:00.431) 0:00:33.723 ***** 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_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 31 January 2024 23:34:55 +0000 (0:00:00.039) 0:00:33.763 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, dfe5418e-357a-4362-b33a-0f14866ee941" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 31 January 2024 23:34:55 +0000 (0:00:00.031) 0:00:33.794 ***** 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, dfe5418e-357a-4362-b33a-0f14866ee941\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, dfe5418e-357a-4362-b33a-0f14866ee941" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 31 January 2024 23:34:55 +0000 (0:00:00.040) 0:00:33.835 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 31 January 2024 23:34:55 +0000 (0:00:00.027) 0:00:33.862 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 31 January 2024 23:34:55 +0000 (0:00:00.264) 0:00:34.127 ***** 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, dfe5418e-357a-4362-b33a-0f14866ee941\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, dfe5418e-357a-4362-b33a-0f14866ee941" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/activate_profile.yml:3 Wednesday 31 January 2024 23:34:55 +0000 (0:00:00.045) 0:00:34.173 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 31 January 2024 23:34:55 +0000 (0:00:00.062) 0:00:34.236 ***** included: /WORKDIR/git-bond_options_rewriteagf4dfb1/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_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 31 January 2024 23:34:55 +0000 (0:00:00.058) 0:00:34.294 ***** 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_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 31 January 2024 23:34:55 +0000 (0:00:00.050) 0:00:34.345 ***** 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_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 31 January 2024 23:34:55 +0000 (0:00:00.030) 0:00:34.375 ***** 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_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 31 January 2024 23:34:55 +0000 (0:00:00.028) 0:00:34.403 ***** 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_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 31 January 2024 23:34:57 +0000 (0:00:01.449) 0:00:35.853 ***** 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_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 31 January 2024 23:34:58 +0000 (0:00:00.989) 0:00:36.843 ***** 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_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 31 January 2024 23:34:58 +0000 (0:00:00.032) 0:00:36.875 ***** 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_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 31 January 2024 23:34:58 +0000 (0:00:00.028) 0:00:36.903 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 31 January 2024 23:34:58 +0000 (0:00:00.028) 0:00:36.932 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 31 January 2024 23:34:58 +0000 (0:00:00.062) 0:00:36.994 ***** 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_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 31 January 2024 23:34:58 +0000 (0:00:00.030) 0:00:37.024 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 31 January 2024 23:34:58 +0000 (0:00:00.034) 0:00:37.059 ***** 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_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 31 January 2024 23:34:58 +0000 (0:00:00.050) 0:00:37.109 ***** 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_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 31 January 2024 23:34:58 +0000 (0:00:00.397) 0:00:37.507 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 31 January 2024 23:34:59 +0000 (0:00:00.034) 0:00:37.541 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 31 January 2024 23:34:59 +0000 (0:00:00.030) 0:00:37.571 ***** 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_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 31 January 2024 23:34:59 +0000 (0:00:00.063) 0:00:37.635 ***** 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, dfe5418e-357a-4362-b33a-0f14866ee941 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 31 January 2024 23:34:59 +0000 (0:00:00.400) 0:00:38.035 ***** 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_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 31 January 2024 23:34:59 +0000 (0:00:00.040) 0:00:38.075 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, dfe5418e-357a-4362-b33a-0f14866ee941 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 31 January 2024 23:34:59 +0000 (0:00:00.043) 0:00:38.119 ***** 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, dfe5418e-357a-4362-b33a-0f14866ee941 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, dfe5418e-357a-4362-b33a-0f14866ee941 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 31 January 2024 23:34:59 +0000 (0:00:00.047) 0:00:38.166 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 31 January 2024 23:34:59 +0000 (0:00:00.034) 0:00:38.201 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/run_test.yml:30 Wednesday 31 January 2024 23:34:59 +0000 (0:00:00.209) 0:00:38.410 ***** included: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/remove_profile.yml:3 Wednesday 31 January 2024 23:34:59 +0000 (0:00:00.102) 0:00:38.513 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 31 January 2024 23:35:00 +0000 (0:00:00.065) 0:00:38.579 ***** included: /WORKDIR/git-bond_options_rewriteagf4dfb1/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_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 31 January 2024 23:35:00 +0000 (0:00:00.053) 0:00:38.632 ***** 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_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 31 January 2024 23:35:00 +0000 (0:00:00.036) 0:00:38.668 ***** 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_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 31 January 2024 23:35:00 +0000 (0:00:00.028) 0:00:38.697 ***** 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_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 31 January 2024 23:35:00 +0000 (0:00:00.071) 0:00:38.768 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 31 January 2024 23:35:01 +0000 (0:00:01.445) 0:00:40.214 ***** 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_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 31 January 2024 23:35:02 +0000 (0:00:00.961) 0:00:41.176 ***** 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_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 31 January 2024 23:35:02 +0000 (0:00:00.029) 0:00:41.206 ***** 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_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 31 January 2024 23:35:02 +0000 (0:00:00.035) 0:00:41.241 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 31 January 2024 23:35:02 +0000 (0:00:00.058) 0:00:41.299 ***** 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_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 31 January 2024 23:35:02 +0000 (0:00:00.060) 0:00:41.360 ***** 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_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 31 January 2024 23:35:02 +0000 (0:00:00.027) 0:00:41.387 ***** 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_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 31 January 2024 23:35:02 +0000 (0:00:00.027) 0:00:41.415 ***** 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_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 31 January 2024 23:35:02 +0000 (0:00:00.032) 0:00:41.447 ***** 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_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 31 January 2024 23:35:03 +0000 (0:00:00.378) 0:00:41.826 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 31 January 2024 23:35:03 +0000 (0:00:00.031) 0:00:41.857 ***** 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_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 31 January 2024 23:35:03 +0000 (0:00:00.024) 0:00:41.882 ***** 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_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 31 January 2024 23:35:03 +0000 (0:00:00.025) 0:00:41.908 ***** 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_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 31 January 2024 23:35:03 +0000 (0:00:00.402) 0:00:42.310 ***** 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_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 31 January 2024 23:35:03 +0000 (0:00:00.029) 0:00:42.339 ***** 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_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 31 January 2024 23:35:03 +0000 (0:00:00.027) 0:00:42.367 ***** 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_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 31 January 2024 23:35:03 +0000 (0:00:00.030) 0:00:42.398 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 31 January 2024 23:35:03 +0000 (0:00:00.026) 0:00:42.424 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/run_test.yml:36 Wednesday 31 January 2024 23:35:04 +0000 (0:00:00.226) 0:00:42.651 ***** included: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 31 January 2024 23:35:04 +0000 (0:00:00.057) 0:00:42.708 ***** included: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 31 January 2024 23:35:04 +0000 (0:00:00.045) 0:00:42.754 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1706744095.0936713, "block_size": 4096, "blocks": 0, "ctime": 1706744095.0936713, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 32602, "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": 1706744095.0936713, "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_rewriteagf4dfb1/tests/playbooks/tasks/assert_device_present.yml:5 Wednesday 31 January 2024 23:35:04 +0000 (0:00:00.205) 0:00:42.959 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/assert_profile_absent.yml:3 Wednesday 31 January 2024 23:35:04 +0000 (0:00:00.037) 0:00:42.997 ***** included: /WORKDIR/git-bond_options_rewriteagf4dfb1/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_rewriteagf4dfb1/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 31 January 2024 23:35:04 +0000 (0:00:00.058) 0:00:43.055 ***** 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_rewriteagf4dfb1/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 31 January 2024 23:35:04 +0000 (0:00:00.027) 0:00:43.082 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 31 January 2024 23:35:04 +0000 (0:00:00.200) 0:00:43.283 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 31 January 2024 23:35:04 +0000 (0:00:00.028) 0:00:43.311 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021974", "end": "2024-01-31 23:35:04.970730", "rc": 1, "start": "2024-01-31 23:35:04.948756" } 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_rewriteagf4dfb1/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 31 January 2024 23:35:05 +0000 (0:00:00.237) 0:00:43.549 ***** 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_rewriteagf4dfb1/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 31 January 2024 23:35:05 +0000 (0:00:00.039) 0:00:43.588 ***** 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_rewriteagf4dfb1/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 31 January 2024 23:35:05 +0000 (0:00:00.029) 0:00:43.617 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 31 January 2024 23:35:05 +0000 (0:00:00.075) 0:00:43.693 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 31 January 2024 23:35:05 +0000 (0:00:00.032) 0:00:43.725 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/assert_profile_absent.yml:5 Wednesday 31 January 2024 23:35:05 +0000 (0:00:00.031) 0:00:43.757 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/run_test.yml:42 Wednesday 31 January 2024 23:35:05 +0000 (0:00:00.030) 0:00:43.788 ***** TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/run_test.yml:47 Wednesday 31 January 2024 23:35:05 +0000 (0:00:00.039) 0:00:43.827 ***** ok: [sut] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/run_test.yml:66 Wednesday 31 January 2024 23:35:05 +0000 (0:00:00.033) 0:00:43.861 ***** included: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 31 January 2024 23:35:05 +0000 (0:00:00.056) 0:00:43.917 ***** 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.074100", "end": "2024-01-31 23:35:05.628945", "rc": 1, "start": "2024-01-31 23:35:05.554845" } STDOUT: Connection 'statebr' (dfe5418e-357a-4362-b33a-0f14866ee941) 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_rewriteagf4dfb1/tests/playbooks/tests_states.yml:103 Wednesday 31 January 2024 23:35:05 +0000 (0:00:00.289) 0:00:44.206 ***** included: /WORKDIR/git-bond_options_rewriteagf4dfb1/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_rewriteagf4dfb1/tests/playbooks/tasks/run_test.yml:5 Wednesday 31 January 2024 23:35:05 +0000 (0:00:00.053) 0:00:44.260 ***** ok: [sut] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/run_test.yml:9 Wednesday 31 January 2024 23:35:05 +0000 (0:00:00.028) 0:00:44.289 ***** 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_rewriteagf4dfb1/tests/playbooks/tasks/run_test.yml:21 Wednesday 31 January 2024 23:35:05 +0000 (0:00:00.064) 0:00:44.353 ***** included: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 31 January 2024 23:35:05 +0000 (0:00:00.055) 0:00:44.409 ***** included: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 31 January 2024 23:35:05 +0000 (0:00:00.048) 0:00:44.457 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003364", "end": "2024-01-31 23:35:06.093937", "rc": 0, "start": "2024-01-31 23:35:06.090573" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 31 January 2024 23:35:06 +0000 (0:00:00.212) 0:00:44.670 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 31 January 2024 23:35:06 +0000 (0:00:00.035) 0:00:44.705 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/run_test.yml:24 Wednesday 31 January 2024 23:35:06 +0000 (0:00:00.042) 0:00:44.747 ***** included: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 31 January 2024 23:35:06 +0000 (0:00:00.087) 0:00:44.835 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 31 January 2024 23:35:06 +0000 (0:00:00.064) 0:00:44.900 ***** included: /WORKDIR/git-bond_options_rewriteagf4dfb1/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_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 31 January 2024 23:35:06 +0000 (0:00:00.084) 0:00:44.985 ***** 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_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 31 January 2024 23:35:06 +0000 (0:00:00.050) 0:00:45.035 ***** 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_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 31 January 2024 23:35:06 +0000 (0:00:00.035) 0:00:45.071 ***** 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_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 31 January 2024 23:35:06 +0000 (0:00:00.043) 0:00:45.115 ***** 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_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 31 January 2024 23:35:08 +0000 (0:00:01.459) 0:00:46.574 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 31 January 2024 23:35:09 +0000 (0:00:00.994) 0:00:47.568 ***** 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_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 31 January 2024 23:35:09 +0000 (0:00:00.033) 0:00:47.602 ***** 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_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 31 January 2024 23:35:09 +0000 (0:00:00.033) 0:00:47.636 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 31 January 2024 23:35:09 +0000 (0:00:00.034) 0:00:47.670 ***** 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_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 31 January 2024 23:35:09 +0000 (0:00:00.072) 0:00:47.743 ***** 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_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 31 January 2024 23:35:09 +0000 (0:00:00.037) 0:00:47.780 ***** 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_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 31 January 2024 23:35:09 +0000 (0:00:00.045) 0:00:47.825 ***** 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_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 31 January 2024 23:35:09 +0000 (0:00:00.044) 0:00:47.870 ***** 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_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 31 January 2024 23:35:09 +0000 (0:00:00.387) 0:00:48.258 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 31 January 2024 23:35:09 +0000 (0:00:00.035) 0:00:48.293 ***** 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_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 31 January 2024 23:35:09 +0000 (0:00:00.035) 0:00:48.328 ***** 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_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 31 January 2024 23:35:09 +0000 (0:00:00.033) 0:00:48.361 ***** 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, 1207eaae-8d01-42ba-a9a8-56393f862e77 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 31 January 2024 23:35:10 +0000 (0:00:00.417) 0:00:48.778 ***** 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_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 31 January 2024 23:35:10 +0000 (0:00:00.026) 0:00:48.805 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 1207eaae-8d01-42ba-a9a8-56393f862e77" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 31 January 2024 23:35:10 +0000 (0:00:00.029) 0:00:48.835 ***** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 1207eaae-8d01-42ba-a9a8-56393f862e77\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 1207eaae-8d01-42ba-a9a8-56393f862e77" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 31 January 2024 23:35:10 +0000 (0:00:00.042) 0:00:48.877 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 31 January 2024 23:35:10 +0000 (0:00:00.029) 0:00:48.906 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 31 January 2024 23:35:10 +0000 (0:00:00.192) 0:00:49.099 ***** 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, 1207eaae-8d01-42ba-a9a8-56393f862e77\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 1207eaae-8d01-42ba-a9a8-56393f862e77" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/activate_profile.yml:3 Wednesday 31 January 2024 23:35:10 +0000 (0:00:00.029) 0:00:49.128 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 31 January 2024 23:35:10 +0000 (0:00:00.051) 0:00:49.180 ***** included: /WORKDIR/git-bond_options_rewriteagf4dfb1/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_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 31 January 2024 23:35:10 +0000 (0:00:00.054) 0:00:49.235 ***** 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_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 31 January 2024 23:35:10 +0000 (0:00:00.104) 0:00:49.339 ***** 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_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 31 January 2024 23:35:10 +0000 (0:00:00.029) 0:00:49.368 ***** 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_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 31 January 2024 23:35:10 +0000 (0:00:00.027) 0:00:49.396 ***** 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_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 31 January 2024 23:35:12 +0000 (0:00:01.440) 0:00:50.836 ***** 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_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 31 January 2024 23:35:13 +0000 (0:00:01.006) 0:00:51.843 ***** 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_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 31 January 2024 23:35:13 +0000 (0:00:00.029) 0:00:51.872 ***** 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_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 31 January 2024 23:35:13 +0000 (0:00:00.040) 0:00:51.913 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 31 January 2024 23:35:13 +0000 (0:00:00.039) 0:00:51.953 ***** 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_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 31 January 2024 23:35:13 +0000 (0:00:00.061) 0:00:52.014 ***** 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_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 31 January 2024 23:35:13 +0000 (0:00:00.034) 0:00:52.049 ***** 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_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 31 January 2024 23:35:13 +0000 (0:00:00.039) 0:00:52.089 ***** 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_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 31 January 2024 23:35:13 +0000 (0:00:00.051) 0:00:52.141 ***** 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_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 31 January 2024 23:35:14 +0000 (0:00:00.400) 0:00:52.542 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 31 January 2024 23:35:14 +0000 (0:00:00.043) 0:00:52.586 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 31 January 2024 23:35:14 +0000 (0:00:00.032) 0:00:52.619 ***** 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_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 31 January 2024 23:35:14 +0000 (0:00:00.040) 0:00:52.660 ***** 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, 1207eaae-8d01-42ba-a9a8-56393f862e77 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 31 January 2024 23:35:14 +0000 (0:00:00.378) 0:00:53.039 ***** 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_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 31 January 2024 23:35:14 +0000 (0:00:00.031) 0:00:53.071 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 1207eaae-8d01-42ba-a9a8-56393f862e77 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 31 January 2024 23:35:14 +0000 (0:00:00.045) 0:00:53.117 ***** 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, 1207eaae-8d01-42ba-a9a8-56393f862e77 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 1207eaae-8d01-42ba-a9a8-56393f862e77 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 31 January 2024 23:35:14 +0000 (0:00:00.042) 0:00:53.159 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 31 January 2024 23:35:14 +0000 (0:00:00.093) 0:00:53.253 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/remove_profile.yml:3 Wednesday 31 January 2024 23:35:14 +0000 (0:00:00.213) 0:00:53.467 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 31 January 2024 23:35:14 +0000 (0:00:00.055) 0:00:53.522 ***** included: /WORKDIR/git-bond_options_rewriteagf4dfb1/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_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 31 January 2024 23:35:15 +0000 (0:00:00.052) 0:00:53.574 ***** 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_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 31 January 2024 23:35:15 +0000 (0:00:00.036) 0:00:53.610 ***** 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_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 31 January 2024 23:35:15 +0000 (0:00:00.036) 0:00:53.647 ***** 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_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 31 January 2024 23:35:15 +0000 (0:00:00.036) 0:00:53.684 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 31 January 2024 23:35:16 +0000 (0:00:01.474) 0:00:55.158 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 31 January 2024 23:35:17 +0000 (0:00:01.023) 0:00:56.181 ***** 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_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 31 January 2024 23:35:17 +0000 (0:00:00.059) 0:00:56.240 ***** 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_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 31 January 2024 23:35:17 +0000 (0:00:00.037) 0:00:56.278 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 31 January 2024 23:35:17 +0000 (0:00:00.037) 0:00:56.315 ***** 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_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 31 January 2024 23:35:17 +0000 (0:00:00.082) 0:00:56.398 ***** 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_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 31 January 2024 23:35:17 +0000 (0:00:00.040) 0:00:56.439 ***** 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_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 31 January 2024 23:35:17 +0000 (0:00:00.034) 0:00:56.473 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 31 January 2024 23:35:17 +0000 (0:00:00.044) 0:00:56.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 : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 31 January 2024 23:35:18 +0000 (0:00:00.378) 0:00:56.896 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 31 January 2024 23:35:18 +0000 (0:00:00.058) 0:00:56.954 ***** 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_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 31 January 2024 23:35:18 +0000 (0:00:00.026) 0:00:56.981 ***** 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_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 31 January 2024 23:35:18 +0000 (0:00:00.029) 0:00:57.010 ***** 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_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 31 January 2024 23:35:18 +0000 (0:00:00.391) 0:00:57.402 ***** 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_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 31 January 2024 23:35:18 +0000 (0:00:00.040) 0:00:57.442 ***** 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_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 31 January 2024 23:35:18 +0000 (0:00:00.030) 0:00:57.473 ***** 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_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 31 January 2024 23:35:18 +0000 (0:00:00.032) 0:00:57.505 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 31 January 2024 23:35:19 +0000 (0:00:00.034) 0:00:57.539 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/run_test.yml:30 Wednesday 31 January 2024 23:35:19 +0000 (0:00:00.205) 0:00:57.745 ***** included: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/remove+down_profile.yml:3 Wednesday 31 January 2024 23:35:19 +0000 (0:00:00.064) 0:00:57.809 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 31 January 2024 23:35:19 +0000 (0:00:00.057) 0:00:57.867 ***** included: /WORKDIR/git-bond_options_rewriteagf4dfb1/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_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 31 January 2024 23:35:19 +0000 (0:00:00.074) 0:00:57.941 ***** 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_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 31 January 2024 23:35:19 +0000 (0:00:00.038) 0:00:57.979 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 31 January 2024 23:35:19 +0000 (0:00:00.074) 0:00:58.054 ***** 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_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 31 January 2024 23:35:19 +0000 (0:00:00.031) 0:00:58.086 ***** 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_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 31 January 2024 23:35:20 +0000 (0:00:01.433) 0:00:59.519 ***** 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_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 31 January 2024 23:35:21 +0000 (0:00:00.957) 0:01:00.477 ***** 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_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 31 January 2024 23:35:21 +0000 (0:00:00.025) 0:01:00.503 ***** 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_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 31 January 2024 23:35:22 +0000 (0:00:00.045) 0:01:00.548 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 31 January 2024 23:35:22 +0000 (0:00:00.025) 0:01:00.574 ***** 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_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 31 January 2024 23:35:22 +0000 (0:00:00.055) 0:01:00.630 ***** 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_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 31 January 2024 23:35:22 +0000 (0:00:00.027) 0:01:00.657 ***** 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_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 31 January 2024 23:35:22 +0000 (0:00:00.036) 0:01:00.694 ***** 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_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 31 January 2024 23:35:22 +0000 (0:00:00.031) 0:01:00.726 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 31 January 2024 23:35:22 +0000 (0:00:00.378) 0:01:01.104 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 31 January 2024 23:35:22 +0000 (0:00:00.034) 0:01:01.138 ***** 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_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 31 January 2024 23:35:22 +0000 (0:00:00.035) 0:01:01.173 ***** 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_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 31 January 2024 23:35:22 +0000 (0:00:00.034) 0:01:01.208 ***** 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_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 31 January 2024 23:35:23 +0000 (0:00:00.446) 0:01:01.655 ***** 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_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 31 January 2024 23:35:23 +0000 (0:00:00.037) 0:01:01.692 ***** 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_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 31 January 2024 23:35:23 +0000 (0:00:00.030) 0:01:01.722 ***** 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_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 31 January 2024 23:35:23 +0000 (0:00:00.034) 0:01:01.757 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 31 January 2024 23:35:23 +0000 (0:00:00.031) 0:01:01.788 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/run_test.yml:36 Wednesday 31 January 2024 23:35:23 +0000 (0:00:00.200) 0:01:01.989 ***** included: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/assert_profile_absent.yml:3 Wednesday 31 January 2024 23:35:23 +0000 (0:00:00.063) 0:01:02.052 ***** included: /WORKDIR/git-bond_options_rewriteagf4dfb1/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_rewriteagf4dfb1/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 31 January 2024 23:35:23 +0000 (0:00:00.055) 0:01:02.108 ***** 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_rewriteagf4dfb1/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 31 January 2024 23:35:23 +0000 (0:00:00.037) 0:01:02.146 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 31 January 2024 23:35:23 +0000 (0:00:00.203) 0:01:02.350 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 31 January 2024 23:35:23 +0000 (0:00:00.027) 0:01:02.377 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020582", "end": "2024-01-31 23:35:24.035570", "rc": 1, "start": "2024-01-31 23:35:24.014988" } 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_rewriteagf4dfb1/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 31 January 2024 23:35:24 +0000 (0:00:00.227) 0:01:02.604 ***** 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_rewriteagf4dfb1/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 31 January 2024 23:35:24 +0000 (0:00:00.033) 0:01:02.638 ***** 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_rewriteagf4dfb1/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 31 January 2024 23:35:24 +0000 (0:00:00.038) 0:01:02.677 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 31 January 2024 23:35:24 +0000 (0:00:00.034) 0:01:02.711 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 31 January 2024 23:35:24 +0000 (0:00:00.034) 0:01:02.746 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/assert_profile_absent.yml:5 Wednesday 31 January 2024 23:35:24 +0000 (0:00:00.029) 0:01:02.776 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/run_test.yml:42 Wednesday 31 January 2024 23:35:24 +0000 (0:00:00.032) 0:01:02.809 ***** included: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/assert_device_absent.yml:3 Wednesday 31 January 2024 23:35:24 +0000 (0:00:00.094) 0:01:02.904 ***** included: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 31 January 2024 23:35:24 +0000 (0:00:00.067) 0:01:02.971 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/assert_device_absent.yml:5 Wednesday 31 January 2024 23:35:24 +0000 (0:00:00.213) 0:01:03.185 ***** 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_rewriteagf4dfb1/tests/playbooks/tasks/run_test.yml:47 Wednesday 31 January 2024 23:35:24 +0000 (0:00:00.043) 0:01:03.229 ***** ok: [sut] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/run_test.yml:66 Wednesday 31 January 2024 23:35:24 +0000 (0:00:00.045) 0:01:03.274 ***** included: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 31 January 2024 23:35:24 +0000 (0:00:00.077) 0:01:03.352 ***** 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.039432", "end": "2024-01-31 23:35:25.036374", "rc": 1, "start": "2024-01-31 23:35:24.996942" } 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_rewriteagf4dfb1/tests/playbooks/tests_states.yml:126 Wednesday 31 January 2024 23:35:25 +0000 (0:00:00.262) 0:01:03.614 ***** included: /WORKDIR/git-bond_options_rewriteagf4dfb1/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_rewriteagf4dfb1/tests/playbooks/tasks/run_test.yml:5 Wednesday 31 January 2024 23:35:25 +0000 (0:00:00.071) 0:01:03.685 ***** 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_rewriteagf4dfb1/tests/playbooks/tasks/run_test.yml:9 Wednesday 31 January 2024 23:35:25 +0000 (0:00:00.039) 0:01:03.725 ***** 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_rewriteagf4dfb1/tests/playbooks/tasks/run_test.yml:21 Wednesday 31 January 2024 23:35:25 +0000 (0:00:00.086) 0:01:03.812 ***** included: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 31 January 2024 23:35:25 +0000 (0:00:00.053) 0:01:03.865 ***** included: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 31 January 2024 23:35:25 +0000 (0:00:00.083) 0:01:03.949 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003222", "end": "2024-01-31 23:35:25.586530", "rc": 0, "start": "2024-01-31 23:35:25.583308" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 31 January 2024 23:35:25 +0000 (0:00:00.216) 0:01:04.165 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 31 January 2024 23:35:25 +0000 (0:00:00.034) 0:01:04.200 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/run_test.yml:24 Wednesday 31 January 2024 23:35:25 +0000 (0:00:00.029) 0:01:04.229 ***** included: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 31 January 2024 23:35:25 +0000 (0:00:00.060) 0:01:04.289 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 31 January 2024 23:35:25 +0000 (0:00:00.058) 0:01:04.348 ***** included: /WORKDIR/git-bond_options_rewriteagf4dfb1/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_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 31 January 2024 23:35:25 +0000 (0:00:00.063) 0:01:04.412 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 31 January 2024 23:35:25 +0000 (0:00:00.042) 0:01:04.454 ***** 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_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 31 January 2024 23:35:25 +0000 (0:00:00.028) 0:01:04.483 ***** 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_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 31 January 2024 23:35:25 +0000 (0:00:00.038) 0:01:04.522 ***** 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_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 31 January 2024 23:35:27 +0000 (0:00:01.438) 0:01:05.961 ***** 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_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 31 January 2024 23:35:28 +0000 (0:00:00.959) 0:01:06.920 ***** 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_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 31 January 2024 23:35:28 +0000 (0:00:00.027) 0:01:06.948 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 31 January 2024 23:35:28 +0000 (0:00:00.025) 0:01:06.973 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 31 January 2024 23:35:28 +0000 (0:00:00.029) 0:01:07.002 ***** 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_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 31 January 2024 23:35:28 +0000 (0:00:00.080) 0:01:07.082 ***** 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_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 31 January 2024 23:35:28 +0000 (0:00:00.040) 0:01:07.123 ***** 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_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 31 January 2024 23:35:28 +0000 (0:00:00.057) 0:01:07.180 ***** 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_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 31 January 2024 23:35:28 +0000 (0:00:00.032) 0:01:07.213 ***** 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_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 31 January 2024 23:35:29 +0000 (0:00:00.394) 0:01:07.607 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 31 January 2024 23:35:29 +0000 (0:00:00.044) 0:01:07.652 ***** 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_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 31 January 2024 23:35:29 +0000 (0:00:00.039) 0:01:07.692 ***** 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_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 31 January 2024 23:35:29 +0000 (0:00:00.038) 0:01:07.730 ***** 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, b747e56f-7322-4ebe-91b4-64ffde574e1e TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 31 January 2024 23:35:29 +0000 (0:00:00.432) 0:01:08.162 ***** 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_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 31 January 2024 23:35:29 +0000 (0:00:00.028) 0:01:08.190 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, b747e56f-7322-4ebe-91b4-64ffde574e1e" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 31 January 2024 23:35:29 +0000 (0:00:00.029) 0:01:08.219 ***** 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, b747e56f-7322-4ebe-91b4-64ffde574e1e\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, b747e56f-7322-4ebe-91b4-64ffde574e1e" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 31 January 2024 23:35:29 +0000 (0:00:00.030) 0:01:08.250 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 31 January 2024 23:35:29 +0000 (0:00:00.028) 0:01:08.278 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 31 January 2024 23:35:29 +0000 (0:00:00.204) 0:01:08.483 ***** 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, b747e56f-7322-4ebe-91b4-64ffde574e1e\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, b747e56f-7322-4ebe-91b4-64ffde574e1e" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/activate_profile.yml:3 Wednesday 31 January 2024 23:35:29 +0000 (0:00:00.035) 0:01:08.519 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 31 January 2024 23:35:30 +0000 (0:00:00.080) 0:01:08.600 ***** included: /WORKDIR/git-bond_options_rewriteagf4dfb1/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_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 31 January 2024 23:35:30 +0000 (0:00:00.054) 0:01:08.654 ***** 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_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 31 January 2024 23:35:30 +0000 (0:00:00.045) 0:01:08.700 ***** 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_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 31 January 2024 23:35:30 +0000 (0:00:00.027) 0:01:08.727 ***** 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_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 31 January 2024 23:35:30 +0000 (0:00:00.031) 0:01:08.758 ***** 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_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 31 January 2024 23:35:31 +0000 (0:00:01.439) 0:01:10.198 ***** 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_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 31 January 2024 23:35:32 +0000 (0:00:01.006) 0:01:11.205 ***** 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_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 31 January 2024 23:35:32 +0000 (0:00:00.037) 0:01:11.242 ***** 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_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 31 January 2024 23:35:32 +0000 (0:00:00.041) 0:01:11.284 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 31 January 2024 23:35:32 +0000 (0:00:00.032) 0:01:11.317 ***** 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_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 31 January 2024 23:35:32 +0000 (0:00:00.074) 0:01:11.391 ***** 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_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 31 January 2024 23:35:32 +0000 (0:00:00.028) 0:01:11.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_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 31 January 2024 23:35:32 +0000 (0:00:00.025) 0:01:11.446 ***** 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_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 31 January 2024 23:35:32 +0000 (0:00:00.030) 0:01:11.477 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 31 January 2024 23:35:33 +0000 (0:00:00.370) 0:01:11.847 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 31 January 2024 23:35:33 +0000 (0:00:00.030) 0:01:11.878 ***** 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_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 31 January 2024 23:35:33 +0000 (0:00:00.034) 0:01:11.912 ***** 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_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 31 January 2024 23:35:33 +0000 (0:00:00.031) 0:01:11.944 ***** 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, b747e56f-7322-4ebe-91b4-64ffde574e1e skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 31 January 2024 23:35:33 +0000 (0:00:00.400) 0:01:12.344 ***** 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_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 31 January 2024 23:35:33 +0000 (0:00:00.051) 0:01:12.396 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, b747e56f-7322-4ebe-91b4-64ffde574e1e skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 31 January 2024 23:35:33 +0000 (0:00:00.028) 0:01:12.424 ***** 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, b747e56f-7322-4ebe-91b4-64ffde574e1e skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, b747e56f-7322-4ebe-91b4-64ffde574e1e skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 31 January 2024 23:35:33 +0000 (0:00:00.038) 0:01:12.463 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 31 January 2024 23:35:33 +0000 (0:00:00.025) 0:01:12.489 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/remove+down_profile.yml:3 Wednesday 31 January 2024 23:35:34 +0000 (0:00:00.202) 0:01:12.691 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 31 January 2024 23:35:34 +0000 (0:00:00.045) 0:01:12.737 ***** included: /WORKDIR/git-bond_options_rewriteagf4dfb1/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_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 31 January 2024 23:35:34 +0000 (0:00:00.050) 0:01:12.788 ***** 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_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 31 January 2024 23:35:34 +0000 (0:00:00.032) 0:01:12.820 ***** 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_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 31 January 2024 23:35:34 +0000 (0:00:00.030) 0:01:12.850 ***** 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_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 31 January 2024 23:35:34 +0000 (0:00:00.025) 0:01:12.875 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 31 January 2024 23:35:35 +0000 (0:00:01.471) 0:01:14.346 ***** 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_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 31 January 2024 23:35:36 +0000 (0:00:00.983) 0:01:15.330 ***** 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_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 31 January 2024 23:35:36 +0000 (0:00:00.037) 0:01:15.368 ***** 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_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 31 January 2024 23:35:36 +0000 (0:00:00.038) 0:01:15.407 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 31 January 2024 23:35:36 +0000 (0:00:00.030) 0:01:15.437 ***** 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_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 31 January 2024 23:35:36 +0000 (0:00:00.068) 0:01:15.506 ***** 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_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 31 January 2024 23:35:37 +0000 (0:00:00.036) 0:01:15.543 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 31 January 2024 23:35:37 +0000 (0:00:00.041) 0:01:15.584 ***** 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_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 31 January 2024 23:35:37 +0000 (0:00:00.045) 0:01:15.630 ***** 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_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 31 January 2024 23:35:37 +0000 (0:00:00.428) 0:01:16.058 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 31 January 2024 23:35:37 +0000 (0:00:00.033) 0:01:16.092 ***** 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_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 31 January 2024 23:35:37 +0000 (0:00:00.028) 0:01:16.120 ***** 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_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 31 January 2024 23:35:37 +0000 (0:00:00.031) 0:01:16.151 ***** 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_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 31 January 2024 23:35:38 +0000 (0:00:00.453) 0:01:16.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_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 31 January 2024 23:35:38 +0000 (0:00:00.037) 0:01:16.642 ***** 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_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 31 January 2024 23:35:38 +0000 (0:00:00.039) 0:01:16.682 ***** 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_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 31 January 2024 23:35:38 +0000 (0:00:00.039) 0:01:16.721 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 31 January 2024 23:35:38 +0000 (0:00:00.038) 0:01:16.759 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/run_test.yml:30 Wednesday 31 January 2024 23:35:38 +0000 (0:00:00.205) 0:01:16.965 ***** included: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/remove+down_profile.yml:3 Wednesday 31 January 2024 23:35:38 +0000 (0:00:00.071) 0:01:17.037 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 31 January 2024 23:35:38 +0000 (0:00:00.056) 0:01:17.094 ***** included: /WORKDIR/git-bond_options_rewriteagf4dfb1/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_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 31 January 2024 23:35:38 +0000 (0:00:00.087) 0:01:17.181 ***** 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_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 31 January 2024 23:35:38 +0000 (0:00:00.043) 0:01:17.225 ***** 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_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 31 January 2024 23:35:38 +0000 (0:00:00.048) 0:01:17.273 ***** 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_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 31 January 2024 23:35:38 +0000 (0:00:00.046) 0:01:17.319 ***** 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_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 31 January 2024 23:35:40 +0000 (0:00:01.431) 0:01:18.751 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 31 January 2024 23:35:41 +0000 (0:00:00.970) 0:01:19.722 ***** 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_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 31 January 2024 23:35:41 +0000 (0:00:00.028) 0:01:19.750 ***** 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_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 31 January 2024 23:35:41 +0000 (0:00:00.025) 0:01:19.775 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 31 January 2024 23:35:41 +0000 (0:00:00.024) 0:01:19.800 ***** 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_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 31 January 2024 23:35:41 +0000 (0:00:00.055) 0:01:19.855 ***** 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_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 31 January 2024 23:35:41 +0000 (0:00:00.025) 0:01:19.881 ***** 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_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 31 January 2024 23:35:41 +0000 (0:00:00.024) 0:01:19.905 ***** 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_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 31 January 2024 23:35:41 +0000 (0:00:00.038) 0:01:19.944 ***** 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_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 31 January 2024 23:35:41 +0000 (0:00:00.372) 0:01:20.316 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 31 January 2024 23:35:41 +0000 (0:00:00.034) 0:01:20.350 ***** 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_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 31 January 2024 23:35:41 +0000 (0:00:00.025) 0:01:20.376 ***** 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_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 31 January 2024 23:35:41 +0000 (0:00:00.024) 0:01:20.401 ***** 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_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 31 January 2024 23:35:42 +0000 (0:00:00.406) 0:01:20.807 ***** 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_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 31 January 2024 23:35:42 +0000 (0:00:00.035) 0:01:20.843 ***** 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_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 31 January 2024 23:35:42 +0000 (0:00:00.033) 0:01:20.877 ***** 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_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 31 January 2024 23:35:42 +0000 (0:00:00.032) 0:01:20.909 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 31 January 2024 23:35:42 +0000 (0:00:00.056) 0:01:20.966 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/run_test.yml:36 Wednesday 31 January 2024 23:35:42 +0000 (0:00:00.193) 0:01:21.160 ***** included: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/assert_profile_absent.yml for sut included: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/get_NetworkManager_NVR.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/assert_profile_absent.yml:3 Wednesday 31 January 2024 23:35:42 +0000 (0:00:00.054) 0:01:21.214 ***** included: /WORKDIR/git-bond_options_rewriteagf4dfb1/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_rewriteagf4dfb1/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 31 January 2024 23:35:42 +0000 (0:00:00.045) 0:01:21.259 ***** 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_rewriteagf4dfb1/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 31 January 2024 23:35:42 +0000 (0:00:00.026) 0:01:21.285 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 31 January 2024 23:35:42 +0000 (0:00:00.199) 0:01:21.485 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 31 January 2024 23:35:42 +0000 (0:00:00.024) 0:01:21.510 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020231", "end": "2024-01-31 23:35:43.164529", "rc": 1, "start": "2024-01-31 23:35:43.144298" } 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_rewriteagf4dfb1/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 31 January 2024 23:35:43 +0000 (0:00:00.222) 0:01:21.733 ***** 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_rewriteagf4dfb1/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 31 January 2024 23:35:43 +0000 (0:00:00.031) 0:01:21.764 ***** 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_rewriteagf4dfb1/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 31 January 2024 23:35:43 +0000 (0:00:00.031) 0:01:21.795 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 31 January 2024 23:35:43 +0000 (0:00:00.027) 0:01:21.822 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 31 January 2024 23:35:43 +0000 (0:00:00.034) 0:01:21.856 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/assert_profile_absent.yml:5 Wednesday 31 January 2024 23:35:43 +0000 (0:00:00.034) 0:01:21.891 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/get_NetworkManager_NVR.yml:7 Wednesday 31 January 2024 23:35:43 +0000 (0:00:00.084) 0:01:21.975 ***** ok: [sut] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.583371", "end": "2024-01-31 23:35:44.193464", "rc": 0, "start": "2024-01-31 23:35:43.610093" } STDOUT: NetworkManager-1.45.10-1.el9 TASK [Store NetworkManager version] ******************************************** task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/get_NetworkManager_NVR.yml:14 Wednesday 31 January 2024 23:35:44 +0000 (0:00:00.785) 0:01:22.761 ***** ok: [sut] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.45.10-1.el9" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/get_NetworkManager_NVR.yml:18 Wednesday 31 January 2024 23:35:44 +0000 (0:00:00.034) 0:01:22.795 ***** ok: [sut] => { "networkmanager_nvr": "NetworkManager-1.45.10-1.el9" } TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/run_test.yml:42 Wednesday 31 January 2024 23:35:44 +0000 (0:00:00.035) 0:01:22.830 ***** included: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/assert_device_absent.yml:3 Wednesday 31 January 2024 23:35:44 +0000 (0:00:00.053) 0:01:22.884 ***** included: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 31 January 2024 23:35:44 +0000 (0:00:00.047) 0:01:22.931 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/assert_device_absent.yml:5 Wednesday 31 January 2024 23:35:44 +0000 (0:00:00.205) 0:01:23.137 ***** 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_rewriteagf4dfb1/tests/playbooks/tasks/run_test.yml:47 Wednesday 31 January 2024 23:35:44 +0000 (0:00:00.032) 0:01:23.169 ***** 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_rewriteagf4dfb1/tests/playbooks/tasks/run_test.yml:66 Wednesday 31 January 2024 23:35:44 +0000 (0:00:00.027) 0:01:23.196 ***** included: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 31 January 2024 23:35:44 +0000 (0:00:00.055) 0:01:23.252 ***** 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.039407", "end": "2024-01-31 23:35:44.924646", "rc": 1, "start": "2024-01-31 23:35:44.885239" } 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=316 changed=10 unreachable=0 failed=0 skipped=252 rescued=0 ignored=11 Wednesday 31 January 2024 23:35:44 +0000 (0:00:00.250) 0:01:23.502 ***** =============================================================================== linux-system-roles.network : Configure networking connection profiles --- 2.47s /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:125 linux-system-roles.network : Enable and start NetworkManager ------------ 2.24s /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:88 linux-system-roles.network : Configure networking connection profiles --- 1.57s /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:125 linux-system-roles.network : Check which services are running ----------- 1.56s /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Enable and start NetworkManager ------------ 1.54s /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:88 linux-system-roles.network : Check which services are running ----------- 1.47s /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.47s /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.46s /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.46s /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.45s /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.45s /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.45s /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.45s /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.44s /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.44s /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.44s /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.43s /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.43s /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.43s /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Configure networking connection profiles --- 1.31s /WORKDIR/git-bond_options_rewriteagf4dfb1/tests/roles/linux-system-roles.network/tasks/main.yml:125 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- [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. ---^---^---^---^---^---