# 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-more-test-debugagbcf0zc/tests/tests_states_nm.yml PLAY [Run playbook 'playbooks/tests_states.yml' with nm as provider] *********** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/tests_states_nm.yml:6 Saturday 24 February 2024 19:39:20 +0000 (0:00:00.013) 0:00:00.013 ***** ok: [sut] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/tests_states_nm.yml:9 Saturday 24 February 2024 19:39:21 +0000 (0:00:00.751) 0:00:00.764 ***** included: /WORKDIR/git-more-test-debugagbcf0zc/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-more-test-debugagbcf0zc/tests/tasks/el_repo_setup.yml:3 Saturday 24 February 2024 19:39:21 +0000 (0:00:00.030) 0:00:00.794 ***** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/tasks/el_repo_setup.yml:19 Saturday 24 February 2024 19:39:21 +0000 (0:00:00.373) 0:00:01.168 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/tasks/el_repo_setup.yml:24 Saturday 24 February 2024 19:39:22 +0000 (0:00:00.262) 0:00:01.431 ***** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/tasks/el_repo_setup.yml:28 Saturday 24 February 2024 19:39:22 +0000 (0:00:00.020) 0:00:01.451 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/tasks/el_repo_setup.yml:53 Saturday 24 February 2024 19:39:22 +0000 (0:00:00.017) 0:00:01.468 ***** included: /WORKDIR/git-more-test-debugagbcf0zc/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 9] *********************************************************** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/tasks/enable_epel.yml:8 Saturday 24 February 2024 19:39:22 +0000 (0:00:00.028) 0:00:01.497 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Install yum-utils package] *********************************************** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/tasks/enable_epel.yml:24 Saturday 24 February 2024 19:39:22 +0000 (0:00:00.009) 0:00:01.506 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/tasks/enable_epel.yml:30 Saturday 24 February 2024 19:39:22 +0000 (0:00:00.009) 0:00:01.515 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/tasks/enable_epel.yml:35 Saturday 24 February 2024 19:39:22 +0000 (0:00:00.009) 0:00:01.524 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/tasks/enable_epel.yml:40 Saturday 24 February 2024 19:39:22 +0000 (0:00:00.009) 0:00:01.534 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/tests_states_nm.yml:11 Saturday 24 February 2024 19:39:22 +0000 (0:00:00.009) 0:00:01.543 ***** 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-more-test-debugagbcf0zc/tests/playbooks/tests_states.yml:3 Saturday 24 February 2024 19:39:22 +0000 (0:00:00.009) 0:00:01.552 ***** ok: [sut] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tests_states.yml:11 Saturday 24 February 2024 19:39:22 +0000 (0:00:00.519) 0:00:02.071 ***** ok: [sut] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tests_states.yml:22 Saturday 24 February 2024 19:39:22 +0000 (0:00:00.012) 0:00:02.084 ***** included: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile] ******************************************** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/run_test.yml:5 Saturday 24 February 2024 19:39:22 +0000 (0:00:00.015) 0:00:02.100 ***** ok: [sut] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/run_test.yml:9 Saturday 24 February 2024 19:39:22 +0000 (0:00:00.010) 0:00:02.111 ***** 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-more-test-debugagbcf0zc/tests/playbooks/tasks/run_test.yml:21 Saturday 24 February 2024 19:39:22 +0000 (0:00:00.040) 0:00:02.151 ***** included: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/show_interfaces.yml:3 Saturday 24 February 2024 19:39:22 +0000 (0:00:00.014) 0:00:02.166 ***** included: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/get_current_interfaces.yml:3 Saturday 24 February 2024 19:39:22 +0000 (0:00:00.014) 0:00:02.180 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003463", "end": "2024-02-24 19:39:23.177180", "rc": 0, "start": "2024-02-24 19:39:23.173717" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/get_current_interfaces.yml:9 Saturday 24 February 2024 19:39:23 +0000 (0:00:00.266) 0:00:02.446 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/show_interfaces.yml:5 Saturday 24 February 2024 19:39:23 +0000 (0:00:00.012) 0:00:02.458 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/run_test.yml:24 Saturday 24 February 2024 19:39:23 +0000 (0:00:00.010) 0:00:02.469 ***** included: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/delete_interface.yml:3 Saturday 24 February 2024 19:39:23 +0000 (0:00:00.024) 0:00:02.493 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.008279", "end": "2024-02-24 19:39:23.427167", "rc": 1, "start": "2024-02-24 19:39:23.418888" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/assert_device_absent.yml:3 Saturday 24 February 2024 19:39:23 +0000 (0:00:00.202) 0:00:02.695 ***** included: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 24 February 2024 19:39:23 +0000 (0:00:00.013) 0:00:02.709 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/assert_device_absent.yml:5 Saturday 24 February 2024 19:39:23 +0000 (0:00:00.193) 0:00:02.903 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/run_test.yml:30 Saturday 24 February 2024 19:39:23 +0000 (0:00:00.012) 0:00:02.915 ***** included: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/create_bridge_profile.yml:3 Saturday 24 February 2024 19:39:23 +0000 (0:00:00.017) 0:00:02.933 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 24 February 2024 19:39:23 +0000 (0:00:00.030) 0:00:02.963 ***** included: /WORKDIR/git-more-test-debugagbcf0zc/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-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 24 February 2024 19:39:23 +0000 (0:00:00.066) 0:00:03.030 ***** 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-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 24 February 2024 19:39:23 +0000 (0:00:00.010) 0:00:03.041 ***** 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-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 24 February 2024 19:39:23 +0000 (0:00:00.009) 0:00:03.051 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 24 February 2024 19:39:23 +0000 (0:00:00.009) 0:00:03.060 ***** 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-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 24 February 2024 19:39:25 +0000 (0:00:01.572) 0:00:04.632 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 24 February 2024 19:39:26 +0000 (0:00:01.238) 0:00:05.870 ***** ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 24 February 2024 19:39:26 +0000 (0:00:00.030) 0:00:05.901 ***** 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-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 24 February 2024 19:39:26 +0000 (0:00:00.022) 0:00:05.923 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 24 February 2024 19:39:26 +0000 (0:00:00.026) 0:00:05.950 ***** 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-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:43 Saturday 24 February 2024 19:39:26 +0000 (0:00:00.063) 0:00:06.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-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:58 Saturday 24 February 2024 19:39:26 +0000 (0:00:00.020) 0:00:06.034 ***** 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-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:74 Saturday 24 February 2024 19:39:26 +0000 (0:00:00.020) 0:00:06.055 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:88 Saturday 24 February 2024 19:39:26 +0000 (0:00:00.025) 0:00:06.080 ***** 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-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:99 Saturday 24 February 2024 19:39:27 +0000 (0:00:00.517) 0:00:06.598 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:108 Saturday 24 February 2024 19:39:27 +0000 (0:00:00.030) 0:00:06.628 ***** 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-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:116 Saturday 24 February 2024 19:39:27 +0000 (0:00:00.022) 0:00:06.651 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:125 Saturday 24 February 2024 19:39:27 +0000 (0:00:00.020) 0:00:06.672 ***** 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, 7845ecd2-68a2-4f46-ab87-5763932dfd66 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:137 Saturday 24 February 2024 19:39:27 +0000 (0:00:00.529) 0:00:07.201 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:143 Saturday 24 February 2024 19:39:27 +0000 (0:00:00.021) 0:00:07.222 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 7845ecd2-68a2-4f46-ab87-5763932dfd66" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:147 Saturday 24 February 2024 19:39:28 +0000 (0:00:00.044) 0:00:07.267 ***** 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, 7845ecd2-68a2-4f46-ab87-5763932dfd66\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 7845ecd2-68a2-4f46-ab87-5763932dfd66" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:152 Saturday 24 February 2024 19:39:28 +0000 (0:00:00.059) 0:00:07.326 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:158 Saturday 24 February 2024 19:39:28 +0000 (0:00:00.023) 0:00:07.349 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/create_bridge_profile.yml:14 Saturday 24 February 2024 19:39:28 +0000 (0:00:00.269) 0:00:07.619 ***** 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, 7845ecd2-68a2-4f46-ab87-5763932dfd66\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 7845ecd2-68a2-4f46-ab87-5763932dfd66" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/run_test.yml:36 Saturday 24 February 2024 19:39:28 +0000 (0:00:00.023) 0:00:07.642 ***** included: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/assert_profile_present.yml:3 Saturday 24 February 2024 19:39:28 +0000 (0:00:00.040) 0:00:07.682 ***** included: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/get_profile_stat.yml:3 Saturday 24 February 2024 19:39:28 +0000 (0:00:00.039) 0:00:07.722 ***** 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-more-test-debugagbcf0zc/tests/playbooks/tasks/get_profile_stat.yml:9 Saturday 24 February 2024 19:39:28 +0000 (0:00:00.031) 0:00:07.754 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/get_profile_stat.yml:17 Saturday 24 February 2024 19:39:28 +0000 (0:00:00.210) 0:00:07.964 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/get_profile_stat.yml:25 Saturday 24 February 2024 19:39:28 +0000 (0:00:00.022) 0:00:07.987 ***** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020843", "end": "2024-02-24 19:39:28.936695", "rc": 0, "start": "2024-02-24 19:39:28.915852" } 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-more-test-debugagbcf0zc/tests/playbooks/tasks/get_profile_stat.yml:35 Saturday 24 February 2024 19:39:28 +0000 (0:00:00.233) 0:00:08.221 ***** 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-more-test-debugagbcf0zc/tests/playbooks/tasks/get_profile_stat.yml:49 Saturday 24 February 2024 19:39:28 +0000 (0:00:00.023) 0:00:08.245 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/get_profile_stat.yml:56 Saturday 24 February 2024 19:39:29 +0000 (0:00:00.022) 0:00:08.267 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/get_profile_stat.yml:62 Saturday 24 February 2024 19:39:29 +0000 (0:00:00.030) 0:00:08.298 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/get_profile_stat.yml:69 Saturday 24 February 2024 19:39:29 +0000 (0:00:00.046) 0:00:08.344 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/assert_profile_present.yml:5 Saturday 24 February 2024 19:39:29 +0000 (0:00:00.021) 0:00:08.366 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/assert_profile_present.yml:10 Saturday 24 February 2024 19:39:29 +0000 (0:00:00.024) 0:00:08.390 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/assert_profile_present.yml:15 Saturday 24 February 2024 19:39:29 +0000 (0:00:00.028) 0:00:08.419 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/run_test.yml:42 Saturday 24 February 2024 19:39:29 +0000 (0:00:00.051) 0:00:08.471 ***** included: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/assert_device_present.yml:3 Saturday 24 February 2024 19:39:29 +0000 (0:00:00.056) 0:00:08.528 ***** included: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 24 February 2024 19:39:29 +0000 (0:00:00.041) 0:00:08.569 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1708803567.8704548, "block_size": 4096, "blocks": 0, "ctime": 1708803567.8704548, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 32315, "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": 1708803567.8704548, "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-more-test-debugagbcf0zc/tests/playbooks/tasks/assert_device_present.yml:5 Saturday 24 February 2024 19:39:29 +0000 (0:00:00.206) 0:00:08.775 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can create a profile'] ******************************** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/run_test.yml:47 Saturday 24 February 2024 19:39:29 +0000 (0:00:00.024) 0:00:08.800 ***** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/run_test.yml:66 Saturday 24 February 2024 19:39:29 +0000 (0:00:00.022) 0:00:08.822 ***** included: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 24 February 2024 19:39:29 +0000 (0:00:00.040) 0:00:08.863 ***** 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.061805", "end": "2024-02-24 19:39:29.854235", "rc": 1, "start": "2024-02-24 19:39:29.792430" } STDOUT: Connection 'statebr' (7845ecd2-68a2-4f46-ab87-5763932dfd66) successfully deleted. STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tests_states.yml:45 Saturday 24 February 2024 19:39:29 +0000 (0:00:00.271) 0:00:09.134 ***** included: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile without autoconnect] ************************ task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/run_test.yml:5 Saturday 24 February 2024 19:39:29 +0000 (0:00:00.056) 0:00:09.190 ***** ok: [sut] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/run_test.yml:9 Saturday 24 February 2024 19:39:29 +0000 (0:00:00.021) 0:00:09.211 ***** 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-more-test-debugagbcf0zc/tests/playbooks/tasks/run_test.yml:21 Saturday 24 February 2024 19:39:30 +0000 (0:00:00.042) 0:00:09.254 ***** included: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/show_interfaces.yml:3 Saturday 24 February 2024 19:39:30 +0000 (0:00:00.038) 0:00:09.292 ***** included: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/get_current_interfaces.yml:3 Saturday 24 February 2024 19:39:30 +0000 (0:00:00.037) 0:00:09.330 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003491", "end": "2024-02-24 19:39:30.275225", "rc": 0, "start": "2024-02-24 19:39:30.271734" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/get_current_interfaces.yml:9 Saturday 24 February 2024 19:39:30 +0000 (0:00:00.236) 0:00:09.566 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/show_interfaces.yml:5 Saturday 24 February 2024 19:39:30 +0000 (0:00:00.052) 0:00:09.618 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/run_test.yml:24 Saturday 24 February 2024 19:39:30 +0000 (0:00:00.057) 0:00:09.676 ***** included: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/delete_interface.yml:3 Saturday 24 February 2024 19:39:30 +0000 (0:00:00.101) 0:00:09.777 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.006682", "end": "2024-02-24 19:39:30.736362", "rc": 1, "start": "2024-02-24 19:39:30.729680" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/assert_device_absent.yml:3 Saturday 24 February 2024 19:39:30 +0000 (0:00:00.238) 0:00:10.015 ***** included: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 24 February 2024 19:39:30 +0000 (0:00:00.062) 0:00:10.078 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/assert_device_absent.yml:5 Saturday 24 February 2024 19:39:31 +0000 (0:00:00.231) 0:00:10.309 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/run_test.yml:30 Saturday 24 February 2024 19:39:31 +0000 (0:00:00.042) 0:00:10.351 ***** included: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Saturday 24 February 2024 19:39:31 +0000 (0:00:00.119) 0:00:10.471 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 24 February 2024 19:39:31 +0000 (0:00:00.047) 0:00:10.518 ***** included: /WORKDIR/git-more-test-debugagbcf0zc/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-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 24 February 2024 19:39:31 +0000 (0:00:00.068) 0:00:10.586 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 24 February 2024 19:39:31 +0000 (0:00:00.029) 0:00:10.616 ***** 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-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 24 February 2024 19:39:31 +0000 (0:00:00.031) 0:00:10.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-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 24 February 2024 19:39:31 +0000 (0:00:00.036) 0:00:10.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-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 24 February 2024 19:39:32 +0000 (0:00:01.526) 0:00:12.210 ***** 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-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 24 February 2024 19:39:34 +0000 (0:00:01.097) 0:00:13.308 ***** 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-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 24 February 2024 19:39:34 +0000 (0:00:00.039) 0:00:13.348 ***** 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-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 24 February 2024 19:39:34 +0000 (0:00:00.028) 0:00:13.376 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 24 February 2024 19:39:34 +0000 (0:00:00.028) 0:00:13.404 ***** 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-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:43 Saturday 24 February 2024 19:39:34 +0000 (0:00:00.049) 0:00:13.454 ***** 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-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:58 Saturday 24 February 2024 19:39:34 +0000 (0:00:00.023) 0:00:13.478 ***** 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-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:74 Saturday 24 February 2024 19:39:34 +0000 (0:00:00.024) 0:00:13.502 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:88 Saturday 24 February 2024 19:39:34 +0000 (0:00:00.039) 0:00:13.542 ***** 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-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:99 Saturday 24 February 2024 19:39:34 +0000 (0:00:00.405) 0:00:13.947 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:108 Saturday 24 February 2024 19:39:34 +0000 (0:00:00.060) 0:00:14.008 ***** 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-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:116 Saturday 24 February 2024 19:39:34 +0000 (0:00:00.057) 0:00:14.065 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:125 Saturday 24 February 2024 19:39:34 +0000 (0:00:00.076) 0:00:14.142 ***** 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, 03267443-9592-42fe-b8d1-1fb9309a6802 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:137 Saturday 24 February 2024 19:39:35 +0000 (0:00:00.425) 0:00:14.567 ***** 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-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:143 Saturday 24 February 2024 19:39:35 +0000 (0:00:00.030) 0:00:14.597 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 03267443-9592-42fe-b8d1-1fb9309a6802" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:147 Saturday 24 February 2024 19:39:35 +0000 (0:00:00.026) 0:00:14.624 ***** 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, 03267443-9592-42fe-b8d1-1fb9309a6802\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 03267443-9592-42fe-b8d1-1fb9309a6802" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:152 Saturday 24 February 2024 19:39:35 +0000 (0:00:00.046) 0:00:14.670 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:158 Saturday 24 February 2024 19:39:35 +0000 (0:00:00.039) 0:00:14.710 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Saturday 24 February 2024 19:39:35 +0000 (0:00:00.241) 0:00:14.951 ***** 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, 03267443-9592-42fe-b8d1-1fb9309a6802\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 03267443-9592-42fe-b8d1-1fb9309a6802" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/run_test.yml:36 Saturday 24 February 2024 19:39:35 +0000 (0:00:00.033) 0:00:14.984 ***** included: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/assert_device_absent.yml for sut included: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/assert_device_absent.yml:3 Saturday 24 February 2024 19:39:35 +0000 (0:00:00.070) 0:00:15.055 ***** included: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 24 February 2024 19:39:35 +0000 (0:00:00.076) 0:00:15.132 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/assert_device_absent.yml:5 Saturday 24 February 2024 19:39:36 +0000 (0:00:00.271) 0:00:15.404 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/assert_profile_present.yml:3 Saturday 24 February 2024 19:39:36 +0000 (0:00:00.042) 0:00:15.446 ***** included: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/get_profile_stat.yml:3 Saturday 24 February 2024 19:39:36 +0000 (0:00:00.059) 0:00:15.505 ***** 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-more-test-debugagbcf0zc/tests/playbooks/tasks/get_profile_stat.yml:9 Saturday 24 February 2024 19:39:36 +0000 (0:00:00.063) 0:00:15.569 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/get_profile_stat.yml:17 Saturday 24 February 2024 19:39:36 +0000 (0:00:00.203) 0:00:15.772 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/get_profile_stat.yml:25 Saturday 24 February 2024 19:39:36 +0000 (0:00:00.022) 0:00:15.795 ***** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020290", "end": "2024-02-24 19:39:36.742078", "rc": 0, "start": "2024-02-24 19:39:36.721788" } 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-more-test-debugagbcf0zc/tests/playbooks/tasks/get_profile_stat.yml:35 Saturday 24 February 2024 19:39:36 +0000 (0:00:00.234) 0:00:16.029 ***** 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-more-test-debugagbcf0zc/tests/playbooks/tasks/get_profile_stat.yml:49 Saturday 24 February 2024 19:39:36 +0000 (0:00:00.028) 0:00:16.058 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/get_profile_stat.yml:56 Saturday 24 February 2024 19:39:36 +0000 (0:00:00.037) 0:00:16.096 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/get_profile_stat.yml:62 Saturday 24 February 2024 19:39:36 +0000 (0:00:00.025) 0:00:16.121 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/get_profile_stat.yml:69 Saturday 24 February 2024 19:39:36 +0000 (0:00:00.029) 0:00:16.151 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/assert_profile_present.yml:5 Saturday 24 February 2024 19:39:36 +0000 (0:00:00.031) 0:00:16.183 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/assert_profile_present.yml:10 Saturday 24 February 2024 19:39:36 +0000 (0:00:00.033) 0:00:16.216 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/assert_profile_present.yml:15 Saturday 24 February 2024 19:39:36 +0000 (0:00:00.027) 0:00:16.243 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/run_test.yml:42 Saturday 24 February 2024 19:39:37 +0000 (0:00:00.022) 0:00:16.266 ***** TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/run_test.yml:47 Saturday 24 February 2024 19:39:37 +0000 (0:00:00.028) 0:00:16.295 ***** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/run_test.yml:66 Saturday 24 February 2024 19:39:37 +0000 (0:00:00.027) 0:00:16.322 ***** included: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 24 February 2024 19:39:37 +0000 (0:00:00.039) 0:00:16.362 ***** 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.040549", "end": "2024-02-24 19:39:37.324003", "rc": 1, "start": "2024-02-24 19:39:37.283454" } STDOUT: Connection 'statebr' (03267443-9592-42fe-b8d1-1fb9309a6802) successfully deleted. STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tests_states.yml:65 Saturday 24 February 2024 19:39:37 +0000 (0:00:00.270) 0:00:16.633 ***** included: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can activate an existing profile] ******************************** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/run_test.yml:5 Saturday 24 February 2024 19:39:37 +0000 (0:00:00.036) 0:00:16.669 ***** ok: [sut] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/run_test.yml:9 Saturday 24 February 2024 19:39:37 +0000 (0:00:00.024) 0:00:16.693 ***** 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-more-test-debugagbcf0zc/tests/playbooks/tasks/run_test.yml:21 Saturday 24 February 2024 19:39:37 +0000 (0:00:00.042) 0:00:16.736 ***** included: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/show_interfaces.yml:3 Saturday 24 February 2024 19:39:37 +0000 (0:00:00.039) 0:00:16.775 ***** included: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/get_current_interfaces.yml:3 Saturday 24 February 2024 19:39:37 +0000 (0:00:00.037) 0:00:16.812 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003367", "end": "2024-02-24 19:39:37.750567", "rc": 0, "start": "2024-02-24 19:39:37.747200" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/get_current_interfaces.yml:9 Saturday 24 February 2024 19:39:37 +0000 (0:00:00.221) 0:00:17.034 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/show_interfaces.yml:5 Saturday 24 February 2024 19:39:37 +0000 (0:00:00.023) 0:00:17.058 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/run_test.yml:24 Saturday 24 February 2024 19:39:37 +0000 (0:00:00.022) 0:00:17.080 ***** included: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/create_bridge_profile.yml:3 Saturday 24 February 2024 19:39:37 +0000 (0:00:00.039) 0:00:17.120 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 24 February 2024 19:39:37 +0000 (0:00:00.035) 0:00:17.156 ***** included: /WORKDIR/git-more-test-debugagbcf0zc/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-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 24 February 2024 19:39:37 +0000 (0:00:00.067) 0:00:17.223 ***** 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-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 24 February 2024 19:39:38 +0000 (0:00:00.028) 0:00:17.252 ***** 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-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 24 February 2024 19:39:38 +0000 (0:00:00.026) 0:00:17.278 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 24 February 2024 19:39:38 +0000 (0:00:00.022) 0:00:17.301 ***** 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-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 24 February 2024 19:39:39 +0000 (0:00:01.497) 0:00:18.798 ***** 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-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 24 February 2024 19:39:40 +0000 (0:00:01.112) 0:00:19.911 ***** 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-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 24 February 2024 19:39:40 +0000 (0:00:00.028) 0:00:19.947 ***** 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-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 24 February 2024 19:39:40 +0000 (0:00:00.095) 0:00:20.043 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 24 February 2024 19:39:40 +0000 (0:00:00.049) 0:00:20.092 ***** 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-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:43 Saturday 24 February 2024 19:39:40 +0000 (0:00:00.067) 0:00:20.159 ***** 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-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:58 Saturday 24 February 2024 19:39:40 +0000 (0:00:00.045) 0:00:20.204 ***** 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-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:74 Saturday 24 February 2024 19:39:41 +0000 (0:00:00.085) 0:00:20.290 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:88 Saturday 24 February 2024 19:39:41 +0000 (0:00:00.085) 0:00:20.375 ***** 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-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:99 Saturday 24 February 2024 19:39:41 +0000 (0:00:00.416) 0:00:20.792 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:108 Saturday 24 February 2024 19:39:41 +0000 (0:00:00.024) 0:00:20.817 ***** 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-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:116 Saturday 24 February 2024 19:39:41 +0000 (0:00:00.019) 0:00:20.836 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:125 Saturday 24 February 2024 19:39:41 +0000 (0:00:00.021) 0:00:20.858 ***** 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, 3c9a1ffe-d6b7-41d6-bd1c-79ec6570c260 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:137 Saturday 24 February 2024 19:39:42 +0000 (0:00:00.466) 0:00:21.324 ***** 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-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:143 Saturday 24 February 2024 19:39:42 +0000 (0:00:00.053) 0:00:21.378 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 3c9a1ffe-d6b7-41d6-bd1c-79ec6570c260" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:147 Saturday 24 February 2024 19:39:42 +0000 (0:00:00.075) 0:00:21.454 ***** 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, 3c9a1ffe-d6b7-41d6-bd1c-79ec6570c260\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 3c9a1ffe-d6b7-41d6-bd1c-79ec6570c260" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:152 Saturday 24 February 2024 19:39:42 +0000 (0:00:00.064) 0:00:21.518 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:158 Saturday 24 February 2024 19:39:42 +0000 (0:00:00.033) 0:00:21.552 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/create_bridge_profile.yml:14 Saturday 24 February 2024 19:39:42 +0000 (0:00:00.239) 0:00:21.791 ***** 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, 3c9a1ffe-d6b7-41d6-bd1c-79ec6570c260\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 3c9a1ffe-d6b7-41d6-bd1c-79ec6570c260" ] } } TASK [Test] ******************************************************************** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/run_test.yml:30 Saturday 24 February 2024 19:39:42 +0000 (0:00:00.066) 0:00:21.858 ***** included: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/activate_profile.yml:3 Saturday 24 February 2024 19:39:42 +0000 (0:00:00.086) 0:00:21.944 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 24 February 2024 19:39:42 +0000 (0:00:00.046) 0:00:21.991 ***** included: /WORKDIR/git-more-test-debugagbcf0zc/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-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 24 February 2024 19:39:42 +0000 (0:00:00.051) 0:00:22.043 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 24 February 2024 19:39:42 +0000 (0:00:00.046) 0:00:22.090 ***** 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-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 24 February 2024 19:39:42 +0000 (0:00:00.022) 0:00:22.113 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 24 February 2024 19:39:42 +0000 (0:00:00.020) 0:00:22.133 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 24 February 2024 19:39:44 +0000 (0:00:01.526) 0:00:23.660 ***** 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-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 24 February 2024 19:39:45 +0000 (0:00:01.067) 0:00:24.727 ***** 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-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 24 February 2024 19:39:45 +0000 (0:00:00.055) 0:00:24.782 ***** 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-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 24 February 2024 19:39:45 +0000 (0:00:00.046) 0:00:24.828 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 24 February 2024 19:39:45 +0000 (0:00:00.025) 0:00:24.853 ***** 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-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:43 Saturday 24 February 2024 19:39:45 +0000 (0:00:00.076) 0:00:24.930 ***** 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-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:58 Saturday 24 February 2024 19:39:45 +0000 (0:00:00.043) 0:00:24.973 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:74 Saturday 24 February 2024 19:39:45 +0000 (0:00:00.052) 0:00:25.026 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:88 Saturday 24 February 2024 19:39:45 +0000 (0:00:00.087) 0:00:25.113 ***** 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-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:99 Saturday 24 February 2024 19:39:46 +0000 (0:00:00.401) 0:00:25.515 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:108 Saturday 24 February 2024 19:39:46 +0000 (0:00:00.039) 0:00:25.555 ***** 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-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:116 Saturday 24 February 2024 19:39:46 +0000 (0:00:00.045) 0:00:25.601 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:125 Saturday 24 February 2024 19:39:46 +0000 (0:00:00.021) 0:00:25.623 ***** 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, 3c9a1ffe-d6b7-41d6-bd1c-79ec6570c260 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:137 Saturday 24 February 2024 19:39:46 +0000 (0:00:00.449) 0:00:26.072 ***** 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-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:143 Saturday 24 February 2024 19:39:46 +0000 (0:00:00.029) 0:00:26.101 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 3c9a1ffe-d6b7-41d6-bd1c-79ec6570c260 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:147 Saturday 24 February 2024 19:39:46 +0000 (0:00:00.042) 0:00:26.144 ***** 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, 3c9a1ffe-d6b7-41d6-bd1c-79ec6570c260 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 3c9a1ffe-d6b7-41d6-bd1c-79ec6570c260 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:152 Saturday 24 February 2024 19:39:46 +0000 (0:00:00.050) 0:00:26.194 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:158 Saturday 24 February 2024 19:39:47 +0000 (0:00:00.065) 0:00:26.260 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/run_test.yml:36 Saturday 24 February 2024 19:39:47 +0000 (0:00:00.249) 0:00:26.509 ***** included: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/assert_device_present.yml:3 Saturday 24 February 2024 19:39:47 +0000 (0:00:00.068) 0:00:26.577 ***** included: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 24 February 2024 19:39:47 +0000 (0:00:00.049) 0:00:26.627 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1708803581.9541101, "block_size": 4096, "blocks": 0, "ctime": 1708803581.9541101, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 32446, "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": 1708803581.9541101, "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-more-test-debugagbcf0zc/tests/playbooks/tasks/assert_device_present.yml:5 Saturday 24 February 2024 19:39:47 +0000 (0:00:00.214) 0:00:26.842 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/assert_profile_present.yml:3 Saturday 24 February 2024 19:39:47 +0000 (0:00:00.028) 0:00:26.870 ***** included: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/get_profile_stat.yml:3 Saturday 24 February 2024 19:39:47 +0000 (0:00:00.062) 0:00:26.932 ***** 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-more-test-debugagbcf0zc/tests/playbooks/tasks/get_profile_stat.yml:9 Saturday 24 February 2024 19:39:47 +0000 (0:00:00.050) 0:00:26.983 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/get_profile_stat.yml:17 Saturday 24 February 2024 19:39:47 +0000 (0:00:00.231) 0:00:27.215 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/get_profile_stat.yml:25 Saturday 24 February 2024 19:39:48 +0000 (0:00:00.064) 0:00:27.279 ***** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021094", "end": "2024-02-24 19:39:48.226730", "rc": 0, "start": "2024-02-24 19:39:48.205636" } 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-more-test-debugagbcf0zc/tests/playbooks/tasks/get_profile_stat.yml:35 Saturday 24 February 2024 19:39:48 +0000 (0:00:00.259) 0:00:27.538 ***** 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-more-test-debugagbcf0zc/tests/playbooks/tasks/get_profile_stat.yml:49 Saturday 24 February 2024 19:39:48 +0000 (0:00:00.038) 0:00:27.576 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/get_profile_stat.yml:56 Saturday 24 February 2024 19:39:48 +0000 (0:00:00.027) 0:00:27.604 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/get_profile_stat.yml:62 Saturday 24 February 2024 19:39:48 +0000 (0:00:00.027) 0:00:27.631 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/get_profile_stat.yml:69 Saturday 24 February 2024 19:39:48 +0000 (0:00:00.040) 0:00:27.671 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/assert_profile_present.yml:5 Saturday 24 February 2024 19:39:48 +0000 (0:00:00.033) 0:00:27.705 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/assert_profile_present.yml:10 Saturday 24 February 2024 19:39:48 +0000 (0:00:00.044) 0:00:27.749 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/assert_profile_present.yml:15 Saturday 24 February 2024 19:39:48 +0000 (0:00:00.050) 0:00:27.800 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/run_test.yml:42 Saturday 24 February 2024 19:39:48 +0000 (0:00:00.028) 0:00:27.828 ***** TASK [Success in test 'I can activate an existing profile'] ******************** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/run_test.yml:47 Saturday 24 February 2024 19:39:48 +0000 (0:00:00.045) 0:00:27.874 ***** ok: [sut] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/run_test.yml:66 Saturday 24 February 2024 19:39:48 +0000 (0:00:00.024) 0:00:27.898 ***** included: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 24 February 2024 19:39:48 +0000 (0:00:00.046) 0:00:27.945 ***** 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.090829", "end": "2024-02-24 19:39:49.022277", "rc": 1, "start": "2024-02-24 19:39:48.931448" } STDOUT: Connection 'statebr' (3c9a1ffe-d6b7-41d6-bd1c-79ec6570c260) successfully deleted. STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tests_states.yml:83 Saturday 24 February 2024 19:39:49 +0000 (0:00:00.369) 0:00:28.314 ***** included: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can remove an existing profile without taking it down] *********** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/run_test.yml:5 Saturday 24 February 2024 19:39:49 +0000 (0:00:00.074) 0:00:28.388 ***** ok: [sut] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/run_test.yml:9 Saturday 24 February 2024 19:39:49 +0000 (0:00:00.031) 0:00:28.420 ***** 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-more-test-debugagbcf0zc/tests/playbooks/tasks/run_test.yml:21 Saturday 24 February 2024 19:39:49 +0000 (0:00:00.069) 0:00:28.490 ***** included: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/show_interfaces.yml:3 Saturday 24 February 2024 19:39:49 +0000 (0:00:00.056) 0:00:28.546 ***** included: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/get_current_interfaces.yml:3 Saturday 24 February 2024 19:39:49 +0000 (0:00:00.041) 0:00:28.587 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003334", "end": "2024-02-24 19:39:49.552381", "rc": 0, "start": "2024-02-24 19:39:49.549047" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/get_current_interfaces.yml:9 Saturday 24 February 2024 19:39:49 +0000 (0:00:00.246) 0:00:28.833 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/show_interfaces.yml:5 Saturday 24 February 2024 19:39:49 +0000 (0:00:00.022) 0:00:28.855 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/run_test.yml:24 Saturday 24 February 2024 19:39:49 +0000 (0:00:00.021) 0:00:28.877 ***** included: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/create_bridge_profile.yml:3 Saturday 24 February 2024 19:39:49 +0000 (0:00:00.047) 0:00:28.925 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 24 February 2024 19:39:49 +0000 (0:00:00.074) 0:00:29.000 ***** included: /WORKDIR/git-more-test-debugagbcf0zc/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-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 24 February 2024 19:39:49 +0000 (0:00:00.061) 0:00:29.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 : Check if system is ostree] ****************** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 24 February 2024 19:39:49 +0000 (0:00:00.036) 0:00:29.098 ***** 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-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 24 February 2024 19:39:49 +0000 (0:00:00.062) 0:00:29.160 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 24 February 2024 19:39:49 +0000 (0:00:00.024) 0:00:29.185 ***** 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-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 24 February 2024 19:39:51 +0000 (0:00:01.521) 0:00:30.706 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 24 February 2024 19:39:52 +0000 (0:00:01.032) 0:00:31.738 ***** 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-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 24 February 2024 19:39:52 +0000 (0:00:00.023) 0:00:31.762 ***** 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-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 24 February 2024 19:39:52 +0000 (0:00:00.046) 0:00:31.808 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 24 February 2024 19:39:52 +0000 (0:00:00.026) 0:00:31.835 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:43 Saturday 24 February 2024 19:39:52 +0000 (0:00:00.061) 0:00:31.896 ***** 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-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:58 Saturday 24 February 2024 19:39:52 +0000 (0:00:00.025) 0:00:31.922 ***** 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-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:74 Saturday 24 February 2024 19:39:52 +0000 (0:00:00.022) 0:00:31.944 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:88 Saturday 24 February 2024 19:39:52 +0000 (0:00:00.037) 0:00:31.982 ***** 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-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:99 Saturday 24 February 2024 19:39:53 +0000 (0:00:00.397) 0:00:32.380 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:108 Saturday 24 February 2024 19:39:53 +0000 (0:00:00.084) 0:00:32.464 ***** 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-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:116 Saturday 24 February 2024 19:39:53 +0000 (0:00:00.024) 0:00:32.489 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:125 Saturday 24 February 2024 19:39:53 +0000 (0:00:00.032) 0:00:32.522 ***** 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, b28124ec-3de2-4950-a7ad-b8ad80f08dce TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:137 Saturday 24 February 2024 19:39:53 +0000 (0:00:00.441) 0:00:32.964 ***** 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-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:143 Saturday 24 February 2024 19:39:53 +0000 (0:00:00.027) 0:00:32.991 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, b28124ec-3de2-4950-a7ad-b8ad80f08dce" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:147 Saturday 24 February 2024 19:39:53 +0000 (0:00:00.045) 0:00:33.037 ***** 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, b28124ec-3de2-4950-a7ad-b8ad80f08dce\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, b28124ec-3de2-4950-a7ad-b8ad80f08dce" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:152 Saturday 24 February 2024 19:39:53 +0000 (0:00:00.035) 0:00:33.072 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:158 Saturday 24 February 2024 19:39:53 +0000 (0:00:00.025) 0:00:33.098 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/create_bridge_profile.yml:14 Saturday 24 February 2024 19:39:54 +0000 (0:00:00.222) 0:00:33.320 ***** 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, b28124ec-3de2-4950-a7ad-b8ad80f08dce\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, b28124ec-3de2-4950-a7ad-b8ad80f08dce" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/activate_profile.yml:3 Saturday 24 February 2024 19:39:54 +0000 (0:00:00.052) 0:00:33.373 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 24 February 2024 19:39:54 +0000 (0:00:00.037) 0:00:33.411 ***** included: /WORKDIR/git-more-test-debugagbcf0zc/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-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 24 February 2024 19:39:54 +0000 (0:00:00.048) 0:00:33.459 ***** 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-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 24 February 2024 19:39:54 +0000 (0:00:00.026) 0:00:33.486 ***** 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-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 24 February 2024 19:39:54 +0000 (0:00:00.037) 0:00:33.523 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 24 February 2024 19:39:54 +0000 (0:00:00.035) 0:00:33.559 ***** 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-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 24 February 2024 19:39:55 +0000 (0:00:01.573) 0:00:35.132 ***** 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-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 24 February 2024 19:39:56 +0000 (0:00:01.051) 0:00:36.183 ***** 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-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 24 February 2024 19:39:56 +0000 (0:00:00.029) 0:00:36.212 ***** 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-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 24 February 2024 19:39:56 +0000 (0:00:00.022) 0:00:36.235 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 24 February 2024 19:39:57 +0000 (0:00:00.028) 0:00:36.263 ***** 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-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:43 Saturday 24 February 2024 19:39:57 +0000 (0:00:00.043) 0:00:36.307 ***** 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-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:58 Saturday 24 February 2024 19:39:57 +0000 (0:00:00.022) 0:00:36.330 ***** 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-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:74 Saturday 24 February 2024 19:39:57 +0000 (0:00:00.022) 0:00:36.353 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:88 Saturday 24 February 2024 19:39:57 +0000 (0:00:00.026) 0:00:36.379 ***** 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-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:99 Saturday 24 February 2024 19:39:57 +0000 (0:00:00.384) 0:00:36.764 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:108 Saturday 24 February 2024 19:39:57 +0000 (0:00:00.046) 0:00:36.810 ***** 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-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:116 Saturday 24 February 2024 19:39:57 +0000 (0:00:00.027) 0:00:36.837 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:125 Saturday 24 February 2024 19:39:57 +0000 (0:00:00.043) 0:00:36.881 ***** 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, b28124ec-3de2-4950-a7ad-b8ad80f08dce skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:137 Saturday 24 February 2024 19:39:58 +0000 (0:00:00.464) 0:00:37.345 ***** 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-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:143 Saturday 24 February 2024 19:39:58 +0000 (0:00:00.030) 0:00:37.376 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, b28124ec-3de2-4950-a7ad-b8ad80f08dce skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:147 Saturday 24 February 2024 19:39:58 +0000 (0:00:00.027) 0:00:37.403 ***** 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, b28124ec-3de2-4950-a7ad-b8ad80f08dce skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, b28124ec-3de2-4950-a7ad-b8ad80f08dce skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:152 Saturday 24 February 2024 19:39:58 +0000 (0:00:00.027) 0:00:37.430 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:158 Saturday 24 February 2024 19:39:58 +0000 (0:00:00.038) 0:00:37.469 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/run_test.yml:30 Saturday 24 February 2024 19:39:58 +0000 (0:00:00.236) 0:00:37.705 ***** included: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/remove_profile.yml:3 Saturday 24 February 2024 19:39:58 +0000 (0:00:00.041) 0:00:37.747 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 24 February 2024 19:39:58 +0000 (0:00:00.041) 0:00:37.788 ***** included: /WORKDIR/git-more-test-debugagbcf0zc/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-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 24 February 2024 19:39:58 +0000 (0:00:00.050) 0:00:37.838 ***** 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-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 24 February 2024 19:39:58 +0000 (0:00:00.031) 0:00:37.870 ***** 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-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 24 February 2024 19:39:58 +0000 (0:00:00.022) 0:00:37.892 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 24 February 2024 19:39:58 +0000 (0:00:00.023) 0:00:37.915 ***** 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-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 24 February 2024 19:40:00 +0000 (0:00:01.524) 0:00:39.439 ***** 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-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 24 February 2024 19:40:01 +0000 (0:00:01.066) 0:00:40.506 ***** ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 24 February 2024 19:40:01 +0000 (0:00:00.040) 0:00:40.546 ***** 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-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 24 February 2024 19:40:01 +0000 (0:00:00.031) 0:00:40.578 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 24 February 2024 19:40:01 +0000 (0:00:00.029) 0:00:40.607 ***** 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-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:43 Saturday 24 February 2024 19:40:01 +0000 (0:00:00.052) 0:00:40.660 ***** 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-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:58 Saturday 24 February 2024 19:40:01 +0000 (0:00:00.046) 0:00:40.706 ***** 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-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:74 Saturday 24 February 2024 19:40:01 +0000 (0:00:00.026) 0:00:40.733 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:88 Saturday 24 February 2024 19:40:01 +0000 (0:00:00.072) 0:00:40.805 ***** 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-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:99 Saturday 24 February 2024 19:40:01 +0000 (0:00:00.390) 0:00:41.195 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:108 Saturday 24 February 2024 19:40:01 +0000 (0:00:00.025) 0:00:41.221 ***** 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-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:116 Saturday 24 February 2024 19:40:01 +0000 (0:00:00.021) 0:00:41.242 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:125 Saturday 24 February 2024 19:40:02 +0000 (0:00:00.033) 0:00:41.276 ***** 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-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:137 Saturday 24 February 2024 19:40:02 +0000 (0:00:00.408) 0:00:41.684 ***** 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-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:143 Saturday 24 February 2024 19:40:02 +0000 (0:00:00.023) 0:00:41.708 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:147 Saturday 24 February 2024 19:40:02 +0000 (0:00:00.032) 0:00:41.740 ***** 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-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:152 Saturday 24 February 2024 19:40:02 +0000 (0:00:00.023) 0:00:41.764 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:158 Saturday 24 February 2024 19:40:02 +0000 (0:00:00.025) 0:00:41.789 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/run_test.yml:36 Saturday 24 February 2024 19:40:02 +0000 (0:00:00.213) 0:00:42.002 ***** included: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/assert_device_present.yml:3 Saturday 24 February 2024 19:40:02 +0000 (0:00:00.052) 0:00:42.054 ***** included: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 24 February 2024 19:40:02 +0000 (0:00:00.036) 0:00:42.091 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1708803593.6075947, "block_size": 4096, "blocks": 0, "ctime": 1708803593.6075947, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 32577, "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": 1708803593.6075947, "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-more-test-debugagbcf0zc/tests/playbooks/tasks/assert_device_present.yml:5 Saturday 24 February 2024 19:40:03 +0000 (0:00:00.255) 0:00:42.347 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/assert_profile_absent.yml:3 Saturday 24 February 2024 19:40:03 +0000 (0:00:00.038) 0:00:42.385 ***** included: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/get_profile_stat.yml:3 Saturday 24 February 2024 19:40:03 +0000 (0:00:00.062) 0:00:42.448 ***** 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-more-test-debugagbcf0zc/tests/playbooks/tasks/get_profile_stat.yml:9 Saturday 24 February 2024 19:40:03 +0000 (0:00:00.026) 0:00:42.474 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/get_profile_stat.yml:17 Saturday 24 February 2024 19:40:03 +0000 (0:00:00.227) 0:00:42.702 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/get_profile_stat.yml:25 Saturday 24 February 2024 19:40:03 +0000 (0:00:00.027) 0:00:42.730 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020615", "end": "2024-02-24 19:40:03.706362", "rc": 1, "start": "2024-02-24 19:40:03.685747" } 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-more-test-debugagbcf0zc/tests/playbooks/tasks/get_profile_stat.yml:35 Saturday 24 February 2024 19:40:03 +0000 (0:00:00.257) 0:00:42.987 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/get_profile_stat.yml:49 Saturday 24 February 2024 19:40:03 +0000 (0:00:00.022) 0:00:43.010 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/get_profile_stat.yml:56 Saturday 24 February 2024 19:40:03 +0000 (0:00:00.022) 0:00:43.032 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/get_profile_stat.yml:62 Saturday 24 February 2024 19:40:03 +0000 (0:00:00.022) 0:00:43.054 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/get_profile_stat.yml:69 Saturday 24 February 2024 19:40:03 +0000 (0:00:00.026) 0:00:43.081 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/assert_profile_absent.yml:5 Saturday 24 February 2024 19:40:03 +0000 (0:00:00.039) 0:00:43.120 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/run_test.yml:42 Saturday 24 February 2024 19:40:03 +0000 (0:00:00.037) 0:00:43.157 ***** TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/run_test.yml:47 Saturday 24 February 2024 19:40:03 +0000 (0:00:00.046) 0:00:43.203 ***** ok: [sut] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/run_test.yml:66 Saturday 24 February 2024 19:40:03 +0000 (0:00:00.025) 0:00:43.229 ***** included: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 24 February 2024 19:40:04 +0000 (0:00:00.055) 0:00:43.285 ***** 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.075049", "end": "2024-02-24 19:40:04.287588", "rc": 1, "start": "2024-02-24 19:40:04.212539" } STDOUT: Connection 'statebr' (b28124ec-3de2-4950-a7ad-b8ad80f08dce) successfully deleted. STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tests_states.yml:103 Saturday 24 February 2024 19:40:04 +0000 (0:00:00.282) 0:00:43.567 ***** included: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can take a profile down that is absent] ************************** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/run_test.yml:5 Saturday 24 February 2024 19:40:04 +0000 (0:00:00.036) 0:00:43.604 ***** ok: [sut] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/run_test.yml:9 Saturday 24 February 2024 19:40:04 +0000 (0:00:00.021) 0:00:43.625 ***** 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-more-test-debugagbcf0zc/tests/playbooks/tasks/run_test.yml:21 Saturday 24 February 2024 19:40:04 +0000 (0:00:00.046) 0:00:43.671 ***** included: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/show_interfaces.yml:3 Saturday 24 February 2024 19:40:04 +0000 (0:00:00.035) 0:00:43.706 ***** included: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/get_current_interfaces.yml:3 Saturday 24 February 2024 19:40:04 +0000 (0:00:00.033) 0:00:43.740 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003590", "end": "2024-02-24 19:40:04.668166", "rc": 0, "start": "2024-02-24 19:40:04.664576" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/get_current_interfaces.yml:9 Saturday 24 February 2024 19:40:04 +0000 (0:00:00.209) 0:00:43.950 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/show_interfaces.yml:5 Saturday 24 February 2024 19:40:04 +0000 (0:00:00.024) 0:00:43.974 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/run_test.yml:24 Saturday 24 February 2024 19:40:04 +0000 (0:00:00.033) 0:00:44.008 ***** included: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/create_bridge_profile.yml:3 Saturday 24 February 2024 19:40:04 +0000 (0:00:00.048) 0:00:44.057 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 24 February 2024 19:40:04 +0000 (0:00:00.054) 0:00:44.112 ***** included: /WORKDIR/git-more-test-debugagbcf0zc/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-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 24 February 2024 19:40:04 +0000 (0:00:00.079) 0:00:44.191 ***** 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-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 24 February 2024 19:40:04 +0000 (0:00:00.029) 0:00:44.220 ***** 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-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 24 February 2024 19:40:04 +0000 (0:00:00.024) 0:00:44.245 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 24 February 2024 19:40:05 +0000 (0:00:00.032) 0:00:44.277 ***** 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-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 24 February 2024 19:40:06 +0000 (0:00:01.511) 0:00:45.789 ***** 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-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 24 February 2024 19:40:07 +0000 (0:00:01.022) 0:00:46.812 ***** 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-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 24 February 2024 19:40:07 +0000 (0:00:00.022) 0:00:46.834 ***** 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-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 24 February 2024 19:40:07 +0000 (0:00:00.019) 0:00:46.854 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 24 February 2024 19:40:07 +0000 (0:00:00.020) 0:00:46.874 ***** 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-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:43 Saturday 24 February 2024 19:40:07 +0000 (0:00:00.041) 0:00:46.915 ***** 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-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:58 Saturday 24 February 2024 19:40:07 +0000 (0:00:00.020) 0:00:46.935 ***** 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-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:74 Saturday 24 February 2024 19:40:07 +0000 (0:00:00.023) 0:00:46.959 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:88 Saturday 24 February 2024 19:40:07 +0000 (0:00:00.030) 0:00:46.990 ***** 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-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:99 Saturday 24 February 2024 19:40:08 +0000 (0:00:00.411) 0:00:47.401 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:108 Saturday 24 February 2024 19:40:08 +0000 (0:00:00.026) 0:00:47.428 ***** 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-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:116 Saturday 24 February 2024 19:40:08 +0000 (0:00:00.024) 0:00:47.453 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:125 Saturday 24 February 2024 19:40:08 +0000 (0:00:00.022) 0:00:47.475 ***** 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, f2e0c1cc-2874-4fd2-bfa3-fe01b4a78cb9 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:137 Saturday 24 February 2024 19:40:08 +0000 (0:00:00.408) 0:00:47.884 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:143 Saturday 24 February 2024 19:40:08 +0000 (0:00:00.022) 0:00:47.906 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, f2e0c1cc-2874-4fd2-bfa3-fe01b4a78cb9" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:147 Saturday 24 February 2024 19:40:08 +0000 (0:00:00.024) 0:00:47.930 ***** 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, f2e0c1cc-2874-4fd2-bfa3-fe01b4a78cb9\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, f2e0c1cc-2874-4fd2-bfa3-fe01b4a78cb9" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:152 Saturday 24 February 2024 19:40:08 +0000 (0:00:00.080) 0:00:48.010 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:158 Saturday 24 February 2024 19:40:08 +0000 (0:00:00.023) 0:00:48.034 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/create_bridge_profile.yml:14 Saturday 24 February 2024 19:40:09 +0000 (0:00:00.228) 0:00:48.262 ***** 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, f2e0c1cc-2874-4fd2-bfa3-fe01b4a78cb9\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, f2e0c1cc-2874-4fd2-bfa3-fe01b4a78cb9" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/activate_profile.yml:3 Saturday 24 February 2024 19:40:09 +0000 (0:00:00.027) 0:00:48.290 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 24 February 2024 19:40:09 +0000 (0:00:00.040) 0:00:48.330 ***** included: /WORKDIR/git-more-test-debugagbcf0zc/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-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 24 February 2024 19:40:09 +0000 (0:00:00.068) 0:00:48.399 ***** 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-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 24 February 2024 19:40:09 +0000 (0:00:00.043) 0:00:48.442 ***** 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-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 24 February 2024 19:40:09 +0000 (0:00:00.025) 0:00:48.468 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 24 February 2024 19:40:09 +0000 (0:00:00.051) 0:00:48.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 : Check which packages are installed] ********* task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 24 February 2024 19:40:10 +0000 (0:00:01.522) 0:00:50.042 ***** 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-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 24 February 2024 19:40:11 +0000 (0:00:01.059) 0:00:51.101 ***** 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-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 24 February 2024 19:40:11 +0000 (0:00:00.021) 0:00:51.123 ***** 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-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 24 February 2024 19:40:11 +0000 (0:00:00.023) 0:00:51.147 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 24 February 2024 19:40:11 +0000 (0:00:00.023) 0:00:51.170 ***** 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-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:43 Saturday 24 February 2024 19:40:11 +0000 (0:00:00.052) 0:00:51.222 ***** 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-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:58 Saturday 24 February 2024 19:40:11 +0000 (0:00:00.025) 0:00:51.248 ***** 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-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:74 Saturday 24 February 2024 19:40:12 +0000 (0:00:00.024) 0:00:51.272 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:88 Saturday 24 February 2024 19:40:12 +0000 (0:00:00.040) 0:00:51.313 ***** 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-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:99 Saturday 24 February 2024 19:40:12 +0000 (0:00:00.393) 0:00:51.706 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:108 Saturday 24 February 2024 19:40:12 +0000 (0:00:00.026) 0:00:51.733 ***** 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-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:116 Saturday 24 February 2024 19:40:12 +0000 (0:00:00.021) 0:00:51.754 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:125 Saturday 24 February 2024 19:40:12 +0000 (0:00:00.054) 0:00:51.808 ***** 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, f2e0c1cc-2874-4fd2-bfa3-fe01b4a78cb9 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:137 Saturday 24 February 2024 19:40:12 +0000 (0:00:00.420) 0:00:52.228 ***** 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-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:143 Saturday 24 February 2024 19:40:13 +0000 (0:00:00.040) 0:00:52.268 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, f2e0c1cc-2874-4fd2-bfa3-fe01b4a78cb9 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:147 Saturday 24 February 2024 19:40:13 +0000 (0:00:00.028) 0:00:52.297 ***** 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, f2e0c1cc-2874-4fd2-bfa3-fe01b4a78cb9 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, f2e0c1cc-2874-4fd2-bfa3-fe01b4a78cb9 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:152 Saturday 24 February 2024 19:40:13 +0000 (0:00:00.025) 0:00:52.322 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:158 Saturday 24 February 2024 19:40:13 +0000 (0:00:00.021) 0:00:52.344 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/remove_profile.yml:3 Saturday 24 February 2024 19:40:13 +0000 (0:00:00.201) 0:00:52.546 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 24 February 2024 19:40:13 +0000 (0:00:00.047) 0:00:52.594 ***** included: /WORKDIR/git-more-test-debugagbcf0zc/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-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 24 February 2024 19:40:13 +0000 (0:00:00.042) 0:00:52.636 ***** 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-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 24 February 2024 19:40:13 +0000 (0:00:00.039) 0:00:52.675 ***** 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-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 24 February 2024 19:40:13 +0000 (0:00:00.042) 0:00:52.718 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 24 February 2024 19:40:13 +0000 (0:00:00.028) 0:00:52.746 ***** 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-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 24 February 2024 19:40:14 +0000 (0:00:01.494) 0:00:54.240 ***** 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-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 24 February 2024 19:40:16 +0000 (0:00:01.013) 0:00:55.254 ***** 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-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 24 February 2024 19:40:16 +0000 (0:00:00.022) 0:00:55.277 ***** 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-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 24 February 2024 19:40:16 +0000 (0:00:00.022) 0:00:55.299 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 24 February 2024 19:40:16 +0000 (0:00:00.021) 0:00:55.320 ***** 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-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:43 Saturday 24 February 2024 19:40:16 +0000 (0:00:00.043) 0:00:55.364 ***** 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-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:58 Saturday 24 February 2024 19:40:16 +0000 (0:00:00.021) 0:00:55.386 ***** 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-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:74 Saturday 24 February 2024 19:40:16 +0000 (0:00:00.021) 0:00:55.407 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:88 Saturday 24 February 2024 19:40:16 +0000 (0:00:00.053) 0:00:55.461 ***** 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-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:99 Saturday 24 February 2024 19:40:16 +0000 (0:00:00.417) 0:00:55.878 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:108 Saturday 24 February 2024 19:40:16 +0000 (0:00:00.050) 0:00:55.929 ***** 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-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:116 Saturday 24 February 2024 19:40:16 +0000 (0:00:00.038) 0:00:55.967 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:125 Saturday 24 February 2024 19:40:16 +0000 (0:00:00.050) 0:00:56.018 ***** 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-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:137 Saturday 24 February 2024 19:40:17 +0000 (0:00:00.427) 0:00:56.445 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:143 Saturday 24 February 2024 19:40:17 +0000 (0:00:00.035) 0:00:56.481 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:147 Saturday 24 February 2024 19:40:17 +0000 (0:00:00.079) 0:00:56.560 ***** 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-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:152 Saturday 24 February 2024 19:40:17 +0000 (0:00:00.047) 0:00:56.608 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:158 Saturday 24 February 2024 19:40:17 +0000 (0:00:00.058) 0:00:56.666 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/run_test.yml:30 Saturday 24 February 2024 19:40:17 +0000 (0:00:00.214) 0:00:56.881 ***** included: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/remove+down_profile.yml:3 Saturday 24 February 2024 19:40:17 +0000 (0:00:00.039) 0:00:56.920 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 24 February 2024 19:40:17 +0000 (0:00:00.041) 0:00:56.961 ***** included: /WORKDIR/git-more-test-debugagbcf0zc/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-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 24 February 2024 19:40:17 +0000 (0:00:00.081) 0:00:57.043 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 24 February 2024 19:40:17 +0000 (0:00:00.026) 0:00:57.069 ***** 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-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 24 February 2024 19:40:17 +0000 (0:00:00.022) 0:00:57.092 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 24 February 2024 19:40:17 +0000 (0:00:00.031) 0:00:57.123 ***** 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-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 24 February 2024 19:40:19 +0000 (0:00:01.495) 0:00:58.618 ***** 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-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 24 February 2024 19:40:20 +0000 (0:00:01.059) 0:00:59.678 ***** 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-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 24 February 2024 19:40:20 +0000 (0:00:00.026) 0:00:59.705 ***** 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-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 24 February 2024 19:40:20 +0000 (0:00:00.035) 0:00:59.741 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 24 February 2024 19:40:20 +0000 (0:00:00.031) 0:00:59.772 ***** 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-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:43 Saturday 24 February 2024 19:40:20 +0000 (0:00:00.044) 0:00:59.817 ***** 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-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:58 Saturday 24 February 2024 19:40:20 +0000 (0:00:00.021) 0:00:59.839 ***** 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-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:74 Saturday 24 February 2024 19:40:20 +0000 (0:00:00.020) 0:00:59.859 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:88 Saturday 24 February 2024 19:40:20 +0000 (0:00:00.031) 0:00:59.891 ***** 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-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:99 Saturday 24 February 2024 19:40:21 +0000 (0:00:00.377) 0:01:00.269 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:108 Saturday 24 February 2024 19:40:21 +0000 (0:00:00.026) 0:01:00.296 ***** 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-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:116 Saturday 24 February 2024 19:40:21 +0000 (0:00:00.021) 0:01:00.317 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:125 Saturday 24 February 2024 19:40:21 +0000 (0:00:00.020) 0:01:00.338 ***** 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-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:137 Saturday 24 February 2024 19:40:21 +0000 (0:00:00.447) 0:01:00.785 ***** 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-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:143 Saturday 24 February 2024 19:40:21 +0000 (0:00:00.028) 0:01:00.813 ***** 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-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:147 Saturday 24 February 2024 19:40:21 +0000 (0:00:00.050) 0:01:00.864 ***** 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-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:152 Saturday 24 February 2024 19:40:21 +0000 (0:00:00.023) 0:01:00.888 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:158 Saturday 24 February 2024 19:40:21 +0000 (0:00:00.019) 0:01:00.908 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/run_test.yml:36 Saturday 24 February 2024 19:40:21 +0000 (0:00:00.201) 0:01:01.109 ***** included: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/assert_profile_absent.yml:3 Saturday 24 February 2024 19:40:21 +0000 (0:00:00.047) 0:01:01.157 ***** included: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/get_profile_stat.yml:3 Saturday 24 February 2024 19:40:21 +0000 (0:00:00.035) 0:01:01.193 ***** 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-more-test-debugagbcf0zc/tests/playbooks/tasks/get_profile_stat.yml:9 Saturday 24 February 2024 19:40:21 +0000 (0:00:00.021) 0:01:01.214 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/get_profile_stat.yml:17 Saturday 24 February 2024 19:40:22 +0000 (0:00:00.210) 0:01:01.425 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/get_profile_stat.yml:25 Saturday 24 February 2024 19:40:22 +0000 (0:00:00.022) 0:01:01.447 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.019652", "end": "2024-02-24 19:40:22.393159", "rc": 1, "start": "2024-02-24 19:40:22.373507" } 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-more-test-debugagbcf0zc/tests/playbooks/tasks/get_profile_stat.yml:35 Saturday 24 February 2024 19:40:22 +0000 (0:00:00.225) 0:01:01.673 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/get_profile_stat.yml:49 Saturday 24 February 2024 19:40:22 +0000 (0:00:00.022) 0:01:01.696 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/get_profile_stat.yml:56 Saturday 24 February 2024 19:40:22 +0000 (0:00:00.020) 0:01:01.716 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/get_profile_stat.yml:62 Saturday 24 February 2024 19:40:22 +0000 (0:00:00.022) 0:01:01.739 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/get_profile_stat.yml:69 Saturday 24 February 2024 19:40:22 +0000 (0:00:00.022) 0:01:01.762 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/assert_profile_absent.yml:5 Saturday 24 February 2024 19:40:22 +0000 (0:00:00.046) 0:01:01.809 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/run_test.yml:42 Saturday 24 February 2024 19:40:22 +0000 (0:00:00.024) 0:01:01.833 ***** included: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/assert_device_absent.yml:3 Saturday 24 February 2024 19:40:22 +0000 (0:00:00.042) 0:01:01.875 ***** included: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 24 February 2024 19:40:22 +0000 (0:00:00.036) 0:01:01.911 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/assert_device_absent.yml:5 Saturday 24 February 2024 19:40:22 +0000 (0:00:00.242) 0:01:02.154 ***** 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-more-test-debugagbcf0zc/tests/playbooks/tasks/run_test.yml:47 Saturday 24 February 2024 19:40:22 +0000 (0:00:00.062) 0:01:02.216 ***** ok: [sut] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/run_test.yml:66 Saturday 24 February 2024 19:40:22 +0000 (0:00:00.029) 0:01:02.246 ***** included: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 24 February 2024 19:40:23 +0000 (0:00:00.044) 0:01:02.290 ***** 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.038413", "end": "2024-02-24 19:40:23.256100", "rc": 1, "start": "2024-02-24 19:40:23.217687" } 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-more-test-debugagbcf0zc/tests/playbooks/tests_states.yml:126 Saturday 24 February 2024 19:40:23 +0000 (0:00:00.253) 0:01:02.544 ***** included: /WORKDIR/git-more-test-debugagbcf0zc/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-more-test-debugagbcf0zc/tests/playbooks/tasks/run_test.yml:5 Saturday 24 February 2024 19:40:23 +0000 (0:00:00.058) 0:01:02.602 ***** ok: [sut] => {} MSG: ########## I will not get an error when I try to remove an absent profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/run_test.yml:9 Saturday 24 February 2024 19:40:23 +0000 (0:00:00.031) 0:01:02.634 ***** ok: [sut] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I will not get an error when I try to remove an absent profile" } ok: [sut] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml", "tasks/activate_profile.yml", "tasks/remove+down_profile.yml" ] } ok: [sut] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove+down_profile.yml" ] } ok: [sut] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_absent.yml", "tasks/get_NetworkManager_NVR.yml" ] } ok: [sut] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": [ { "condition": true, "what": "tasks/assert_device_absent.yml" } ] } ok: [sut] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [sut] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml", "tasks/check_network_dns.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/run_test.yml:21 Saturday 24 February 2024 19:40:23 +0000 (0:00:00.075) 0:01:02.709 ***** included: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/show_interfaces.yml:3 Saturday 24 February 2024 19:40:23 +0000 (0:00:00.035) 0:01:02.744 ***** included: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/get_current_interfaces.yml:3 Saturday 24 February 2024 19:40:23 +0000 (0:00:00.033) 0:01:02.777 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003477", "end": "2024-02-24 19:40:23.704356", "rc": 0, "start": "2024-02-24 19:40:23.700879" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/get_current_interfaces.yml:9 Saturday 24 February 2024 19:40:23 +0000 (0:00:00.211) 0:01:02.989 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/show_interfaces.yml:5 Saturday 24 February 2024 19:40:23 +0000 (0:00:00.031) 0:01:03.020 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/run_test.yml:24 Saturday 24 February 2024 19:40:23 +0000 (0:00:00.032) 0:01:03.052 ***** included: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/create_bridge_profile.yml:3 Saturday 24 February 2024 19:40:23 +0000 (0:00:00.049) 0:01:03.101 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 24 February 2024 19:40:23 +0000 (0:00:00.086) 0:01:03.188 ***** included: /WORKDIR/git-more-test-debugagbcf0zc/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-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 24 February 2024 19:40:23 +0000 (0:00:00.054) 0:01:03.243 ***** 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-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 24 February 2024 19:40:24 +0000 (0:00:00.028) 0:01:03.271 ***** 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-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 24 February 2024 19:40:24 +0000 (0:00:00.025) 0:01:03.297 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 24 February 2024 19:40:24 +0000 (0:00:00.020) 0:01:03.318 ***** 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-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 24 February 2024 19:40:25 +0000 (0:00:01.494) 0:01:04.812 ***** 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-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 24 February 2024 19:40:26 +0000 (0:00:01.022) 0:01:05.834 ***** 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-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 24 February 2024 19:40:26 +0000 (0:00:00.021) 0:01:05.855 ***** 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-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 24 February 2024 19:40:26 +0000 (0:00:00.020) 0:01:05.876 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 24 February 2024 19:40:26 +0000 (0:00:00.021) 0:01:05.898 ***** 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-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:43 Saturday 24 February 2024 19:40:26 +0000 (0:00:00.067) 0:01:05.966 ***** 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-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:58 Saturday 24 February 2024 19:40:26 +0000 (0:00:00.027) 0:01:05.993 ***** 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-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:74 Saturday 24 February 2024 19:40:26 +0000 (0:00:00.030) 0:01:06.024 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:88 Saturday 24 February 2024 19:40:26 +0000 (0:00:00.026) 0:01:06.050 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:99 Saturday 24 February 2024 19:40:27 +0000 (0:00:00.390) 0:01:06.441 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:108 Saturday 24 February 2024 19:40:27 +0000 (0:00:00.026) 0:01:06.468 ***** 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-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:116 Saturday 24 February 2024 19:40:27 +0000 (0:00:00.022) 0:01:06.490 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:125 Saturday 24 February 2024 19:40:27 +0000 (0:00:00.029) 0:01:06.520 ***** 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, 27d05c2e-416a-4efb-b74f-359c60a57c0c TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:137 Saturday 24 February 2024 19:40:27 +0000 (0:00:00.426) 0:01:06.947 ***** 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-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:143 Saturday 24 February 2024 19:40:27 +0000 (0:00:00.034) 0:01:06.982 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 27d05c2e-416a-4efb-b74f-359c60a57c0c" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:147 Saturday 24 February 2024 19:40:27 +0000 (0:00:00.027) 0:01:07.009 ***** 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, 27d05c2e-416a-4efb-b74f-359c60a57c0c\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 27d05c2e-416a-4efb-b74f-359c60a57c0c" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:152 Saturday 24 February 2024 19:40:27 +0000 (0:00:00.039) 0:01:07.049 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:158 Saturday 24 February 2024 19:40:27 +0000 (0:00:00.025) 0:01:07.074 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/create_bridge_profile.yml:14 Saturday 24 February 2024 19:40:28 +0000 (0:00:00.204) 0:01:07.278 ***** 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, 27d05c2e-416a-4efb-b74f-359c60a57c0c\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 27d05c2e-416a-4efb-b74f-359c60a57c0c" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/activate_profile.yml:3 Saturday 24 February 2024 19:40:28 +0000 (0:00:00.022) 0:01:07.301 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 24 February 2024 19:40:28 +0000 (0:00:00.058) 0:01:07.359 ***** included: /WORKDIR/git-more-test-debugagbcf0zc/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-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 24 February 2024 19:40:28 +0000 (0:00:00.040) 0:01:07.400 ***** 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-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 24 February 2024 19:40:28 +0000 (0:00:00.026) 0:01:07.427 ***** 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-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 24 February 2024 19:40:28 +0000 (0:00:00.030) 0:01:07.457 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 24 February 2024 19:40:28 +0000 (0:00:00.026) 0:01:07.483 ***** 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-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 24 February 2024 19:40:29 +0000 (0:00:01.542) 0:01:09.026 ***** 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-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 24 February 2024 19:40:30 +0000 (0:00:01.055) 0:01:10.081 ***** 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-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 24 February 2024 19:40:30 +0000 (0:00:00.052) 0:01:10.134 ***** 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-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 24 February 2024 19:40:30 +0000 (0:00:00.039) 0:01:10.173 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 24 February 2024 19:40:30 +0000 (0:00:00.072) 0:01:10.245 ***** 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-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:43 Saturday 24 February 2024 19:40:31 +0000 (0:00:00.054) 0:01:10.300 ***** 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-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:58 Saturday 24 February 2024 19:40:31 +0000 (0:00:00.033) 0:01:10.334 ***** 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-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:74 Saturday 24 February 2024 19:40:31 +0000 (0:00:00.029) 0:01:10.363 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:88 Saturday 24 February 2024 19:40:31 +0000 (0:00:00.028) 0:01:10.391 ***** 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-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:99 Saturday 24 February 2024 19:40:31 +0000 (0:00:00.376) 0:01:10.768 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:108 Saturday 24 February 2024 19:40:31 +0000 (0:00:00.041) 0:01:10.810 ***** 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-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:116 Saturday 24 February 2024 19:40:31 +0000 (0:00:00.066) 0:01:10.876 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:125 Saturday 24 February 2024 19:40:31 +0000 (0:00:00.043) 0:01:10.919 ***** 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, 27d05c2e-416a-4efb-b74f-359c60a57c0c skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:137 Saturday 24 February 2024 19:40:32 +0000 (0:00:00.410) 0:01:11.330 ***** 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-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:143 Saturday 24 February 2024 19:40:32 +0000 (0:00:00.092) 0:01:11.422 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 27d05c2e-416a-4efb-b74f-359c60a57c0c skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:147 Saturday 24 February 2024 19:40:32 +0000 (0:00:00.045) 0:01:11.467 ***** 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, 27d05c2e-416a-4efb-b74f-359c60a57c0c skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 27d05c2e-416a-4efb-b74f-359c60a57c0c skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:152 Saturday 24 February 2024 19:40:32 +0000 (0:00:00.023) 0:01:11.491 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:158 Saturday 24 February 2024 19:40:32 +0000 (0:00:00.039) 0:01:11.530 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/remove+down_profile.yml:3 Saturday 24 February 2024 19:40:32 +0000 (0:00:00.223) 0:01:11.754 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 24 February 2024 19:40:32 +0000 (0:00:00.089) 0:01:11.843 ***** included: /WORKDIR/git-more-test-debugagbcf0zc/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-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 24 February 2024 19:40:32 +0000 (0:00:00.047) 0:01:11.891 ***** 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-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 24 February 2024 19:40:32 +0000 (0:00:00.059) 0:01: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-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 24 February 2024 19:40:32 +0000 (0:00:00.063) 0:01:12.013 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 24 February 2024 19:40:32 +0000 (0:00:00.025) 0:01:12.039 ***** 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-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 24 February 2024 19:40:34 +0000 (0:00:01.514) 0:01:13.553 ***** 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-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 24 February 2024 19:40:35 +0000 (0:00:01.009) 0:01:14.563 ***** 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-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 24 February 2024 19:40:35 +0000 (0:00:00.022) 0:01:14.586 ***** 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-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 24 February 2024 19:40:35 +0000 (0:00:00.024) 0:01:14.610 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 24 February 2024 19:40:35 +0000 (0:00:00.022) 0:01:14.632 ***** 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-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:43 Saturday 24 February 2024 19:40:35 +0000 (0:00:00.051) 0:01:14.684 ***** 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-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:58 Saturday 24 February 2024 19:40:35 +0000 (0:00:00.030) 0:01:14.714 ***** 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-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:74 Saturday 24 February 2024 19:40:35 +0000 (0:00:00.027) 0:01:14.742 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:88 Saturday 24 February 2024 19:40:35 +0000 (0:00:00.028) 0:01:14.770 ***** 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-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:99 Saturday 24 February 2024 19:40:35 +0000 (0:00:00.379) 0:01:15.150 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:108 Saturday 24 February 2024 19:40:35 +0000 (0:00:00.026) 0:01:15.177 ***** 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-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:116 Saturday 24 February 2024 19:40:35 +0000 (0:00:00.023) 0:01:15.200 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:125 Saturday 24 February 2024 19:40:35 +0000 (0:00:00.024) 0:01:15.224 ***** 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-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:137 Saturday 24 February 2024 19:40:36 +0000 (0:00:00.435) 0:01:15.659 ***** 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-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:143 Saturday 24 February 2024 19:40:36 +0000 (0:00:00.021) 0:01:15.681 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:147 Saturday 24 February 2024 19:40:36 +0000 (0:00:00.023) 0:01:15.705 ***** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "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-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:152 Saturday 24 February 2024 19:40:36 +0000 (0:00:00.022) 0:01:15.727 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:158 Saturday 24 February 2024 19:40:36 +0000 (0:00:00.021) 0:01:15.749 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/run_test.yml:30 Saturday 24 February 2024 19:40:36 +0000 (0:00:00.199) 0:01:15.949 ***** included: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/remove+down_profile.yml:3 Saturday 24 February 2024 19:40:36 +0000 (0:00:00.039) 0:01:15.989 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 24 February 2024 19:40:36 +0000 (0:00:00.035) 0:01:16.024 ***** included: /WORKDIR/git-more-test-debugagbcf0zc/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-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 24 February 2024 19:40:36 +0000 (0:00:00.067) 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 : Check if system is ostree] ****************** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 24 February 2024 19:40:36 +0000 (0:00:00.026) 0:01:16.118 ***** 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-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 24 February 2024 19:40:36 +0000 (0:00:00.019) 0:01:16.138 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 24 February 2024 19:40:36 +0000 (0:00:00.020) 0:01:16.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 : Check which packages are installed] ********* task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 24 February 2024 19:40:38 +0000 (0:00:01.493) 0:01:17.652 ***** 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-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 24 February 2024 19:40:39 +0000 (0:00:01.048) 0:01:18.700 ***** 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-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 24 February 2024 19:40:39 +0000 (0:00:00.024) 0:01:18.725 ***** 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-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 24 February 2024 19:40:39 +0000 (0:00:00.022) 0:01:18.747 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 24 February 2024 19:40:39 +0000 (0:00:00.023) 0:01:18.771 ***** 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-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:43 Saturday 24 February 2024 19:40:39 +0000 (0:00:00.065) 0:01:18.837 ***** 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-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:58 Saturday 24 February 2024 19:40:39 +0000 (0:00:00.021) 0:01:18.859 ***** 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-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:74 Saturday 24 February 2024 19:40:39 +0000 (0:00:00.028) 0:01:18.888 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:88 Saturday 24 February 2024 19:40:39 +0000 (0:00:00.025) 0:01:18.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 : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:99 Saturday 24 February 2024 19:40:40 +0000 (0:00:00.372) 0:01:19.286 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:108 Saturday 24 February 2024 19:40:40 +0000 (0:00:00.025) 0:01:19.311 ***** 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-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:116 Saturday 24 February 2024 19:40:40 +0000 (0:00:00.019) 0:01:19.331 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:125 Saturday 24 February 2024 19:40:40 +0000 (0:00:00.019) 0:01:19.351 ***** 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-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:137 Saturday 24 February 2024 19:40:40 +0000 (0:00:00.376) 0:01:19.727 ***** 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-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:143 Saturday 24 February 2024 19:40:40 +0000 (0:00:00.020) 0:01:19.748 ***** 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-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:147 Saturday 24 February 2024 19:40:40 +0000 (0:00:00.048) 0:01:19.797 ***** 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-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:152 Saturday 24 February 2024 19:40:40 +0000 (0:00:00.023) 0:01:19.820 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:158 Saturday 24 February 2024 19:40:40 +0000 (0:00:00.020) 0:01:19.841 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/run_test.yml:36 Saturday 24 February 2024 19:40:40 +0000 (0:00:00.206) 0:01:20.048 ***** included: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/assert_profile_absent.yml for sut included: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/get_NetworkManager_NVR.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/assert_profile_absent.yml:3 Saturday 24 February 2024 19:40:40 +0000 (0:00:00.044) 0:01:20.093 ***** included: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/get_profile_stat.yml:3 Saturday 24 February 2024 19:40:40 +0000 (0:00:00.037) 0:01:20.130 ***** 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-more-test-debugagbcf0zc/tests/playbooks/tasks/get_profile_stat.yml:9 Saturday 24 February 2024 19:40:40 +0000 (0:00:00.027) 0:01:20.158 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/get_profile_stat.yml:17 Saturday 24 February 2024 19:40:41 +0000 (0:00:00.205) 0:01:20.364 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/get_profile_stat.yml:25 Saturday 24 February 2024 19:40:41 +0000 (0:00:00.020) 0:01:20.384 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.019658", "end": "2024-02-24 19:40:41.331290", "rc": 1, "start": "2024-02-24 19:40:41.311632" } 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-more-test-debugagbcf0zc/tests/playbooks/tasks/get_profile_stat.yml:35 Saturday 24 February 2024 19:40:41 +0000 (0:00:00.227) 0:01:20.611 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/get_profile_stat.yml:49 Saturday 24 February 2024 19:40:41 +0000 (0:00:00.022) 0:01:20.633 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/get_profile_stat.yml:56 Saturday 24 February 2024 19:40:41 +0000 (0:00:00.021) 0:01:20.655 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/get_profile_stat.yml:62 Saturday 24 February 2024 19:40:41 +0000 (0:00:00.021) 0:01:20.677 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/get_profile_stat.yml:69 Saturday 24 February 2024 19:40:41 +0000 (0:00:00.021) 0:01:20.698 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/assert_profile_absent.yml:5 Saturday 24 February 2024 19:40:41 +0000 (0:00:00.046) 0:01:20.744 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/get_NetworkManager_NVR.yml:7 Saturday 24 February 2024 19:40:41 +0000 (0:00:00.023) 0:01:20.768 ***** ok: [sut] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.632878", "end": "2024-02-24 19:40:42.326721", "rc": 0, "start": "2024-02-24 19:40:41.693843" } STDOUT: NetworkManager-1.45.91-1.el9 TASK [Store NetworkManager version] ******************************************** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/get_NetworkManager_NVR.yml:14 Saturday 24 February 2024 19:40:42 +0000 (0:00:00.840) 0:01:21.608 ***** ok: [sut] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.45.91-1.el9" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/get_NetworkManager_NVR.yml:18 Saturday 24 February 2024 19:40:42 +0000 (0:00:00.022) 0:01:21.630 ***** ok: [sut] => { "networkmanager_nvr": "NetworkManager-1.45.91-1.el9" } TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/run_test.yml:42 Saturday 24 February 2024 19:40:42 +0000 (0:00:00.021) 0:01:21.652 ***** included: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/assert_device_absent.yml:3 Saturday 24 February 2024 19:40:42 +0000 (0:00:00.046) 0:01:21.698 ***** included: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 24 February 2024 19:40:42 +0000 (0:00:00.035) 0:01:21.734 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/assert_device_absent.yml:5 Saturday 24 February 2024 19:40:42 +0000 (0:00:00.204) 0:01:21.938 ***** 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-more-test-debugagbcf0zc/tests/playbooks/tasks/run_test.yml:47 Saturday 24 February 2024 19:40:42 +0000 (0:00:00.023) 0:01:21.962 ***** 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-more-test-debugagbcf0zc/tests/playbooks/tasks/run_test.yml:66 Saturday 24 February 2024 19:40:42 +0000 (0:00:00.020) 0:01:21.982 ***** included: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/cleanup_profile+device.yml for sut included: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/check_network_dns.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 24 February 2024 19:40:42 +0000 (0:00:00.067) 0:01:22.049 ***** 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.039354", "end": "2024-02-24 19:40:43.017844", "rc": 1, "start": "2024-02-24 19:40:42.978490" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Check routes and DNS] **************************************************** task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/check_network_dns.yml:6 Saturday 24 February 2024 19:40:43 +0000 (0:00:00.248) 0:01:22.298 ***** ok: [sut] => { "changed": false, "cmd": "set -euo pipefail\necho IP\nip a\necho IP ROUTE\nip route\necho IP -6 ROUTE\nip -6 route\necho RESOLV\nif [ -f /etc/resolv.conf ]; then\n cat /etc/resolv.conf\nelse\n echo NO /etc/resolv.conf\n ls -alrtF /etc/resolv.* || :\nfi\n", "delta": "0:00:00.008863", "end": "2024-02-24 19:40:43.228471", "rc": 0, "start": "2024-02-24 19:40:43.219608" } STDOUT: IP 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: eth0: mtu 9001 qdisc mq state UP group default qlen 1000 link/ether 0e:67:1e:9c:f0:e1 brd ff:ff:ff:ff:ff:ff altname enX0 inet 10.31.40.139/22 brd 10.31.43.255 scope global dynamic noprefixroute eth0 valid_lft 2795sec preferred_lft 2795sec inet6 fe80::c67:1eff:fe9c:f0e1/64 scope link valid_lft forever preferred_lft forever IP ROUTE default via 10.31.40.1 dev eth0 proto dhcp src 10.31.40.139 metric 100 10.31.40.0/22 dev eth0 proto kernel scope link src 10.31.40.139 metric 100 IP -6 ROUTE ::1 dev lo proto kernel metric 256 pref medium fe80::/64 dev eth0 proto kernel metric 256 pref medium RESOLV # Generated by NetworkManager search us-east-1.aws.redhat.com testing-farm nameserver 10.29.169.13 nameserver 10.29.170.12 nameserver 10.2.32.1 TASK [Verify DNS and network connectivity] ************************************* task path: /WORKDIR/git-more-test-debugagbcf0zc/tests/playbooks/tasks/check_network_dns.yml:24 Saturday 24 February 2024 19:40:43 +0000 (0:00:00.210) 0:01:22.509 ***** ok: [sut] => { "changed": false, "cmd": "set -euo pipefail\necho CHECK DNS AND CONNECTIVITY\nfor host in mirrors.fedoraproject.org mirrors.centos.org; do\n if ! getent hosts \"$host\"; then\n echo FAILED to lookup host \"$host\"\n exit 1\n fi\n if ! curl -o /dev/null https://\"$host\"; then\n echo FAILED to contact host \"$host\"\n exit 1\n fi\ndone\n", "delta": "0:00:00.251744", "end": "2024-02-24 19:40:43.687491", "rc": 0, "start": "2024-02-24 19:40:43.435747" } STDOUT: CHECK DNS AND CONNECTIVITY 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org STDERR: % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 305 100 305 0 0 2019 0 --:--:-- --:--:-- --:--:-- 2006 % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 291 100 291 0 0 3932 0 --:--:-- --:--:-- --:--:-- 3932 META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=319 changed=10 unreachable=0 failed=0 skipped=252 rescued=0 ignored=11 Saturday 24 February 2024 19:40:43 +0000 (0:00:00.447) 0:01:22.956 ***** =============================================================================== linux-system-roles.network : Configure networking connection profiles --- 2.27s /WORKDIR/git-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:125 linux-system-roles.network : Enable and start NetworkManager ------------ 2.13s /WORKDIR/git-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:88 linux-system-roles.network : Configure networking connection profiles --- 1.74s /WORKDIR/git-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:125 linux-system-roles.network : Check which services are running ----------- 1.57s /WORKDIR/git-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.57s /WORKDIR/git-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Enable and start NetworkManager ------------ 1.56s /WORKDIR/git-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:88 linux-system-roles.network : Check which services are running ----------- 1.54s /WORKDIR/git-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.53s /WORKDIR/git-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.53s /WORKDIR/git-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.52s /WORKDIR/git-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.52s /WORKDIR/git-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.52s /WORKDIR/git-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.51s /WORKDIR/git-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.51s /WORKDIR/git-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.50s /WORKDIR/git-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.50s /WORKDIR/git-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.49s /WORKDIR/git-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.49s /WORKDIR/git-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.49s /WORKDIR/git-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Configure networking connection profiles --- 1.26s /WORKDIR/git-more-test-debugagbcf0zc/tests/roles/linux-system-roles.network/tasks/main.yml:125 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- [DEPRECATION WARNING]: Distribution centos 9 on host sut should use /usr/libexec/platform-python, but is using /usr/bin/python for backward compatibility with prior Ansible releases. A future Ansible release will default to using the discovered platform python for this host. See https://docs .ansible.com/ansible/2.9/reference_appendices/interpreter_discovery.html for more information. This feature will be removed in version 2.12. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. [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. ---^---^---^---^---^---