# 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-debugywludt9c/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-debugywludt9c/tests/tests_states_nm.yml:6 Saturday 24 February 2024 19:00:42 +0000 (0:00:00.022) 0:00:00.022 ***** ok: [sut] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-more-test-debugywludt9c/tests/tests_states_nm.yml:9 Saturday 24 February 2024 19:00:43 +0000 (0:00:00.701) 0:00:00.723 ***** included: /WORKDIR/git-more-test-debugywludt9c/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-debugywludt9c/tests/tasks/el_repo_setup.yml:3 Saturday 24 February 2024 19:00:43 +0000 (0:00:00.022) 0:00:00.745 ***** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-more-test-debugywludt9c/tests/tasks/el_repo_setup.yml:19 Saturday 24 February 2024 19:00:43 +0000 (0:00:00.328) 0:00:01.074 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-more-test-debugywludt9c/tests/tasks/el_repo_setup.yml:24 Saturday 24 February 2024 19:00:44 +0000 (0:00:00.260) 0:00:01.335 ***** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-more-test-debugywludt9c/tests/tasks/el_repo_setup.yml:28 Saturday 24 February 2024 19:00:44 +0000 (0:00:00.019) 0:00:01.354 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-more-test-debugywludt9c/tests/tasks/el_repo_setup.yml:53 Saturday 24 February 2024 19:00:44 +0000 (0:00:00.017) 0:00:01.372 ***** included: /WORKDIR/git-more-test-debugywludt9c/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 8] *********************************************************** task path: /WORKDIR/git-more-test-debugywludt9c/tests/tasks/enable_epel.yml:8 Saturday 24 February 2024 19:00:44 +0000 (0:00:00.030) 0:00:01.402 ***** ok: [sut] => { "attempts": 1, "changed": false, "cmd": [ "rpm", "-iv", "https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm" ], "rc": 0 } STDOUT: skipped, since /etc/yum.repos.d/epel.repo exists TASK [Install yum-utils package] *********************************************** task path: /WORKDIR/git-more-test-debugywludt9c/tests/tasks/enable_epel.yml:24 Saturday 24 February 2024 19:00:44 +0000 (0:00:00.251) 0:00:01.654 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-more-test-debugywludt9c/tests/tasks/enable_epel.yml:30 Saturday 24 February 2024 19:00:44 +0000 (0:00:00.010) 0:00:01.665 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-more-test-debugywludt9c/tests/tasks/enable_epel.yml:35 Saturday 24 February 2024 19:00:44 +0000 (0:00:00.019) 0:00:01.684 ***** ok: [sut] => { "changed": false, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:00.239815", "end": "2024-02-24 19:00:44.852981", "rc": 0, "start": "2024-02-24 19:00:44.613166" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-more-test-debugywludt9c/tests/tasks/enable_epel.yml:40 Saturday 24 February 2024 19:00:44 +0000 (0:00:00.421) 0:00:02.106 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /WORKDIR/git-more-test-debugywludt9c/tests/tests_states_nm.yml:11 Saturday 24 February 2024 19:00:44 +0000 (0:00:00.009) 0:00:02.116 ***** 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-debugywludt9c/tests/playbooks/tests_states.yml:3 Saturday 24 February 2024 19:00:44 +0000 (0:00:00.010) 0:00:02.126 ***** ok: [sut] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-more-test-debugywludt9c/tests/playbooks/tests_states.yml:11 Saturday 24 February 2024 19:00:45 +0000 (0:00:00.466) 0:00:02.593 ***** ok: [sut] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-more-test-debugywludt9c/tests/playbooks/tests_states.yml:22 Saturday 24 February 2024 19:00:45 +0000 (0:00:00.010) 0:00:02.604 ***** included: /WORKDIR/git-more-test-debugywludt9c/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile] ******************************************** task path: /WORKDIR/git-more-test-debugywludt9c/tests/playbooks/tasks/run_test.yml:5 Saturday 24 February 2024 19:00:45 +0000 (0:00:00.015) 0:00:02.619 ***** ok: [sut] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-more-test-debugywludt9c/tests/playbooks/tasks/run_test.yml:9 Saturday 24 February 2024 19:00:45 +0000 (0:00:00.010) 0:00:02.629 ***** 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-debugywludt9c/tests/playbooks/tasks/run_test.yml:21 Saturday 24 February 2024 19:00:45 +0000 (0:00:00.033) 0:00:02.663 ***** included: /WORKDIR/git-more-test-debugywludt9c/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-more-test-debugywludt9c/tests/playbooks/tasks/show_interfaces.yml:3 Saturday 24 February 2024 19:00:45 +0000 (0:00:00.023) 0:00:02.686 ***** included: /WORKDIR/git-more-test-debugywludt9c/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-more-test-debugywludt9c/tests/playbooks/tasks/get_current_interfaces.yml:3 Saturday 24 February 2024 19:00:45 +0000 (0:00:00.017) 0:00:02.703 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002879", "end": "2024-02-24 19:00:45.637391", "rc": 0, "start": "2024-02-24 19:00:45.634512" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-more-test-debugywludt9c/tests/playbooks/tasks/get_current_interfaces.yml:9 Saturday 24 February 2024 19:00:45 +0000 (0:00:00.192) 0:00:02.896 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-more-test-debugywludt9c/tests/playbooks/tasks/show_interfaces.yml:5 Saturday 24 February 2024 19:00:45 +0000 (0:00:00.013) 0:00:02.910 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-more-test-debugywludt9c/tests/playbooks/tasks/run_test.yml:24 Saturday 24 February 2024 19:00:45 +0000 (0:00:00.010) 0:00:02.920 ***** included: /WORKDIR/git-more-test-debugywludt9c/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-more-test-debugywludt9c/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-more-test-debugywludt9c/tests/playbooks/tasks/delete_interface.yml:3 Saturday 24 February 2024 19:00:45 +0000 (0:00:00.021) 0:00:02.941 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.007818", "end": "2024-02-24 19:00:45.895903", "rc": 1, "start": "2024-02-24 19:00:45.888085" } 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-debugywludt9c/tests/playbooks/tasks/assert_device_absent.yml:3 Saturday 24 February 2024 19:00:45 +0000 (0:00:00.204) 0:00:03.146 ***** included: /WORKDIR/git-more-test-debugywludt9c/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-more-test-debugywludt9c/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 24 February 2024 19:00:45 +0000 (0:00:00.015) 0:00:03.161 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-more-test-debugywludt9c/tests/playbooks/tasks/assert_device_absent.yml:5 Saturday 24 February 2024 19:00:46 +0000 (0:00:00.179) 0:00:03.341 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-more-test-debugywludt9c/tests/playbooks/tasks/run_test.yml:30 Saturday 24 February 2024 19:00:46 +0000 (0:00:00.013) 0:00:03.355 ***** included: /WORKDIR/git-more-test-debugywludt9c/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-more-test-debugywludt9c/tests/playbooks/tasks/create_bridge_profile.yml:3 Saturday 24 February 2024 19:00:46 +0000 (0:00:00.017) 0:00:03.372 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-more-test-debugywludt9c/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 24 February 2024 19:00:46 +0000 (0:00:00.031) 0:00:03.404 ***** included: /WORKDIR/git-more-test-debugywludt9c/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-debugywludt9c/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 24 February 2024 19:00:46 +0000 (0:00:00.074) 0:00:03.479 ***** 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-debugywludt9c/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 24 February 2024 19:00:46 +0000 (0:00:00.011) 0:00:03.491 ***** 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-debugywludt9c/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 24 February 2024 19:00:46 +0000 (0:00:00.012) 0:00:03.504 ***** 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-debugywludt9c/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 24 February 2024 19:00:46 +0000 (0:00:00.029) 0:00:03.533 ***** 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-debugywludt9c/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 24 February 2024 19:00:47 +0000 (0:00:01.550) 0:00:05.084 ***** 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-debugywludt9c/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 24 February 2024 19:00:49 +0000 (0:00:01.470) 0:00:06.554 ***** 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-debugywludt9c/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 24 February 2024 19:00:49 +0000 (0:00:00.024) 0:00:06.578 ***** 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-debugywludt9c/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 24 February 2024 19:00:49 +0000 (0:00:00.021) 0:00:06.600 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-more-test-debugywludt9c/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 24 February 2024 19:00:49 +0000 (0:00:00.022) 0:00:06.623 ***** 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-debugywludt9c/tests/roles/linux-system-roles.network/tasks/main.yml:43 Saturday 24 February 2024 19:00:49 +0000 (0:00:00.043) 0:00:06.666 ***** 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-debugywludt9c/tests/roles/linux-system-roles.network/tasks/main.yml:58 Saturday 24 February 2024 19:00:49 +0000 (0:00:00.039) 0:00:06.706 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-more-test-debugywludt9c/tests/roles/linux-system-roles.network/tasks/main.yml:74 Saturday 24 February 2024 19:00:49 +0000 (0:00:00.022) 0:00:06.729 ***** 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-debugywludt9c/tests/roles/linux-system-roles.network/tasks/main.yml:88 Saturday 24 February 2024 19:00:49 +0000 (0:00:00.028) 0:00:06.757 ***** 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-debugywludt9c/tests/roles/linux-system-roles.network/tasks/main.yml:99 Saturday 24 February 2024 19:00:49 +0000 (0:00:00.475) 0:00:07.233 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-more-test-debugywludt9c/tests/roles/linux-system-roles.network/tasks/main.yml:108 Saturday 24 February 2024 19:00:50 +0000 (0:00:00.026) 0:00:07.259 ***** 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-debugywludt9c/tests/roles/linux-system-roles.network/tasks/main.yml:116 Saturday 24 February 2024 19:00:50 +0000 (0:00:00.024) 0:00:07.284 ***** 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-debugywludt9c/tests/roles/linux-system-roles.network/tasks/main.yml:125 Saturday 24 February 2024 19:00:50 +0000 (0:00:00.022) 0:00:07.307 ***** 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, 4c3fee83-833c-4010-940e-f56a84f052a7 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-more-test-debugywludt9c/tests/roles/linux-system-roles.network/tasks/main.yml:137 Saturday 24 February 2024 19:00:50 +0000 (0:00:00.595) 0:00:07.902 ***** 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-debugywludt9c/tests/roles/linux-system-roles.network/tasks/main.yml:143 Saturday 24 February 2024 19:00:50 +0000 (0:00:00.094) 0:00:07.997 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 4c3fee83-833c-4010-940e-f56a84f052a7" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-more-test-debugywludt9c/tests/roles/linux-system-roles.network/tasks/main.yml:147 Saturday 24 February 2024 19:00:50 +0000 (0:00:00.038) 0:00:08.035 ***** 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, 4c3fee83-833c-4010-940e-f56a84f052a7\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 4c3fee83-833c-4010-940e-f56a84f052a7" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-more-test-debugywludt9c/tests/roles/linux-system-roles.network/tasks/main.yml:152 Saturday 24 February 2024 19:00:50 +0000 (0:00:00.025) 0:00:08.061 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-more-test-debugywludt9c/tests/roles/linux-system-roles.network/tasks/main.yml:158 Saturday 24 February 2024 19:00:50 +0000 (0:00:00.022) 0:00:08.083 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-more-test-debugywludt9c/tests/playbooks/tasks/create_bridge_profile.yml:14 Saturday 24 February 2024 19:00:51 +0000 (0:00:00.237) 0:00:08.321 ***** 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, 4c3fee83-833c-4010-940e-f56a84f052a7\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 4c3fee83-833c-4010-940e-f56a84f052a7" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-more-test-debugywludt9c/tests/playbooks/tasks/run_test.yml:36 Saturday 24 February 2024 19:00:51 +0000 (0:00:00.030) 0:00:08.351 ***** included: /WORKDIR/git-more-test-debugywludt9c/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-more-test-debugywludt9c/tests/playbooks/tasks/assert_profile_present.yml:3 Saturday 24 February 2024 19:00:51 +0000 (0:00:00.043) 0:00:08.395 ***** included: /WORKDIR/git-more-test-debugywludt9c/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-debugywludt9c/tests/playbooks/tasks/get_profile_stat.yml:3 Saturday 24 February 2024 19:00:51 +0000 (0:00:00.039) 0:00:08.434 ***** 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-debugywludt9c/tests/playbooks/tasks/get_profile_stat.yml:9 Saturday 24 February 2024 19:00:51 +0000 (0:00:00.022) 0:00:08.456 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1708801250.5604234, "block_size": 4096, "blocks": 8, "ctime": 1708801250.505423, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 5976461, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1708801250.505423, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 221, "uid": 0, "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-more-test-debugywludt9c/tests/playbooks/tasks/get_profile_stat.yml:17 Saturday 24 February 2024 19:00:51 +0000 (0:00:00.198) 0:00:08.655 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-more-test-debugywludt9c/tests/playbooks/tasks/get_profile_stat.yml:25 Saturday 24 February 2024 19:00:51 +0000 (0:00:00.023) 0:00:08.678 ***** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020249", "end": "2024-02-24 19:00:51.632105", "rc": 0, "start": "2024-02-24 19:00:51.611856" } STDOUT: statebr /etc/sysconfig/network-scripts/ifcfg-statebr TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-more-test-debugywludt9c/tests/playbooks/tasks/get_profile_stat.yml:35 Saturday 24 February 2024 19:00:51 +0000 (0:00:00.215) 0:00:08.894 ***** 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-debugywludt9c/tests/playbooks/tasks/get_profile_stat.yml:49 Saturday 24 February 2024 19:00:51 +0000 (0:00:00.055) 0:00:08.949 ***** 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-debugywludt9c/tests/playbooks/tasks/get_profile_stat.yml:56 Saturday 24 February 2024 19:00:51 +0000 (0:00:00.023) 0:00:08.973 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-more-test-debugywludt9c/tests/playbooks/tasks/get_profile_stat.yml:62 Saturday 24 February 2024 19:00:51 +0000 (0:00:00.022) 0:00:08.996 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-more-test-debugywludt9c/tests/playbooks/tasks/get_profile_stat.yml:69 Saturday 24 February 2024 19:00:51 +0000 (0:00:00.023) 0:00:09.019 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-more-test-debugywludt9c/tests/playbooks/tasks/assert_profile_present.yml:5 Saturday 24 February 2024 19:00:51 +0000 (0:00:00.023) 0:00:09.043 ***** 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-debugywludt9c/tests/playbooks/tasks/assert_profile_present.yml:10 Saturday 24 February 2024 19:00:51 +0000 (0:00:00.024) 0:00:09.067 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-more-test-debugywludt9c/tests/playbooks/tasks/assert_profile_present.yml:15 Saturday 24 February 2024 19:00:51 +0000 (0:00:00.026) 0:00:09.094 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-more-test-debugywludt9c/tests/playbooks/tasks/run_test.yml:42 Saturday 24 February 2024 19:00:51 +0000 (0:00:00.023) 0:00:09.118 ***** included: /WORKDIR/git-more-test-debugywludt9c/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-more-test-debugywludt9c/tests/playbooks/tasks/assert_device_present.yml:3 Saturday 24 February 2024 19:00:51 +0000 (0:00:00.059) 0:00:09.177 ***** included: /WORKDIR/git-more-test-debugywludt9c/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-more-test-debugywludt9c/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 24 February 2024 19:00:51 +0000 (0:00:00.041) 0:00:09.218 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1708801250.5073419, "block_size": 4096, "blocks": 0, "ctime": 1708801250.5073419, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 32111, "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": 1708801250.5073419, "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-debugywludt9c/tests/playbooks/tasks/assert_device_present.yml:5 Saturday 24 February 2024 19:00:52 +0000 (0:00:00.233) 0:00:09.451 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can create a profile'] ******************************** task path: /WORKDIR/git-more-test-debugywludt9c/tests/playbooks/tasks/run_test.yml:47 Saturday 24 February 2024 19:00:52 +0000 (0:00:00.028) 0:00:09.480 ***** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-more-test-debugywludt9c/tests/playbooks/tasks/run_test.yml:66 Saturday 24 February 2024 19:00:52 +0000 (0:00:00.043) 0:00:09.524 ***** included: /WORKDIR/git-more-test-debugywludt9c/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-more-test-debugywludt9c/tests/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 24 February 2024 19:00:52 +0000 (0:00:00.068) 0:00:09.593 ***** 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.055940", "end": "2024-02-24 19:00:52.620057", "rc": 1, "start": "2024-02-24 19:00:52.564117" } STDOUT: Connection 'statebr' (4c3fee83-833c-4010-940e-f56a84f052a7) successfully deleted. STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-more-test-debugywludt9c/tests/playbooks/tests_states.yml:45 Saturday 24 February 2024 19:00:52 +0000 (0:00:00.313) 0:00:09.907 ***** included: /WORKDIR/git-more-test-debugywludt9c/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile without autoconnect] ************************ task path: /WORKDIR/git-more-test-debugywludt9c/tests/playbooks/tasks/run_test.yml:5 Saturday 24 February 2024 19:00:52 +0000 (0:00:00.072) 0:00:09.980 ***** ok: [sut] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-more-test-debugywludt9c/tests/playbooks/tasks/run_test.yml:9 Saturday 24 February 2024 19:00:52 +0000 (0:00:00.027) 0:00:10.007 ***** 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-debugywludt9c/tests/playbooks/tasks/run_test.yml:21 Saturday 24 February 2024 19:00:52 +0000 (0:00:00.047) 0:00:10.054 ***** included: /WORKDIR/git-more-test-debugywludt9c/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-more-test-debugywludt9c/tests/playbooks/tasks/show_interfaces.yml:3 Saturday 24 February 2024 19:00:52 +0000 (0:00:00.038) 0:00:10.093 ***** included: /WORKDIR/git-more-test-debugywludt9c/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-more-test-debugywludt9c/tests/playbooks/tasks/get_current_interfaces.yml:3 Saturday 24 February 2024 19:00:52 +0000 (0:00:00.076) 0:00:10.170 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002861", "end": "2024-02-24 19:00:53.131837", "rc": 0, "start": "2024-02-24 19:00:53.128976" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-more-test-debugywludt9c/tests/playbooks/tasks/get_current_interfaces.yml:9 Saturday 24 February 2024 19:00:53 +0000 (0:00:00.224) 0:00:10.394 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-more-test-debugywludt9c/tests/playbooks/tasks/show_interfaces.yml:5 Saturday 24 February 2024 19:00:53 +0000 (0:00:00.025) 0:00:10.419 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-more-test-debugywludt9c/tests/playbooks/tasks/run_test.yml:24 Saturday 24 February 2024 19:00:53 +0000 (0:00:00.023) 0:00:10.443 ***** included: /WORKDIR/git-more-test-debugywludt9c/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-more-test-debugywludt9c/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-more-test-debugywludt9c/tests/playbooks/tasks/delete_interface.yml:3 Saturday 24 February 2024 19:00:53 +0000 (0:00:00.046) 0:00:10.489 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.005935", "end": "2024-02-24 19:00:53.424509", "rc": 1, "start": "2024-02-24 19:00:53.418574" } 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-debugywludt9c/tests/playbooks/tasks/assert_device_absent.yml:3 Saturday 24 February 2024 19:00:53 +0000 (0:00:00.197) 0:00:10.686 ***** included: /WORKDIR/git-more-test-debugywludt9c/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-more-test-debugywludt9c/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 24 February 2024 19:00:53 +0000 (0:00:00.037) 0:00:10.724 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-more-test-debugywludt9c/tests/playbooks/tasks/assert_device_absent.yml:5 Saturday 24 February 2024 19:00:53 +0000 (0:00:00.193) 0:00:10.917 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-more-test-debugywludt9c/tests/playbooks/tasks/run_test.yml:30 Saturday 24 February 2024 19:00:53 +0000 (0:00:00.029) 0:00:10.947 ***** included: /WORKDIR/git-more-test-debugywludt9c/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-more-test-debugywludt9c/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Saturday 24 February 2024 19:00:53 +0000 (0:00:00.040) 0:00:10.988 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-more-test-debugywludt9c/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 24 February 2024 19:00:53 +0000 (0:00:00.066) 0:00:11.054 ***** included: /WORKDIR/git-more-test-debugywludt9c/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-debugywludt9c/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 24 February 2024 19:00:53 +0000 (0:00:00.098) 0:00:11.152 ***** 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-debugywludt9c/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 24 February 2024 19:00:53 +0000 (0:00:00.036) 0:00:11.189 ***** 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-debugywludt9c/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 24 February 2024 19:00:53 +0000 (0:00:00.039) 0:00:11.229 ***** 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-debugywludt9c/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 24 February 2024 19:00:54 +0000 (0:00:00.026) 0:00:11.255 ***** 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-debugywludt9c/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 24 February 2024 19:00:55 +0000 (0:00:01.508) 0:00:12.763 ***** 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-debugywludt9c/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 24 February 2024 19:00:56 +0000 (0:00:01.316) 0:00:14.080 ***** 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-debugywludt9c/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 24 February 2024 19:00:56 +0000 (0:00:00.037) 0:00:14.117 ***** 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-debugywludt9c/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 24 February 2024 19:00:56 +0000 (0:00:00.052) 0:00:14.170 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-more-test-debugywludt9c/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 24 February 2024 19:00:56 +0000 (0:00:00.035) 0:00:14.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-debugywludt9c/tests/roles/linux-system-roles.network/tasks/main.yml:43 Saturday 24 February 2024 19:00:57 +0000 (0:00:00.047) 0:00:14.253 ***** 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-debugywludt9c/tests/roles/linux-system-roles.network/tasks/main.yml:58 Saturday 24 February 2024 19:00:57 +0000 (0:00:00.023) 0:00:14.276 ***** 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-debugywludt9c/tests/roles/linux-system-roles.network/tasks/main.yml:74 Saturday 24 February 2024 19:00:57 +0000 (0:00:00.046) 0:00:14.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-debugywludt9c/tests/roles/linux-system-roles.network/tasks/main.yml:88 Saturday 24 February 2024 19:00:57 +0000 (0:00:00.039) 0:00:14.363 ***** 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-debugywludt9c/tests/roles/linux-system-roles.network/tasks/main.yml:99 Saturday 24 February 2024 19:00:57 +0000 (0:00:00.361) 0:00:14.724 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-more-test-debugywludt9c/tests/roles/linux-system-roles.network/tasks/main.yml:108 Saturday 24 February 2024 19:00:57 +0000 (0:00:00.029) 0:00:14.754 ***** 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-debugywludt9c/tests/roles/linux-system-roles.network/tasks/main.yml:116 Saturday 24 February 2024 19:00:57 +0000 (0:00:00.024) 0:00:14.778 ***** 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-debugywludt9c/tests/roles/linux-system-roles.network/tasks/main.yml:125 Saturday 24 February 2024 19:00:57 +0000 (0:00:00.024) 0:00:14.802 ***** 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, e469423c-42ca-45a7-97e3-6df069bf2d99 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-more-test-debugywludt9c/tests/roles/linux-system-roles.network/tasks/main.yml:137 Saturday 24 February 2024 19:00:57 +0000 (0:00:00.414) 0:00:15.217 ***** 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-debugywludt9c/tests/roles/linux-system-roles.network/tasks/main.yml:143 Saturday 24 February 2024 19:00:58 +0000 (0:00:00.034) 0:00:15.251 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, e469423c-42ca-45a7-97e3-6df069bf2d99" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-more-test-debugywludt9c/tests/roles/linux-system-roles.network/tasks/main.yml:147 Saturday 24 February 2024 19:00:58 +0000 (0:00:00.030) 0:00:15.281 ***** 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, e469423c-42ca-45a7-97e3-6df069bf2d99\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, e469423c-42ca-45a7-97e3-6df069bf2d99" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-more-test-debugywludt9c/tests/roles/linux-system-roles.network/tasks/main.yml:152 Saturday 24 February 2024 19:00:58 +0000 (0:00:00.056) 0:00:15.338 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-more-test-debugywludt9c/tests/roles/linux-system-roles.network/tasks/main.yml:158 Saturday 24 February 2024 19:00:58 +0000 (0:00:00.048) 0:00:15.387 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-more-test-debugywludt9c/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Saturday 24 February 2024 19:00:58 +0000 (0:00:00.244) 0:00:15.632 ***** 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, e469423c-42ca-45a7-97e3-6df069bf2d99\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, e469423c-42ca-45a7-97e3-6df069bf2d99" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-more-test-debugywludt9c/tests/playbooks/tasks/run_test.yml:36 Saturday 24 February 2024 19:00:58 +0000 (0:00:00.028) 0:00:15.661 ***** included: /WORKDIR/git-more-test-debugywludt9c/tests/playbooks/tasks/assert_device_absent.yml for sut included: /WORKDIR/git-more-test-debugywludt9c/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-more-test-debugywludt9c/tests/playbooks/tasks/assert_device_absent.yml:3 Saturday 24 February 2024 19:00:58 +0000 (0:00:00.100) 0:00:15.762 ***** included: /WORKDIR/git-more-test-debugywludt9c/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-more-test-debugywludt9c/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 24 February 2024 19:00:58 +0000 (0:00:00.039) 0:00:15.801 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-more-test-debugywludt9c/tests/playbooks/tasks/assert_device_absent.yml:5 Saturday 24 February 2024 19:00:58 +0000 (0:00:00.201) 0:00:16.002 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-more-test-debugywludt9c/tests/playbooks/tasks/assert_profile_present.yml:3 Saturday 24 February 2024 19:00:58 +0000 (0:00:00.025) 0:00:16.028 ***** included: /WORKDIR/git-more-test-debugywludt9c/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-debugywludt9c/tests/playbooks/tasks/get_profile_stat.yml:3 Saturday 24 February 2024 19:00:58 +0000 (0:00:00.037) 0:00:16.066 ***** 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-debugywludt9c/tests/playbooks/tasks/get_profile_stat.yml:9 Saturday 24 February 2024 19:00:58 +0000 (0:00:00.022) 0:00:16.088 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1708801257.9154418, "block_size": 4096, "blocks": 8, "ctime": 1708801257.9154418, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 5976461, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1708801257.9154418, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 220, "uid": 0, "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-more-test-debugywludt9c/tests/playbooks/tasks/get_profile_stat.yml:17 Saturday 24 February 2024 19:00:59 +0000 (0:00:00.191) 0:00:16.279 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-more-test-debugywludt9c/tests/playbooks/tasks/get_profile_stat.yml:25 Saturday 24 February 2024 19:00:59 +0000 (0:00:00.024) 0:00:16.304 ***** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.019756", "end": "2024-02-24 19:00:59.252604", "rc": 0, "start": "2024-02-24 19:00:59.232848" } STDOUT: statebr /etc/sysconfig/network-scripts/ifcfg-statebr TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-more-test-debugywludt9c/tests/playbooks/tasks/get_profile_stat.yml:35 Saturday 24 February 2024 19:00:59 +0000 (0:00:00.212) 0:00:16.516 ***** 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-debugywludt9c/tests/playbooks/tasks/get_profile_stat.yml:49 Saturday 24 February 2024 19:00:59 +0000 (0:00:00.025) 0:00:16.542 ***** 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-debugywludt9c/tests/playbooks/tasks/get_profile_stat.yml:56 Saturday 24 February 2024 19:00:59 +0000 (0:00:00.030) 0:00:16.572 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-more-test-debugywludt9c/tests/playbooks/tasks/get_profile_stat.yml:62 Saturday 24 February 2024 19:00:59 +0000 (0:00:00.025) 0:00:16.598 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-more-test-debugywludt9c/tests/playbooks/tasks/get_profile_stat.yml:69 Saturday 24 February 2024 19:00:59 +0000 (0:00:00.024) 0:00:16.622 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-more-test-debugywludt9c/tests/playbooks/tasks/assert_profile_present.yml:5 Saturday 24 February 2024 19:00:59 +0000 (0:00:00.057) 0:00:16.680 ***** 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-debugywludt9c/tests/playbooks/tasks/assert_profile_present.yml:10 Saturday 24 February 2024 19:00:59 +0000 (0:00:00.026) 0:00:16.706 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-more-test-debugywludt9c/tests/playbooks/tasks/assert_profile_present.yml:15 Saturday 24 February 2024 19:00:59 +0000 (0:00:00.027) 0:00:16.733 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-more-test-debugywludt9c/tests/playbooks/tasks/run_test.yml:42 Saturday 24 February 2024 19:00:59 +0000 (0:00:00.024) 0:00:16.757 ***** TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /WORKDIR/git-more-test-debugywludt9c/tests/playbooks/tasks/run_test.yml:47 Saturday 24 February 2024 19:00:59 +0000 (0:00:00.021) 0:00:16.779 ***** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-more-test-debugywludt9c/tests/playbooks/tasks/run_test.yml:66 Saturday 24 February 2024 19:00:59 +0000 (0:00:00.026) 0:00:16.805 ***** included: /WORKDIR/git-more-test-debugywludt9c/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-more-test-debugywludt9c/tests/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 24 February 2024 19:00:59 +0000 (0:00:00.065) 0:00:16.870 ***** 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.039899", "end": "2024-02-24 19:00:59.853934", "rc": 1, "start": "2024-02-24 19:00:59.814035" } STDOUT: Connection 'statebr' (e469423c-42ca-45a7-97e3-6df069bf2d99) successfully deleted. STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-more-test-debugywludt9c/tests/playbooks/tests_states.yml:65 Saturday 24 February 2024 19:00:59 +0000 (0:00:00.280) 0:00:17.151 ***** included: /WORKDIR/git-more-test-debugywludt9c/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can activate an existing profile] ******************************** task path: /WORKDIR/git-more-test-debugywludt9c/tests/playbooks/tasks/run_test.yml:5 Saturday 24 February 2024 19:00:59 +0000 (0:00:00.039) 0:00:17.190 ***** ok: [sut] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-more-test-debugywludt9c/tests/playbooks/tasks/run_test.yml:9 Saturday 24 February 2024 19:01:00 +0000 (0:00:00.043) 0:00:17.234 ***** 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-debugywludt9c/tests/playbooks/tasks/run_test.yml:21 Saturday 24 February 2024 19:01:00 +0000 (0:00:00.089) 0:00:17.324 ***** included: /WORKDIR/git-more-test-debugywludt9c/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-more-test-debugywludt9c/tests/playbooks/tasks/show_interfaces.yml:3 Saturday 24 February 2024 19:01:00 +0000 (0:00:00.056) 0:00:17.380 ***** included: /WORKDIR/git-more-test-debugywludt9c/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-more-test-debugywludt9c/tests/playbooks/tasks/get_current_interfaces.yml:3 Saturday 24 February 2024 19:01:00 +0000 (0:00:00.093) 0:00:17.474 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003042", "end": "2024-02-24 19:01:00.413204", "rc": 0, "start": "2024-02-24 19:01:00.410162" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-more-test-debugywludt9c/tests/playbooks/tasks/get_current_interfaces.yml:9 Saturday 24 February 2024 19:01:00 +0000 (0:00:00.220) 0:00:17.694 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-more-test-debugywludt9c/tests/playbooks/tasks/show_interfaces.yml:5 Saturday 24 February 2024 19:01:00 +0000 (0:00:00.044) 0:00:17.738 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-more-test-debugywludt9c/tests/playbooks/tasks/run_test.yml:24 Saturday 24 February 2024 19:01:00 +0000 (0:00:00.054) 0:00:17.793 ***** included: /WORKDIR/git-more-test-debugywludt9c/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-more-test-debugywludt9c/tests/playbooks/tasks/create_bridge_profile.yml:3 Saturday 24 February 2024 19:01:00 +0000 (0:00:00.050) 0:00:17.844 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-more-test-debugywludt9c/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 24 February 2024 19:01:00 +0000 (0:00:00.042) 0:00:17.887 ***** included: /WORKDIR/git-more-test-debugywludt9c/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-debugywludt9c/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 24 February 2024 19:01:00 +0000 (0:00:00.045) 0:00:17.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 : Check if system is ostree] ****************** task path: /WORKDIR/git-more-test-debugywludt9c/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 24 February 2024 19:01:00 +0000 (0:00:00.042) 0:00:17.975 ***** 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-debugywludt9c/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 24 February 2024 19:01:00 +0000 (0:00:00.022) 0:00:17.997 ***** 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-debugywludt9c/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 24 February 2024 19:01:00 +0000 (0:00:00.048) 0:00:18.046 ***** 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-debugywludt9c/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 24 February 2024 19:01:02 +0000 (0:00:01.539) 0:00:19.585 ***** 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-debugywludt9c/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 24 February 2024 19:01:03 +0000 (0:00:01.299) 0:00:20.884 ***** 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-debugywludt9c/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 24 February 2024 19:01:03 +0000 (0:00:00.025) 0:00:20.910 ***** 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-debugywludt9c/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 24 February 2024 19:01:03 +0000 (0:00:00.023) 0:00:20.933 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-more-test-debugywludt9c/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 24 February 2024 19:01:03 +0000 (0:00:00.021) 0:00:20.955 ***** 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-debugywludt9c/tests/roles/linux-system-roles.network/tasks/main.yml:43 Saturday 24 February 2024 19:01:03 +0000 (0:00:00.058) 0:00:21.013 ***** 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-debugywludt9c/tests/roles/linux-system-roles.network/tasks/main.yml:58 Saturday 24 February 2024 19:01:03 +0000 (0:00:00.023) 0:00:21.036 ***** 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-debugywludt9c/tests/roles/linux-system-roles.network/tasks/main.yml:74 Saturday 24 February 2024 19:01:03 +0000 (0:00:00.025) 0:00:21.062 ***** 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-debugywludt9c/tests/roles/linux-system-roles.network/tasks/main.yml:88 Saturday 24 February 2024 19:01:03 +0000 (0:00:00.038) 0:00:21.100 ***** 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-debugywludt9c/tests/roles/linux-system-roles.network/tasks/main.yml:99 Saturday 24 February 2024 19:01:04 +0000 (0:00:00.343) 0:00:21.444 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-more-test-debugywludt9c/tests/roles/linux-system-roles.network/tasks/main.yml:108 Saturday 24 February 2024 19:01:04 +0000 (0:00:00.025) 0:00:21.469 ***** 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-debugywludt9c/tests/roles/linux-system-roles.network/tasks/main.yml:116 Saturday 24 February 2024 19:01:04 +0000 (0:00:00.021) 0:00:21.491 ***** 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-debugywludt9c/tests/roles/linux-system-roles.network/tasks/main.yml:125 Saturday 24 February 2024 19:01:04 +0000 (0:00:00.020) 0:00:21.511 ***** 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, 018face3-ccc8-4b70-af1c-512194f0e60c TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-more-test-debugywludt9c/tests/roles/linux-system-roles.network/tasks/main.yml:137 Saturday 24 February 2024 19:01:04 +0000 (0:00:00.382) 0:00:21.893 ***** 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-debugywludt9c/tests/roles/linux-system-roles.network/tasks/main.yml:143 Saturday 24 February 2024 19:01:04 +0000 (0:00:00.021) 0:00:21.915 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 018face3-ccc8-4b70-af1c-512194f0e60c" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-more-test-debugywludt9c/tests/roles/linux-system-roles.network/tasks/main.yml:147 Saturday 24 February 2024 19:01:04 +0000 (0:00:00.021) 0:00:21.937 ***** 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, 018face3-ccc8-4b70-af1c-512194f0e60c\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 018face3-ccc8-4b70-af1c-512194f0e60c" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-more-test-debugywludt9c/tests/roles/linux-system-roles.network/tasks/main.yml:152 Saturday 24 February 2024 19:01:04 +0000 (0:00:00.023) 0:00:21.960 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-more-test-debugywludt9c/tests/roles/linux-system-roles.network/tasks/main.yml:158 Saturday 24 February 2024 19:01:04 +0000 (0:00:00.021) 0:00:21.982 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-more-test-debugywludt9c/tests/playbooks/tasks/create_bridge_profile.yml:14 Saturday 24 February 2024 19:01:04 +0000 (0:00:00.192) 0:00:22.174 ***** 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, 018face3-ccc8-4b70-af1c-512194f0e60c\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 018face3-ccc8-4b70-af1c-512194f0e60c" ] } } TASK [Test] ******************************************************************** task path: /WORKDIR/git-more-test-debugywludt9c/tests/playbooks/tasks/run_test.yml:30 Saturday 24 February 2024 19:01:04 +0000 (0:00:00.024) 0:00:22.199 ***** included: /WORKDIR/git-more-test-debugywludt9c/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-more-test-debugywludt9c/tests/playbooks/tasks/activate_profile.yml:3 Saturday 24 February 2024 19:01:05 +0000 (0:00:00.043) 0:00:22.243 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-more-test-debugywludt9c/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 24 February 2024 19:01:05 +0000 (0:00:00.070) 0:00:22.314 ***** included: /WORKDIR/git-more-test-debugywludt9c/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-debugywludt9c/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 24 February 2024 19:01:05 +0000 (0:00:00.041) 0:00:22.355 ***** 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-debugywludt9c/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 24 February 2024 19:01:05 +0000 (0:00:00.027) 0:00:22.383 ***** 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-debugywludt9c/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 24 February 2024 19:01:05 +0000 (0:00:00.025) 0:00:22.408 ***** 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-debugywludt9c/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 24 February 2024 19:01:05 +0000 (0:00:00.035) 0:00:22.444 ***** 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-debugywludt9c/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 24 February 2024 19:01:06 +0000 (0:00:01.472) 0:00:23.916 ***** 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-debugywludt9c/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 24 February 2024 19:01:08 +0000 (0:00:01.347) 0:00:25.264 ***** 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-debugywludt9c/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 24 February 2024 19:01:08 +0000 (0:00:00.026) 0:00:25.290 ***** 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-debugywludt9c/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 24 February 2024 19:01:08 +0000 (0:00:00.032) 0:00:25.322 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-more-test-debugywludt9c/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 24 February 2024 19:01:08 +0000 (0:00:00.029) 0:00:25.352 ***** 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-debugywludt9c/tests/roles/linux-system-roles.network/tasks/main.yml:43 Saturday 24 February 2024 19:01:08 +0000 (0:00:00.063) 0:00:25.415 ***** 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-debugywludt9c/tests/roles/linux-system-roles.network/tasks/main.yml:58 Saturday 24 February 2024 19:01:08 +0000 (0:00:00.023) 0:00:25.439 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-more-test-debugywludt9c/tests/roles/linux-system-roles.network/tasks/main.yml:74 Saturday 24 February 2024 19:01:08 +0000 (0:00:00.026) 0:00:25.465 ***** 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-debugywludt9c/tests/roles/linux-system-roles.network/tasks/main.yml:88 Saturday 24 February 2024 19:01:08 +0000 (0:00:00.045) 0:00:25.510 ***** 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-debugywludt9c/tests/roles/linux-system-roles.network/tasks/main.yml:99 Saturday 24 February 2024 19:01:08 +0000 (0:00:00.372) 0:00:25.883 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-more-test-debugywludt9c/tests/roles/linux-system-roles.network/tasks/main.yml:108 Saturday 24 February 2024 19:01:08 +0000 (0:00:00.027) 0:00:25.910 ***** 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-debugywludt9c/tests/roles/linux-system-roles.network/tasks/main.yml:116 Saturday 24 February 2024 19:01:08 +0000 (0:00:00.032) 0:00:25.942 ***** 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-debugywludt9c/tests/roles/linux-system-roles.network/tasks/main.yml:125 Saturday 24 February 2024 19:01:08 +0000 (0:00:00.049) 0:00:25.991 ***** 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, 018face3-ccc8-4b70-af1c-512194f0e60c skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-more-test-debugywludt9c/tests/roles/linux-system-roles.network/tasks/main.yml:137 Saturday 24 February 2024 19:01:09 +0000 (0:00:00.364) 0:00:26.356 ***** 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-debugywludt9c/tests/roles/linux-system-roles.network/tasks/main.yml:143 Saturday 24 February 2024 19:01:09 +0000 (0:00:00.030) 0:00:26.386 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 018face3-ccc8-4b70-af1c-512194f0e60c skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-more-test-debugywludt9c/tests/roles/linux-system-roles.network/tasks/main.yml:147 Saturday 24 February 2024 19:01:09 +0000 (0:00:00.065) 0:00:26.452 ***** 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, 018face3-ccc8-4b70-af1c-512194f0e60c skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 018face3-ccc8-4b70-af1c-512194f0e60c skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-more-test-debugywludt9c/tests/roles/linux-system-roles.network/tasks/main.yml:152 Saturday 24 February 2024 19:01:09 +0000 (0:00:00.088) 0:00:26.540 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-more-test-debugywludt9c/tests/roles/linux-system-roles.network/tasks/main.yml:158 Saturday 24 February 2024 19:01:09 +0000 (0:00:00.028) 0:00:26.568 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-more-test-debugywludt9c/tests/playbooks/tasks/run_test.yml:36 Saturday 24 February 2024 19:01:09 +0000 (0:00:00.204) 0:00:26.772 ***** included: /WORKDIR/git-more-test-debugywludt9c/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-more-test-debugywludt9c/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-more-test-debugywludt9c/tests/playbooks/tasks/assert_device_present.yml:3 Saturday 24 February 2024 19:01:09 +0000 (0:00:00.052) 0:00:26.825 ***** included: /WORKDIR/git-more-test-debugywludt9c/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-more-test-debugywludt9c/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 24 February 2024 19:01:09 +0000 (0:00:00.040) 0:00:26.865 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1708801264.5704193, "block_size": 4096, "blocks": 0, "ctime": 1708801264.5704193, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 32242, "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": 1708801264.5704193, "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-debugywludt9c/tests/playbooks/tasks/assert_device_present.yml:5 Saturday 24 February 2024 19:01:09 +0000 (0:00:00.195) 0:00:27.061 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-more-test-debugywludt9c/tests/playbooks/tasks/assert_profile_present.yml:3 Saturday 24 February 2024 19:01:09 +0000 (0:00:00.025) 0:00:27.087 ***** included: /WORKDIR/git-more-test-debugywludt9c/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-debugywludt9c/tests/playbooks/tasks/get_profile_stat.yml:3 Saturday 24 February 2024 19:01:09 +0000 (0:00:00.042) 0:00:27.130 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /WORKDIR/git-more-test-debugywludt9c/tests/playbooks/tasks/get_profile_stat.yml:9 Saturday 24 February 2024 19:01:09 +0000 (0:00:00.022) 0:00:27.152 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1708801264.6174583, "block_size": 4096, "blocks": 8, "ctime": 1708801264.5694582, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 5976461, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1708801264.5694582, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 221, "uid": 0, "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-more-test-debugywludt9c/tests/playbooks/tasks/get_profile_stat.yml:17 Saturday 24 February 2024 19:01:10 +0000 (0:00:00.210) 0:00:27.363 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-more-test-debugywludt9c/tests/playbooks/tasks/get_profile_stat.yml:25 Saturday 24 February 2024 19:01:10 +0000 (0:00:00.077) 0:00:27.440 ***** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.019720", "end": "2024-02-24 19:01:10.407253", "rc": 0, "start": "2024-02-24 19:01:10.387533" } STDOUT: statebr /etc/sysconfig/network-scripts/ifcfg-statebr TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-more-test-debugywludt9c/tests/playbooks/tasks/get_profile_stat.yml:35 Saturday 24 February 2024 19:01:10 +0000 (0:00:00.267) 0:00:27.708 ***** 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-debugywludt9c/tests/playbooks/tasks/get_profile_stat.yml:49 Saturday 24 February 2024 19:01:10 +0000 (0:00:00.027) 0:00:27.736 ***** 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-debugywludt9c/tests/playbooks/tasks/get_profile_stat.yml:56 Saturday 24 February 2024 19:01:10 +0000 (0:00:00.031) 0:00:27.768 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-more-test-debugywludt9c/tests/playbooks/tasks/get_profile_stat.yml:62 Saturday 24 February 2024 19:01:10 +0000 (0:00:00.031) 0:00:27.800 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-more-test-debugywludt9c/tests/playbooks/tasks/get_profile_stat.yml:69 Saturday 24 February 2024 19:01:10 +0000 (0:00:00.029) 0:00:27.829 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-more-test-debugywludt9c/tests/playbooks/tasks/assert_profile_present.yml:5 Saturday 24 February 2024 19:01:10 +0000 (0:00:00.040) 0:00:27.869 ***** 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-debugywludt9c/tests/playbooks/tasks/assert_profile_present.yml:10 Saturday 24 February 2024 19:01:10 +0000 (0:00:00.029) 0:00:27.899 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-more-test-debugywludt9c/tests/playbooks/tasks/assert_profile_present.yml:15 Saturday 24 February 2024 19:01:10 +0000 (0:00:00.028) 0:00:27.927 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-more-test-debugywludt9c/tests/playbooks/tasks/run_test.yml:42 Saturday 24 February 2024 19:01:10 +0000 (0:00:00.034) 0:00:27.961 ***** TASK [Success in test 'I can activate an existing profile'] ******************** task path: /WORKDIR/git-more-test-debugywludt9c/tests/playbooks/tasks/run_test.yml:47 Saturday 24 February 2024 19:01:10 +0000 (0:00:00.053) 0:00:28.015 ***** ok: [sut] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-more-test-debugywludt9c/tests/playbooks/tasks/run_test.yml:66 Saturday 24 February 2024 19:01:10 +0000 (0:00:00.032) 0:00:28.047 ***** included: /WORKDIR/git-more-test-debugywludt9c/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-more-test-debugywludt9c/tests/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 24 February 2024 19:01:10 +0000 (0:00:00.045) 0:00:28.093 ***** 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.057705", "end": "2024-02-24 19:01:11.101843", "rc": 1, "start": "2024-02-24 19:01:11.044138" } STDOUT: Connection 'statebr' (018face3-ccc8-4b70-af1c-512194f0e60c) successfully deleted. STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-more-test-debugywludt9c/tests/playbooks/tests_states.yml:83 Saturday 24 February 2024 19:01:11 +0000 (0:00:00.271) 0:00:28.365 ***** included: /WORKDIR/git-more-test-debugywludt9c/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-debugywludt9c/tests/playbooks/tasks/run_test.yml:5 Saturday 24 February 2024 19:01:11 +0000 (0:00:00.045) 0:00:28.410 ***** ok: [sut] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-more-test-debugywludt9c/tests/playbooks/tasks/run_test.yml:9 Saturday 24 February 2024 19:01:11 +0000 (0:00:00.056) 0:00:28.467 ***** 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-debugywludt9c/tests/playbooks/tasks/run_test.yml:21 Saturday 24 February 2024 19:01:11 +0000 (0:00:00.048) 0:00:28.515 ***** included: /WORKDIR/git-more-test-debugywludt9c/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-more-test-debugywludt9c/tests/playbooks/tasks/show_interfaces.yml:3 Saturday 24 February 2024 19:01:11 +0000 (0:00:00.049) 0:00:28.565 ***** included: /WORKDIR/git-more-test-debugywludt9c/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-more-test-debugywludt9c/tests/playbooks/tasks/get_current_interfaces.yml:3 Saturday 24 February 2024 19:01:11 +0000 (0:00:00.047) 0:00:28.613 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002805", "end": "2024-02-24 19:01:11.559828", "rc": 0, "start": "2024-02-24 19:01:11.557023" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-more-test-debugywludt9c/tests/playbooks/tasks/get_current_interfaces.yml:9 Saturday 24 February 2024 19:01:11 +0000 (0:00:00.231) 0:00:28.844 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-more-test-debugywludt9c/tests/playbooks/tasks/show_interfaces.yml:5 Saturday 24 February 2024 19:01:11 +0000 (0:00:00.049) 0:00:28.893 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-more-test-debugywludt9c/tests/playbooks/tasks/run_test.yml:24 Saturday 24 February 2024 19:01:11 +0000 (0:00:00.024) 0:00:28.918 ***** included: /WORKDIR/git-more-test-debugywludt9c/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-more-test-debugywludt9c/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-more-test-debugywludt9c/tests/playbooks/tasks/create_bridge_profile.yml:3 Saturday 24 February 2024 19:01:11 +0000 (0:00:00.053) 0:00:28.972 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-more-test-debugywludt9c/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 24 February 2024 19:01:11 +0000 (0:00:00.058) 0:00:29.030 ***** included: /WORKDIR/git-more-test-debugywludt9c/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-debugywludt9c/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 24 February 2024 19:01:11 +0000 (0:00:00.052) 0:00:29.082 ***** 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-debugywludt9c/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 24 February 2024 19:01:11 +0000 (0:00:00.055) 0:00:29.137 ***** 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-debugywludt9c/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 24 February 2024 19:01:11 +0000 (0:00:00.086) 0:00:29.224 ***** 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-debugywludt9c/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 24 February 2024 19:01:12 +0000 (0:00:00.035) 0:00:29.259 ***** 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-debugywludt9c/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 24 February 2024 19:01:13 +0000 (0:00:01.480) 0:00:30.740 ***** 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-debugywludt9c/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 24 February 2024 19:01:14 +0000 (0:00:01.301) 0:00:32.041 ***** 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-debugywludt9c/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 24 February 2024 19:01:14 +0000 (0:00:00.037) 0:00:32.079 ***** 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-debugywludt9c/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 24 February 2024 19:01:14 +0000 (0:00:00.044) 0:00:32.123 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-more-test-debugywludt9c/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 24 February 2024 19:01:14 +0000 (0:00:00.045) 0:00:32.169 ***** 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-debugywludt9c/tests/roles/linux-system-roles.network/tasks/main.yml:43 Saturday 24 February 2024 19:01:15 +0000 (0:00:00.156) 0:00:32.326 ***** 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-debugywludt9c/tests/roles/linux-system-roles.network/tasks/main.yml:58 Saturday 24 February 2024 19:01:15 +0000 (0:00:00.027) 0:00:32.353 ***** 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-debugywludt9c/tests/roles/linux-system-roles.network/tasks/main.yml:74 Saturday 24 February 2024 19:01:15 +0000 (0:00:00.026) 0:00:32.380 ***** 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-debugywludt9c/tests/roles/linux-system-roles.network/tasks/main.yml:88 Saturday 24 February 2024 19:01:15 +0000 (0:00:00.048) 0:00:32.429 ***** 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-debugywludt9c/tests/roles/linux-system-roles.network/tasks/main.yml:99 Saturday 24 February 2024 19:01:15 +0000 (0:00:00.378) 0:00:32.807 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-more-test-debugywludt9c/tests/roles/linux-system-roles.network/tasks/main.yml:108 Saturday 24 February 2024 19:01:15 +0000 (0:00:00.026) 0:00:32.833 ***** 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-debugywludt9c/tests/roles/linux-system-roles.network/tasks/main.yml:116 Saturday 24 February 2024 19:01:15 +0000 (0:00:00.021) 0:00:32.855 ***** 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-debugywludt9c/tests/roles/linux-system-roles.network/tasks/main.yml:125 Saturday 24 February 2024 19:01:15 +0000 (0:00:00.024) 0:00:32.879 ***** 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, 228052f1-e65e-43b0-bd84-259ddb58f793 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-more-test-debugywludt9c/tests/roles/linux-system-roles.network/tasks/main.yml:137 Saturday 24 February 2024 19:01:16 +0000 (0:00:00.396) 0:00:33.276 ***** 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-debugywludt9c/tests/roles/linux-system-roles.network/tasks/main.yml:143 Saturday 24 February 2024 19:01:16 +0000 (0:00:00.025) 0:00:33.302 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 228052f1-e65e-43b0-bd84-259ddb58f793" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-more-test-debugywludt9c/tests/roles/linux-system-roles.network/tasks/main.yml:147 Saturday 24 February 2024 19:01:16 +0000 (0:00:00.037) 0:00:33.339 ***** 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, 228052f1-e65e-43b0-bd84-259ddb58f793\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 228052f1-e65e-43b0-bd84-259ddb58f793" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-more-test-debugywludt9c/tests/roles/linux-system-roles.network/tasks/main.yml:152 Saturday 24 February 2024 19:01:16 +0000 (0:00:00.025) 0:00:33.364 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-more-test-debugywludt9c/tests/roles/linux-system-roles.network/tasks/main.yml:158 Saturday 24 February 2024 19:01:16 +0000 (0:00:00.056) 0:00:33.421 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-more-test-debugywludt9c/tests/playbooks/tasks/create_bridge_profile.yml:14 Saturday 24 February 2024 19:01:16 +0000 (0:00:00.257) 0:00:33.679 ***** 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, 228052f1-e65e-43b0-bd84-259ddb58f793\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 228052f1-e65e-43b0-bd84-259ddb58f793" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-more-test-debugywludt9c/tests/playbooks/tasks/activate_profile.yml:3 Saturday 24 February 2024 19:01:16 +0000 (0:00:00.044) 0:00:33.723 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-more-test-debugywludt9c/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 24 February 2024 19:01:16 +0000 (0:00:00.116) 0:00:33.840 ***** included: /WORKDIR/git-more-test-debugywludt9c/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-debugywludt9c/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 24 February 2024 19:01:16 +0000 (0:00:00.106) 0:00:33.947 ***** 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-debugywludt9c/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 24 February 2024 19:01:16 +0000 (0:00:00.035) 0:00:33.982 ***** 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-debugywludt9c/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 24 February 2024 19:01:16 +0000 (0:00:00.022) 0:00:34.005 ***** 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-debugywludt9c/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 24 February 2024 19:01:16 +0000 (0:00:00.024) 0:00:34.029 ***** 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-debugywludt9c/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 24 February 2024 19:01:18 +0000 (0:00:01.474) 0:00:35.504 ***** 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-debugywludt9c/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 24 February 2024 19:01:19 +0000 (0:00:01.323) 0:00:36.828 ***** 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-debugywludt9c/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 24 February 2024 19:01:19 +0000 (0:00:00.051) 0:00:36.879 ***** 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-debugywludt9c/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 24 February 2024 19:01:19 +0000 (0:00:00.027) 0:00:36.906 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-more-test-debugywludt9c/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 24 February 2024 19:01:19 +0000 (0:00:00.023) 0:00:36.930 ***** 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-debugywludt9c/tests/roles/linux-system-roles.network/tasks/main.yml:43 Saturday 24 February 2024 19:01:19 +0000 (0:00:00.047) 0:00:36.977 ***** 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-debugywludt9c/tests/roles/linux-system-roles.network/tasks/main.yml:58 Saturday 24 February 2024 19:01:19 +0000 (0:00:00.027) 0:00:37.005 ***** 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-debugywludt9c/tests/roles/linux-system-roles.network/tasks/main.yml:74 Saturday 24 February 2024 19:01:19 +0000 (0:00:00.023) 0:00:37.029 ***** 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-debugywludt9c/tests/roles/linux-system-roles.network/tasks/main.yml:88 Saturday 24 February 2024 19:01:19 +0000 (0:00:00.030) 0:00:37.059 ***** 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-debugywludt9c/tests/roles/linux-system-roles.network/tasks/main.yml:99 Saturday 24 February 2024 19:01:20 +0000 (0:00:00.419) 0:00:37.479 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-more-test-debugywludt9c/tests/roles/linux-system-roles.network/tasks/main.yml:108 Saturday 24 February 2024 19:01:20 +0000 (0:00:00.025) 0:00:37.505 ***** 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-debugywludt9c/tests/roles/linux-system-roles.network/tasks/main.yml:116 Saturday 24 February 2024 19:01:20 +0000 (0:00:00.024) 0:00:37.530 ***** 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-debugywludt9c/tests/roles/linux-system-roles.network/tasks/main.yml:125 Saturday 24 February 2024 19:01:20 +0000 (0:00:00.020) 0:00:37.550 ***** 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, 228052f1-e65e-43b0-bd84-259ddb58f793 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-more-test-debugywludt9c/tests/roles/linux-system-roles.network/tasks/main.yml:137 Saturday 24 February 2024 19:01:20 +0000 (0:00:00.344) 0:00:37.895 ***** 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-debugywludt9c/tests/roles/linux-system-roles.network/tasks/main.yml:143 Saturday 24 February 2024 19:01:20 +0000 (0:00:00.024) 0:00:37.919 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 228052f1-e65e-43b0-bd84-259ddb58f793 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-more-test-debugywludt9c/tests/roles/linux-system-roles.network/tasks/main.yml:147 Saturday 24 February 2024 19:01:20 +0000 (0:00:00.025) 0:00:37.944 ***** 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, 228052f1-e65e-43b0-bd84-259ddb58f793 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 228052f1-e65e-43b0-bd84-259ddb58f793 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-more-test-debugywludt9c/tests/roles/linux-system-roles.network/tasks/main.yml:152 Saturday 24 February 2024 19:01:20 +0000 (0:00:00.033) 0:00:37.978 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-more-test-debugywludt9c/tests/roles/linux-system-roles.network/tasks/main.yml:158 Saturday 24 February 2024 19:01:20 +0000 (0:00:00.023) 0:00:38.001 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-more-test-debugywludt9c/tests/playbooks/tasks/run_test.yml:30 Saturday 24 February 2024 19:01:20 +0000 (0:00:00.186) 0:00:38.188 ***** included: /WORKDIR/git-more-test-debugywludt9c/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-more-test-debugywludt9c/tests/playbooks/tasks/remove_profile.yml:3 Saturday 24 February 2024 19:01:20 +0000 (0:00:00.041) 0:00:38.229 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-more-test-debugywludt9c/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 24 February 2024 19:01:21 +0000 (0:00:00.043) 0:00:38.273 ***** included: /WORKDIR/git-more-test-debugywludt9c/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-debugywludt9c/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 24 February 2024 19:01:21 +0000 (0:00:00.045) 0:00:38.318 ***** 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-debugywludt9c/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 24 February 2024 19:01:21 +0000 (0:00:00.028) 0:00:38.346 ***** 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-debugywludt9c/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 24 February 2024 19:01:21 +0000 (0:00:00.042) 0:00:38.389 ***** 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-debugywludt9c/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 24 February 2024 19:01:21 +0000 (0:00:00.039) 0:00:38.428 ***** 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-debugywludt9c/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 24 February 2024 19:01:22 +0000 (0:00:01.496) 0:00:39.925 ***** 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-debugywludt9c/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 24 February 2024 19:01:23 +0000 (0:00:01.288) 0:00:41.213 ***** 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-debugywludt9c/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 24 February 2024 19:01:24 +0000 (0:00:00.045) 0:00:41.259 ***** 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-debugywludt9c/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 24 February 2024 19:01:24 +0000 (0:00:00.024) 0:00:41.283 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-more-test-debugywludt9c/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 24 February 2024 19:01:24 +0000 (0:00:00.027) 0:00:41.311 ***** 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-debugywludt9c/tests/roles/linux-system-roles.network/tasks/main.yml:43 Saturday 24 February 2024 19:01:24 +0000 (0:00:00.066) 0:00:41.378 ***** 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-debugywludt9c/tests/roles/linux-system-roles.network/tasks/main.yml:58 Saturday 24 February 2024 19:01:24 +0000 (0:00:00.022) 0:00:41.400 ***** 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-debugywludt9c/tests/roles/linux-system-roles.network/tasks/main.yml:74 Saturday 24 February 2024 19:01:24 +0000 (0:00:00.021) 0:00:41.422 ***** 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-debugywludt9c/tests/roles/linux-system-roles.network/tasks/main.yml:88 Saturday 24 February 2024 19:01:24 +0000 (0:00:00.023) 0:00:41.446 ***** 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-debugywludt9c/tests/roles/linux-system-roles.network/tasks/main.yml:99 Saturday 24 February 2024 19:01:24 +0000 (0:00:00.337) 0:00:41.783 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-more-test-debugywludt9c/tests/roles/linux-system-roles.network/tasks/main.yml:108 Saturday 24 February 2024 19:01:24 +0000 (0:00:00.028) 0:00:41.811 ***** 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-debugywludt9c/tests/roles/linux-system-roles.network/tasks/main.yml:116 Saturday 24 February 2024 19:01:24 +0000 (0:00:00.024) 0:00:41.836 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-more-test-debugywludt9c/tests/roles/linux-system-roles.network/tasks/main.yml:125 Saturday 24 February 2024 19:01:24 +0000 (0:00:00.032) 0:00:41.868 ***** 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-debugywludt9c/tests/roles/linux-system-roles.network/tasks/main.yml:137 Saturday 24 February 2024 19:01:24 +0000 (0:00:00.355) 0:00:42.224 ***** 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-debugywludt9c/tests/roles/linux-system-roles.network/tasks/main.yml:143 Saturday 24 February 2024 19:01:25 +0000 (0:00:00.025) 0:00:42.249 ***** 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-debugywludt9c/tests/roles/linux-system-roles.network/tasks/main.yml:147 Saturday 24 February 2024 19:01:25 +0000 (0:00:00.024) 0:00:42.274 ***** 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-debugywludt9c/tests/roles/linux-system-roles.network/tasks/main.yml:152 Saturday 24 February 2024 19:01:25 +0000 (0:00:00.024) 0:00:42.298 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-more-test-debugywludt9c/tests/roles/linux-system-roles.network/tasks/main.yml:158 Saturday 24 February 2024 19:01:25 +0000 (0:00:00.023) 0:00:42.322 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-more-test-debugywludt9c/tests/playbooks/tasks/run_test.yml:36 Saturday 24 February 2024 19:01:25 +0000 (0:00:00.219) 0:00:42.541 ***** included: /WORKDIR/git-more-test-debugywludt9c/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-more-test-debugywludt9c/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-more-test-debugywludt9c/tests/playbooks/tasks/assert_device_present.yml:3 Saturday 24 February 2024 19:01:25 +0000 (0:00:00.074) 0:00:42.616 ***** included: /WORKDIR/git-more-test-debugywludt9c/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-more-test-debugywludt9c/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 24 February 2024 19:01:25 +0000 (0:00:00.045) 0:00:42.662 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1708801275.9625714, "block_size": 4096, "blocks": 0, "ctime": 1708801275.9625714, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 32373, "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": 1708801275.9625714, "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-debugywludt9c/tests/playbooks/tasks/assert_device_present.yml:5 Saturday 24 February 2024 19:01:25 +0000 (0:00:00.199) 0:00:42.861 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-more-test-debugywludt9c/tests/playbooks/tasks/assert_profile_absent.yml:3 Saturday 24 February 2024 19:01:25 +0000 (0:00:00.025) 0:00:42.887 ***** included: /WORKDIR/git-more-test-debugywludt9c/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-debugywludt9c/tests/playbooks/tasks/get_profile_stat.yml:3 Saturday 24 February 2024 19:01:25 +0000 (0:00:00.041) 0:00:42.928 ***** 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-debugywludt9c/tests/playbooks/tasks/get_profile_stat.yml:9 Saturday 24 February 2024 19:01:25 +0000 (0:00:00.026) 0:00:42.955 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-more-test-debugywludt9c/tests/playbooks/tasks/get_profile_stat.yml:17 Saturday 24 February 2024 19:01:25 +0000 (0:00:00.206) 0:00:43.161 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-more-test-debugywludt9c/tests/playbooks/tasks/get_profile_stat.yml:25 Saturday 24 February 2024 19:01:25 +0000 (0:00:00.025) 0:00:43.187 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.019997", "end": "2024-02-24 19:01:26.168401", "rc": 1, "start": "2024-02-24 19:01:26.148404" } 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-debugywludt9c/tests/playbooks/tasks/get_profile_stat.yml:35 Saturday 24 February 2024 19:01:26 +0000 (0:00:00.243) 0:00:43.430 ***** 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-debugywludt9c/tests/playbooks/tasks/get_profile_stat.yml:49 Saturday 24 February 2024 19:01:26 +0000 (0:00:00.022) 0:00:43.453 ***** 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-debugywludt9c/tests/playbooks/tasks/get_profile_stat.yml:56 Saturday 24 February 2024 19:01:26 +0000 (0:00:00.024) 0:00:43.477 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-more-test-debugywludt9c/tests/playbooks/tasks/get_profile_stat.yml:62 Saturday 24 February 2024 19:01:26 +0000 (0:00:00.024) 0:00:43.502 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-more-test-debugywludt9c/tests/playbooks/tasks/get_profile_stat.yml:69 Saturday 24 February 2024 19:01:26 +0000 (0:00:00.083) 0:00:43.586 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-more-test-debugywludt9c/tests/playbooks/tasks/assert_profile_absent.yml:5 Saturday 24 February 2024 19:01:26 +0000 (0:00:00.058) 0:00:43.644 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-more-test-debugywludt9c/tests/playbooks/tasks/run_test.yml:42 Saturday 24 February 2024 19:01:26 +0000 (0:00:00.034) 0:00:43.679 ***** TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /WORKDIR/git-more-test-debugywludt9c/tests/playbooks/tasks/run_test.yml:47 Saturday 24 February 2024 19:01:26 +0000 (0:00:00.043) 0:00:43.723 ***** ok: [sut] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-more-test-debugywludt9c/tests/playbooks/tasks/run_test.yml:66 Saturday 24 February 2024 19:01:26 +0000 (0:00:00.044) 0:00:43.767 ***** included: /WORKDIR/git-more-test-debugywludt9c/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-more-test-debugywludt9c/tests/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 24 February 2024 19:01:26 +0000 (0:00:00.044) 0:00:43.812 ***** 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.070238", "end": "2024-02-24 19:01:26.829108", "rc": 1, "start": "2024-02-24 19:01:26.758870" } STDOUT: Connection 'statebr' (228052f1-e65e-43b0-bd84-259ddb58f793) successfully deleted. STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-more-test-debugywludt9c/tests/playbooks/tests_states.yml:103 Saturday 24 February 2024 19:01:26 +0000 (0:00:00.318) 0:00:44.131 ***** included: /WORKDIR/git-more-test-debugywludt9c/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-debugywludt9c/tests/playbooks/tasks/run_test.yml:5 Saturday 24 February 2024 19:01:26 +0000 (0:00:00.081) 0:00:44.212 ***** ok: [sut] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-more-test-debugywludt9c/tests/playbooks/tasks/run_test.yml:9 Saturday 24 February 2024 19:01:27 +0000 (0:00:00.030) 0:00:44.242 ***** 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-debugywludt9c/tests/playbooks/tasks/run_test.yml:21 Saturday 24 February 2024 19:01:27 +0000 (0:00:00.076) 0:00:44.319 ***** included: /WORKDIR/git-more-test-debugywludt9c/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-more-test-debugywludt9c/tests/playbooks/tasks/show_interfaces.yml:3 Saturday 24 February 2024 19:01:27 +0000 (0:00:00.046) 0:00:44.366 ***** included: /WORKDIR/git-more-test-debugywludt9c/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-more-test-debugywludt9c/tests/playbooks/tasks/get_current_interfaces.yml:3 Saturday 24 February 2024 19:01:27 +0000 (0:00:00.155) 0:00:44.521 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002847", "end": "2024-02-24 19:01:27.475691", "rc": 0, "start": "2024-02-24 19:01:27.472844" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-more-test-debugywludt9c/tests/playbooks/tasks/get_current_interfaces.yml:9 Saturday 24 February 2024 19:01:27 +0000 (0:00:00.242) 0:00:44.764 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-more-test-debugywludt9c/tests/playbooks/tasks/show_interfaces.yml:5 Saturday 24 February 2024 19:01:27 +0000 (0:00:00.052) 0:00:44.816 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-more-test-debugywludt9c/tests/playbooks/tasks/run_test.yml:24 Saturday 24 February 2024 19:01:27 +0000 (0:00:00.031) 0:00:44.848 ***** included: /WORKDIR/git-more-test-debugywludt9c/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-more-test-debugywludt9c/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-more-test-debugywludt9c/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-more-test-debugywludt9c/tests/playbooks/tasks/create_bridge_profile.yml:3 Saturday 24 February 2024 19:01:27 +0000 (0:00:00.048) 0:00:44.896 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-more-test-debugywludt9c/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 24 February 2024 19:01:27 +0000 (0:00:00.049) 0:00:44.945 ***** included: /WORKDIR/git-more-test-debugywludt9c/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-debugywludt9c/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 24 February 2024 19:01:27 +0000 (0:00:00.044) 0:00:44.989 ***** 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-debugywludt9c/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 24 February 2024 19:01:27 +0000 (0:00:00.031) 0:00:45.021 ***** 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-debugywludt9c/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 24 February 2024 19:01:27 +0000 (0:00:00.022) 0:00:45.044 ***** 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-debugywludt9c/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 24 February 2024 19:01:27 +0000 (0:00:00.024) 0:00:45.068 ***** 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-debugywludt9c/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 24 February 2024 19:01:29 +0000 (0:00:01.481) 0:00:46.549 ***** 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-debugywludt9c/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 24 February 2024 19:01:30 +0000 (0:00:01.351) 0:00:47.900 ***** 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-debugywludt9c/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 24 February 2024 19:01:30 +0000 (0:00:00.119) 0:00:48.020 ***** 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-debugywludt9c/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 24 February 2024 19:01:30 +0000 (0:00:00.087) 0:00:48.107 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-more-test-debugywludt9c/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 24 February 2024 19:01:30 +0000 (0:00:00.058) 0:00:48.165 ***** 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-debugywludt9c/tests/roles/linux-system-roles.network/tasks/main.yml:43 Saturday 24 February 2024 19:01:31 +0000 (0:00:00.083) 0:00:48.249 ***** 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-debugywludt9c/tests/roles/linux-system-roles.network/tasks/main.yml:58 Saturday 24 February 2024 19:01:31 +0000 (0:00:00.060) 0:00:48.309 ***** 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-debugywludt9c/tests/roles/linux-system-roles.network/tasks/main.yml:74 Saturday 24 February 2024 19:01:31 +0000 (0:00:00.030) 0:00:48.340 ***** 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-debugywludt9c/tests/roles/linux-system-roles.network/tasks/main.yml:88 Saturday 24 February 2024 19:01:31 +0000 (0:00:00.028) 0:00:48.368 ***** 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-debugywludt9c/tests/roles/linux-system-roles.network/tasks/main.yml:99 Saturday 24 February 2024 19:01:31 +0000 (0:00:00.346) 0:00:48.715 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-more-test-debugywludt9c/tests/roles/linux-system-roles.network/tasks/main.yml:108 Saturday 24 February 2024 19:01:31 +0000 (0:00:00.033) 0:00:48.749 ***** 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-debugywludt9c/tests/roles/linux-system-roles.network/tasks/main.yml:116 Saturday 24 February 2024 19:01:31 +0000 (0:00:00.043) 0:00:48.792 ***** 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-debugywludt9c/tests/roles/linux-system-roles.network/tasks/main.yml:125 Saturday 24 February 2024 19:01:31 +0000 (0:00:00.039) 0:00:48.832 ***** 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, ec93fcaf-24a6-4e39-8c46-54445ef199d1 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-more-test-debugywludt9c/tests/roles/linux-system-roles.network/tasks/main.yml:137 Saturday 24 February 2024 19:01:32 +0000 (0:00:00.435) 0:00:49.267 ***** 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-debugywludt9c/tests/roles/linux-system-roles.network/tasks/main.yml:143 Saturday 24 February 2024 19:01:32 +0000 (0:00:00.069) 0:00:49.337 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, ec93fcaf-24a6-4e39-8c46-54445ef199d1" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-more-test-debugywludt9c/tests/roles/linux-system-roles.network/tasks/main.yml:147 Saturday 24 February 2024 19:01:32 +0000 (0:00:00.061) 0:00:49.398 ***** 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, ec93fcaf-24a6-4e39-8c46-54445ef199d1\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, ec93fcaf-24a6-4e39-8c46-54445ef199d1" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-more-test-debugywludt9c/tests/roles/linux-system-roles.network/tasks/main.yml:152 Saturday 24 February 2024 19:01:32 +0000 (0:00:00.039) 0:00:49.438 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-more-test-debugywludt9c/tests/roles/linux-system-roles.network/tasks/main.yml:158 Saturday 24 February 2024 19:01:32 +0000 (0:00:00.026) 0:00:49.465 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-more-test-debugywludt9c/tests/playbooks/tasks/create_bridge_profile.yml:14 Saturday 24 February 2024 19:01:32 +0000 (0:00:00.192) 0:00:49.657 ***** 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, ec93fcaf-24a6-4e39-8c46-54445ef199d1\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, ec93fcaf-24a6-4e39-8c46-54445ef199d1" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-more-test-debugywludt9c/tests/playbooks/tasks/activate_profile.yml:3 Saturday 24 February 2024 19:01:32 +0000 (0:00:00.025) 0:00:49.682 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-more-test-debugywludt9c/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 24 February 2024 19:01:32 +0000 (0:00:00.038) 0:00:49.720 ***** included: /WORKDIR/git-more-test-debugywludt9c/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-debugywludt9c/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 24 February 2024 19:01:32 +0000 (0:00:00.097) 0:00:49.818 ***** 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-debugywludt9c/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 24 February 2024 19:01:32 +0000 (0:00:00.040) 0:00:49.858 ***** 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-debugywludt9c/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 24 February 2024 19:01:32 +0000 (0:00:00.024) 0:00:49.883 ***** 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-debugywludt9c/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 24 February 2024 19:01:32 +0000 (0:00:00.025) 0:00:49.908 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-more-test-debugywludt9c/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 24 February 2024 19:01:34 +0000 (0:00:01.468) 0:00:51.377 ***** 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-debugywludt9c/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 24 February 2024 19:01:35 +0000 (0:00:01.376) 0:00:52.754 ***** 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-debugywludt9c/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 24 February 2024 19:01:35 +0000 (0:00:00.023) 0:00:52.777 ***** 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-debugywludt9c/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 24 February 2024 19:01:35 +0000 (0:00:00.070) 0:00:52.847 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-more-test-debugywludt9c/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 24 February 2024 19:01:35 +0000 (0:00:00.024) 0:00:52.872 ***** 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-debugywludt9c/tests/roles/linux-system-roles.network/tasks/main.yml:43 Saturday 24 February 2024 19:01:35 +0000 (0:00:00.051) 0:00:52.924 ***** 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-debugywludt9c/tests/roles/linux-system-roles.network/tasks/main.yml:58 Saturday 24 February 2024 19:01:35 +0000 (0:00:00.022) 0:00:52.947 ***** 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-debugywludt9c/tests/roles/linux-system-roles.network/tasks/main.yml:74 Saturday 24 February 2024 19:01:35 +0000 (0:00:00.023) 0:00:52.970 ***** 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-debugywludt9c/tests/roles/linux-system-roles.network/tasks/main.yml:88 Saturday 24 February 2024 19:01:35 +0000 (0:00:00.024) 0:00:52.995 ***** 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-debugywludt9c/tests/roles/linux-system-roles.network/tasks/main.yml:99 Saturday 24 February 2024 19:01:36 +0000 (0:00:00.361) 0:00:53.356 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-more-test-debugywludt9c/tests/roles/linux-system-roles.network/tasks/main.yml:108 Saturday 24 February 2024 19:01:36 +0000 (0:00:00.039) 0:00:53.396 ***** 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-debugywludt9c/tests/roles/linux-system-roles.network/tasks/main.yml:116 Saturday 24 February 2024 19:01:36 +0000 (0:00:00.040) 0:00:53.437 ***** 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-debugywludt9c/tests/roles/linux-system-roles.network/tasks/main.yml:125 Saturday 24 February 2024 19:01:36 +0000 (0:00:00.039) 0:00:53.477 ***** 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, ec93fcaf-24a6-4e39-8c46-54445ef199d1 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-more-test-debugywludt9c/tests/roles/linux-system-roles.network/tasks/main.yml:137 Saturday 24 February 2024 19:01:36 +0000 (0:00:00.439) 0:00:53.916 ***** 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-debugywludt9c/tests/roles/linux-system-roles.network/tasks/main.yml:143 Saturday 24 February 2024 19:01:36 +0000 (0:00:00.034) 0:00:53.950 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, ec93fcaf-24a6-4e39-8c46-54445ef199d1 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-more-test-debugywludt9c/tests/roles/linux-system-roles.network/tasks/main.yml:147 Saturday 24 February 2024 19:01:36 +0000 (0:00:00.042) 0:00:53.993 ***** 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, ec93fcaf-24a6-4e39-8c46-54445ef199d1 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, ec93fcaf-24a6-4e39-8c46-54445ef199d1 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-more-test-debugywludt9c/tests/roles/linux-system-roles.network/tasks/main.yml:152 Saturday 24 February 2024 19:01:36 +0000 (0:00:00.036) 0:00:54.030 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-more-test-debugywludt9c/tests/roles/linux-system-roles.network/tasks/main.yml:158 Saturday 24 February 2024 19:01:36 +0000 (0:00:00.062) 0:00:54.092 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-more-test-debugywludt9c/tests/playbooks/tasks/remove_profile.yml:3 Saturday 24 February 2024 19:01:37 +0000 (0:00:00.248) 0:00:54.341 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-more-test-debugywludt9c/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 24 February 2024 19:01:37 +0000 (0:00:00.074) 0:00:54.415 ***** included: /WORKDIR/git-more-test-debugywludt9c/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-debugywludt9c/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 24 February 2024 19:01:37 +0000 (0:00:00.055) 0:00:54.471 ***** 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-debugywludt9c/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 24 February 2024 19:01:37 +0000 (0:00:00.055) 0:00:54.526 ***** 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-debugywludt9c/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 24 February 2024 19:01:37 +0000 (0:00:00.048) 0:00:54.575 ***** 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-debugywludt9c/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 24 February 2024 19:01:37 +0000 (0:00:00.025) 0:00:54.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-debugywludt9c/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 24 February 2024 19:01:38 +0000 (0:00:01.467) 0:00:56.068 ***** 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-debugywludt9c/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 24 February 2024 19:01:40 +0000 (0:00:01.333) 0:00:57.401 ***** 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-debugywludt9c/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 24 February 2024 19:01:40 +0000 (0:00:00.036) 0:00:57.437 ***** 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-debugywludt9c/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 24 February 2024 19:01:40 +0000 (0:00:00.055) 0:00:57.493 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-more-test-debugywludt9c/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 24 February 2024 19:01:40 +0000 (0:00:00.072) 0:00:57.566 ***** 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-debugywludt9c/tests/roles/linux-system-roles.network/tasks/main.yml:43 Saturday 24 February 2024 19:01:40 +0000 (0:00:00.048) 0:00:57.614 ***** 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-debugywludt9c/tests/roles/linux-system-roles.network/tasks/main.yml:58 Saturday 24 February 2024 19:01:40 +0000 (0:00:00.036) 0:00:57.650 ***** 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-debugywludt9c/tests/roles/linux-system-roles.network/tasks/main.yml:74 Saturday 24 February 2024 19:01:40 +0000 (0:00:00.033) 0:00:57.684 ***** 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-debugywludt9c/tests/roles/linux-system-roles.network/tasks/main.yml:88 Saturday 24 February 2024 19:01:40 +0000 (0:00:00.027) 0:00:57.711 ***** 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-debugywludt9c/tests/roles/linux-system-roles.network/tasks/main.yml:99 Saturday 24 February 2024 19:01:40 +0000 (0:00:00.366) 0:00:58.078 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-more-test-debugywludt9c/tests/roles/linux-system-roles.network/tasks/main.yml:108 Saturday 24 February 2024 19:01:40 +0000 (0:00:00.028) 0:00:58.106 ***** 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-debugywludt9c/tests/roles/linux-system-roles.network/tasks/main.yml:116 Saturday 24 February 2024 19:01:40 +0000 (0:00:00.053) 0:00:58.159 ***** 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-debugywludt9c/tests/roles/linux-system-roles.network/tasks/main.yml:125 Saturday 24 February 2024 19:01:40 +0000 (0:00:00.022) 0:00:58.182 ***** 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-debugywludt9c/tests/roles/linux-system-roles.network/tasks/main.yml:137 Saturday 24 February 2024 19:01:41 +0000 (0:00:00.357) 0:00:58.540 ***** 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-debugywludt9c/tests/roles/linux-system-roles.network/tasks/main.yml:143 Saturday 24 February 2024 19:01:41 +0000 (0:00:00.092) 0:00:58.632 ***** 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-debugywludt9c/tests/roles/linux-system-roles.network/tasks/main.yml:147 Saturday 24 February 2024 19:01:41 +0000 (0:00:00.033) 0:00:58.666 ***** 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-debugywludt9c/tests/roles/linux-system-roles.network/tasks/main.yml:152 Saturday 24 February 2024 19:01:41 +0000 (0:00:00.041) 0:00:58.707 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-more-test-debugywludt9c/tests/roles/linux-system-roles.network/tasks/main.yml:158 Saturday 24 February 2024 19:01:41 +0000 (0:00:00.024) 0:00:58.731 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-more-test-debugywludt9c/tests/playbooks/tasks/run_test.yml:30 Saturday 24 February 2024 19:01:41 +0000 (0:00:00.195) 0:00:58.926 ***** included: /WORKDIR/git-more-test-debugywludt9c/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-more-test-debugywludt9c/tests/playbooks/tasks/remove+down_profile.yml:3 Saturday 24 February 2024 19:01:41 +0000 (0:00:00.044) 0:00:58.970 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-more-test-debugywludt9c/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 24 February 2024 19:01:41 +0000 (0:00:00.050) 0:00:59.021 ***** included: /WORKDIR/git-more-test-debugywludt9c/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-debugywludt9c/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 24 February 2024 19:01:41 +0000 (0:00:00.064) 0:00:59.085 ***** 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-debugywludt9c/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 24 February 2024 19:01:41 +0000 (0:00:00.051) 0:00:59.136 ***** 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-debugywludt9c/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 24 February 2024 19:01:41 +0000 (0:00:00.060) 0:00:59.197 ***** 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-debugywludt9c/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 24 February 2024 19:01:41 +0000 (0:00:00.036) 0:00:59.233 ***** 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-debugywludt9c/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 24 February 2024 19:01:43 +0000 (0:00:01.515) 0:01:00.748 ***** 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-debugywludt9c/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 24 February 2024 19:01:44 +0000 (0:00:01.279) 0:01:02.028 ***** 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-debugywludt9c/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 24 February 2024 19:01:44 +0000 (0:00:00.023) 0:01:02.051 ***** 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-debugywludt9c/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 24 February 2024 19:01:44 +0000 (0:00:00.022) 0:01:02.073 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-more-test-debugywludt9c/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 24 February 2024 19:01:44 +0000 (0:00:00.023) 0:01:02.097 ***** 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-debugywludt9c/tests/roles/linux-system-roles.network/tasks/main.yml:43 Saturday 24 February 2024 19:01:44 +0000 (0:00:00.068) 0:01:02.166 ***** 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-debugywludt9c/tests/roles/linux-system-roles.network/tasks/main.yml:58 Saturday 24 February 2024 19:01:44 +0000 (0:00:00.022) 0:01:02.188 ***** 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-debugywludt9c/tests/roles/linux-system-roles.network/tasks/main.yml:74 Saturday 24 February 2024 19:01:44 +0000 (0:00:00.021) 0:01:02.210 ***** 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-debugywludt9c/tests/roles/linux-system-roles.network/tasks/main.yml:88 Saturday 24 February 2024 19:01:45 +0000 (0:00:00.024) 0:01:02.235 ***** 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-debugywludt9c/tests/roles/linux-system-roles.network/tasks/main.yml:99 Saturday 24 February 2024 19:01:45 +0000 (0:00:00.336) 0:01:02.571 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-more-test-debugywludt9c/tests/roles/linux-system-roles.network/tasks/main.yml:108 Saturday 24 February 2024 19:01:45 +0000 (0:00:00.026) 0:01:02.598 ***** 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-debugywludt9c/tests/roles/linux-system-roles.network/tasks/main.yml:116 Saturday 24 February 2024 19:01:45 +0000 (0:00:00.024) 0:01:02.622 ***** 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-debugywludt9c/tests/roles/linux-system-roles.network/tasks/main.yml:125 Saturday 24 February 2024 19:01:45 +0000 (0:00:00.022) 0:01:02.644 ***** 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-debugywludt9c/tests/roles/linux-system-roles.network/tasks/main.yml:137 Saturday 24 February 2024 19:01:45 +0000 (0:00:00.388) 0:01:03.032 ***** 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-debugywludt9c/tests/roles/linux-system-roles.network/tasks/main.yml:143 Saturday 24 February 2024 19:01:45 +0000 (0:00:00.021) 0:01:03.054 ***** 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-debugywludt9c/tests/roles/linux-system-roles.network/tasks/main.yml:147 Saturday 24 February 2024 19:01:45 +0000 (0:00:00.028) 0:01:03.082 ***** 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-debugywludt9c/tests/roles/linux-system-roles.network/tasks/main.yml:152 Saturday 24 February 2024 19:01:45 +0000 (0:00:00.051) 0:01:03.134 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-more-test-debugywludt9c/tests/roles/linux-system-roles.network/tasks/main.yml:158 Saturday 24 February 2024 19:01:45 +0000 (0:00:00.026) 0:01:03.160 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-more-test-debugywludt9c/tests/playbooks/tasks/run_test.yml:36 Saturday 24 February 2024 19:01:46 +0000 (0:00:00.201) 0:01:03.362 ***** included: /WORKDIR/git-more-test-debugywludt9c/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-more-test-debugywludt9c/tests/playbooks/tasks/assert_profile_absent.yml:3 Saturday 24 February 2024 19:01:46 +0000 (0:00:00.115) 0:01:03.477 ***** included: /WORKDIR/git-more-test-debugywludt9c/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-debugywludt9c/tests/playbooks/tasks/get_profile_stat.yml:3 Saturday 24 February 2024 19:01:46 +0000 (0:00:00.044) 0:01:03.522 ***** 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-debugywludt9c/tests/playbooks/tasks/get_profile_stat.yml:9 Saturday 24 February 2024 19:01:46 +0000 (0:00:00.029) 0:01:03.551 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-more-test-debugywludt9c/tests/playbooks/tasks/get_profile_stat.yml:17 Saturday 24 February 2024 19:01:46 +0000 (0:00:00.209) 0:01:03.761 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-more-test-debugywludt9c/tests/playbooks/tasks/get_profile_stat.yml:25 Saturday 24 February 2024 19:01:46 +0000 (0:00:00.045) 0:01:03.806 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.018605", "end": "2024-02-24 19:01:46.780518", "rc": 1, "start": "2024-02-24 19:01:46.761913" } 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-debugywludt9c/tests/playbooks/tasks/get_profile_stat.yml:35 Saturday 24 February 2024 19:01:46 +0000 (0:00:00.248) 0:01:04.054 ***** 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-debugywludt9c/tests/playbooks/tasks/get_profile_stat.yml:49 Saturday 24 February 2024 19:01:46 +0000 (0:00:00.073) 0:01:04.127 ***** 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-debugywludt9c/tests/playbooks/tasks/get_profile_stat.yml:56 Saturday 24 February 2024 19:01:46 +0000 (0:00:00.043) 0:01:04.171 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-more-test-debugywludt9c/tests/playbooks/tasks/get_profile_stat.yml:62 Saturday 24 February 2024 19:01:46 +0000 (0:00:00.027) 0:01:04.199 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-more-test-debugywludt9c/tests/playbooks/tasks/get_profile_stat.yml:69 Saturday 24 February 2024 19:01:46 +0000 (0:00:00.031) 0:01:04.231 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-more-test-debugywludt9c/tests/playbooks/tasks/assert_profile_absent.yml:5 Saturday 24 February 2024 19:01:47 +0000 (0:00:00.030) 0:01:04.261 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-more-test-debugywludt9c/tests/playbooks/tasks/run_test.yml:42 Saturday 24 February 2024 19:01:47 +0000 (0:00:00.028) 0:01:04.290 ***** included: /WORKDIR/git-more-test-debugywludt9c/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-more-test-debugywludt9c/tests/playbooks/tasks/assert_device_absent.yml:3 Saturday 24 February 2024 19:01:47 +0000 (0:00:00.069) 0:01:04.359 ***** included: /WORKDIR/git-more-test-debugywludt9c/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-more-test-debugywludt9c/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 24 February 2024 19:01:47 +0000 (0:00:00.074) 0:01:04.434 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-more-test-debugywludt9c/tests/playbooks/tasks/assert_device_absent.yml:5 Saturday 24 February 2024 19:01:47 +0000 (0:00:00.260) 0:01:04.694 ***** 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-debugywludt9c/tests/playbooks/tasks/run_test.yml:47 Saturday 24 February 2024 19:01:47 +0000 (0:00:00.031) 0:01:04.726 ***** ok: [sut] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-more-test-debugywludt9c/tests/playbooks/tasks/run_test.yml:66 Saturday 24 February 2024 19:01:47 +0000 (0:00:00.033) 0:01:04.759 ***** included: /WORKDIR/git-more-test-debugywludt9c/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-more-test-debugywludt9c/tests/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 24 February 2024 19:01:47 +0000 (0:00:00.047) 0:01:04.806 ***** 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.037652", "end": "2024-02-24 19:01:47.813783", "rc": 1, "start": "2024-02-24 19:01:47.776131" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-more-test-debugywludt9c/tests/playbooks/tests_states.yml:126 Saturday 24 February 2024 19:01:47 +0000 (0:00:00.326) 0:01:05.133 ***** included: /WORKDIR/git-more-test-debugywludt9c/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-debugywludt9c/tests/playbooks/tasks/run_test.yml:5 Saturday 24 February 2024 19:01:47 +0000 (0:00:00.081) 0:01:05.215 ***** 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-debugywludt9c/tests/playbooks/tasks/run_test.yml:9 Saturday 24 February 2024 19:01:48 +0000 (0:00:00.047) 0:01:05.262 ***** 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-debugywludt9c/tests/playbooks/tasks/run_test.yml:21 Saturday 24 February 2024 19:01:48 +0000 (0:00:00.120) 0:01:05.383 ***** included: /WORKDIR/git-more-test-debugywludt9c/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-more-test-debugywludt9c/tests/playbooks/tasks/show_interfaces.yml:3 Saturday 24 February 2024 19:01:48 +0000 (0:00:00.082) 0:01:05.466 ***** included: /WORKDIR/git-more-test-debugywludt9c/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-more-test-debugywludt9c/tests/playbooks/tasks/get_current_interfaces.yml:3 Saturday 24 February 2024 19:01:48 +0000 (0:00:00.046) 0:01:05.512 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002927", "end": "2024-02-24 19:01:48.465886", "rc": 0, "start": "2024-02-24 19:01:48.462959" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-more-test-debugywludt9c/tests/playbooks/tasks/get_current_interfaces.yml:9 Saturday 24 February 2024 19:01:48 +0000 (0:00:00.251) 0:01:05.764 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-more-test-debugywludt9c/tests/playbooks/tasks/show_interfaces.yml:5 Saturday 24 February 2024 19:01:48 +0000 (0:00:00.045) 0:01:05.810 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-more-test-debugywludt9c/tests/playbooks/tasks/run_test.yml:24 Saturday 24 February 2024 19:01:48 +0000 (0:00:00.031) 0:01:05.841 ***** included: /WORKDIR/git-more-test-debugywludt9c/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-more-test-debugywludt9c/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-more-test-debugywludt9c/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-more-test-debugywludt9c/tests/playbooks/tasks/create_bridge_profile.yml:3 Saturday 24 February 2024 19:01:48 +0000 (0:00:00.074) 0:01:05.915 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-more-test-debugywludt9c/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 24 February 2024 19:01:48 +0000 (0:00:00.046) 0:01:05.962 ***** included: /WORKDIR/git-more-test-debugywludt9c/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-debugywludt9c/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 24 February 2024 19:01:48 +0000 (0:00:00.072) 0:01:06.034 ***** 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-debugywludt9c/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 24 February 2024 19:01:48 +0000 (0:00:00.060) 0:01:06.095 ***** 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-debugywludt9c/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 24 February 2024 19:01:48 +0000 (0:00:00.025) 0:01:06.121 ***** 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-debugywludt9c/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 24 February 2024 19:01:48 +0000 (0:00:00.049) 0:01:06.170 ***** 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-debugywludt9c/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 24 February 2024 19:01:50 +0000 (0:00:01.534) 0:01:07.705 ***** 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-debugywludt9c/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 24 February 2024 19:01:51 +0000 (0:00:01.374) 0:01:09.079 ***** 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-debugywludt9c/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 24 February 2024 19:01:51 +0000 (0:00:00.035) 0:01:09.115 ***** 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-debugywludt9c/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 24 February 2024 19:01:51 +0000 (0:00:00.043) 0:01:09.159 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-more-test-debugywludt9c/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 24 February 2024 19:01:51 +0000 (0:00:00.044) 0:01:09.203 ***** 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-debugywludt9c/tests/roles/linux-system-roles.network/tasks/main.yml:43 Saturday 24 February 2024 19:01:52 +0000 (0:00:00.063) 0:01:09.266 ***** 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-debugywludt9c/tests/roles/linux-system-roles.network/tasks/main.yml:58 Saturday 24 February 2024 19:01:52 +0000 (0:00:00.021) 0:01:09.288 ***** 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-debugywludt9c/tests/roles/linux-system-roles.network/tasks/main.yml:74 Saturday 24 February 2024 19:01:52 +0000 (0:00:00.027) 0:01:09.316 ***** 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-debugywludt9c/tests/roles/linux-system-roles.network/tasks/main.yml:88 Saturday 24 February 2024 19:01:52 +0000 (0:00:00.036) 0:01:09.352 ***** 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-debugywludt9c/tests/roles/linux-system-roles.network/tasks/main.yml:99 Saturday 24 February 2024 19:01:52 +0000 (0:00:00.421) 0:01:09.774 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-more-test-debugywludt9c/tests/roles/linux-system-roles.network/tasks/main.yml:108 Saturday 24 February 2024 19:01:52 +0000 (0:00:00.045) 0:01:09.819 ***** 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-debugywludt9c/tests/roles/linux-system-roles.network/tasks/main.yml:116 Saturday 24 February 2024 19:01:52 +0000 (0:00:00.065) 0:01:09.885 ***** 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-debugywludt9c/tests/roles/linux-system-roles.network/tasks/main.yml:125 Saturday 24 February 2024 19:01:52 +0000 (0:00:00.036) 0:01:09.922 ***** 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, a0e66927-643b-48b6-942d-f384160bea95 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-more-test-debugywludt9c/tests/roles/linux-system-roles.network/tasks/main.yml:137 Saturday 24 February 2024 19:01:53 +0000 (0:00:00.431) 0:01:10.353 ***** 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-debugywludt9c/tests/roles/linux-system-roles.network/tasks/main.yml:143 Saturday 24 February 2024 19:01:53 +0000 (0:00:00.025) 0:01:10.379 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, a0e66927-643b-48b6-942d-f384160bea95" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-more-test-debugywludt9c/tests/roles/linux-system-roles.network/tasks/main.yml:147 Saturday 24 February 2024 19:01:53 +0000 (0:00:00.028) 0:01:10.408 ***** 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, a0e66927-643b-48b6-942d-f384160bea95\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, a0e66927-643b-48b6-942d-f384160bea95" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-more-test-debugywludt9c/tests/roles/linux-system-roles.network/tasks/main.yml:152 Saturday 24 February 2024 19:01:53 +0000 (0:00:00.026) 0:01:10.434 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-more-test-debugywludt9c/tests/roles/linux-system-roles.network/tasks/main.yml:158 Saturday 24 February 2024 19:01:53 +0000 (0:00:00.021) 0:01:10.456 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-more-test-debugywludt9c/tests/playbooks/tasks/create_bridge_profile.yml:14 Saturday 24 February 2024 19:01:53 +0000 (0:00:00.185) 0:01:10.642 ***** 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, a0e66927-643b-48b6-942d-f384160bea95\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, a0e66927-643b-48b6-942d-f384160bea95" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-more-test-debugywludt9c/tests/playbooks/tasks/activate_profile.yml:3 Saturday 24 February 2024 19:01:53 +0000 (0:00:00.023) 0:01:10.665 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-more-test-debugywludt9c/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 24 February 2024 19:01:53 +0000 (0:00:00.035) 0:01:10.701 ***** included: /WORKDIR/git-more-test-debugywludt9c/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-debugywludt9c/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 24 February 2024 19:01:53 +0000 (0:00:00.039) 0:01:10.741 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-more-test-debugywludt9c/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 24 February 2024 19:01:53 +0000 (0:00:00.027) 0:01:10.768 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-more-test-debugywludt9c/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 24 February 2024 19:01:53 +0000 (0:00:00.020) 0:01:10.789 ***** 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-debugywludt9c/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 24 February 2024 19:01:53 +0000 (0:00:00.050) 0:01:10.840 ***** 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-debugywludt9c/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 24 February 2024 19:01:55 +0000 (0:00:01.465) 0:01:12.305 ***** 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-debugywludt9c/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 24 February 2024 19:01:56 +0000 (0:00:01.329) 0:01:13.635 ***** 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-debugywludt9c/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 24 February 2024 19:01:56 +0000 (0:00:00.025) 0:01:13.661 ***** 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-debugywludt9c/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 24 February 2024 19:01:56 +0000 (0:00:00.025) 0:01:13.686 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-more-test-debugywludt9c/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 24 February 2024 19:01:56 +0000 (0:00:00.074) 0:01:13.761 ***** 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-debugywludt9c/tests/roles/linux-system-roles.network/tasks/main.yml:43 Saturday 24 February 2024 19:01:56 +0000 (0:00:00.097) 0:01:13.858 ***** 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-debugywludt9c/tests/roles/linux-system-roles.network/tasks/main.yml:58 Saturday 24 February 2024 19:01:56 +0000 (0:00:00.033) 0:01:13.892 ***** 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-debugywludt9c/tests/roles/linux-system-roles.network/tasks/main.yml:74 Saturday 24 February 2024 19:01:56 +0000 (0:00:00.029) 0:01:13.921 ***** 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-debugywludt9c/tests/roles/linux-system-roles.network/tasks/main.yml:88 Saturday 24 February 2024 19:01:56 +0000 (0:00:00.040) 0:01:13.962 ***** 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-debugywludt9c/tests/roles/linux-system-roles.network/tasks/main.yml:99 Saturday 24 February 2024 19:01:57 +0000 (0:00:00.387) 0:01:14.349 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-more-test-debugywludt9c/tests/roles/linux-system-roles.network/tasks/main.yml:108 Saturday 24 February 2024 19:01:57 +0000 (0:00:00.049) 0:01:14.398 ***** 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-debugywludt9c/tests/roles/linux-system-roles.network/tasks/main.yml:116 Saturday 24 February 2024 19:01:57 +0000 (0:00:00.058) 0:01:14.457 ***** 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-debugywludt9c/tests/roles/linux-system-roles.network/tasks/main.yml:125 Saturday 24 February 2024 19:01:57 +0000 (0:00:00.096) 0:01:14.554 ***** 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, a0e66927-643b-48b6-942d-f384160bea95 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-more-test-debugywludt9c/tests/roles/linux-system-roles.network/tasks/main.yml:137 Saturday 24 February 2024 19:01:57 +0000 (0:00:00.397) 0:01:14.951 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-more-test-debugywludt9c/tests/roles/linux-system-roles.network/tasks/main.yml:143 Saturday 24 February 2024 19:01:57 +0000 (0:00:00.038) 0:01:14.989 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, a0e66927-643b-48b6-942d-f384160bea95 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-more-test-debugywludt9c/tests/roles/linux-system-roles.network/tasks/main.yml:147 Saturday 24 February 2024 19:01:57 +0000 (0:00:00.027) 0:01:15.017 ***** 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, a0e66927-643b-48b6-942d-f384160bea95 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, a0e66927-643b-48b6-942d-f384160bea95 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-more-test-debugywludt9c/tests/roles/linux-system-roles.network/tasks/main.yml:152 Saturday 24 February 2024 19:01:57 +0000 (0:00:00.025) 0:01:15.042 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-more-test-debugywludt9c/tests/roles/linux-system-roles.network/tasks/main.yml:158 Saturday 24 February 2024 19:01:57 +0000 (0:00:00.023) 0:01:15.065 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-more-test-debugywludt9c/tests/playbooks/tasks/remove+down_profile.yml:3 Saturday 24 February 2024 19:01:58 +0000 (0:00:00.191) 0:01:15.257 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-more-test-debugywludt9c/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 24 February 2024 19:01:58 +0000 (0:00:00.066) 0:01:15.324 ***** included: /WORKDIR/git-more-test-debugywludt9c/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-debugywludt9c/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 24 February 2024 19:01:58 +0000 (0:00:00.041) 0:01:15.365 ***** 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-debugywludt9c/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 24 February 2024 19:01:58 +0000 (0:00:00.058) 0:01:15.424 ***** 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-debugywludt9c/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 24 February 2024 19:01:58 +0000 (0:00:00.024) 0:01:15.448 ***** 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-debugywludt9c/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 24 February 2024 19:01:58 +0000 (0:00:00.048) 0:01:15.496 ***** 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-debugywludt9c/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 24 February 2024 19:01:59 +0000 (0:00:01.514) 0:01:17.011 ***** 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-debugywludt9c/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 24 February 2024 19:02:01 +0000 (0:00:01.387) 0:01:18.398 ***** 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-debugywludt9c/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 24 February 2024 19:02:01 +0000 (0:00:00.059) 0:01:18.458 ***** 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-debugywludt9c/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 24 February 2024 19:02:01 +0000 (0:00:00.024) 0:01:18.482 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-more-test-debugywludt9c/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 24 February 2024 19:02:01 +0000 (0:00:00.043) 0:01:18.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-debugywludt9c/tests/roles/linux-system-roles.network/tasks/main.yml:43 Saturday 24 February 2024 19:02:01 +0000 (0:00:00.059) 0:01:18.585 ***** 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-debugywludt9c/tests/roles/linux-system-roles.network/tasks/main.yml:58 Saturday 24 February 2024 19:02:01 +0000 (0:00:00.024) 0:01:18.610 ***** 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-debugywludt9c/tests/roles/linux-system-roles.network/tasks/main.yml:74 Saturday 24 February 2024 19:02:01 +0000 (0:00:00.039) 0:01:18.649 ***** 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-debugywludt9c/tests/roles/linux-system-roles.network/tasks/main.yml:88 Saturday 24 February 2024 19:02:01 +0000 (0:00:00.029) 0:01:18.679 ***** 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-debugywludt9c/tests/roles/linux-system-roles.network/tasks/main.yml:99 Saturday 24 February 2024 19:02:01 +0000 (0:00:00.399) 0:01:19.079 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-more-test-debugywludt9c/tests/roles/linux-system-roles.network/tasks/main.yml:108 Saturday 24 February 2024 19:02:01 +0000 (0:00:00.049) 0:01:19.128 ***** 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-debugywludt9c/tests/roles/linux-system-roles.network/tasks/main.yml:116 Saturday 24 February 2024 19:02:01 +0000 (0:00:00.066) 0:01:19.195 ***** 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-debugywludt9c/tests/roles/linux-system-roles.network/tasks/main.yml:125 Saturday 24 February 2024 19:02:02 +0000 (0:00:00.061) 0:01:19.256 ***** 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-debugywludt9c/tests/roles/linux-system-roles.network/tasks/main.yml:137 Saturday 24 February 2024 19:02:02 +0000 (0:00:00.466) 0:01:19.723 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-more-test-debugywludt9c/tests/roles/linux-system-roles.network/tasks/main.yml:143 Saturday 24 February 2024 19:02:02 +0000 (0:00:00.078) 0:01:19.801 ***** 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-debugywludt9c/tests/roles/linux-system-roles.network/tasks/main.yml:147 Saturday 24 February 2024 19:02:02 +0000 (0:00:00.103) 0:01:19.905 ***** 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-debugywludt9c/tests/roles/linux-system-roles.network/tasks/main.yml:152 Saturday 24 February 2024 19:02:02 +0000 (0:00:00.029) 0:01:19.934 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-more-test-debugywludt9c/tests/roles/linux-system-roles.network/tasks/main.yml:158 Saturday 24 February 2024 19:02:02 +0000 (0:00:00.023) 0:01:19.957 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-more-test-debugywludt9c/tests/playbooks/tasks/run_test.yml:30 Saturday 24 February 2024 19:02:02 +0000 (0:00:00.203) 0:01:20.161 ***** included: /WORKDIR/git-more-test-debugywludt9c/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-more-test-debugywludt9c/tests/playbooks/tasks/remove+down_profile.yml:3 Saturday 24 February 2024 19:02:02 +0000 (0:00:00.062) 0:01:20.223 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-more-test-debugywludt9c/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 24 February 2024 19:02:03 +0000 (0:00:00.036) 0:01:20.260 ***** included: /WORKDIR/git-more-test-debugywludt9c/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-debugywludt9c/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 24 February 2024 19:02:03 +0000 (0:00:00.040) 0:01:20.300 ***** 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-debugywludt9c/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 24 February 2024 19:02:03 +0000 (0:00:00.030) 0:01:20.330 ***** 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-debugywludt9c/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 24 February 2024 19:02:03 +0000 (0:00:00.021) 0:01:20.352 ***** 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-debugywludt9c/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 24 February 2024 19:02:03 +0000 (0:00:00.021) 0:01:20.373 ***** 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-debugywludt9c/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 24 February 2024 19:02:04 +0000 (0:00:01.487) 0:01:21.860 ***** 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-debugywludt9c/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 24 February 2024 19:02:05 +0000 (0:00:01.325) 0:01:23.186 ***** 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-debugywludt9c/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 24 February 2024 19:02:05 +0000 (0:00:00.032) 0:01:23.218 ***** 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-debugywludt9c/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 24 February 2024 19:02:06 +0000 (0:00:00.025) 0:01:23.244 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-more-test-debugywludt9c/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 24 February 2024 19:02:06 +0000 (0:00:00.045) 0:01:23.289 ***** 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-debugywludt9c/tests/roles/linux-system-roles.network/tasks/main.yml:43 Saturday 24 February 2024 19:02:06 +0000 (0:00:00.047) 0:01:23.336 ***** 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-debugywludt9c/tests/roles/linux-system-roles.network/tasks/main.yml:58 Saturday 24 February 2024 19:02:06 +0000 (0:00:00.087) 0:01:23.424 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-more-test-debugywludt9c/tests/roles/linux-system-roles.network/tasks/main.yml:74 Saturday 24 February 2024 19:02:06 +0000 (0:00:00.069) 0:01:23.493 ***** 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-debugywludt9c/tests/roles/linux-system-roles.network/tasks/main.yml:88 Saturday 24 February 2024 19:02:06 +0000 (0:00:00.057) 0:01:23.551 ***** 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-debugywludt9c/tests/roles/linux-system-roles.network/tasks/main.yml:99 Saturday 24 February 2024 19:02:06 +0000 (0:00:00.356) 0:01:23.907 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-more-test-debugywludt9c/tests/roles/linux-system-roles.network/tasks/main.yml:108 Saturday 24 February 2024 19:02:06 +0000 (0:00:00.056) 0:01:23.964 ***** 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-debugywludt9c/tests/roles/linux-system-roles.network/tasks/main.yml:116 Saturday 24 February 2024 19:02:06 +0000 (0:00:00.025) 0:01:23.989 ***** 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-debugywludt9c/tests/roles/linux-system-roles.network/tasks/main.yml:125 Saturday 24 February 2024 19:02:06 +0000 (0:00:00.022) 0:01:24.012 ***** 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-debugywludt9c/tests/roles/linux-system-roles.network/tasks/main.yml:137 Saturday 24 February 2024 19:02:07 +0000 (0:00:00.338) 0:01:24.350 ***** 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-debugywludt9c/tests/roles/linux-system-roles.network/tasks/main.yml:143 Saturday 24 February 2024 19:02:07 +0000 (0:00:00.024) 0:01:24.374 ***** 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-debugywludt9c/tests/roles/linux-system-roles.network/tasks/main.yml:147 Saturday 24 February 2024 19:02:07 +0000 (0:00:00.030) 0:01:24.405 ***** 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-debugywludt9c/tests/roles/linux-system-roles.network/tasks/main.yml:152 Saturday 24 February 2024 19:02:07 +0000 (0:00:00.031) 0:01:24.436 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-more-test-debugywludt9c/tests/roles/linux-system-roles.network/tasks/main.yml:158 Saturday 24 February 2024 19:02:07 +0000 (0:00:00.027) 0:01:24.463 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-more-test-debugywludt9c/tests/playbooks/tasks/run_test.yml:36 Saturday 24 February 2024 19:02:07 +0000 (0:00:00.191) 0:01:24.654 ***** included: /WORKDIR/git-more-test-debugywludt9c/tests/playbooks/tasks/assert_profile_absent.yml for sut included: /WORKDIR/git-more-test-debugywludt9c/tests/playbooks/tasks/get_NetworkManager_NVR.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-more-test-debugywludt9c/tests/playbooks/tasks/assert_profile_absent.yml:3 Saturday 24 February 2024 19:02:07 +0000 (0:00:00.045) 0:01:24.700 ***** included: /WORKDIR/git-more-test-debugywludt9c/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-debugywludt9c/tests/playbooks/tasks/get_profile_stat.yml:3 Saturday 24 February 2024 19:02:07 +0000 (0:00:00.036) 0:01:24.737 ***** 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-debugywludt9c/tests/playbooks/tasks/get_profile_stat.yml:9 Saturday 24 February 2024 19:02:07 +0000 (0:00:00.023) 0:01:24.760 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-more-test-debugywludt9c/tests/playbooks/tasks/get_profile_stat.yml:17 Saturday 24 February 2024 19:02:07 +0000 (0:00:00.237) 0:01:24.997 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-more-test-debugywludt9c/tests/playbooks/tasks/get_profile_stat.yml:25 Saturday 24 February 2024 19:02:07 +0000 (0:00:00.024) 0:01:25.022 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.018773", "end": "2024-02-24 19:02:07.971421", "rc": 1, "start": "2024-02-24 19:02:07.952648" } 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-debugywludt9c/tests/playbooks/tasks/get_profile_stat.yml:35 Saturday 24 February 2024 19:02:08 +0000 (0:00:00.220) 0:01:25.243 ***** 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-debugywludt9c/tests/playbooks/tasks/get_profile_stat.yml:49 Saturday 24 February 2024 19:02:08 +0000 (0:00:00.028) 0:01:25.272 ***** 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-debugywludt9c/tests/playbooks/tasks/get_profile_stat.yml:56 Saturday 24 February 2024 19:02:08 +0000 (0:00:00.036) 0:01:25.308 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-more-test-debugywludt9c/tests/playbooks/tasks/get_profile_stat.yml:62 Saturday 24 February 2024 19:02:08 +0000 (0:00:00.029) 0:01:25.338 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-more-test-debugywludt9c/tests/playbooks/tasks/get_profile_stat.yml:69 Saturday 24 February 2024 19:02:08 +0000 (0:00:00.025) 0:01:25.364 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-more-test-debugywludt9c/tests/playbooks/tasks/assert_profile_absent.yml:5 Saturday 24 February 2024 19:02:08 +0000 (0:00:00.023) 0:01:25.387 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /WORKDIR/git-more-test-debugywludt9c/tests/playbooks/tasks/get_NetworkManager_NVR.yml:7 Saturday 24 February 2024 19:02:08 +0000 (0:00:00.026) 0:01:25.414 ***** ok: [sut] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.928796", "end": "2024-02-24 19:02:09.281976", "rc": 0, "start": "2024-02-24 19:02:08.353180" } STDOUT: NetworkManager-1.40.16-14.el8 TASK [Store NetworkManager version] ******************************************** task path: /WORKDIR/git-more-test-debugywludt9c/tests/playbooks/tasks/get_NetworkManager_NVR.yml:14 Saturday 24 February 2024 19:02:09 +0000 (0:00:01.223) 0:01:26.637 ***** ok: [sut] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.40.16-14.el8" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /WORKDIR/git-more-test-debugywludt9c/tests/playbooks/tasks/get_NetworkManager_NVR.yml:18 Saturday 24 February 2024 19:02:09 +0000 (0:00:00.046) 0:01:26.684 ***** ok: [sut] => { "networkmanager_nvr": "NetworkManager-1.40.16-14.el8" } TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-more-test-debugywludt9c/tests/playbooks/tasks/run_test.yml:42 Saturday 24 February 2024 19:02:09 +0000 (0:00:00.038) 0:01:26.722 ***** included: /WORKDIR/git-more-test-debugywludt9c/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-more-test-debugywludt9c/tests/playbooks/tasks/assert_device_absent.yml:3 Saturday 24 February 2024 19:02:09 +0000 (0:00:00.057) 0:01:26.779 ***** included: /WORKDIR/git-more-test-debugywludt9c/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-more-test-debugywludt9c/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 24 February 2024 19:02:09 +0000 (0:00:00.143) 0:01:26.923 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-more-test-debugywludt9c/tests/playbooks/tasks/assert_device_absent.yml:5 Saturday 24 February 2024 19:02:09 +0000 (0:00:00.277) 0:01:27.201 ***** 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-debugywludt9c/tests/playbooks/tasks/run_test.yml:47 Saturday 24 February 2024 19:02:10 +0000 (0:00:00.055) 0:01:27.256 ***** 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-debugywludt9c/tests/playbooks/tasks/run_test.yml:66 Saturday 24 February 2024 19:02:10 +0000 (0:00:00.024) 0:01:27.281 ***** included: /WORKDIR/git-more-test-debugywludt9c/tests/playbooks/tasks/cleanup_profile+device.yml for sut included: /WORKDIR/git-more-test-debugywludt9c/tests/playbooks/tasks/check_network_dns.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-more-test-debugywludt9c/tests/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 24 February 2024 19:02:10 +0000 (0:00:00.065) 0:01:27.346 ***** 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.038061", "end": "2024-02-24 19:02:10.333933", "rc": 1, "start": "2024-02-24 19:02:10.295872" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Check routes and DNS] **************************************************** task path: /WORKDIR/git-more-test-debugywludt9c/tests/playbooks/tasks/check_network_dns.yml:6 Saturday 24 February 2024 19:02:10 +0000 (0:00:00.260) 0:01:27.607 ***** 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.009765", "end": "2024-02-24 19:02:10.553202", "rc": 0, "start": "2024-02-24 19:02:10.543437" } STDOUT: IP 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: eth0: mtu 9001 qdisc mq state UP group default qlen 1000 link/ether 12:1c:52:ee:e1:e7 brd ff:ff:ff:ff:ff:ff inet 10.31.9.238/22 brd 10.31.11.255 scope global dynamic noprefixroute eth0 valid_lft 3384sec preferred_lft 3384sec inet6 fe80::101c:52ff:feee:e1e7/64 scope link valid_lft forever preferred_lft forever IP ROUTE default via 10.31.8.1 dev eth0 proto dhcp src 10.31.9.238 metric 100 10.31.8.0/22 dev eth0 proto kernel scope link src 10.31.9.238 metric 100 IP -6 ROUTE ::1 dev lo proto kernel metric 256 pref medium fe80::/64 dev eth0 proto kernel metric 256 pref medium RESOLV # Generated by NetworkManager search us-east-1.aws.redhat.com testing-farm nameserver 10.29.169.13 nameserver 10.29.170.12 nameserver 10.2.32.1 TASK [Verify DNS and network connectivity] ************************************* task path: /WORKDIR/git-more-test-debugywludt9c/tests/playbooks/tasks/check_network_dns.yml:24 Saturday 24 February 2024 19:02:10 +0000 (0:00:00.209) 0:01:27.816 ***** ok: [sut] => { "changed": false, "cmd": "set -euo pipefail\necho CHECK DNS AND CONNECTIVITY\nfor host in mirrors.fedoraproject.org mirrors.centos.org; do\n if ! getent hosts \"$host\"; then\n echo FAILED to lookup host \"$host\"\n exit 1\n fi\n if ! curl -o /dev/null https://\"$host\"; then\n echo FAILED to contact host \"$host\"\n exit 1\n fi\ndone\n", "delta": "0:00:00.070526", "end": "2024-02-24 19:02:10.828291", "rc": 0, "start": "2024-02-24 19:02:10.757765" } STDOUT: CHECK DNS AND CONNECTIVITY 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org STDERR: % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 305 100 305 0 0 11730 0 --:--:-- --:--:-- --:--:-- 11730 % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 291 100 291 0 0 13857 0 --:--:-- --:--:-- --:--:-- 13857 META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=324 changed=10 unreachable=0 failed=0 skipped=247 rescued=0 ignored=11 Saturday 24 February 2024 19:02:10 +0000 (0:00:00.271) 0:01:28.087 ***** =============================================================================== linux-system-roles.network : Configure networking connection profiles --- 2.24s /WORKDIR/git-more-test-debugywludt9c/tests/roles/linux-system-roles.network/tasks/main.yml:125 linux-system-roles.network : Enable and start NetworkManager ------------ 1.97s /WORKDIR/git-more-test-debugywludt9c/tests/roles/linux-system-roles.network/tasks/main.yml:88 linux-system-roles.network : Check which services are running ----------- 1.55s /WORKDIR/git-more-test-debugywludt9c/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Configure networking connection profiles --- 1.55s /WORKDIR/git-more-test-debugywludt9c/tests/roles/linux-system-roles.network/tasks/main.yml:125 linux-system-roles.network : Enable and start NetworkManager ------------ 1.54s /WORKDIR/git-more-test-debugywludt9c/tests/roles/linux-system-roles.network/tasks/main.yml:88 linux-system-roles.network : Check which services are running ----------- 1.54s /WORKDIR/git-more-test-debugywludt9c/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.53s /WORKDIR/git-more-test-debugywludt9c/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.52s /WORKDIR/git-more-test-debugywludt9c/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.51s /WORKDIR/git-more-test-debugywludt9c/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.51s /WORKDIR/git-more-test-debugywludt9c/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.50s /WORKDIR/git-more-test-debugywludt9c/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.49s /WORKDIR/git-more-test-debugywludt9c/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.48s /WORKDIR/git-more-test-debugywludt9c/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.48s /WORKDIR/git-more-test-debugywludt9c/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.47s /WORKDIR/git-more-test-debugywludt9c/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.47s /WORKDIR/git-more-test-debugywludt9c/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which packages are installed --------- 1.47s /WORKDIR/git-more-test-debugywludt9c/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which services are running ----------- 1.47s /WORKDIR/git-more-test-debugywludt9c/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.47s /WORKDIR/git-more-test-debugywludt9c/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.47s /WORKDIR/git-more-test-debugywludt9c/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- [WARNING]: Consider using the dnf module rather than running 'dnf'. If you need to use command because dnf is insufficient you can add 'warn: false' to this command task or set 'command_warnings=False' in ansible.cfg to get rid of this message. [WARNING]: Consider using the yum, dnf or zypper module rather than running 'rpm'. If you need to use command because yum, dnf or zypper is insufficient you can add 'warn: false' to this command task or set 'command_warnings=False' in ansible.cfg to get rid of this message. ---^---^---^---^---^---