# 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-debugrndfhkpu/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-debugrndfhkpu/tests/tests_states_nm.yml:6 Saturday 24 February 2024 19:07:00 +0000 (0:00:00.012) 0:00:00.012 ***** ok: [sut] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-more-test-debugrndfhkpu/tests/tests_states_nm.yml:9 Saturday 24 February 2024 19:07:01 +0000 (0:00:00.992) 0:00:01.005 ***** included: /WORKDIR/git-more-test-debugrndfhkpu/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-debugrndfhkpu/tests/tasks/el_repo_setup.yml:3 Saturday 24 February 2024 19:07:01 +0000 (0:00:00.025) 0:00:01.030 ***** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-more-test-debugrndfhkpu/tests/tasks/el_repo_setup.yml:19 Saturday 24 February 2024 19:07:02 +0000 (0:00:00.533) 0:00:01.563 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-more-test-debugrndfhkpu/tests/tasks/el_repo_setup.yml:24 Saturday 24 February 2024 19:07:02 +0000 (0:00:00.315) 0:00:01.879 ***** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-more-test-debugrndfhkpu/tests/tasks/el_repo_setup.yml:28 Saturday 24 February 2024 19:07:02 +0000 (0:00:00.030) 0:00:01.909 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-more-test-debugrndfhkpu/tests/tasks/el_repo_setup.yml:53 Saturday 24 February 2024 19:07:02 +0000 (0:00:00.030) 0:00:01.940 ***** included: /WORKDIR/git-more-test-debugrndfhkpu/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 38] ********************************************************** task path: /WORKDIR/git-more-test-debugrndfhkpu/tests/tasks/enable_epel.yml:8 Saturday 24 February 2024 19:07:02 +0000 (0:00:00.048) 0:00:01.988 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Install yum-utils package] *********************************************** task path: /WORKDIR/git-more-test-debugrndfhkpu/tests/tasks/enable_epel.yml:24 Saturday 24 February 2024 19:07:02 +0000 (0:00:00.027) 0:00:02.016 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-more-test-debugrndfhkpu/tests/tasks/enable_epel.yml:30 Saturday 24 February 2024 19:07:02 +0000 (0:00:00.048) 0:00:02.064 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-more-test-debugrndfhkpu/tests/tasks/enable_epel.yml:35 Saturday 24 February 2024 19:07:02 +0000 (0:00:00.032) 0:00:02.096 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-more-test-debugrndfhkpu/tests/tasks/enable_epel.yml:40 Saturday 24 February 2024 19:07:02 +0000 (0:00:00.036) 0:00:02.133 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /WORKDIR/git-more-test-debugrndfhkpu/tests/tests_states_nm.yml:11 Saturday 24 February 2024 19:07:02 +0000 (0:00:00.039) 0:00:02.172 ***** 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-debugrndfhkpu/tests/playbooks/tests_states.yml:3 Saturday 24 February 2024 19:07:02 +0000 (0:00:00.052) 0:00:02.225 ***** ok: [sut] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-more-test-debugrndfhkpu/tests/playbooks/tests_states.yml:11 Saturday 24 February 2024 19:07:03 +0000 (0:00:00.777) 0:00:03.003 ***** ok: [sut] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-more-test-debugrndfhkpu/tests/playbooks/tests_states.yml:22 Saturday 24 February 2024 19:07:03 +0000 (0:00:00.027) 0:00:03.030 ***** included: /WORKDIR/git-more-test-debugrndfhkpu/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile] ******************************************** task path: /WORKDIR/git-more-test-debugrndfhkpu/tests/playbooks/tasks/run_test.yml:5 Saturday 24 February 2024 19:07:03 +0000 (0:00:00.016) 0:00:03.046 ***** ok: [sut] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-more-test-debugrndfhkpu/tests/playbooks/tasks/run_test.yml:9 Saturday 24 February 2024 19:07:03 +0000 (0:00:00.014) 0:00:03.060 ***** 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-debugrndfhkpu/tests/playbooks/tasks/run_test.yml:21 Saturday 24 February 2024 19:07:03 +0000 (0:00:00.036) 0:00:03.096 ***** included: /WORKDIR/git-more-test-debugrndfhkpu/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-more-test-debugrndfhkpu/tests/playbooks/tasks/show_interfaces.yml:3 Saturday 24 February 2024 19:07:03 +0000 (0:00:00.029) 0:00:03.126 ***** included: /WORKDIR/git-more-test-debugrndfhkpu/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-more-test-debugrndfhkpu/tests/playbooks/tasks/get_current_interfaces.yml:3 Saturday 24 February 2024 19:07:03 +0000 (0:00:00.025) 0:00:03.151 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.004915", "end": "2024-02-24 19:07:05.150315", "rc": 0, "start": "2024-02-24 19:07:04.145400" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-more-test-debugrndfhkpu/tests/playbooks/tasks/get_current_interfaces.yml:9 Saturday 24 February 2024 19:07:05 +0000 (0:00:01.279) 0:00:04.430 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-more-test-debugrndfhkpu/tests/playbooks/tasks/show_interfaces.yml:5 Saturday 24 February 2024 19:07:05 +0000 (0:00:00.011) 0:00:04.442 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-more-test-debugrndfhkpu/tests/playbooks/tasks/run_test.yml:24 Saturday 24 February 2024 19:07:05 +0000 (0:00:00.011) 0:00:04.454 ***** included: /WORKDIR/git-more-test-debugrndfhkpu/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-more-test-debugrndfhkpu/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-more-test-debugrndfhkpu/tests/playbooks/tasks/delete_interface.yml:3 Saturday 24 February 2024 19:07:05 +0000 (0:00:00.020) 0:00:04.475 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.008287", "end": "2024-02-24 19:07:05.403194", "rc": 1, "start": "2024-02-24 19:07:05.394907" } 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-debugrndfhkpu/tests/playbooks/tasks/assert_device_absent.yml:3 Saturday 24 February 2024 19:07:05 +0000 (0:00:00.211) 0:00:04.687 ***** included: /WORKDIR/git-more-test-debugrndfhkpu/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-more-test-debugrndfhkpu/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 24 February 2024 19:07:05 +0000 (0:00:00.017) 0:00:04.705 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-more-test-debugrndfhkpu/tests/playbooks/tasks/assert_device_absent.yml:5 Saturday 24 February 2024 19:07:05 +0000 (0:00:00.212) 0:00:04.917 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-more-test-debugrndfhkpu/tests/playbooks/tasks/run_test.yml:30 Saturday 24 February 2024 19:07:05 +0000 (0:00:00.020) 0:00:04.938 ***** included: /WORKDIR/git-more-test-debugrndfhkpu/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-more-test-debugrndfhkpu/tests/playbooks/tasks/create_bridge_profile.yml:3 Saturday 24 February 2024 19:07:05 +0000 (0:00:00.026) 0:00:04.964 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-more-test-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 24 February 2024 19:07:05 +0000 (0:00:00.073) 0:00:05.038 ***** included: /WORKDIR/git-more-test-debugrndfhkpu/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-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 24 February 2024 19:07:05 +0000 (0:00:00.069) 0:00:05.107 ***** 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-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 24 February 2024 19:07:05 +0000 (0:00:00.012) 0:00:05.120 ***** 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-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 24 February 2024 19:07:05 +0000 (0:00:00.010) 0:00:05.130 ***** 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-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 24 February 2024 19:07:05 +0000 (0:00:00.015) 0:00:05.146 ***** 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-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 24 February 2024 19:07:08 +0000 (0:00:02.254) 0:00:07.400 ***** 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-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 24 February 2024 19:07:09 +0000 (0:00:01.106) 0:00:08.507 ***** 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-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 24 February 2024 19:07:09 +0000 (0:00:00.039) 0:00:08.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-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 24 February 2024 19:07:09 +0000 (0:00:00.028) 0:00:08.574 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-more-test-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 24 February 2024 19:07:09 +0000 (0:00:00.023) 0:00:08.597 ***** 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-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/main.yml:43 Saturday 24 February 2024 19:07:09 +0000 (0:00:00.045) 0:00:08.643 ***** 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-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/main.yml:58 Saturday 24 February 2024 19:07:09 +0000 (0:00:00.024) 0:00:08.667 ***** 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-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/main.yml:74 Saturday 24 February 2024 19:07:09 +0000 (0:00:00.024) 0:00:08.692 ***** 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-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/main.yml:88 Saturday 24 February 2024 19:07:09 +0000 (0:00:00.028) 0:00:08.720 ***** 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-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/main.yml:99 Saturday 24 February 2024 19:07:10 +0000 (0:00:00.742) 0:00:09.463 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-more-test-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/main.yml:108 Saturday 24 February 2024 19:07:10 +0000 (0:00:00.037) 0:00:09.500 ***** 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-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/main.yml:116 Saturday 24 February 2024 19:07:10 +0000 (0:00:00.024) 0:00:09.525 ***** 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-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/main.yml:125 Saturday 24 February 2024 19:07:10 +0000 (0:00:00.054) 0:00:09.579 ***** 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, 3b707201-dd73-4369-a946-aa9ea3c85241 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-more-test-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/main.yml:137 Saturday 24 February 2024 19:07:11 +0000 (0:00:00.724) 0:00:10.304 ***** 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-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/main.yml:143 Saturday 24 February 2024 19:07:11 +0000 (0:00:00.023) 0:00:10.328 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 3b707201-dd73-4369-a946-aa9ea3c85241" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-more-test-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/main.yml:147 Saturday 24 February 2024 19:07:11 +0000 (0:00:00.025) 0:00:10.354 ***** 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, 3b707201-dd73-4369-a946-aa9ea3c85241\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 3b707201-dd73-4369-a946-aa9ea3c85241" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-more-test-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/main.yml:152 Saturday 24 February 2024 19:07:11 +0000 (0:00:00.025) 0:00:10.379 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-more-test-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/main.yml:158 Saturday 24 February 2024 19:07:11 +0000 (0:00:00.024) 0:00:10.404 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-more-test-debugrndfhkpu/tests/playbooks/tasks/create_bridge_profile.yml:14 Saturday 24 February 2024 19:07:11 +0000 (0:00:00.286) 0:00:10.691 ***** 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, 3b707201-dd73-4369-a946-aa9ea3c85241\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 3b707201-dd73-4369-a946-aa9ea3c85241" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-more-test-debugrndfhkpu/tests/playbooks/tasks/run_test.yml:36 Saturday 24 February 2024 19:07:11 +0000 (0:00:00.039) 0:00:10.730 ***** included: /WORKDIR/git-more-test-debugrndfhkpu/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-more-test-debugrndfhkpu/tests/playbooks/tasks/assert_profile_present.yml:3 Saturday 24 February 2024 19:07:11 +0000 (0:00:00.046) 0:00:10.776 ***** included: /WORKDIR/git-more-test-debugrndfhkpu/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-debugrndfhkpu/tests/playbooks/tasks/get_profile_stat.yml:3 Saturday 24 February 2024 19:07:11 +0000 (0:00:00.047) 0:00:10.824 ***** 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-debugrndfhkpu/tests/playbooks/tasks/get_profile_stat.yml:9 Saturday 24 February 2024 19:07:11 +0000 (0:00:00.024) 0:00:10.848 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-more-test-debugrndfhkpu/tests/playbooks/tasks/get_profile_stat.yml:17 Saturday 24 February 2024 19:07:11 +0000 (0:00:00.265) 0:00:11.114 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-more-test-debugrndfhkpu/tests/playbooks/tasks/get_profile_stat.yml:25 Saturday 24 February 2024 19:07:11 +0000 (0:00:00.050) 0:00:11.165 ***** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022586", "end": "2024-02-24 19:07:12.157323", "rc": 0, "start": "2024-02-24 19:07:12.134737" } 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-debugrndfhkpu/tests/playbooks/tasks/get_profile_stat.yml:35 Saturday 24 February 2024 19:07:12 +0000 (0:00:00.292) 0:00:11.457 ***** 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-debugrndfhkpu/tests/playbooks/tasks/get_profile_stat.yml:49 Saturday 24 February 2024 19:07:12 +0000 (0:00:00.029) 0:00:11.487 ***** 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-debugrndfhkpu/tests/playbooks/tasks/get_profile_stat.yml:56 Saturday 24 February 2024 19:07:12 +0000 (0:00:00.026) 0:00:11.513 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-more-test-debugrndfhkpu/tests/playbooks/tasks/get_profile_stat.yml:62 Saturday 24 February 2024 19:07:12 +0000 (0:00:00.026) 0:00:11.540 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-more-test-debugrndfhkpu/tests/playbooks/tasks/get_profile_stat.yml:69 Saturday 24 February 2024 19:07:12 +0000 (0:00:00.030) 0:00:11.571 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-more-test-debugrndfhkpu/tests/playbooks/tasks/assert_profile_present.yml:5 Saturday 24 February 2024 19:07:12 +0000 (0:00:00.026) 0:00:11.597 ***** 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-debugrndfhkpu/tests/playbooks/tasks/assert_profile_present.yml:10 Saturday 24 February 2024 19:07:12 +0000 (0:00:00.037) 0:00:11.635 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-more-test-debugrndfhkpu/tests/playbooks/tasks/assert_profile_present.yml:15 Saturday 24 February 2024 19:07:12 +0000 (0:00:00.063) 0:00:11.698 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-more-test-debugrndfhkpu/tests/playbooks/tasks/run_test.yml:42 Saturday 24 February 2024 19:07:12 +0000 (0:00:00.035) 0:00:11.734 ***** included: /WORKDIR/git-more-test-debugrndfhkpu/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-more-test-debugrndfhkpu/tests/playbooks/tasks/assert_device_present.yml:3 Saturday 24 February 2024 19:07:12 +0000 (0:00:00.053) 0:00:11.787 ***** included: /WORKDIR/git-more-test-debugrndfhkpu/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-more-test-debugrndfhkpu/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 24 February 2024 19:07:12 +0000 (0:00:00.042) 0:00:11.830 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1708801630.9514735, "block_size": 4096, "blocks": 0, "ctime": 1708801630.9514735, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 43043, "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": 1708801630.9514735, "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-debugrndfhkpu/tests/playbooks/tasks/assert_device_present.yml:5 Saturday 24 February 2024 19:07:12 +0000 (0:00:00.254) 0:00:12.084 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can create a profile'] ******************************** task path: /WORKDIR/git-more-test-debugrndfhkpu/tests/playbooks/tasks/run_test.yml:47 Saturday 24 February 2024 19:07:12 +0000 (0:00:00.031) 0:00:12.116 ***** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-more-test-debugrndfhkpu/tests/playbooks/tasks/run_test.yml:66 Saturday 24 February 2024 19:07:12 +0000 (0:00:00.034) 0:00:12.151 ***** included: /WORKDIR/git-more-test-debugrndfhkpu/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-more-test-debugrndfhkpu/tests/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 24 February 2024 19:07:12 +0000 (0:00:00.056) 0:00:12.207 ***** 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.059859", "end": "2024-02-24 19:07:13.198747", "rc": 1, "start": "2024-02-24 19:07:13.138888" } STDOUT: Connection 'statebr' (3b707201-dd73-4369-a946-aa9ea3c85241) successfully deleted. STDERR: Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-more-test-debugrndfhkpu/tests/playbooks/tests_states.yml:45 Saturday 24 February 2024 19:07:13 +0000 (0:00:00.290) 0:00:12.498 ***** included: /WORKDIR/git-more-test-debugrndfhkpu/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile without autoconnect] ************************ task path: /WORKDIR/git-more-test-debugrndfhkpu/tests/playbooks/tasks/run_test.yml:5 Saturday 24 February 2024 19:07:13 +0000 (0:00:00.056) 0:00:12.554 ***** ok: [sut] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-more-test-debugrndfhkpu/tests/playbooks/tasks/run_test.yml:9 Saturday 24 February 2024 19:07:13 +0000 (0:00:00.048) 0:00:12.602 ***** 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-debugrndfhkpu/tests/playbooks/tasks/run_test.yml:21 Saturday 24 February 2024 19:07:13 +0000 (0:00:00.103) 0:00:12.706 ***** included: /WORKDIR/git-more-test-debugrndfhkpu/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-more-test-debugrndfhkpu/tests/playbooks/tasks/show_interfaces.yml:3 Saturday 24 February 2024 19:07:13 +0000 (0:00:00.054) 0:00:12.761 ***** included: /WORKDIR/git-more-test-debugrndfhkpu/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-more-test-debugrndfhkpu/tests/playbooks/tasks/get_current_interfaces.yml:3 Saturday 24 February 2024 19:07:13 +0000 (0:00:00.045) 0:00:12.806 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.004966", "end": "2024-02-24 19:07:14.738084", "rc": 0, "start": "2024-02-24 19:07:13.733118" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-more-test-debugrndfhkpu/tests/playbooks/tasks/get_current_interfaces.yml:9 Saturday 24 February 2024 19:07:14 +0000 (0:00:01.254) 0:00:14.061 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-more-test-debugrndfhkpu/tests/playbooks/tasks/show_interfaces.yml:5 Saturday 24 February 2024 19:07:14 +0000 (0:00:00.041) 0:00:14.103 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-more-test-debugrndfhkpu/tests/playbooks/tasks/run_test.yml:24 Saturday 24 February 2024 19:07:14 +0000 (0:00:00.031) 0:00:14.135 ***** included: /WORKDIR/git-more-test-debugrndfhkpu/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-more-test-debugrndfhkpu/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-more-test-debugrndfhkpu/tests/playbooks/tasks/delete_interface.yml:3 Saturday 24 February 2024 19:07:14 +0000 (0:00:00.053) 0:00:14.188 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.006740", "end": "2024-02-24 19:07:15.117277", "rc": 1, "start": "2024-02-24 19:07:15.110537" } 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-debugrndfhkpu/tests/playbooks/tasks/assert_device_absent.yml:3 Saturday 24 February 2024 19:07:15 +0000 (0:00:00.217) 0:00:14.405 ***** included: /WORKDIR/git-more-test-debugrndfhkpu/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-more-test-debugrndfhkpu/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 24 February 2024 19:07:15 +0000 (0:00:00.047) 0:00:14.453 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-more-test-debugrndfhkpu/tests/playbooks/tasks/assert_device_absent.yml:5 Saturday 24 February 2024 19:07:15 +0000 (0:00:00.262) 0:00:14.715 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-more-test-debugrndfhkpu/tests/playbooks/tasks/run_test.yml:30 Saturday 24 February 2024 19:07:15 +0000 (0:00:00.028) 0:00:14.744 ***** included: /WORKDIR/git-more-test-debugrndfhkpu/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-more-test-debugrndfhkpu/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Saturday 24 February 2024 19:07:15 +0000 (0:00:00.046) 0:00:14.791 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-more-test-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 24 February 2024 19:07:15 +0000 (0:00:00.076) 0:00:14.867 ***** included: /WORKDIR/git-more-test-debugrndfhkpu/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-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 24 February 2024 19:07:15 +0000 (0:00:00.052) 0:00:14.919 ***** 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-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 24 February 2024 19:07:15 +0000 (0:00:00.033) 0:00:14.953 ***** 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-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 24 February 2024 19:07:15 +0000 (0:00:00.027) 0:00:14.980 ***** 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-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 24 February 2024 19:07:15 +0000 (0:00:00.024) 0:00:15.005 ***** 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-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 24 February 2024 19:07:17 +0000 (0:00:02.159) 0:00:17.165 ***** 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-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 24 February 2024 19:07:18 +0000 (0:00:00.959) 0:00:18.124 ***** 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-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 24 February 2024 19:07:18 +0000 (0:00:00.032) 0:00:18.156 ***** 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-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 24 February 2024 19:07:18 +0000 (0:00:00.024) 0:00:18.180 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-more-test-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 24 February 2024 19:07:18 +0000 (0:00:00.024) 0:00:18.205 ***** 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-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/main.yml:43 Saturday 24 February 2024 19:07:19 +0000 (0:00:00.062) 0:00:18.267 ***** 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-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/main.yml:58 Saturday 24 February 2024 19:07:19 +0000 (0:00:00.025) 0:00:18.293 ***** 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-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/main.yml:74 Saturday 24 February 2024 19:07:19 +0000 (0:00:00.029) 0:00:18.323 ***** 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-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/main.yml:88 Saturday 24 February 2024 19:07:19 +0000 (0:00:00.046) 0:00:18.369 ***** 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-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/main.yml:99 Saturday 24 February 2024 19:07:19 +0000 (0:00:00.602) 0:00:18.972 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-more-test-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/main.yml:108 Saturday 24 February 2024 19:07:19 +0000 (0:00:00.053) 0:00:19.025 ***** 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-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/main.yml:116 Saturday 24 February 2024 19:07:19 +0000 (0:00:00.076) 0:00:19.102 ***** 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-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/main.yml:125 Saturday 24 February 2024 19:07:19 +0000 (0:00:00.025) 0:00:19.127 ***** 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, 44c03dc7-a1eb-4446-ba38-b153ceca076e TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-more-test-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/main.yml:137 Saturday 24 February 2024 19:07:20 +0000 (0:00:00.402) 0:00:19.529 ***** 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-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/main.yml:143 Saturday 24 February 2024 19:07:20 +0000 (0:00:00.027) 0:00:19.556 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 44c03dc7-a1eb-4446-ba38-b153ceca076e" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-more-test-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/main.yml:147 Saturday 24 February 2024 19:07:20 +0000 (0:00:00.027) 0:00:19.583 ***** 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, 44c03dc7-a1eb-4446-ba38-b153ceca076e\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 44c03dc7-a1eb-4446-ba38-b153ceca076e" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-more-test-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/main.yml:152 Saturday 24 February 2024 19:07:20 +0000 (0:00:00.026) 0:00:19.610 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-more-test-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/main.yml:158 Saturday 24 February 2024 19:07:20 +0000 (0:00:00.038) 0:00:19.648 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-more-test-debugrndfhkpu/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Saturday 24 February 2024 19:07:20 +0000 (0:00:00.213) 0:00:19.862 ***** 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, 44c03dc7-a1eb-4446-ba38-b153ceca076e\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 44c03dc7-a1eb-4446-ba38-b153ceca076e" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-more-test-debugrndfhkpu/tests/playbooks/tasks/run_test.yml:36 Saturday 24 February 2024 19:07:20 +0000 (0:00:00.028) 0:00:19.890 ***** included: /WORKDIR/git-more-test-debugrndfhkpu/tests/playbooks/tasks/assert_device_absent.yml for sut included: /WORKDIR/git-more-test-debugrndfhkpu/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-more-test-debugrndfhkpu/tests/playbooks/tasks/assert_device_absent.yml:3 Saturday 24 February 2024 19:07:20 +0000 (0:00:00.070) 0:00:19.960 ***** included: /WORKDIR/git-more-test-debugrndfhkpu/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-more-test-debugrndfhkpu/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 24 February 2024 19:07:20 +0000 (0:00:00.060) 0:00:20.021 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-more-test-debugrndfhkpu/tests/playbooks/tasks/assert_device_absent.yml:5 Saturday 24 February 2024 19:07:21 +0000 (0:00:00.243) 0:00:20.264 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-more-test-debugrndfhkpu/tests/playbooks/tasks/assert_profile_present.yml:3 Saturday 24 February 2024 19:07:21 +0000 (0:00:00.112) 0:00:20.377 ***** included: /WORKDIR/git-more-test-debugrndfhkpu/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-debugrndfhkpu/tests/playbooks/tasks/get_profile_stat.yml:3 Saturday 24 February 2024 19:07:21 +0000 (0:00:00.043) 0:00:20.420 ***** 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-debugrndfhkpu/tests/playbooks/tasks/get_profile_stat.yml:9 Saturday 24 February 2024 19:07:21 +0000 (0:00:00.027) 0:00:20.447 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-more-test-debugrndfhkpu/tests/playbooks/tasks/get_profile_stat.yml:17 Saturday 24 February 2024 19:07:21 +0000 (0:00:00.212) 0:00:20.660 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-more-test-debugrndfhkpu/tests/playbooks/tasks/get_profile_stat.yml:25 Saturday 24 February 2024 19:07:21 +0000 (0:00:00.026) 0:00:20.686 ***** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022337", "end": "2024-02-24 19:07:21.628676", "rc": 0, "start": "2024-02-24 19:07:21.606339" } 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-debugrndfhkpu/tests/playbooks/tasks/get_profile_stat.yml:35 Saturday 24 February 2024 19:07:21 +0000 (0:00:00.231) 0:00:20.917 ***** 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-debugrndfhkpu/tests/playbooks/tasks/get_profile_stat.yml:49 Saturday 24 February 2024 19:07:21 +0000 (0:00:00.025) 0:00:20.943 ***** 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-debugrndfhkpu/tests/playbooks/tasks/get_profile_stat.yml:56 Saturday 24 February 2024 19:07:21 +0000 (0:00:00.023) 0:00:20.966 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-more-test-debugrndfhkpu/tests/playbooks/tasks/get_profile_stat.yml:62 Saturday 24 February 2024 19:07:21 +0000 (0:00:00.023) 0:00:20.990 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-more-test-debugrndfhkpu/tests/playbooks/tasks/get_profile_stat.yml:69 Saturday 24 February 2024 19:07:21 +0000 (0:00:00.027) 0:00:21.017 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-more-test-debugrndfhkpu/tests/playbooks/tasks/assert_profile_present.yml:5 Saturday 24 February 2024 19:07:21 +0000 (0:00:00.023) 0:00:21.040 ***** 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-debugrndfhkpu/tests/playbooks/tasks/assert_profile_present.yml:10 Saturday 24 February 2024 19:07:21 +0000 (0:00:00.025) 0:00:21.066 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-more-test-debugrndfhkpu/tests/playbooks/tasks/assert_profile_present.yml:15 Saturday 24 February 2024 19:07:21 +0000 (0:00:00.026) 0:00:21.092 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-more-test-debugrndfhkpu/tests/playbooks/tasks/run_test.yml:42 Saturday 24 February 2024 19:07:21 +0000 (0:00:00.087) 0:00:21.180 ***** TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /WORKDIR/git-more-test-debugrndfhkpu/tests/playbooks/tasks/run_test.yml:47 Saturday 24 February 2024 19:07:21 +0000 (0:00:00.044) 0:00:21.225 ***** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-more-test-debugrndfhkpu/tests/playbooks/tasks/run_test.yml:66 Saturday 24 February 2024 19:07:22 +0000 (0:00:00.042) 0:00:21.267 ***** included: /WORKDIR/git-more-test-debugrndfhkpu/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-more-test-debugrndfhkpu/tests/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 24 February 2024 19:07:22 +0000 (0:00:00.065) 0:00:21.332 ***** 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.042749", "end": "2024-02-24 19:07:22.301575", "rc": 1, "start": "2024-02-24 19:07:22.258826" } STDOUT: Connection 'statebr' (44c03dc7-a1eb-4446-ba38-b153ceca076e) successfully deleted. STDERR: Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-more-test-debugrndfhkpu/tests/playbooks/tests_states.yml:65 Saturday 24 February 2024 19:07:22 +0000 (0:00:00.261) 0:00:21.594 ***** included: /WORKDIR/git-more-test-debugrndfhkpu/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can activate an existing profile] ******************************** task path: /WORKDIR/git-more-test-debugrndfhkpu/tests/playbooks/tasks/run_test.yml:5 Saturday 24 February 2024 19:07:22 +0000 (0:00:00.041) 0:00:21.635 ***** ok: [sut] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-more-test-debugrndfhkpu/tests/playbooks/tasks/run_test.yml:9 Saturday 24 February 2024 19:07:22 +0000 (0:00:00.023) 0:00:21.658 ***** 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-debugrndfhkpu/tests/playbooks/tasks/run_test.yml:21 Saturday 24 February 2024 19:07:22 +0000 (0:00:00.047) 0:00:21.705 ***** included: /WORKDIR/git-more-test-debugrndfhkpu/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-more-test-debugrndfhkpu/tests/playbooks/tasks/show_interfaces.yml:3 Saturday 24 February 2024 19:07:22 +0000 (0:00:00.040) 0:00:21.746 ***** included: /WORKDIR/git-more-test-debugrndfhkpu/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-more-test-debugrndfhkpu/tests/playbooks/tasks/get_current_interfaces.yml:3 Saturday 24 February 2024 19:07:22 +0000 (0:00:00.039) 0:00:21.785 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003743", "end": "2024-02-24 19:07:22.707894", "rc": 0, "start": "2024-02-24 19:07:22.704151" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-more-test-debugrndfhkpu/tests/playbooks/tasks/get_current_interfaces.yml:9 Saturday 24 February 2024 19:07:22 +0000 (0:00:00.241) 0:00:22.026 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-more-test-debugrndfhkpu/tests/playbooks/tasks/show_interfaces.yml:5 Saturday 24 February 2024 19:07:22 +0000 (0:00:00.044) 0:00:22.071 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-more-test-debugrndfhkpu/tests/playbooks/tasks/run_test.yml:24 Saturday 24 February 2024 19:07:22 +0000 (0:00:00.029) 0:00:22.100 ***** included: /WORKDIR/git-more-test-debugrndfhkpu/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-more-test-debugrndfhkpu/tests/playbooks/tasks/create_bridge_profile.yml:3 Saturday 24 February 2024 19:07:22 +0000 (0:00:00.052) 0:00:22.152 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-more-test-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 24 February 2024 19:07:22 +0000 (0:00:00.041) 0:00:22.194 ***** included: /WORKDIR/git-more-test-debugrndfhkpu/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-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 24 February 2024 19:07:22 +0000 (0:00:00.061) 0:00:22.255 ***** 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-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 24 February 2024 19:07:23 +0000 (0:00:00.039) 0:00:22.294 ***** 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-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 24 February 2024 19:07:23 +0000 (0:00:00.043) 0:00:22.338 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-more-test-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 24 February 2024 19:07:23 +0000 (0:00:00.028) 0:00:22.366 ***** 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-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 24 February 2024 19:07:25 +0000 (0:00:02.246) 0:00:24.613 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-more-test-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 24 February 2024 19:07:26 +0000 (0:00:00.971) 0:00:25.584 ***** 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-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 24 February 2024 19:07:26 +0000 (0:00:00.051) 0:00:25.636 ***** 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-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 24 February 2024 19:07:26 +0000 (0:00:00.046) 0:00:25.682 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-more-test-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 24 February 2024 19:07:26 +0000 (0:00:00.049) 0:00:25.732 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-more-test-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/main.yml:43 Saturday 24 February 2024 19:07:26 +0000 (0:00:00.120) 0:00:25.852 ***** 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-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/main.yml:58 Saturday 24 February 2024 19:07:26 +0000 (0:00:00.060) 0:00:25.913 ***** 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-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/main.yml:74 Saturday 24 February 2024 19:07:26 +0000 (0:00:00.046) 0:00:25.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-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/main.yml:88 Saturday 24 February 2024 19:07:26 +0000 (0:00:00.045) 0:00:26.004 ***** 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-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/main.yml:99 Saturday 24 February 2024 19:07:27 +0000 (0:00:00.587) 0:00:26.591 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-more-test-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/main.yml:108 Saturday 24 February 2024 19:07:27 +0000 (0:00:00.039) 0:00:26.631 ***** 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-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/main.yml:116 Saturday 24 February 2024 19:07:27 +0000 (0:00:00.025) 0:00:26.656 ***** 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-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/main.yml:125 Saturday 24 February 2024 19:07:27 +0000 (0:00:00.025) 0:00:26.681 ***** 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, d50f89bf-ac1f-477e-ba6a-fdea3a0c6799 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-more-test-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/main.yml:137 Saturday 24 February 2024 19:07:27 +0000 (0:00:00.462) 0:00:27.144 ***** 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-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/main.yml:143 Saturday 24 February 2024 19:07:27 +0000 (0:00:00.023) 0:00:27.167 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, d50f89bf-ac1f-477e-ba6a-fdea3a0c6799" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-more-test-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/main.yml:147 Saturday 24 February 2024 19:07:27 +0000 (0:00:00.025) 0:00:27.192 ***** 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, d50f89bf-ac1f-477e-ba6a-fdea3a0c6799\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, d50f89bf-ac1f-477e-ba6a-fdea3a0c6799" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-more-test-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/main.yml:152 Saturday 24 February 2024 19:07:27 +0000 (0:00:00.032) 0:00:27.225 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-more-test-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/main.yml:158 Saturday 24 February 2024 19:07:28 +0000 (0:00:00.030) 0:00:27.256 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-more-test-debugrndfhkpu/tests/playbooks/tasks/create_bridge_profile.yml:14 Saturday 24 February 2024 19:07:28 +0000 (0:00:00.218) 0:00:27.474 ***** 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, d50f89bf-ac1f-477e-ba6a-fdea3a0c6799\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, d50f89bf-ac1f-477e-ba6a-fdea3a0c6799" ] } } TASK [Test] ******************************************************************** task path: /WORKDIR/git-more-test-debugrndfhkpu/tests/playbooks/tasks/run_test.yml:30 Saturday 24 February 2024 19:07:28 +0000 (0:00:00.037) 0:00:27.512 ***** included: /WORKDIR/git-more-test-debugrndfhkpu/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-more-test-debugrndfhkpu/tests/playbooks/tasks/activate_profile.yml:3 Saturday 24 February 2024 19:07:28 +0000 (0:00:00.101) 0:00:27.614 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-more-test-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 24 February 2024 19:07:28 +0000 (0:00:00.054) 0:00:27.668 ***** included: /WORKDIR/git-more-test-debugrndfhkpu/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-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 24 February 2024 19:07:28 +0000 (0:00:00.055) 0:00:27.724 ***** 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-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 24 February 2024 19:07:28 +0000 (0:00:00.049) 0:00:27.774 ***** 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-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 24 February 2024 19:07:28 +0000 (0:00:00.054) 0:00:27.828 ***** 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-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 24 February 2024 19:07:28 +0000 (0:00:00.033) 0:00:27.862 ***** 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-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 24 February 2024 19:07:30 +0000 (0:00:02.295) 0:00:30.157 ***** 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-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 24 February 2024 19:07:31 +0000 (0:00:00.949) 0:00:31.107 ***** 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-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 24 February 2024 19:07:31 +0000 (0:00:00.027) 0:00:31.135 ***** 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-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 24 February 2024 19:07:31 +0000 (0:00:00.031) 0:00:31.166 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-more-test-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 24 February 2024 19:07:31 +0000 (0:00:00.039) 0:00:31.206 ***** 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-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/main.yml:43 Saturday 24 February 2024 19:07:32 +0000 (0:00:00.052) 0:00:31.259 ***** 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-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/main.yml:58 Saturday 24 February 2024 19:07:32 +0000 (0:00:00.033) 0:00:31.292 ***** 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-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/main.yml:74 Saturday 24 February 2024 19:07:32 +0000 (0:00:00.025) 0:00:31.317 ***** 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-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/main.yml:88 Saturday 24 February 2024 19:07:32 +0000 (0:00:00.030) 0:00:31.348 ***** 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-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/main.yml:99 Saturday 24 February 2024 19:07:32 +0000 (0:00:00.557) 0:00:31.906 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-more-test-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/main.yml:108 Saturday 24 February 2024 19:07:32 +0000 (0:00:00.026) 0:00:31.932 ***** 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-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/main.yml:116 Saturday 24 February 2024 19:07:32 +0000 (0:00:00.022) 0:00:31.954 ***** 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-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/main.yml:125 Saturday 24 February 2024 19:07:32 +0000 (0:00:00.022) 0:00:31.977 ***** 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, d50f89bf-ac1f-477e-ba6a-fdea3a0c6799 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-more-test-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/main.yml:137 Saturday 24 February 2024 19:07:33 +0000 (0:00:00.374) 0:00:32.352 ***** 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-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/main.yml:143 Saturday 24 February 2024 19:07:33 +0000 (0:00:00.024) 0:00:32.376 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, d50f89bf-ac1f-477e-ba6a-fdea3a0c6799 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-more-test-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/main.yml:147 Saturday 24 February 2024 19:07:33 +0000 (0:00:00.035) 0:00:32.412 ***** 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, d50f89bf-ac1f-477e-ba6a-fdea3a0c6799 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, d50f89bf-ac1f-477e-ba6a-fdea3a0c6799 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-more-test-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/main.yml:152 Saturday 24 February 2024 19:07:33 +0000 (0:00:00.030) 0:00:32.442 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-more-test-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/main.yml:158 Saturday 24 February 2024 19:07:33 +0000 (0:00:00.028) 0:00:32.470 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-more-test-debugrndfhkpu/tests/playbooks/tasks/run_test.yml:36 Saturday 24 February 2024 19:07:33 +0000 (0:00:00.232) 0:00:32.703 ***** included: /WORKDIR/git-more-test-debugrndfhkpu/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-more-test-debugrndfhkpu/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-more-test-debugrndfhkpu/tests/playbooks/tasks/assert_device_present.yml:3 Saturday 24 February 2024 19:07:33 +0000 (0:00:00.109) 0:00:32.812 ***** included: /WORKDIR/git-more-test-debugrndfhkpu/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-more-test-debugrndfhkpu/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 24 February 2024 19:07:33 +0000 (0:00:00.094) 0:00:32.907 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1708801647.7983577, "block_size": 4096, "blocks": 0, "ctime": 1708801647.7983577, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 43174, "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": 1708801647.7983577, "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-debugrndfhkpu/tests/playbooks/tasks/assert_device_present.yml:5 Saturday 24 February 2024 19:07:33 +0000 (0:00:00.211) 0:00:33.118 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-more-test-debugrndfhkpu/tests/playbooks/tasks/assert_profile_present.yml:3 Saturday 24 February 2024 19:07:33 +0000 (0:00:00.026) 0:00:33.144 ***** included: /WORKDIR/git-more-test-debugrndfhkpu/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-debugrndfhkpu/tests/playbooks/tasks/get_profile_stat.yml:3 Saturday 24 February 2024 19:07:33 +0000 (0:00:00.056) 0:00:33.201 ***** 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-debugrndfhkpu/tests/playbooks/tasks/get_profile_stat.yml:9 Saturday 24 February 2024 19:07:33 +0000 (0:00:00.028) 0:00:33.229 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-more-test-debugrndfhkpu/tests/playbooks/tasks/get_profile_stat.yml:17 Saturday 24 February 2024 19:07:34 +0000 (0:00:00.221) 0:00:33.451 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-more-test-debugrndfhkpu/tests/playbooks/tasks/get_profile_stat.yml:25 Saturday 24 February 2024 19:07:34 +0000 (0:00:00.049) 0:00:33.501 ***** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022775", "end": "2024-02-24 19:07:34.478397", "rc": 0, "start": "2024-02-24 19:07:34.455622" } 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-debugrndfhkpu/tests/playbooks/tasks/get_profile_stat.yml:35 Saturday 24 February 2024 19:07:34 +0000 (0:00:00.273) 0:00:33.774 ***** 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-debugrndfhkpu/tests/playbooks/tasks/get_profile_stat.yml:49 Saturday 24 February 2024 19:07:34 +0000 (0:00:00.027) 0:00:33.801 ***** 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-debugrndfhkpu/tests/playbooks/tasks/get_profile_stat.yml:56 Saturday 24 February 2024 19:07:34 +0000 (0:00:00.036) 0:00:33.838 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-more-test-debugrndfhkpu/tests/playbooks/tasks/get_profile_stat.yml:62 Saturday 24 February 2024 19:07:34 +0000 (0:00:00.025) 0:00:33.864 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-more-test-debugrndfhkpu/tests/playbooks/tasks/get_profile_stat.yml:69 Saturday 24 February 2024 19:07:34 +0000 (0:00:00.026) 0:00:33.890 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-more-test-debugrndfhkpu/tests/playbooks/tasks/assert_profile_present.yml:5 Saturday 24 February 2024 19:07:34 +0000 (0:00:00.051) 0:00:33.942 ***** 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-debugrndfhkpu/tests/playbooks/tasks/assert_profile_present.yml:10 Saturday 24 February 2024 19:07:34 +0000 (0:00:00.030) 0:00:33.972 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-more-test-debugrndfhkpu/tests/playbooks/tasks/assert_profile_present.yml:15 Saturday 24 February 2024 19:07:34 +0000 (0:00:00.112) 0:00:34.085 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-more-test-debugrndfhkpu/tests/playbooks/tasks/run_test.yml:42 Saturday 24 February 2024 19:07:34 +0000 (0:00:00.053) 0:00:34.139 ***** TASK [Success in test 'I can activate an existing profile'] ******************** task path: /WORKDIR/git-more-test-debugrndfhkpu/tests/playbooks/tasks/run_test.yml:47 Saturday 24 February 2024 19:07:34 +0000 (0:00:00.032) 0:00:34.171 ***** ok: [sut] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-more-test-debugrndfhkpu/tests/playbooks/tasks/run_test.yml:66 Saturday 24 February 2024 19:07:34 +0000 (0:00:00.035) 0:00:34.207 ***** included: /WORKDIR/git-more-test-debugrndfhkpu/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-more-test-debugrndfhkpu/tests/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 24 February 2024 19:07:35 +0000 (0:00:00.054) 0:00:34.261 ***** 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.069578", "end": "2024-02-24 19:07:35.256267", "rc": 1, "start": "2024-02-24 19:07:35.186689" } STDOUT: Connection 'statebr' (d50f89bf-ac1f-477e-ba6a-fdea3a0c6799) successfully deleted. STDERR: Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-more-test-debugrndfhkpu/tests/playbooks/tests_states.yml:83 Saturday 24 February 2024 19:07:35 +0000 (0:00:00.297) 0:00:34.559 ***** included: /WORKDIR/git-more-test-debugrndfhkpu/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-debugrndfhkpu/tests/playbooks/tasks/run_test.yml:5 Saturday 24 February 2024 19:07:35 +0000 (0:00:00.047) 0:00:34.607 ***** ok: [sut] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-more-test-debugrndfhkpu/tests/playbooks/tasks/run_test.yml:9 Saturday 24 February 2024 19:07:35 +0000 (0:00:00.032) 0:00:34.640 ***** 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-debugrndfhkpu/tests/playbooks/tasks/run_test.yml:21 Saturday 24 February 2024 19:07:35 +0000 (0:00:00.106) 0:00:34.746 ***** included: /WORKDIR/git-more-test-debugrndfhkpu/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-more-test-debugrndfhkpu/tests/playbooks/tasks/show_interfaces.yml:3 Saturday 24 February 2024 19:07:35 +0000 (0:00:00.052) 0:00:34.798 ***** included: /WORKDIR/git-more-test-debugrndfhkpu/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-more-test-debugrndfhkpu/tests/playbooks/tasks/get_current_interfaces.yml:3 Saturday 24 February 2024 19:07:35 +0000 (0:00:00.071) 0:00:34.869 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.004884", "end": "2024-02-24 19:07:36.798121", "rc": 0, "start": "2024-02-24 19:07:35.793237" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-more-test-debugrndfhkpu/tests/playbooks/tasks/get_current_interfaces.yml:9 Saturday 24 February 2024 19:07:36 +0000 (0:00:01.238) 0:00:36.108 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-more-test-debugrndfhkpu/tests/playbooks/tasks/show_interfaces.yml:5 Saturday 24 February 2024 19:07:36 +0000 (0:00:00.034) 0:00:36.143 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-more-test-debugrndfhkpu/tests/playbooks/tasks/run_test.yml:24 Saturday 24 February 2024 19:07:36 +0000 (0:00:00.026) 0:00:36.170 ***** included: /WORKDIR/git-more-test-debugrndfhkpu/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-more-test-debugrndfhkpu/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-more-test-debugrndfhkpu/tests/playbooks/tasks/create_bridge_profile.yml:3 Saturday 24 February 2024 19:07:37 +0000 (0:00:00.106) 0:00:36.276 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-more-test-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 24 February 2024 19:07:37 +0000 (0:00:00.101) 0:00:36.378 ***** included: /WORKDIR/git-more-test-debugrndfhkpu/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-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 24 February 2024 19:07:37 +0000 (0:00:00.055) 0:00:36.434 ***** 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-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 24 February 2024 19:07:37 +0000 (0:00:00.032) 0:00:36.466 ***** 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-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 24 February 2024 19:07:37 +0000 (0:00:00.027) 0:00:36.494 ***** 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-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 24 February 2024 19:07:37 +0000 (0:00:00.063) 0:00:36.557 ***** 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-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 24 February 2024 19:07:39 +0000 (0:00:02.213) 0:00:38.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 : Print network provider] ********************* task path: /WORKDIR/git-more-test-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 24 February 2024 19:07:40 +0000 (0:00:00.966) 0:00:39.737 ***** 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-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 24 February 2024 19:07:40 +0000 (0:00:00.055) 0:00:39.793 ***** 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-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 24 February 2024 19:07:40 +0000 (0:00:00.030) 0:00:39.824 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-more-test-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 24 February 2024 19:07:40 +0000 (0:00:00.029) 0:00:39.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-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/main.yml:43 Saturday 24 February 2024 19:07:40 +0000 (0:00:00.048) 0:00:39.901 ***** 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-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/main.yml:58 Saturday 24 February 2024 19:07:40 +0000 (0:00:00.024) 0:00:39.926 ***** 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-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/main.yml:74 Saturday 24 February 2024 19:07:40 +0000 (0:00:00.025) 0:00:39.951 ***** 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-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/main.yml:88 Saturday 24 February 2024 19:07:40 +0000 (0:00:00.028) 0:00:39.980 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-more-test-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/main.yml:99 Saturday 24 February 2024 19:07:41 +0000 (0:00:00.573) 0:00:40.553 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-more-test-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/main.yml:108 Saturday 24 February 2024 19:07:41 +0000 (0:00:00.028) 0:00:40.582 ***** 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-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/main.yml:116 Saturday 24 February 2024 19:07:41 +0000 (0:00:00.023) 0:00:40.606 ***** 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-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/main.yml:125 Saturday 24 February 2024 19:07:41 +0000 (0:00:00.022) 0:00:40.628 ***** 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, 7f4747e4-c476-4725-be27-89542340459c TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-more-test-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/main.yml:137 Saturday 24 February 2024 19:07:41 +0000 (0:00:00.427) 0:00:41.056 ***** 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-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/main.yml:143 Saturday 24 February 2024 19:07:41 +0000 (0:00:00.031) 0:00:41.087 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 7f4747e4-c476-4725-be27-89542340459c" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-more-test-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/main.yml:147 Saturday 24 February 2024 19:07:41 +0000 (0:00:00.075) 0:00:41.163 ***** 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, 7f4747e4-c476-4725-be27-89542340459c\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 7f4747e4-c476-4725-be27-89542340459c" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-more-test-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/main.yml:152 Saturday 24 February 2024 19:07:41 +0000 (0:00:00.031) 0:00:41.194 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-more-test-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/main.yml:158 Saturday 24 February 2024 19:07:41 +0000 (0:00:00.026) 0:00:41.220 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-more-test-debugrndfhkpu/tests/playbooks/tasks/create_bridge_profile.yml:14 Saturday 24 February 2024 19:07:42 +0000 (0:00:00.207) 0:00:41.427 ***** 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, 7f4747e4-c476-4725-be27-89542340459c\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 7f4747e4-c476-4725-be27-89542340459c" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-more-test-debugrndfhkpu/tests/playbooks/tasks/activate_profile.yml:3 Saturday 24 February 2024 19:07:42 +0000 (0:00:00.031) 0:00:41.459 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-more-test-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 24 February 2024 19:07:42 +0000 (0:00:00.072) 0:00:41.531 ***** included: /WORKDIR/git-more-test-debugrndfhkpu/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-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 24 February 2024 19:07:42 +0000 (0:00:00.048) 0:00:41.579 ***** 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-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 24 February 2024 19:07:42 +0000 (0:00:00.029) 0:00:41.609 ***** 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-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 24 February 2024 19:07:42 +0000 (0:00:00.042) 0:00:41.651 ***** 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-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 24 February 2024 19:07:42 +0000 (0:00:00.028) 0:00:41.680 ***** 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-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 24 February 2024 19:07:44 +0000 (0:00:02.213) 0:00:43.893 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-more-test-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 24 February 2024 19:07:45 +0000 (0:00:00.936) 0:00:44.830 ***** 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-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 24 February 2024 19:07:45 +0000 (0:00:00.028) 0:00:44.858 ***** 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-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 24 February 2024 19:07:45 +0000 (0:00:00.024) 0:00:44.882 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-more-test-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 24 February 2024 19:07:45 +0000 (0:00:00.024) 0:00:44.906 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-more-test-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/main.yml:43 Saturday 24 February 2024 19:07:45 +0000 (0:00:00.080) 0:00:44.987 ***** 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-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/main.yml:58 Saturday 24 February 2024 19:07:45 +0000 (0:00:00.031) 0:00:45.019 ***** 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-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/main.yml:74 Saturday 24 February 2024 19:07:45 +0000 (0:00:00.024) 0:00:45.043 ***** 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-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/main.yml:88 Saturday 24 February 2024 19:07:45 +0000 (0:00:00.054) 0:00:45.098 ***** 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-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/main.yml:99 Saturday 24 February 2024 19:07:46 +0000 (0:00:00.595) 0:00:45.693 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-more-test-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/main.yml:108 Saturday 24 February 2024 19:07:46 +0000 (0:00:00.066) 0:00:45.759 ***** 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-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/main.yml:116 Saturday 24 February 2024 19:07:46 +0000 (0:00:00.031) 0:00:45.791 ***** 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-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/main.yml:125 Saturday 24 February 2024 19:07:46 +0000 (0:00:00.068) 0:00:45.859 ***** 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, 7f4747e4-c476-4725-be27-89542340459c skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-more-test-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/main.yml:137 Saturday 24 February 2024 19:07:47 +0000 (0:00:00.397) 0:00:46.256 ***** 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-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/main.yml:143 Saturday 24 February 2024 19:07:47 +0000 (0:00:00.023) 0:00:46.280 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 7f4747e4-c476-4725-be27-89542340459c skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-more-test-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/main.yml:147 Saturday 24 February 2024 19:07:47 +0000 (0:00:00.024) 0:00:46.304 ***** 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, 7f4747e4-c476-4725-be27-89542340459c skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 7f4747e4-c476-4725-be27-89542340459c skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-more-test-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/main.yml:152 Saturday 24 February 2024 19:07:47 +0000 (0:00:00.024) 0:00:46.328 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-more-test-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/main.yml:158 Saturday 24 February 2024 19:07:47 +0000 (0:00:00.021) 0:00:46.350 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-more-test-debugrndfhkpu/tests/playbooks/tasks/run_test.yml:30 Saturday 24 February 2024 19:07:47 +0000 (0:00:00.207) 0:00:46.557 ***** included: /WORKDIR/git-more-test-debugrndfhkpu/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-more-test-debugrndfhkpu/tests/playbooks/tasks/remove_profile.yml:3 Saturday 24 February 2024 19:07:47 +0000 (0:00:00.079) 0:00:46.636 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-more-test-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 24 February 2024 19:07:47 +0000 (0:00:00.117) 0:00:46.754 ***** included: /WORKDIR/git-more-test-debugrndfhkpu/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-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 24 February 2024 19:07:47 +0000 (0:00:00.047) 0:00:46.802 ***** 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-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 24 February 2024 19:07:47 +0000 (0:00:00.032) 0:00:46.834 ***** 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-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 24 February 2024 19:07:47 +0000 (0:00:00.025) 0:00:46.859 ***** 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-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 24 February 2024 19:07:47 +0000 (0:00:00.032) 0:00:46.892 ***** 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-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 24 February 2024 19:07:49 +0000 (0:00:02.260) 0:00:49.153 ***** 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-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 24 February 2024 19:07:50 +0000 (0:00:00.948) 0:00:50.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-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 24 February 2024 19:07:50 +0000 (0:00:00.024) 0:00:50.126 ***** 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-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 24 February 2024 19:07:50 +0000 (0:00:00.022) 0:00:50.148 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-more-test-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 24 February 2024 19:07:50 +0000 (0:00:00.024) 0:00:50.173 ***** 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-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/main.yml:43 Saturday 24 February 2024 19:07:50 +0000 (0:00:00.066) 0:00:50.239 ***** 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-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/main.yml:58 Saturday 24 February 2024 19:07:51 +0000 (0:00:00.032) 0:00:50.272 ***** 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-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/main.yml:74 Saturday 24 February 2024 19:07:51 +0000 (0:00:00.037) 0:00:50.309 ***** 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-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/main.yml:88 Saturday 24 February 2024 19:07:51 +0000 (0:00:00.029) 0:00:50.338 ***** 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-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/main.yml:99 Saturday 24 February 2024 19:07:51 +0000 (0:00:00.600) 0:00:50.939 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-more-test-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/main.yml:108 Saturday 24 February 2024 19:07:51 +0000 (0:00:00.030) 0:00:50.969 ***** 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-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/main.yml:116 Saturday 24 February 2024 19:07:51 +0000 (0:00:00.024) 0:00:50.994 ***** 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-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/main.yml:125 Saturday 24 February 2024 19:07:51 +0000 (0:00:00.031) 0:00:51.025 ***** 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-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/main.yml:137 Saturday 24 February 2024 19:07:52 +0000 (0:00:00.458) 0:00:51.484 ***** 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-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/main.yml:143 Saturday 24 February 2024 19:07:52 +0000 (0:00:00.027) 0:00:51.511 ***** 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-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/main.yml:147 Saturday 24 February 2024 19:07:52 +0000 (0:00:00.026) 0:00:51.538 ***** 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-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/main.yml:152 Saturday 24 February 2024 19:07:52 +0000 (0:00:00.033) 0:00:51.571 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-more-test-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/main.yml:158 Saturday 24 February 2024 19:07:52 +0000 (0:00:00.028) 0:00:51.600 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-more-test-debugrndfhkpu/tests/playbooks/tasks/run_test.yml:36 Saturday 24 February 2024 19:07:52 +0000 (0:00:00.242) 0:00:51.843 ***** included: /WORKDIR/git-more-test-debugrndfhkpu/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-more-test-debugrndfhkpu/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-more-test-debugrndfhkpu/tests/playbooks/tasks/assert_device_present.yml:3 Saturday 24 February 2024 19:07:52 +0000 (0:00:00.074) 0:00:51.917 ***** included: /WORKDIR/git-more-test-debugrndfhkpu/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-more-test-debugrndfhkpu/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 24 February 2024 19:07:52 +0000 (0:00:00.042) 0:00:51.960 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1708801661.7090075, "block_size": 4096, "blocks": 0, "ctime": 1708801661.7090075, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 43305, "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": 1708801661.7090075, "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-debugrndfhkpu/tests/playbooks/tasks/assert_device_present.yml:5 Saturday 24 February 2024 19:07:52 +0000 (0:00:00.267) 0:00:52.227 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-more-test-debugrndfhkpu/tests/playbooks/tasks/assert_profile_absent.yml:3 Saturday 24 February 2024 19:07:53 +0000 (0:00:00.037) 0:00:52.264 ***** included: /WORKDIR/git-more-test-debugrndfhkpu/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-debugrndfhkpu/tests/playbooks/tasks/get_profile_stat.yml:3 Saturday 24 February 2024 19:07:53 +0000 (0:00:00.049) 0:00:52.314 ***** 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-debugrndfhkpu/tests/playbooks/tasks/get_profile_stat.yml:9 Saturday 24 February 2024 19:07:53 +0000 (0:00:00.026) 0:00:52.340 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-more-test-debugrndfhkpu/tests/playbooks/tasks/get_profile_stat.yml:17 Saturday 24 February 2024 19:07:53 +0000 (0:00:00.241) 0:00:52.581 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-more-test-debugrndfhkpu/tests/playbooks/tasks/get_profile_stat.yml:25 Saturday 24 February 2024 19:07:53 +0000 (0:00:00.025) 0:00:52.607 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022914", "end": "2024-02-24 19:07:53.557750", "rc": 1, "start": "2024-02-24 19:07:53.534836" } 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-debugrndfhkpu/tests/playbooks/tasks/get_profile_stat.yml:35 Saturday 24 February 2024 19:07:53 +0000 (0:00:00.246) 0:00:52.853 ***** 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-debugrndfhkpu/tests/playbooks/tasks/get_profile_stat.yml:49 Saturday 24 February 2024 19:07:53 +0000 (0:00:00.049) 0:00:52.903 ***** 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-debugrndfhkpu/tests/playbooks/tasks/get_profile_stat.yml:56 Saturday 24 February 2024 19:07:53 +0000 (0:00:00.041) 0:00:52.944 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-more-test-debugrndfhkpu/tests/playbooks/tasks/get_profile_stat.yml:62 Saturday 24 February 2024 19:07:53 +0000 (0:00:00.050) 0:00:52.994 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-more-test-debugrndfhkpu/tests/playbooks/tasks/get_profile_stat.yml:69 Saturday 24 February 2024 19:07:53 +0000 (0:00:00.050) 0:00:53.045 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-more-test-debugrndfhkpu/tests/playbooks/tasks/assert_profile_absent.yml:5 Saturday 24 February 2024 19:07:53 +0000 (0:00:00.034) 0:00:53.079 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-more-test-debugrndfhkpu/tests/playbooks/tasks/run_test.yml:42 Saturday 24 February 2024 19:07:53 +0000 (0:00:00.027) 0:00:53.106 ***** TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /WORKDIR/git-more-test-debugrndfhkpu/tests/playbooks/tasks/run_test.yml:47 Saturday 24 February 2024 19:07:53 +0000 (0:00:00.022) 0:00:53.129 ***** ok: [sut] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-more-test-debugrndfhkpu/tests/playbooks/tasks/run_test.yml:66 Saturday 24 February 2024 19:07:53 +0000 (0:00:00.053) 0:00:53.182 ***** included: /WORKDIR/git-more-test-debugrndfhkpu/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-more-test-debugrndfhkpu/tests/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 24 February 2024 19:07:53 +0000 (0:00:00.048) 0:00:53.231 ***** ok: [sut] => { "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.072517", "end": "2024-02-24 19:07:54.247043", "rc": 0, "start": "2024-02-24 19:07:54.174526" } STDOUT: Connection 'statebr' (7f4747e4-c476-4725-be27-89542340459c) successfully deleted. STDERR: Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-more-test-debugrndfhkpu/tests/playbooks/tests_states.yml:103 Saturday 24 February 2024 19:07:54 +0000 (0:00:00.318) 0:00:53.549 ***** included: /WORKDIR/git-more-test-debugrndfhkpu/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-debugrndfhkpu/tests/playbooks/tasks/run_test.yml:5 Saturday 24 February 2024 19:07:54 +0000 (0:00:00.042) 0:00:53.592 ***** ok: [sut] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-more-test-debugrndfhkpu/tests/playbooks/tasks/run_test.yml:9 Saturday 24 February 2024 19:07:54 +0000 (0:00:00.032) 0:00:53.624 ***** 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-debugrndfhkpu/tests/playbooks/tasks/run_test.yml:21 Saturday 24 February 2024 19:07:54 +0000 (0:00:00.053) 0:00:53.678 ***** included: /WORKDIR/git-more-test-debugrndfhkpu/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-more-test-debugrndfhkpu/tests/playbooks/tasks/show_interfaces.yml:3 Saturday 24 February 2024 19:07:54 +0000 (0:00:00.037) 0:00:53.715 ***** included: /WORKDIR/git-more-test-debugrndfhkpu/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-more-test-debugrndfhkpu/tests/playbooks/tasks/get_current_interfaces.yml:3 Saturday 24 February 2024 19:07:54 +0000 (0:00:00.036) 0:00:53.752 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003853", "end": "2024-02-24 19:07:54.677221", "rc": 0, "start": "2024-02-24 19:07:54.673368" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-more-test-debugrndfhkpu/tests/playbooks/tasks/get_current_interfaces.yml:9 Saturday 24 February 2024 19:07:54 +0000 (0:00:00.215) 0:00:53.967 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-more-test-debugrndfhkpu/tests/playbooks/tasks/show_interfaces.yml:5 Saturday 24 February 2024 19:07:54 +0000 (0:00:00.025) 0:00:53.993 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-more-test-debugrndfhkpu/tests/playbooks/tasks/run_test.yml:24 Saturday 24 February 2024 19:07:54 +0000 (0:00:00.055) 0:00:54.049 ***** included: /WORKDIR/git-more-test-debugrndfhkpu/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-more-test-debugrndfhkpu/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-more-test-debugrndfhkpu/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-more-test-debugrndfhkpu/tests/playbooks/tasks/create_bridge_profile.yml:3 Saturday 24 February 2024 19:07:54 +0000 (0:00:00.049) 0:00:54.098 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-more-test-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 24 February 2024 19:07:54 +0000 (0:00:00.080) 0:00:54.178 ***** included: /WORKDIR/git-more-test-debugrndfhkpu/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-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 24 February 2024 19:07:54 +0000 (0:00:00.053) 0:00:54.232 ***** 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-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 24 February 2024 19:07:55 +0000 (0:00:00.038) 0:00:54.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-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 24 February 2024 19:07:55 +0000 (0:00:00.029) 0:00:54.300 ***** 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-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 24 February 2024 19:07:55 +0000 (0:00:00.026) 0:00:54.326 ***** 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-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 24 February 2024 19:07:57 +0000 (0:00:02.198) 0:00:56.525 ***** 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-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 24 February 2024 19:07:58 +0000 (0:00:00.924) 0:00:57.449 ***** 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-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 24 February 2024 19:07:58 +0000 (0:00:00.026) 0:00:57.476 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-more-test-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 24 February 2024 19:07:58 +0000 (0:00:00.025) 0:00:57.502 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-more-test-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 24 February 2024 19:07:58 +0000 (0:00:00.023) 0:00:57.526 ***** 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-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/main.yml:43 Saturday 24 February 2024 19:07:58 +0000 (0:00:00.055) 0:00:57.581 ***** 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-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/main.yml:58 Saturday 24 February 2024 19:07:58 +0000 (0:00:00.026) 0:00:57.607 ***** 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-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/main.yml:74 Saturday 24 February 2024 19:07:58 +0000 (0:00:00.023) 0:00:57.631 ***** 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-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/main.yml:88 Saturday 24 February 2024 19:07:58 +0000 (0:00:00.028) 0:00:57.659 ***** 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-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/main.yml:99 Saturday 24 February 2024 19:07:58 +0000 (0:00:00.591) 0:00:58.251 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-more-test-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/main.yml:108 Saturday 24 February 2024 19:07:59 +0000 (0:00:00.033) 0:00:58.284 ***** 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-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/main.yml:116 Saturday 24 February 2024 19:07:59 +0000 (0:00:00.038) 0:00:58.323 ***** 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-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/main.yml:125 Saturday 24 February 2024 19:07:59 +0000 (0:00:00.029) 0:00:58.353 ***** 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, 8d2d42b7-203e-484c-a299-1a1f80dfa29a TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-more-test-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/main.yml:137 Saturday 24 February 2024 19:07:59 +0000 (0:00:00.425) 0:00:58.778 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-more-test-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/main.yml:143 Saturday 24 February 2024 19:07:59 +0000 (0:00:00.024) 0:00:58.802 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 8d2d42b7-203e-484c-a299-1a1f80dfa29a" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-more-test-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/main.yml:147 Saturday 24 February 2024 19:07:59 +0000 (0:00:00.025) 0:00:58.828 ***** 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, 8d2d42b7-203e-484c-a299-1a1f80dfa29a\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 8d2d42b7-203e-484c-a299-1a1f80dfa29a" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-more-test-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/main.yml:152 Saturday 24 February 2024 19:07:59 +0000 (0:00:00.026) 0:00:58.855 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-more-test-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/main.yml:158 Saturday 24 February 2024 19:07:59 +0000 (0:00:00.024) 0:00:58.880 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-more-test-debugrndfhkpu/tests/playbooks/tasks/create_bridge_profile.yml:14 Saturday 24 February 2024 19:07:59 +0000 (0:00:00.210) 0:00:59.090 ***** 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, 8d2d42b7-203e-484c-a299-1a1f80dfa29a\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 8d2d42b7-203e-484c-a299-1a1f80dfa29a" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-more-test-debugrndfhkpu/tests/playbooks/tasks/activate_profile.yml:3 Saturday 24 February 2024 19:07:59 +0000 (0:00:00.027) 0:00:59.118 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-more-test-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 24 February 2024 19:07:59 +0000 (0:00:00.050) 0:00:59.168 ***** included: /WORKDIR/git-more-test-debugrndfhkpu/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-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 24 February 2024 19:08:00 +0000 (0:00:00.100) 0:00:59.268 ***** 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-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 24 February 2024 19:08:00 +0000 (0:00:00.030) 0:00:59.299 ***** 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-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 24 February 2024 19:08:00 +0000 (0:00:00.025) 0:00:59.324 ***** 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-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 24 February 2024 19:08:00 +0000 (0:00:00.026) 0:00:59.350 ***** 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-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 24 February 2024 19:08:02 +0000 (0:00:02.242) 0:01:01.592 ***** 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-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 24 February 2024 19:08:03 +0000 (0:00:00.945) 0:01:02.538 ***** 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-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 24 February 2024 19:08:03 +0000 (0:00:00.027) 0:01:02.566 ***** 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-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 24 February 2024 19:08:03 +0000 (0:00:00.026) 0:01:02.593 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-more-test-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 24 February 2024 19:08:03 +0000 (0:00:00.029) 0:01:02.622 ***** 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-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/main.yml:43 Saturday 24 February 2024 19:08:03 +0000 (0:00:00.084) 0:01:02.707 ***** 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-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/main.yml:58 Saturday 24 February 2024 19:08:03 +0000 (0:00:00.039) 0:01:02.746 ***** 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-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/main.yml:74 Saturday 24 February 2024 19:08:03 +0000 (0:00:00.048) 0:01:02.795 ***** 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-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/main.yml:88 Saturday 24 February 2024 19:08:03 +0000 (0:00:00.054) 0:01:02.849 ***** 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-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/main.yml:99 Saturday 24 February 2024 19:08:04 +0000 (0:00:00.650) 0:01:03.500 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-more-test-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/main.yml:108 Saturday 24 February 2024 19:08:04 +0000 (0:00:00.052) 0:01:03.553 ***** 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-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/main.yml:116 Saturday 24 February 2024 19:08:04 +0000 (0:00:00.037) 0:01:03.590 ***** 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-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/main.yml:125 Saturday 24 February 2024 19:08:04 +0000 (0:00:00.028) 0:01:03.619 ***** 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, 8d2d42b7-203e-484c-a299-1a1f80dfa29a skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-more-test-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/main.yml:137 Saturday 24 February 2024 19:08:04 +0000 (0:00:00.421) 0:01:04.040 ***** 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-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/main.yml:143 Saturday 24 February 2024 19:08:04 +0000 (0:00:00.052) 0:01:04.092 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 8d2d42b7-203e-484c-a299-1a1f80dfa29a skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-more-test-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/main.yml:147 Saturday 24 February 2024 19:08:04 +0000 (0:00:00.025) 0:01:04.118 ***** 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, 8d2d42b7-203e-484c-a299-1a1f80dfa29a skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 8d2d42b7-203e-484c-a299-1a1f80dfa29a skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-more-test-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/main.yml:152 Saturday 24 February 2024 19:08:04 +0000 (0:00:00.023) 0:01:04.141 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-more-test-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/main.yml:158 Saturday 24 February 2024 19:08:04 +0000 (0:00:00.024) 0:01:04.166 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-more-test-debugrndfhkpu/tests/playbooks/tasks/remove_profile.yml:3 Saturday 24 February 2024 19:08:05 +0000 (0:00:00.207) 0:01:04.373 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-more-test-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 24 February 2024 19:08:05 +0000 (0:00:00.040) 0:01:04.413 ***** included: /WORKDIR/git-more-test-debugrndfhkpu/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-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 24 February 2024 19:08:05 +0000 (0:00:00.043) 0:01:04.457 ***** 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-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 24 February 2024 19:08:05 +0000 (0:00:00.029) 0:01:04.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-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 24 February 2024 19:08:05 +0000 (0:00:00.024) 0:01:04.511 ***** 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-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 24 February 2024 19:08:05 +0000 (0:00:00.024) 0:01:04.535 ***** 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-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 24 February 2024 19:08:07 +0000 (0:00:02.236) 0:01:06.771 ***** 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-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 24 February 2024 19:08:08 +0000 (0:00:00.932) 0:01:07.703 ***** 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-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 24 February 2024 19:08:08 +0000 (0:00:00.050) 0:01:07.754 ***** 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-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 24 February 2024 19:08:08 +0000 (0:00:00.033) 0:01:07.788 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-more-test-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 24 February 2024 19:08:08 +0000 (0:00:00.030) 0:01:07.818 ***** 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-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/main.yml:43 Saturday 24 February 2024 19:08:08 +0000 (0:00:00.050) 0:01:07.869 ***** 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-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/main.yml:58 Saturday 24 February 2024 19:08:08 +0000 (0:00:00.101) 0:01:07.970 ***** 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-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/main.yml:74 Saturday 24 February 2024 19:08:08 +0000 (0:00:00.037) 0:01:08.008 ***** 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-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/main.yml:88 Saturday 24 February 2024 19:08:08 +0000 (0:00:00.055) 0:01:08.063 ***** 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-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/main.yml:99 Saturday 24 February 2024 19:08:09 +0000 (0:00:00.600) 0:01:08.663 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-more-test-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/main.yml:108 Saturday 24 February 2024 19:08:09 +0000 (0:00:00.028) 0:01:08.692 ***** 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-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/main.yml:116 Saturday 24 February 2024 19:08:09 +0000 (0:00:00.033) 0:01:08.726 ***** 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-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/main.yml:125 Saturday 24 February 2024 19:08:09 +0000 (0:00:00.037) 0:01:08.763 ***** 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-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/main.yml:137 Saturday 24 February 2024 19:08:09 +0000 (0:00:00.438) 0:01:09.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-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/main.yml:143 Saturday 24 February 2024 19:08:09 +0000 (0:00:00.023) 0:01:09.225 ***** 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-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/main.yml:147 Saturday 24 February 2024 19:08:09 +0000 (0:00:00.025) 0:01:09.251 ***** 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-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/main.yml:152 Saturday 24 February 2024 19:08:10 +0000 (0:00:00.024) 0:01:09.275 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-more-test-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/main.yml:158 Saturday 24 February 2024 19:08:10 +0000 (0:00:00.022) 0:01:09.297 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-more-test-debugrndfhkpu/tests/playbooks/tasks/run_test.yml:30 Saturday 24 February 2024 19:08:10 +0000 (0:00:00.212) 0:01:09.510 ***** included: /WORKDIR/git-more-test-debugrndfhkpu/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-more-test-debugrndfhkpu/tests/playbooks/tasks/remove+down_profile.yml:3 Saturday 24 February 2024 19:08:10 +0000 (0:00:00.078) 0:01:09.588 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-more-test-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 24 February 2024 19:08:10 +0000 (0:00:00.045) 0:01:09.634 ***** included: /WORKDIR/git-more-test-debugrndfhkpu/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-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 24 February 2024 19:08:10 +0000 (0:00:00.045) 0:01:09.679 ***** 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-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 24 February 2024 19:08:10 +0000 (0:00:00.032) 0:01:09.711 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-more-test-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 24 February 2024 19:08:10 +0000 (0:00:00.024) 0:01:09.736 ***** 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-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 24 February 2024 19:08:10 +0000 (0:00:00.028) 0:01:09.765 ***** 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-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 24 February 2024 19:08:12 +0000 (0:00:02.277) 0:01:12.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-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 24 February 2024 19:08:13 +0000 (0:00:00.943) 0:01:12.985 ***** 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-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 24 February 2024 19:08:13 +0000 (0:00:00.032) 0:01:13.018 ***** 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-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 24 February 2024 19:08:13 +0000 (0:00:00.031) 0:01:13.049 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-more-test-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 24 February 2024 19:08:13 +0000 (0:00:00.025) 0:01:13.075 ***** 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-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/main.yml:43 Saturday 24 February 2024 19:08:13 +0000 (0:00:00.045) 0:01:13.121 ***** 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-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/main.yml:58 Saturday 24 February 2024 19:08:13 +0000 (0:00:00.024) 0:01:13.145 ***** 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-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/main.yml:74 Saturday 24 February 2024 19:08:13 +0000 (0:00:00.023) 0:01:13.169 ***** 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-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/main.yml:88 Saturday 24 February 2024 19:08:13 +0000 (0:00:00.026) 0:01:13.195 ***** 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-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/main.yml:99 Saturday 24 February 2024 19:08:14 +0000 (0:00:00.580) 0:01:13.776 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-more-test-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/main.yml:108 Saturday 24 February 2024 19:08:14 +0000 (0:00:00.030) 0:01:13.806 ***** 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-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/main.yml:116 Saturday 24 February 2024 19:08:14 +0000 (0:00:00.030) 0:01:13.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-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/main.yml:125 Saturday 24 February 2024 19:08:14 +0000 (0:00:00.026) 0:01:13.863 ***** 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-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/main.yml:137 Saturday 24 February 2024 19:08:15 +0000 (0:00:00.501) 0:01:14.365 ***** 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-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/main.yml:143 Saturday 24 February 2024 19:08:15 +0000 (0:00:00.044) 0:01:14.409 ***** 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-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/main.yml:147 Saturday 24 February 2024 19:08:15 +0000 (0:00:00.032) 0:01:14.442 ***** 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-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/main.yml:152 Saturday 24 February 2024 19:08:15 +0000 (0:00:00.026) 0:01:14.468 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-more-test-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/main.yml:158 Saturday 24 February 2024 19:08:15 +0000 (0:00:00.028) 0:01:14.497 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-more-test-debugrndfhkpu/tests/playbooks/tasks/run_test.yml:36 Saturday 24 February 2024 19:08:15 +0000 (0:00:00.229) 0:01:14.726 ***** included: /WORKDIR/git-more-test-debugrndfhkpu/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-more-test-debugrndfhkpu/tests/playbooks/tasks/assert_profile_absent.yml:3 Saturday 24 February 2024 19:08:15 +0000 (0:00:00.048) 0:01:14.774 ***** included: /WORKDIR/git-more-test-debugrndfhkpu/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-debugrndfhkpu/tests/playbooks/tasks/get_profile_stat.yml:3 Saturday 24 February 2024 19:08:15 +0000 (0:00:00.123) 0:01:14.898 ***** 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-debugrndfhkpu/tests/playbooks/tasks/get_profile_stat.yml:9 Saturday 24 February 2024 19:08:15 +0000 (0:00:00.032) 0:01:14.930 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-more-test-debugrndfhkpu/tests/playbooks/tasks/get_profile_stat.yml:17 Saturday 24 February 2024 19:08:15 +0000 (0:00:00.246) 0:01:15.177 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-more-test-debugrndfhkpu/tests/playbooks/tasks/get_profile_stat.yml:25 Saturday 24 February 2024 19:08:15 +0000 (0:00:00.023) 0:01:15.200 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022144", "end": "2024-02-24 19:08:16.179250", "rc": 1, "start": "2024-02-24 19:08:16.157106" } 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-debugrndfhkpu/tests/playbooks/tasks/get_profile_stat.yml:35 Saturday 24 February 2024 19:08:16 +0000 (0:00:00.287) 0:01:15.487 ***** 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-debugrndfhkpu/tests/playbooks/tasks/get_profile_stat.yml:49 Saturday 24 February 2024 19:08:16 +0000 (0:00:00.048) 0:01:15.536 ***** 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-debugrndfhkpu/tests/playbooks/tasks/get_profile_stat.yml:56 Saturday 24 February 2024 19:08:16 +0000 (0:00:00.072) 0:01:15.608 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-more-test-debugrndfhkpu/tests/playbooks/tasks/get_profile_stat.yml:62 Saturday 24 February 2024 19:08:16 +0000 (0:00:00.041) 0:01:15.650 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-more-test-debugrndfhkpu/tests/playbooks/tasks/get_profile_stat.yml:69 Saturday 24 February 2024 19:08:16 +0000 (0:00:00.076) 0:01:15.726 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-more-test-debugrndfhkpu/tests/playbooks/tasks/assert_profile_absent.yml:5 Saturday 24 February 2024 19:08:16 +0000 (0:00:00.037) 0:01:15.763 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-more-test-debugrndfhkpu/tests/playbooks/tasks/run_test.yml:42 Saturday 24 February 2024 19:08:16 +0000 (0:00:00.049) 0:01:15.813 ***** included: /WORKDIR/git-more-test-debugrndfhkpu/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-more-test-debugrndfhkpu/tests/playbooks/tasks/assert_device_absent.yml:3 Saturday 24 February 2024 19:08:16 +0000 (0:00:00.073) 0:01:15.886 ***** included: /WORKDIR/git-more-test-debugrndfhkpu/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-more-test-debugrndfhkpu/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 24 February 2024 19:08:16 +0000 (0:00:00.098) 0:01:15.985 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-more-test-debugrndfhkpu/tests/playbooks/tasks/assert_device_absent.yml:5 Saturday 24 February 2024 19:08:16 +0000 (0:00:00.222) 0:01:16.208 ***** 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-debugrndfhkpu/tests/playbooks/tasks/run_test.yml:47 Saturday 24 February 2024 19:08:16 +0000 (0:00:00.027) 0:01:16.235 ***** ok: [sut] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-more-test-debugrndfhkpu/tests/playbooks/tasks/run_test.yml:66 Saturday 24 February 2024 19:08:17 +0000 (0:00:00.046) 0:01:16.281 ***** included: /WORKDIR/git-more-test-debugrndfhkpu/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-more-test-debugrndfhkpu/tests/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 24 February 2024 19:08:17 +0000 (0:00:00.056) 0:01:16.338 ***** 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.043907", "end": "2024-02-24 19:08:17.308284", "rc": 1, "start": "2024-02-24 19:08:17.264377" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-more-test-debugrndfhkpu/tests/playbooks/tests_states.yml:126 Saturday 24 February 2024 19:08:17 +0000 (0:00:00.260) 0:01:16.599 ***** included: /WORKDIR/git-more-test-debugrndfhkpu/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-debugrndfhkpu/tests/playbooks/tasks/run_test.yml:5 Saturday 24 February 2024 19:08:17 +0000 (0:00:00.075) 0:01:16.674 ***** 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-debugrndfhkpu/tests/playbooks/tasks/run_test.yml:9 Saturday 24 February 2024 19:08:17 +0000 (0:00:00.033) 0:01:16.707 ***** 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-debugrndfhkpu/tests/playbooks/tasks/run_test.yml:21 Saturday 24 February 2024 19:08:17 +0000 (0:00:00.046) 0:01:16.754 ***** included: /WORKDIR/git-more-test-debugrndfhkpu/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-more-test-debugrndfhkpu/tests/playbooks/tasks/show_interfaces.yml:3 Saturday 24 February 2024 19:08:17 +0000 (0:00:00.039) 0:01:16.793 ***** included: /WORKDIR/git-more-test-debugrndfhkpu/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-more-test-debugrndfhkpu/tests/playbooks/tasks/get_current_interfaces.yml:3 Saturday 24 February 2024 19:08:17 +0000 (0:00:00.037) 0:01:16.830 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.005053", "end": "2024-02-24 19:08:18.756369", "rc": 0, "start": "2024-02-24 19:08:17.751316" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-more-test-debugrndfhkpu/tests/playbooks/tasks/get_current_interfaces.yml:9 Saturday 24 February 2024 19:08:18 +0000 (0:00:01.216) 0:01:18.047 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-more-test-debugrndfhkpu/tests/playbooks/tasks/show_interfaces.yml:5 Saturday 24 February 2024 19:08:18 +0000 (0:00:00.025) 0:01:18.072 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-more-test-debugrndfhkpu/tests/playbooks/tasks/run_test.yml:24 Saturday 24 February 2024 19:08:18 +0000 (0:00:00.023) 0:01:18.095 ***** included: /WORKDIR/git-more-test-debugrndfhkpu/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-more-test-debugrndfhkpu/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-more-test-debugrndfhkpu/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-more-test-debugrndfhkpu/tests/playbooks/tasks/create_bridge_profile.yml:3 Saturday 24 February 2024 19:08:18 +0000 (0:00:00.074) 0:01:18.170 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-more-test-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 24 February 2024 19:08:18 +0000 (0:00:00.053) 0:01:18.224 ***** included: /WORKDIR/git-more-test-debugrndfhkpu/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-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 24 February 2024 19:08:19 +0000 (0:00:00.058) 0:01:18.282 ***** 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-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 24 February 2024 19:08:19 +0000 (0:00:00.035) 0:01:18.318 ***** 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-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 24 February 2024 19:08:19 +0000 (0:00:00.031) 0:01:18.349 ***** 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-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 24 February 2024 19:08:19 +0000 (0:00:00.062) 0:01:18.411 ***** 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-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 24 February 2024 19:08:21 +0000 (0:00:02.194) 0:01:20.605 ***** 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-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 24 February 2024 19:08:22 +0000 (0:00:00.928) 0:01:21.534 ***** 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-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 24 February 2024 19:08:22 +0000 (0:00:00.025) 0:01:21.559 ***** 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-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 24 February 2024 19:08:22 +0000 (0:00:00.027) 0:01:21.587 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-more-test-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 24 February 2024 19:08:22 +0000 (0:00:00.051) 0:01:21.638 ***** 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-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/main.yml:43 Saturday 24 February 2024 19:08:22 +0000 (0:00:00.082) 0:01:21.721 ***** 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-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/main.yml:58 Saturday 24 February 2024 19:08:22 +0000 (0:00:00.028) 0:01:21.749 ***** 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-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/main.yml:74 Saturday 24 February 2024 19:08:22 +0000 (0:00:00.039) 0:01:21.789 ***** 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-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/main.yml:88 Saturday 24 February 2024 19:08:22 +0000 (0:00:00.030) 0:01:21.819 ***** 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-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/main.yml:99 Saturday 24 February 2024 19:08:23 +0000 (0:00:00.583) 0:01:22.403 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-more-test-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/main.yml:108 Saturday 24 February 2024 19:08:23 +0000 (0:00:00.030) 0:01:22.433 ***** 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-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/main.yml:116 Saturday 24 February 2024 19:08:23 +0000 (0:00:00.024) 0:01:22.458 ***** 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-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/main.yml:125 Saturday 24 February 2024 19:08:23 +0000 (0:00:00.026) 0:01:22.484 ***** 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, fde6f0ad-aeb6-4dc4-bc1e-c17fea8ba4ff TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-more-test-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/main.yml:137 Saturday 24 February 2024 19:08:23 +0000 (0:00:00.457) 0:01:22.942 ***** 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-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/main.yml:143 Saturday 24 February 2024 19:08:23 +0000 (0:00:00.027) 0:01:22.970 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, fde6f0ad-aeb6-4dc4-bc1e-c17fea8ba4ff" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-more-test-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/main.yml:147 Saturday 24 February 2024 19:08:23 +0000 (0:00:00.025) 0:01:22.995 ***** 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, fde6f0ad-aeb6-4dc4-bc1e-c17fea8ba4ff\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, fde6f0ad-aeb6-4dc4-bc1e-c17fea8ba4ff" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-more-test-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/main.yml:152 Saturday 24 February 2024 19:08:23 +0000 (0:00:00.037) 0:01:23.033 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-more-test-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/main.yml:158 Saturday 24 February 2024 19:08:23 +0000 (0:00:00.071) 0:01:23.104 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-more-test-debugrndfhkpu/tests/playbooks/tasks/create_bridge_profile.yml:14 Saturday 24 February 2024 19:08:24 +0000 (0:00:00.214) 0:01:23.319 ***** 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, fde6f0ad-aeb6-4dc4-bc1e-c17fea8ba4ff\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, fde6f0ad-aeb6-4dc4-bc1e-c17fea8ba4ff" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-more-test-debugrndfhkpu/tests/playbooks/tasks/activate_profile.yml:3 Saturday 24 February 2024 19:08:24 +0000 (0:00:00.025) 0:01:23.345 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-more-test-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 24 February 2024 19:08:24 +0000 (0:00:00.041) 0:01:23.386 ***** included: /WORKDIR/git-more-test-debugrndfhkpu/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-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 24 February 2024 19:08:24 +0000 (0:00:00.044) 0:01:23.431 ***** 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-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 24 February 2024 19:08:24 +0000 (0:00:00.032) 0:01:23.464 ***** 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-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 24 February 2024 19:08:24 +0000 (0:00:00.028) 0:01:23.492 ***** 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-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 24 February 2024 19:08:24 +0000 (0:00:00.037) 0:01:23.529 ***** 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-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 24 February 2024 19:08:26 +0000 (0:00:02.187) 0:01:25.716 ***** 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-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 24 February 2024 19:08:27 +0000 (0:00:00.950) 0:01:26.667 ***** 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-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 24 February 2024 19:08:27 +0000 (0:00:00.034) 0:01:26.701 ***** 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-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 24 February 2024 19:08:27 +0000 (0:00:00.025) 0:01:26.726 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-more-test-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 24 February 2024 19:08:27 +0000 (0:00:00.024) 0:01:26.751 ***** 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-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/main.yml:43 Saturday 24 February 2024 19:08:27 +0000 (0:00:00.051) 0:01:26.803 ***** 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-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/main.yml:58 Saturday 24 February 2024 19:08:27 +0000 (0:00:00.026) 0:01:26.829 ***** 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-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/main.yml:74 Saturday 24 February 2024 19:08:27 +0000 (0:00:00.027) 0:01:26.856 ***** 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-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/main.yml:88 Saturday 24 February 2024 19:08:27 +0000 (0:00:00.028) 0:01:26.884 ***** 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-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/main.yml:99 Saturday 24 February 2024 19:08:28 +0000 (0:00:00.606) 0:01:27.491 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-more-test-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/main.yml:108 Saturday 24 February 2024 19:08:28 +0000 (0:00:00.026) 0:01:27.518 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-more-test-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/main.yml:116 Saturday 24 February 2024 19:08:28 +0000 (0:00:00.021) 0:01:27.540 ***** 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-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/main.yml:125 Saturday 24 February 2024 19:08:28 +0000 (0:00:00.021) 0:01:27.561 ***** 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, fde6f0ad-aeb6-4dc4-bc1e-c17fea8ba4ff skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-more-test-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/main.yml:137 Saturday 24 February 2024 19:08:28 +0000 (0:00:00.362) 0:01:27.924 ***** 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-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/main.yml:143 Saturday 24 February 2024 19:08:28 +0000 (0:00:00.023) 0:01:27.947 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, fde6f0ad-aeb6-4dc4-bc1e-c17fea8ba4ff skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-more-test-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/main.yml:147 Saturday 24 February 2024 19:08:28 +0000 (0:00:00.024) 0:01:27.972 ***** 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, fde6f0ad-aeb6-4dc4-bc1e-c17fea8ba4ff skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, fde6f0ad-aeb6-4dc4-bc1e-c17fea8ba4ff skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-more-test-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/main.yml:152 Saturday 24 February 2024 19:08:28 +0000 (0:00:00.025) 0:01:27.998 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-more-test-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/main.yml:158 Saturday 24 February 2024 19:08:28 +0000 (0:00:00.022) 0:01:28.021 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-more-test-debugrndfhkpu/tests/playbooks/tasks/remove+down_profile.yml:3 Saturday 24 February 2024 19:08:28 +0000 (0:00:00.210) 0:01:28.231 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-more-test-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 24 February 2024 19:08:29 +0000 (0:00:00.041) 0:01:28.273 ***** included: /WORKDIR/git-more-test-debugrndfhkpu/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-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 24 February 2024 19:08:29 +0000 (0:00:00.056) 0:01:28.330 ***** 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-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 24 February 2024 19:08:29 +0000 (0:00:00.083) 0:01:28.413 ***** 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-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 24 February 2024 19:08:29 +0000 (0:00:00.026) 0:01:28.440 ***** 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-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 24 February 2024 19:08:29 +0000 (0:00:00.024) 0:01:28.465 ***** 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-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 24 February 2024 19:08:31 +0000 (0:00:02.181) 0:01:30.647 ***** 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-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 24 February 2024 19:08:32 +0000 (0:00:00.977) 0:01:31.624 ***** 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-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 24 February 2024 19:08:32 +0000 (0:00:00.035) 0:01:31.660 ***** 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-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 24 February 2024 19:08:32 +0000 (0:00:00.045) 0:01:31.705 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-more-test-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 24 February 2024 19:08:32 +0000 (0:00:00.024) 0:01:31.729 ***** 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-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/main.yml:43 Saturday 24 February 2024 19:08:32 +0000 (0:00:00.055) 0:01:31.785 ***** 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-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/main.yml:58 Saturday 24 February 2024 19:08:32 +0000 (0:00:00.024) 0:01:31.810 ***** 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-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/main.yml:74 Saturday 24 February 2024 19:08:32 +0000 (0:00:00.024) 0:01:31.834 ***** 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-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/main.yml:88 Saturday 24 February 2024 19:08:32 +0000 (0:00:00.027) 0:01:31.862 ***** 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-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/main.yml:99 Saturday 24 February 2024 19:08:33 +0000 (0:00:00.572) 0:01:32.435 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-more-test-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/main.yml:108 Saturday 24 February 2024 19:08:33 +0000 (0:00:00.026) 0:01:32.462 ***** 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-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/main.yml:116 Saturday 24 February 2024 19:08:33 +0000 (0:00:00.021) 0:01:32.484 ***** 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-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/main.yml:125 Saturday 24 February 2024 19:08:33 +0000 (0:00:00.022) 0:01:32.506 ***** 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-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/main.yml:137 Saturday 24 February 2024 19:08:33 +0000 (0:00:00.550) 0:01:33.057 ***** 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-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/main.yml:143 Saturday 24 February 2024 19:08:33 +0000 (0:00:00.024) 0:01:33.082 ***** 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-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/main.yml:147 Saturday 24 February 2024 19:08:33 +0000 (0:00:00.026) 0:01:33.108 ***** 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-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/main.yml:152 Saturday 24 February 2024 19:08:33 +0000 (0:00:00.028) 0:01:33.137 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-more-test-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/main.yml:158 Saturday 24 February 2024 19:08:33 +0000 (0:00:00.023) 0:01:33.161 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-more-test-debugrndfhkpu/tests/playbooks/tasks/run_test.yml:30 Saturday 24 February 2024 19:08:34 +0000 (0:00:00.207) 0:01:33.369 ***** included: /WORKDIR/git-more-test-debugrndfhkpu/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-more-test-debugrndfhkpu/tests/playbooks/tasks/remove+down_profile.yml:3 Saturday 24 February 2024 19:08:34 +0000 (0:00:00.045) 0:01:33.414 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-more-test-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 24 February 2024 19:08:34 +0000 (0:00:00.042) 0:01:33.457 ***** included: /WORKDIR/git-more-test-debugrndfhkpu/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-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 24 February 2024 19:08:34 +0000 (0:00:00.048) 0:01:33.506 ***** 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-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 24 February 2024 19:08:34 +0000 (0:00:00.039) 0:01:33.545 ***** 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-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 24 February 2024 19:08:34 +0000 (0:00:00.025) 0:01:33.571 ***** 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-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 24 February 2024 19:08:34 +0000 (0:00:00.029) 0:01:33.600 ***** 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-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 24 February 2024 19:08:36 +0000 (0:00:02.199) 0:01:35.800 ***** 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-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 24 February 2024 19:08:37 +0000 (0:00:00.929) 0:01:36.730 ***** 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-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 24 February 2024 19:08:37 +0000 (0:00:00.081) 0:01:36.811 ***** 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-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 24 February 2024 19:08:37 +0000 (0:00:00.036) 0:01:36.847 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-more-test-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 24 February 2024 19:08:37 +0000 (0:00:00.048) 0:01:36.895 ***** 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-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/main.yml:43 Saturday 24 February 2024 19:08:37 +0000 (0:00:00.050) 0:01:36.946 ***** 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-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/main.yml:58 Saturday 24 February 2024 19:08:37 +0000 (0:00:00.023) 0:01:36.969 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-more-test-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/main.yml:74 Saturday 24 February 2024 19:08:37 +0000 (0:00:00.023) 0:01:36.993 ***** 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-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/main.yml:88 Saturday 24 February 2024 19:08:37 +0000 (0:00:00.031) 0:01:37.025 ***** 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-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/main.yml:99 Saturday 24 February 2024 19:08:38 +0000 (0:00:00.574) 0:01:37.599 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-more-test-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/main.yml:108 Saturday 24 February 2024 19:08:38 +0000 (0:00:00.041) 0:01:37.641 ***** 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-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/main.yml:116 Saturday 24 February 2024 19:08:38 +0000 (0:00:00.038) 0:01:37.679 ***** 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-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/main.yml:125 Saturday 24 February 2024 19:08:38 +0000 (0:00:00.021) 0:01:37.701 ***** 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-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/main.yml:137 Saturday 24 February 2024 19:08:38 +0000 (0:00:00.394) 0:01:38.095 ***** 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-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/main.yml:143 Saturday 24 February 2024 19:08:38 +0000 (0:00:00.028) 0:01:38.124 ***** 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-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/main.yml:147 Saturday 24 February 2024 19:08:38 +0000 (0:00:00.070) 0:01:38.194 ***** 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-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/main.yml:152 Saturday 24 February 2024 19:08:38 +0000 (0:00:00.042) 0:01:38.237 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-more-test-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/main.yml:158 Saturday 24 February 2024 19:08:39 +0000 (0:00:00.023) 0:01:38.261 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-more-test-debugrndfhkpu/tests/playbooks/tasks/run_test.yml:36 Saturday 24 February 2024 19:08:39 +0000 (0:00:00.210) 0:01:38.471 ***** included: /WORKDIR/git-more-test-debugrndfhkpu/tests/playbooks/tasks/assert_profile_absent.yml for sut included: /WORKDIR/git-more-test-debugrndfhkpu/tests/playbooks/tasks/get_NetworkManager_NVR.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-more-test-debugrndfhkpu/tests/playbooks/tasks/assert_profile_absent.yml:3 Saturday 24 February 2024 19:08:39 +0000 (0:00:00.050) 0:01:38.522 ***** included: /WORKDIR/git-more-test-debugrndfhkpu/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-debugrndfhkpu/tests/playbooks/tasks/get_profile_stat.yml:3 Saturday 24 February 2024 19:08:39 +0000 (0:00:00.043) 0:01:38.565 ***** 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-debugrndfhkpu/tests/playbooks/tasks/get_profile_stat.yml:9 Saturday 24 February 2024 19:08:39 +0000 (0:00:00.025) 0:01:38.590 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-more-test-debugrndfhkpu/tests/playbooks/tasks/get_profile_stat.yml:17 Saturday 24 February 2024 19:08:39 +0000 (0:00:00.210) 0:01:38.801 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-more-test-debugrndfhkpu/tests/playbooks/tasks/get_profile_stat.yml:25 Saturday 24 February 2024 19:08:39 +0000 (0:00:00.029) 0:01:38.831 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022290", "end": "2024-02-24 19:08:39.780549", "rc": 1, "start": "2024-02-24 19:08:39.758259" } 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-debugrndfhkpu/tests/playbooks/tasks/get_profile_stat.yml:35 Saturday 24 February 2024 19:08:39 +0000 (0:00:00.248) 0:01:39.079 ***** 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-debugrndfhkpu/tests/playbooks/tasks/get_profile_stat.yml:49 Saturday 24 February 2024 19:08:39 +0000 (0:00:00.028) 0:01:39.108 ***** 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-debugrndfhkpu/tests/playbooks/tasks/get_profile_stat.yml:56 Saturday 24 February 2024 19:08:39 +0000 (0:00:00.090) 0:01:39.198 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-more-test-debugrndfhkpu/tests/playbooks/tasks/get_profile_stat.yml:62 Saturday 24 February 2024 19:08:39 +0000 (0:00:00.036) 0:01:39.235 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-more-test-debugrndfhkpu/tests/playbooks/tasks/get_profile_stat.yml:69 Saturday 24 February 2024 19:08:40 +0000 (0:00:00.032) 0:01:39.267 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-more-test-debugrndfhkpu/tests/playbooks/tasks/assert_profile_absent.yml:5 Saturday 24 February 2024 19:08:40 +0000 (0:00:00.036) 0:01:39.304 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /WORKDIR/git-more-test-debugrndfhkpu/tests/playbooks/tasks/get_NetworkManager_NVR.yml:7 Saturday 24 February 2024 19:08:40 +0000 (0:00:00.029) 0:01:39.334 ***** ok: [sut] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.365295", "end": "2024-02-24 19:08:40.630015", "rc": 0, "start": "2024-02-24 19:08:40.264720" } STDOUT: NetworkManager-1.42.8-1.fc38 TASK [Store NetworkManager version] ******************************************** task path: /WORKDIR/git-more-test-debugrndfhkpu/tests/playbooks/tasks/get_NetworkManager_NVR.yml:14 Saturday 24 February 2024 19:08:40 +0000 (0:00:00.592) 0:01:39.926 ***** ok: [sut] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.42.8-1.fc38" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /WORKDIR/git-more-test-debugrndfhkpu/tests/playbooks/tasks/get_NetworkManager_NVR.yml:18 Saturday 24 February 2024 19:08:40 +0000 (0:00:00.029) 0:01:39.955 ***** ok: [sut] => { "networkmanager_nvr": "NetworkManager-1.42.8-1.fc38" } TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-more-test-debugrndfhkpu/tests/playbooks/tasks/run_test.yml:42 Saturday 24 February 2024 19:08:40 +0000 (0:00:00.025) 0:01:39.981 ***** included: /WORKDIR/git-more-test-debugrndfhkpu/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-more-test-debugrndfhkpu/tests/playbooks/tasks/assert_device_absent.yml:3 Saturday 24 February 2024 19:08:40 +0000 (0:00:00.051) 0:01:40.032 ***** included: /WORKDIR/git-more-test-debugrndfhkpu/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-more-test-debugrndfhkpu/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 24 February 2024 19:08:40 +0000 (0:00:00.047) 0:01:40.079 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-more-test-debugrndfhkpu/tests/playbooks/tasks/assert_device_absent.yml:5 Saturday 24 February 2024 19:08:41 +0000 (0:00:00.224) 0:01:40.304 ***** 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-debugrndfhkpu/tests/playbooks/tasks/run_test.yml:47 Saturday 24 February 2024 19:08:41 +0000 (0:00:00.031) 0:01:40.336 ***** 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-debugrndfhkpu/tests/playbooks/tasks/run_test.yml:66 Saturday 24 February 2024 19:08:41 +0000 (0:00:00.093) 0:01:40.429 ***** included: /WORKDIR/git-more-test-debugrndfhkpu/tests/playbooks/tasks/cleanup_profile+device.yml for sut included: /WORKDIR/git-more-test-debugrndfhkpu/tests/playbooks/tasks/check_network_dns.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-more-test-debugrndfhkpu/tests/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 24 February 2024 19:08:41 +0000 (0:00:00.051) 0:01:40.480 ***** 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.041458", "end": "2024-02-24 19:08:41.442868", "rc": 1, "start": "2024-02-24 19:08:41.401410" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Check routes and DNS] **************************************************** task path: /WORKDIR/git-more-test-debugrndfhkpu/tests/playbooks/tasks/check_network_dns.yml:6 Saturday 24 February 2024 19:08:41 +0000 (0:00:00.258) 0:01:40.739 ***** 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.009428", "end": "2024-02-24 19:08:41.671610", "rc": 0, "start": "2024-02-24 19:08:41.662182" } 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 noprefixroute valid_lft forever preferred_lft forever 2: eth0: mtu 1500 qdisc mq state UP group default qlen 1000 link/ether 02:42:cc:f7:be:d3 brd ff:ff:ff:ff:ff:ff altname enX0 inet 10.31.46.104/22 brd 10.31.47.255 scope global dynamic noprefixroute eth0 valid_lft 2994sec preferred_lft 2994sec inet6 fe80::42:ccff:fef7:bed3/64 scope link noprefixroute valid_lft forever preferred_lft forever IP ROUTE default via 10.31.44.1 dev eth0 proto dhcp src 10.31.46.104 metric 100 10.31.44.0/22 dev eth0 proto kernel scope link src 10.31.46.104 metric 100 IP -6 ROUTE fe80::/64 dev eth0 proto kernel metric 1024 pref medium RESOLV # This is /run/systemd/resolve/stub-resolv.conf managed by man:systemd-resolved(8). # Do not edit. # # This file might be symlinked as /etc/resolv.conf. If you're looking at # /etc/resolv.conf and seeing this text, you have followed the symlink. # # This is a dynamic resolv.conf file for connecting local clients to the # internal DNS stub resolver of systemd-resolved. This file lists all # configured search domains. # # Run "resolvectl status" to see details about the uplink DNS servers # currently in use. # # Third party programs should typically not access this file directly, but only # through the symlink at /etc/resolv.conf. To manage man:resolv.conf(5) in a # different way, replace this symlink by a static file or a different symlink. # # See man:systemd-resolved.service(8) for details about the supported modes of # operation for /etc/resolv.conf. nameserver 127.0.0.53 options edns0 trust-ad search us-east-1.aws.redhat.com TASK [Verify DNS and network connectivity] ************************************* task path: /WORKDIR/git-more-test-debugrndfhkpu/tests/playbooks/tasks/check_network_dns.yml:24 Saturday 24 February 2024 19:08:41 +0000 (0:00:00.235) 0:01:40.975 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=318 changed=10 unreachable=0 failed=0 skipped=253 rescued=0 ignored=10 Saturday 24 February 2024 19:08:41 +0000 (0:00:00.030) 0:01:41.005 ***** =============================================================================== linux-system-roles.network : Enable and start NetworkManager ------------ 3.08s /WORKDIR/git-more-test-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/main.yml:88 linux-system-roles.network : Configure networking connection profiles --- 2.50s /WORKDIR/git-more-test-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/main.yml:125 linux-system-roles.network : Enable and start NetworkManager ------------ 2.41s /WORKDIR/git-more-test-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/main.yml:88 linux-system-roles.network : Check which services are running ----------- 2.30s /WORKDIR/git-more-test-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.28s /WORKDIR/git-more-test-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.26s /WORKDIR/git-more-test-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.25s /WORKDIR/git-more-test-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.25s /WORKDIR/git-more-test-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.24s /WORKDIR/git-more-test-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.24s /WORKDIR/git-more-test-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.21s /WORKDIR/git-more-test-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.21s /WORKDIR/git-more-test-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.20s /WORKDIR/git-more-test-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.20s /WORKDIR/git-more-test-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.19s /WORKDIR/git-more-test-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.19s /WORKDIR/git-more-test-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.18s /WORKDIR/git-more-test-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.16s /WORKDIR/git-more-test-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Enable and start NetworkManager ------------ 1.73s /WORKDIR/git-more-test-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/main.yml:88 linux-system-roles.network : Configure networking connection profiles --- 1.56s /WORKDIR/git-more-test-debugrndfhkpu/tests/roles/linux-system-roles.network/tasks/main.yml:125 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- [DEPRECATION WARNING]: Distribution fedora 38 on host sut should use /usr/bin/python3, 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. ---^---^---^---^---^---