# 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-route_type4dt8cc0x/tests/tests_states_nm.yml PLAY [Run playbook 'playbooks/tests_states.yml' with nm as provider] *********** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-route_type4dt8cc0x/tests/tests_states_nm.yml:6 Wednesday 10 January 2024 15:49:30 +0000 (0:00:00.021) 0:00:00.021 ***** ok: [sut] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-route_type4dt8cc0x/tests/tests_states_nm.yml:9 Wednesday 10 January 2024 15:49:31 +0000 (0:00:00.772) 0:00:00.794 ***** included: /WORKDIR/git-route_type4dt8cc0x/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-route_type4dt8cc0x/tests/tasks/el_repo_setup.yml:3 Wednesday 10 January 2024 15:49:31 +0000 (0:00:00.045) 0:00:00.839 ***** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-route_type4dt8cc0x/tests/tasks/el_repo_setup.yml:19 Wednesday 10 January 2024 15:49:31 +0000 (0:00:00.394) 0:00:01.234 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-route_type4dt8cc0x/tests/tasks/el_repo_setup.yml:24 Wednesday 10 January 2024 15:49:32 +0000 (0:00:00.280) 0:00:01.515 ***** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-route_type4dt8cc0x/tests/tasks/el_repo_setup.yml:28 Wednesday 10 January 2024 15:49:32 +0000 (0:00:00.029) 0:00:01.544 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-route_type4dt8cc0x/tests/tasks/el_repo_setup.yml:53 Wednesday 10 January 2024 15:49:32 +0000 (0:00:00.050) 0:00:01.595 ***** included: /WORKDIR/git-route_type4dt8cc0x/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 9] *********************************************************** task path: /WORKDIR/git-route_type4dt8cc0x/tests/tasks/enable_epel.yml:8 Wednesday 10 January 2024 15:49:32 +0000 (0:00:00.055) 0:00:01.651 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Install yum-utils package] *********************************************** task path: /WORKDIR/git-route_type4dt8cc0x/tests/tasks/enable_epel.yml:24 Wednesday 10 January 2024 15:49:32 +0000 (0:00:00.038) 0:00:01.689 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-route_type4dt8cc0x/tests/tasks/enable_epel.yml:30 Wednesday 10 January 2024 15:49:32 +0000 (0:00:00.053) 0:00:01.742 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-route_type4dt8cc0x/tests/tasks/enable_epel.yml:35 Wednesday 10 January 2024 15:49:32 +0000 (0:00:00.046) 0:00:01.788 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-route_type4dt8cc0x/tests/tasks/enable_epel.yml:40 Wednesday 10 January 2024 15:49:32 +0000 (0:00:00.042) 0:00:01.831 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /WORKDIR/git-route_type4dt8cc0x/tests/tests_states_nm.yml:11 Wednesday 10 January 2024 15:49:32 +0000 (0:00:00.013) 0:00:01.844 ***** 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-route_type4dt8cc0x/tests/playbooks/tests_states.yml:3 Wednesday 10 January 2024 15:49:32 +0000 (0:00:00.072) 0:00:01.916 ***** ok: [sut] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-route_type4dt8cc0x/tests/playbooks/tests_states.yml:11 Wednesday 10 January 2024 15:49:32 +0000 (0:00:00.563) 0:00:02.479 ***** ok: [sut] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-route_type4dt8cc0x/tests/playbooks/tests_states.yml:22 Wednesday 10 January 2024 15:49:33 +0000 (0:00:00.027) 0:00:02.507 ***** included: /WORKDIR/git-route_type4dt8cc0x/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile] ******************************************** task path: /WORKDIR/git-route_type4dt8cc0x/tests/playbooks/tasks/run_test.yml:5 Wednesday 10 January 2024 15:49:33 +0000 (0:00:00.016) 0:00:02.525 ***** ok: [sut] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_type4dt8cc0x/tests/playbooks/tasks/run_test.yml:9 Wednesday 10 January 2024 15:49:33 +0000 (0:00:00.029) 0:00:02.554 ***** 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-route_type4dt8cc0x/tests/playbooks/tasks/run_test.yml:21 Wednesday 10 January 2024 15:49:33 +0000 (0:00:00.078) 0:00:02.632 ***** included: /WORKDIR/git-route_type4dt8cc0x/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_type4dt8cc0x/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 10 January 2024 15:49:33 +0000 (0:00:00.034) 0:00:02.666 ***** included: /WORKDIR/git-route_type4dt8cc0x/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_type4dt8cc0x/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 10 January 2024 15:49:33 +0000 (0:00:00.042) 0:00:02.709 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003440", "end": "2024-01-10 15:49:33.515304", "rc": 0, "start": "2024-01-10 15:49:33.511864" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_type4dt8cc0x/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 10 January 2024 15:49:33 +0000 (0:00:00.319) 0:00:03.029 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_type4dt8cc0x/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 10 January 2024 15:49:33 +0000 (0:00:00.015) 0:00:03.044 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_type4dt8cc0x/tests/playbooks/tasks/run_test.yml:24 Wednesday 10 January 2024 15:49:33 +0000 (0:00:00.014) 0:00:03.059 ***** included: /WORKDIR/git-route_type4dt8cc0x/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-route_type4dt8cc0x/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-route_type4dt8cc0x/tests/playbooks/tasks/delete_interface.yml:3 Wednesday 10 January 2024 15:49:33 +0000 (0:00:00.041) 0:00:03.100 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.008150", "end": "2024-01-10 15:49:33.822537", "rc": 1, "start": "2024-01-10 15:49:33.814387" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_type4dt8cc0x/tests/playbooks/tasks/assert_device_absent.yml:3 Wednesday 10 January 2024 15:49:33 +0000 (0:00:00.230) 0:00:03.331 ***** included: /WORKDIR/git-route_type4dt8cc0x/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_type4dt8cc0x/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 10 January 2024 15:49:33 +0000 (0:00:00.020) 0:00:03.352 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_type4dt8cc0x/tests/playbooks/tasks/assert_device_absent.yml:5 Wednesday 10 January 2024 15:49:34 +0000 (0:00:00.196) 0:00:03.548 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_type4dt8cc0x/tests/playbooks/tasks/run_test.yml:30 Wednesday 10 January 2024 15:49:34 +0000 (0:00:00.029) 0:00:03.577 ***** included: /WORKDIR/git-route_type4dt8cc0x/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type4dt8cc0x/tests/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 10 January 2024 15:49:34 +0000 (0:00:00.028) 0:00:03.605 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 10 January 2024 15:49:34 +0000 (0:00:00.051) 0:00:03.657 ***** included: /WORKDIR/git-route_type4dt8cc0x/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-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 10 January 2024 15:49:34 +0000 (0:00:00.126) 0:00:03.783 ***** 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-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 10 January 2024 15:49:34 +0000 (0:00:00.032) 0:00:03.816 ***** 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-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 10 January 2024 15:49:34 +0000 (0:00:00.021) 0:00:03.837 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 10 January 2024 15:49:34 +0000 (0:00:00.010) 0:00:03.848 ***** 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-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 10 January 2024 15:49:35 +0000 (0:00:01.534) 0:00:05.382 ***** 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-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 10 January 2024 15:49:36 +0000 (0:00:01.079) 0:00:06.462 ***** 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-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 10 January 2024 15:49:37 +0000 (0:00:00.040) 0:00:06.502 ***** 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-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 10 January 2024 15:49:37 +0000 (0:00:00.072) 0:00:06.575 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 10 January 2024 15:49:37 +0000 (0:00:00.022) 0:00:06.597 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 10 January 2024 15:49:37 +0000 (0:00:00.077) 0:00:06.675 ***** 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-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 10 January 2024 15:49:37 +0000 (0:00:00.041) 0:00:06.716 ***** 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-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 10 January 2024 15:49:37 +0000 (0:00:00.025) 0:00:06.741 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 10 January 2024 15:49:37 +0000 (0:00:00.042) 0:00:06.784 ***** 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-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 10 January 2024 15:49:37 +0000 (0:00:00.573) 0:00:07.357 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 10 January 2024 15:49:37 +0000 (0:00:00.046) 0:00:07.403 ***** 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-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 10 January 2024 15:49:37 +0000 (0:00:00.038) 0:00:07.441 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 10 January 2024 15:49:37 +0000 (0:00:00.033) 0:00:07.475 ***** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 8f1dd9a4-0c8f-4859-9b2d-b135dd6055cc TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 10 January 2024 15:49:38 +0000 (0:00:00.623) 0:00:08.099 ***** 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-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 10 January 2024 15:49:38 +0000 (0:00:00.043) 0:00:08.143 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 8f1dd9a4-0c8f-4859-9b2d-b135dd6055cc" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 10 January 2024 15:49:38 +0000 (0:00:00.042) 0:00:08.185 ***** 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, 8f1dd9a4-0c8f-4859-9b2d-b135dd6055cc\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 8f1dd9a4-0c8f-4859-9b2d-b135dd6055cc" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 10 January 2024 15:49:38 +0000 (0:00:00.036) 0:00:08.221 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 10 January 2024 15:49:38 +0000 (0:00:00.036) 0:00:08.258 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_type4dt8cc0x/tests/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 10 January 2024 15:49:39 +0000 (0:00:00.433) 0:00:08.692 ***** 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, 8f1dd9a4-0c8f-4859-9b2d-b135dd6055cc\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 8f1dd9a4-0c8f-4859-9b2d-b135dd6055cc" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_type4dt8cc0x/tests/playbooks/tasks/run_test.yml:36 Wednesday 10 January 2024 15:49:39 +0000 (0:00:00.040) 0:00:08.732 ***** included: /WORKDIR/git-route_type4dt8cc0x/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_type4dt8cc0x/tests/playbooks/tasks/assert_profile_present.yml:3 Wednesday 10 January 2024 15:49:39 +0000 (0:00:00.067) 0:00:08.799 ***** included: /WORKDIR/git-route_type4dt8cc0x/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_type4dt8cc0x/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 10 January 2024 15:49:39 +0000 (0:00:00.053) 0:00:08.853 ***** 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-route_type4dt8cc0x/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 10 January 2024 15:49:39 +0000 (0:00:00.022) 0:00:08.875 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_type4dt8cc0x/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 10 January 2024 15:49:39 +0000 (0:00:00.203) 0:00:09.079 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_type4dt8cc0x/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 10 January 2024 15:49:39 +0000 (0:00:00.022) 0:00:09.102 ***** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021339", "end": "2024-01-10 15:49:39.813812", "rc": 0, "start": "2024-01-10 15:49:39.792473" } STDOUT: statebr /etc/NetworkManager/system-connections/statebr.nmconnection TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-route_type4dt8cc0x/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 10 January 2024 15:49:39 +0000 (0:00:00.226) 0:00:09.329 ***** 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-route_type4dt8cc0x/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 10 January 2024 15:49:39 +0000 (0:00:00.024) 0:00:09.353 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_type4dt8cc0x/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 10 January 2024 15:49:39 +0000 (0:00:00.032) 0:00:09.385 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_type4dt8cc0x/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 10 January 2024 15:49:39 +0000 (0:00:00.032) 0:00:09.418 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_type4dt8cc0x/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 10 January 2024 15:49:39 +0000 (0:00:00.032) 0:00:09.450 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-route_type4dt8cc0x/tests/playbooks/tasks/assert_profile_present.yml:5 Wednesday 10 January 2024 15:49:39 +0000 (0:00:00.021) 0:00:09.472 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-route_type4dt8cc0x/tests/playbooks/tasks/assert_profile_present.yml:10 Wednesday 10 January 2024 15:49:40 +0000 (0:00:00.025) 0:00:09.497 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-route_type4dt8cc0x/tests/playbooks/tasks/assert_profile_present.yml:15 Wednesday 10 January 2024 15:49:40 +0000 (0:00:00.028) 0:00:09.526 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_type4dt8cc0x/tests/playbooks/tasks/run_test.yml:42 Wednesday 10 January 2024 15:49:40 +0000 (0:00:00.060) 0:00:09.586 ***** included: /WORKDIR/git-route_type4dt8cc0x/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_type4dt8cc0x/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 10 January 2024 15:49:40 +0000 (0:00:00.062) 0:00:09.648 ***** included: /WORKDIR/git-route_type4dt8cc0x/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_type4dt8cc0x/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 10 January 2024 15:49:40 +0000 (0:00:00.062) 0:00:09.711 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1704901778.4965334, "block_size": 4096, "blocks": 0, "ctime": 1704901778.4965334, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 29394, "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": 1704901778.4965334, "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-route_type4dt8cc0x/tests/playbooks/tasks/assert_device_present.yml:5 Wednesday 10 January 2024 15:49:40 +0000 (0:00:00.267) 0:00:09.979 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can create a profile'] ******************************** task path: /WORKDIR/git-route_type4dt8cc0x/tests/playbooks/tasks/run_test.yml:47 Wednesday 10 January 2024 15:49:40 +0000 (0:00:00.039) 0:00:10.018 ***** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_type4dt8cc0x/tests/playbooks/tasks/run_test.yml:66 Wednesday 10 January 2024 15:49:40 +0000 (0:00:00.023) 0:00:10.042 ***** included: /WORKDIR/git-route_type4dt8cc0x/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_type4dt8cc0x/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 10 January 2024 15:49:40 +0000 (0:00:00.051) 0:00:10.094 ***** 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.065991", "end": "2024-01-10 15:49:41.029424", "rc": 1, "start": "2024-01-10 15:49:40.963433" } STDOUT: Connection 'statebr' (8f1dd9a4-0c8f-4859-9b2d-b135dd6055cc) successfully deleted. STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-route_type4dt8cc0x/tests/playbooks/tests_states.yml:45 Wednesday 10 January 2024 15:49:41 +0000 (0:00:00.466) 0:00:10.561 ***** included: /WORKDIR/git-route_type4dt8cc0x/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile without autoconnect] ************************ task path: /WORKDIR/git-route_type4dt8cc0x/tests/playbooks/tasks/run_test.yml:5 Wednesday 10 January 2024 15:49:41 +0000 (0:00:00.079) 0:00:10.640 ***** ok: [sut] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_type4dt8cc0x/tests/playbooks/tasks/run_test.yml:9 Wednesday 10 January 2024 15:49:41 +0000 (0:00:00.044) 0:00:10.684 ***** 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-route_type4dt8cc0x/tests/playbooks/tasks/run_test.yml:21 Wednesday 10 January 2024 15:49:41 +0000 (0:00:00.047) 0:00:10.732 ***** included: /WORKDIR/git-route_type4dt8cc0x/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_type4dt8cc0x/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 10 January 2024 15:49:41 +0000 (0:00:00.085) 0:00:10.818 ***** included: /WORKDIR/git-route_type4dt8cc0x/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_type4dt8cc0x/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 10 January 2024 15:49:41 +0000 (0:00:00.042) 0:00:10.860 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.004581", "end": "2024-01-10 15:49:42.555342", "rc": 0, "start": "2024-01-10 15:49:41.550761" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_type4dt8cc0x/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 10 January 2024 15:49:42 +0000 (0:00:01.207) 0:00:12.067 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_type4dt8cc0x/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 10 January 2024 15:49:42 +0000 (0:00:00.049) 0:00:12.116 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_type4dt8cc0x/tests/playbooks/tasks/run_test.yml:24 Wednesday 10 January 2024 15:49:42 +0000 (0:00:00.026) 0:00:12.143 ***** included: /WORKDIR/git-route_type4dt8cc0x/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-route_type4dt8cc0x/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-route_type4dt8cc0x/tests/playbooks/tasks/delete_interface.yml:3 Wednesday 10 January 2024 15:49:42 +0000 (0:00:00.048) 0:00:12.191 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.006107", "end": "2024-01-10 15:49:42.885164", "rc": 1, "start": "2024-01-10 15:49:42.879057" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_type4dt8cc0x/tests/playbooks/tasks/assert_device_absent.yml:3 Wednesday 10 January 2024 15:49:42 +0000 (0:00:00.203) 0:00:12.394 ***** included: /WORKDIR/git-route_type4dt8cc0x/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_type4dt8cc0x/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 10 January 2024 15:49:42 +0000 (0:00:00.060) 0:00:12.455 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_type4dt8cc0x/tests/playbooks/tasks/assert_device_absent.yml:5 Wednesday 10 January 2024 15:49:43 +0000 (0:00:00.269) 0:00:12.725 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_type4dt8cc0x/tests/playbooks/tasks/run_test.yml:30 Wednesday 10 January 2024 15:49:43 +0000 (0:00:00.024) 0:00:12.749 ***** included: /WORKDIR/git-route_type4dt8cc0x/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type4dt8cc0x/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Wednesday 10 January 2024 15:49:43 +0000 (0:00:00.081) 0:00:12.830 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 10 January 2024 15:49:43 +0000 (0:00:00.043) 0:00:12.874 ***** included: /WORKDIR/git-route_type4dt8cc0x/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-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 10 January 2024 15:49:43 +0000 (0:00:00.045) 0:00:12.919 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 10 January 2024 15:49:43 +0000 (0:00:00.042) 0:00:12.962 ***** 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-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 10 January 2024 15:49:43 +0000 (0:00:00.032) 0:00:12.995 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 10 January 2024 15:49:43 +0000 (0:00:00.030) 0:00:13.025 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 10 January 2024 15:49:45 +0000 (0:00:01.464) 0:00:14.490 ***** 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-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 10 January 2024 15:49:45 +0000 (0:00:00.964) 0:00:15.454 ***** 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-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 10 January 2024 15:49:45 +0000 (0:00:00.023) 0:00:15.477 ***** 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-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 10 January 2024 15:49:46 +0000 (0:00:00.026) 0:00:15.503 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 10 January 2024 15:49:46 +0000 (0:00:00.020) 0:00:15.524 ***** 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-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 10 January 2024 15:49:46 +0000 (0:00:00.044) 0:00:15.569 ***** 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-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 10 January 2024 15:49:46 +0000 (0:00:00.021) 0:00:15.590 ***** 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-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 10 January 2024 15:49:46 +0000 (0:00:00.020) 0:00:15.610 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 10 January 2024 15:49:46 +0000 (0:00:00.025) 0:00:15.636 ***** 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-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 10 January 2024 15:49:46 +0000 (0:00:00.356) 0:00:15.993 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 10 January 2024 15:49:46 +0000 (0:00:00.026) 0:00:16.019 ***** 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-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 10 January 2024 15:49:46 +0000 (0:00:00.021) 0:00:16.041 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 10 January 2024 15:49:46 +0000 (0:00:00.021) 0:00:16.062 ***** 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, b16e3a80-a74d-4cbc-afeb-f0a51b704ac3 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 10 January 2024 15:49:47 +0000 (0:00:00.434) 0:00:16.497 ***** 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-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 10 January 2024 15:49:47 +0000 (0:00:00.037) 0:00:16.534 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, b16e3a80-a74d-4cbc-afeb-f0a51b704ac3" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 10 January 2024 15:49:47 +0000 (0:00:00.045) 0:00:16.580 ***** 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, b16e3a80-a74d-4cbc-afeb-f0a51b704ac3\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, b16e3a80-a74d-4cbc-afeb-f0a51b704ac3" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 10 January 2024 15:49:47 +0000 (0:00:00.043) 0:00:16.624 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 10 January 2024 15:49:47 +0000 (0:00:00.052) 0:00:16.676 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_type4dt8cc0x/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Wednesday 10 January 2024 15:49:47 +0000 (0:00:00.206) 0:00:16.883 ***** 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, b16e3a80-a74d-4cbc-afeb-f0a51b704ac3\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, b16e3a80-a74d-4cbc-afeb-f0a51b704ac3" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_type4dt8cc0x/tests/playbooks/tasks/run_test.yml:36 Wednesday 10 January 2024 15:49:47 +0000 (0:00:00.046) 0:00:16.929 ***** included: /WORKDIR/git-route_type4dt8cc0x/tests/playbooks/tasks/assert_device_absent.yml for sut included: /WORKDIR/git-route_type4dt8cc0x/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_type4dt8cc0x/tests/playbooks/tasks/assert_device_absent.yml:3 Wednesday 10 January 2024 15:49:47 +0000 (0:00:00.052) 0:00:16.982 ***** included: /WORKDIR/git-route_type4dt8cc0x/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_type4dt8cc0x/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 10 January 2024 15:49:47 +0000 (0:00:00.039) 0:00:17.021 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_type4dt8cc0x/tests/playbooks/tasks/assert_device_absent.yml:5 Wednesday 10 January 2024 15:49:47 +0000 (0:00:00.211) 0:00:17.233 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_type4dt8cc0x/tests/playbooks/tasks/assert_profile_present.yml:3 Wednesday 10 January 2024 15:49:47 +0000 (0:00:00.024) 0:00:17.257 ***** included: /WORKDIR/git-route_type4dt8cc0x/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_type4dt8cc0x/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 10 January 2024 15:49:47 +0000 (0:00:00.060) 0:00:17.317 ***** 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-route_type4dt8cc0x/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 10 January 2024 15:49:47 +0000 (0:00:00.032) 0:00:17.350 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_type4dt8cc0x/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 10 January 2024 15:49:48 +0000 (0:00:00.263) 0:00:17.613 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_type4dt8cc0x/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 10 January 2024 15:49:48 +0000 (0:00:00.037) 0:00:17.651 ***** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020345", "end": "2024-01-10 15:49:48.366825", "rc": 0, "start": "2024-01-10 15:49:48.346480" } STDOUT: statebr /etc/NetworkManager/system-connections/statebr.nmconnection TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-route_type4dt8cc0x/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 10 January 2024 15:49:48 +0000 (0:00:00.230) 0:00:17.882 ***** 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-route_type4dt8cc0x/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 10 January 2024 15:49:48 +0000 (0:00:00.039) 0:00:17.921 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_type4dt8cc0x/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 10 January 2024 15:49:48 +0000 (0:00:00.050) 0:00:17.971 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_type4dt8cc0x/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 10 January 2024 15:49:48 +0000 (0:00:00.039) 0:00:18.011 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_type4dt8cc0x/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 10 January 2024 15:49:48 +0000 (0:00:00.024) 0:00:18.036 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-route_type4dt8cc0x/tests/playbooks/tasks/assert_profile_present.yml:5 Wednesday 10 January 2024 15:49:48 +0000 (0:00:00.025) 0:00:18.061 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-route_type4dt8cc0x/tests/playbooks/tasks/assert_profile_present.yml:10 Wednesday 10 January 2024 15:49:48 +0000 (0:00:00.026) 0:00:18.088 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-route_type4dt8cc0x/tests/playbooks/tasks/assert_profile_present.yml:15 Wednesday 10 January 2024 15:49:48 +0000 (0:00:00.026) 0:00:18.114 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_type4dt8cc0x/tests/playbooks/tasks/run_test.yml:42 Wednesday 10 January 2024 15:49:48 +0000 (0:00:00.039) 0:00:18.153 ***** TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /WORKDIR/git-route_type4dt8cc0x/tests/playbooks/tasks/run_test.yml:47 Wednesday 10 January 2024 15:49:48 +0000 (0:00:00.021) 0:00:18.175 ***** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_type4dt8cc0x/tests/playbooks/tasks/run_test.yml:66 Wednesday 10 January 2024 15:49:48 +0000 (0:00:00.032) 0:00:18.208 ***** included: /WORKDIR/git-route_type4dt8cc0x/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_type4dt8cc0x/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 10 January 2024 15:49:48 +0000 (0:00:00.044) 0:00:18.252 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.039464", "end": "2024-01-10 15:49:48.993447", "rc": 1, "start": "2024-01-10 15:49:48.953983" } STDOUT: Connection 'statebr' (b16e3a80-a74d-4cbc-afeb-f0a51b704ac3) successfully deleted. STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-route_type4dt8cc0x/tests/playbooks/tests_states.yml:65 Wednesday 10 January 2024 15:49:49 +0000 (0:00:00.250) 0:00:18.503 ***** included: /WORKDIR/git-route_type4dt8cc0x/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can activate an existing profile] ******************************** task path: /WORKDIR/git-route_type4dt8cc0x/tests/playbooks/tasks/run_test.yml:5 Wednesday 10 January 2024 15:49:49 +0000 (0:00:00.071) 0:00:18.574 ***** ok: [sut] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_type4dt8cc0x/tests/playbooks/tasks/run_test.yml:9 Wednesday 10 January 2024 15:49:49 +0000 (0:00:00.023) 0:00:18.597 ***** 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-route_type4dt8cc0x/tests/playbooks/tasks/run_test.yml:21 Wednesday 10 January 2024 15:49:49 +0000 (0:00:00.042) 0:00:18.639 ***** included: /WORKDIR/git-route_type4dt8cc0x/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_type4dt8cc0x/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 10 January 2024 15:49:49 +0000 (0:00:00.034) 0:00:18.674 ***** included: /WORKDIR/git-route_type4dt8cc0x/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_type4dt8cc0x/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 10 January 2024 15:49:49 +0000 (0:00:00.034) 0:00:18.708 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003322", "end": "2024-01-10 15:49:49.398910", "rc": 0, "start": "2024-01-10 15:49:49.395588" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_type4dt8cc0x/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 10 January 2024 15:49:49 +0000 (0:00:00.202) 0:00:18.911 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_type4dt8cc0x/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 10 January 2024 15:49:49 +0000 (0:00:00.032) 0:00:18.943 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_type4dt8cc0x/tests/playbooks/tasks/run_test.yml:24 Wednesday 10 January 2024 15:49:49 +0000 (0:00:00.034) 0:00:18.977 ***** included: /WORKDIR/git-route_type4dt8cc0x/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type4dt8cc0x/tests/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 10 January 2024 15:49:49 +0000 (0:00:00.052) 0:00:19.030 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 10 January 2024 15:49:49 +0000 (0:00:00.044) 0:00:19.074 ***** included: /WORKDIR/git-route_type4dt8cc0x/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-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 10 January 2024 15:49:49 +0000 (0:00:00.049) 0:00:19.124 ***** 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-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 10 January 2024 15:49:49 +0000 (0:00:00.054) 0:00:19.178 ***** 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-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 10 January 2024 15:49:49 +0000 (0:00:00.024) 0:00:19.203 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 10 January 2024 15:49:49 +0000 (0:00:00.022) 0:00:19.225 ***** 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-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 10 January 2024 15:49:51 +0000 (0:00:01.441) 0:00:20.667 ***** 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-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 10 January 2024 15:49:52 +0000 (0:00:00.922) 0:00:21.589 ***** 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-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 10 January 2024 15:49:52 +0000 (0:00:00.023) 0:00:21.612 ***** 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-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 10 January 2024 15:49:52 +0000 (0:00:00.020) 0:00:21.633 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 10 January 2024 15:49:52 +0000 (0:00:00.020) 0:00:21.654 ***** 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-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 10 January 2024 15:49:52 +0000 (0:00:00.067) 0:00:21.722 ***** 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-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 10 January 2024 15:49:52 +0000 (0:00:00.022) 0:00:21.744 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 10 January 2024 15:49:52 +0000 (0:00:00.021) 0:00:21.765 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 10 January 2024 15:49:52 +0000 (0:00:00.027) 0:00:21.792 ***** 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-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 10 January 2024 15:49:52 +0000 (0:00:00.390) 0:00:22.183 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 10 January 2024 15:49:52 +0000 (0:00:00.036) 0:00:22.219 ***** 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-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 10 January 2024 15:49:52 +0000 (0:00:00.037) 0:00:22.256 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 10 January 2024 15:49:52 +0000 (0:00:00.020) 0:00:22.277 ***** 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, d2c8b05a-325e-400e-b07b-1d33ab38a152 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 10 January 2024 15:49:53 +0000 (0:00:00.410) 0:00:22.688 ***** 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-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 10 January 2024 15:49:53 +0000 (0:00:00.028) 0:00:22.716 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, d2c8b05a-325e-400e-b07b-1d33ab38a152" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 10 January 2024 15:49:53 +0000 (0:00:00.023) 0:00:22.739 ***** 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, d2c8b05a-325e-400e-b07b-1d33ab38a152\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, d2c8b05a-325e-400e-b07b-1d33ab38a152" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 10 January 2024 15:49:53 +0000 (0:00:00.022) 0:00:22.762 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 10 January 2024 15:49:53 +0000 (0:00:00.027) 0:00:22.790 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_type4dt8cc0x/tests/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 10 January 2024 15:49:53 +0000 (0:00:00.213) 0:00:23.004 ***** 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, d2c8b05a-325e-400e-b07b-1d33ab38a152\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, d2c8b05a-325e-400e-b07b-1d33ab38a152" ] } } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_type4dt8cc0x/tests/playbooks/tasks/run_test.yml:30 Wednesday 10 January 2024 15:49:53 +0000 (0:00:00.022) 0:00:23.026 ***** included: /WORKDIR/git-route_type4dt8cc0x/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type4dt8cc0x/tests/playbooks/tasks/activate_profile.yml:3 Wednesday 10 January 2024 15:49:53 +0000 (0:00:00.070) 0:00:23.096 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 10 January 2024 15:49:53 +0000 (0:00:00.068) 0:00:23.165 ***** included: /WORKDIR/git-route_type4dt8cc0x/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-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 10 January 2024 15:49:53 +0000 (0:00:00.102) 0:00:23.267 ***** 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-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 10 January 2024 15:49:53 +0000 (0:00:00.038) 0:00:23.305 ***** 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-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 10 January 2024 15:49:53 +0000 (0:00:00.043) 0:00:23.349 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 10 January 2024 15:49:53 +0000 (0:00:00.028) 0:00:23.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 : Check which packages are installed] ********* task path: /WORKDIR/git-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 10 January 2024 15:49:55 +0000 (0:00:01.434) 0:00:24.811 ***** 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-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 10 January 2024 15:49:56 +0000 (0:00:00.955) 0:00:25.767 ***** 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-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 10 January 2024 15:49:56 +0000 (0:00:00.035) 0:00:25.803 ***** 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-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 10 January 2024 15:49:56 +0000 (0:00:00.041) 0:00:25.844 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 10 January 2024 15:49:56 +0000 (0:00:00.040) 0:00:25.885 ***** 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-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 10 January 2024 15:49:56 +0000 (0:00:00.049) 0:00:25.934 ***** 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-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 10 January 2024 15:49:56 +0000 (0:00:00.029) 0:00:25.964 ***** 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-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 10 January 2024 15:49:56 +0000 (0:00:00.023) 0:00:25.988 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 10 January 2024 15:49:56 +0000 (0:00:00.040) 0:00:26.028 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 10 January 2024 15:49:56 +0000 (0:00:00.390) 0:00:26.418 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 10 January 2024 15:49:56 +0000 (0:00:00.025) 0:00:26.444 ***** 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-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 10 January 2024 15:49:56 +0000 (0:00:00.021) 0:00:26.466 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 10 January 2024 15:49:57 +0000 (0:00:00.020) 0:00:26.486 ***** 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, d2c8b05a-325e-400e-b07b-1d33ab38a152 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 10 January 2024 15:49:57 +0000 (0:00:00.405) 0:00:26.892 ***** 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-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 10 January 2024 15:49:57 +0000 (0:00:00.031) 0:00:26.923 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, d2c8b05a-325e-400e-b07b-1d33ab38a152 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 10 January 2024 15:49:57 +0000 (0:00:00.026) 0:00:26.949 ***** 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, d2c8b05a-325e-400e-b07b-1d33ab38a152 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, d2c8b05a-325e-400e-b07b-1d33ab38a152 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 10 January 2024 15:49:57 +0000 (0:00:00.023) 0:00:26.972 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 10 January 2024 15:49:57 +0000 (0:00:00.026) 0:00:26.999 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_type4dt8cc0x/tests/playbooks/tasks/run_test.yml:36 Wednesday 10 January 2024 15:49:57 +0000 (0:00:00.218) 0:00:27.217 ***** included: /WORKDIR/git-route_type4dt8cc0x/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-route_type4dt8cc0x/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_type4dt8cc0x/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 10 January 2024 15:49:57 +0000 (0:00:00.042) 0:00:27.260 ***** included: /WORKDIR/git-route_type4dt8cc0x/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_type4dt8cc0x/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 10 January 2024 15:49:57 +0000 (0:00:00.036) 0:00:27.296 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1704901793.1074584, "block_size": 4096, "blocks": 0, "ctime": 1704901793.1074584, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 29525, "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": 1704901793.1074584, "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-route_type4dt8cc0x/tests/playbooks/tasks/assert_device_present.yml:5 Wednesday 10 January 2024 15:49:58 +0000 (0:00:00.214) 0:00:27.511 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_type4dt8cc0x/tests/playbooks/tasks/assert_profile_present.yml:3 Wednesday 10 January 2024 15:49:58 +0000 (0:00:00.024) 0:00:27.536 ***** included: /WORKDIR/git-route_type4dt8cc0x/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_type4dt8cc0x/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 10 January 2024 15:49:58 +0000 (0:00:00.039) 0:00:27.575 ***** 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-route_type4dt8cc0x/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 10 January 2024 15:49:58 +0000 (0:00:00.032) 0:00:27.608 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_type4dt8cc0x/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 10 January 2024 15:49:58 +0000 (0:00:00.214) 0:00:27.822 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_type4dt8cc0x/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 10 January 2024 15:49:58 +0000 (0:00:00.067) 0:00:27.890 ***** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021180", "end": "2024-01-10 15:49:58.605179", "rc": 0, "start": "2024-01-10 15:49:58.583999" } STDOUT: statebr /etc/NetworkManager/system-connections/statebr.nmconnection TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-route_type4dt8cc0x/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 10 January 2024 15:49:58 +0000 (0:00:00.225) 0:00:28.115 ***** 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-route_type4dt8cc0x/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 10 January 2024 15:49:58 +0000 (0:00:00.025) 0:00:28.141 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_type4dt8cc0x/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 10 January 2024 15:49:58 +0000 (0:00:00.021) 0:00:28.163 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_type4dt8cc0x/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 10 January 2024 15:49:58 +0000 (0:00:00.021) 0:00:28.185 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_type4dt8cc0x/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 10 January 2024 15:49:58 +0000 (0:00:00.021) 0:00:28.206 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-route_type4dt8cc0x/tests/playbooks/tasks/assert_profile_present.yml:5 Wednesday 10 January 2024 15:49:58 +0000 (0:00:00.021) 0:00:28.227 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-route_type4dt8cc0x/tests/playbooks/tasks/assert_profile_present.yml:10 Wednesday 10 January 2024 15:49:58 +0000 (0:00:00.023) 0:00:28.251 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-route_type4dt8cc0x/tests/playbooks/tasks/assert_profile_present.yml:15 Wednesday 10 January 2024 15:49:58 +0000 (0:00:00.022) 0:00:28.274 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_type4dt8cc0x/tests/playbooks/tasks/run_test.yml:42 Wednesday 10 January 2024 15:49:58 +0000 (0:00:00.022) 0:00:28.297 ***** TASK [Success in test 'I can activate an existing profile'] ******************** task path: /WORKDIR/git-route_type4dt8cc0x/tests/playbooks/tasks/run_test.yml:47 Wednesday 10 January 2024 15:49:58 +0000 (0:00:00.020) 0:00:28.317 ***** ok: [sut] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_type4dt8cc0x/tests/playbooks/tasks/run_test.yml:66 Wednesday 10 January 2024 15:49:58 +0000 (0:00:00.026) 0:00:28.343 ***** included: /WORKDIR/git-route_type4dt8cc0x/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_type4dt8cc0x/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 10 January 2024 15:49:58 +0000 (0:00:00.039) 0:00:28.383 ***** 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.067298", "end": "2024-01-10 15:49:59.137979", "rc": 1, "start": "2024-01-10 15:49:59.070681" } STDOUT: Connection 'statebr' (d2c8b05a-325e-400e-b07b-1d33ab38a152) successfully deleted. STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-route_type4dt8cc0x/tests/playbooks/tests_states.yml:83 Wednesday 10 January 2024 15:49:59 +0000 (0:00:00.271) 0:00:28.655 ***** included: /WORKDIR/git-route_type4dt8cc0x/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can remove an existing profile without taking it down] *********** task path: /WORKDIR/git-route_type4dt8cc0x/tests/playbooks/tasks/run_test.yml:5 Wednesday 10 January 2024 15:49:59 +0000 (0:00:00.085) 0:00:28.740 ***** ok: [sut] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_type4dt8cc0x/tests/playbooks/tasks/run_test.yml:9 Wednesday 10 January 2024 15:49:59 +0000 (0:00:00.041) 0:00:28.782 ***** 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-route_type4dt8cc0x/tests/playbooks/tasks/run_test.yml:21 Wednesday 10 January 2024 15:49:59 +0000 (0:00:00.053) 0:00:28.835 ***** included: /WORKDIR/git-route_type4dt8cc0x/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_type4dt8cc0x/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 10 January 2024 15:49:59 +0000 (0:00:00.037) 0:00:28.873 ***** included: /WORKDIR/git-route_type4dt8cc0x/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_type4dt8cc0x/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 10 January 2024 15:49:59 +0000 (0:00:00.035) 0:00:28.909 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003263", "end": "2024-01-10 15:49:59.596564", "rc": 0, "start": "2024-01-10 15:49:59.593301" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_type4dt8cc0x/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 10 January 2024 15:49:59 +0000 (0:00:00.198) 0:00:29.107 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_type4dt8cc0x/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 10 January 2024 15:49:59 +0000 (0:00:00.022) 0:00:29.130 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_type4dt8cc0x/tests/playbooks/tasks/run_test.yml:24 Wednesday 10 January 2024 15:49:59 +0000 (0:00:00.026) 0:00:29.157 ***** included: /WORKDIR/git-route_type4dt8cc0x/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-route_type4dt8cc0x/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type4dt8cc0x/tests/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 10 January 2024 15:49:59 +0000 (0:00:00.042) 0:00:29.199 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 10 January 2024 15:49:59 +0000 (0:00:00.035) 0:00:29.234 ***** included: /WORKDIR/git-route_type4dt8cc0x/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-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 10 January 2024 15:49:59 +0000 (0:00:00.053) 0:00:29.288 ***** 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-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 10 January 2024 15:49:59 +0000 (0:00:00.028) 0:00:29.316 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 10 January 2024 15:49:59 +0000 (0:00:00.063) 0:00:29.380 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 10 January 2024 15:49:59 +0000 (0:00:00.037) 0:00:29.417 ***** 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-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 10 January 2024 15:50:01 +0000 (0:00:01.441) 0:00:30.859 ***** 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-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 10 January 2024 15:50:02 +0000 (0:00:00.933) 0:00:31.792 ***** 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-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 10 January 2024 15:50:02 +0000 (0:00:00.022) 0:00:31.815 ***** 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-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 10 January 2024 15:50:02 +0000 (0:00:00.050) 0:00:31.865 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 10 January 2024 15:50:02 +0000 (0:00:00.020) 0:00:31.885 ***** 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-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 10 January 2024 15:50:02 +0000 (0:00:00.043) 0:00:31.929 ***** 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-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 10 January 2024 15:50:02 +0000 (0:00:00.020) 0:00:31.950 ***** 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-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 10 January 2024 15:50:02 +0000 (0:00:00.019) 0:00:31.970 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 10 January 2024 15:50:02 +0000 (0:00:00.024) 0:00:31.994 ***** 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-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 10 January 2024 15:50:02 +0000 (0:00:00.368) 0:00:32.363 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 10 January 2024 15:50:02 +0000 (0:00:00.025) 0:00:32.388 ***** 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-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 10 January 2024 15:50:02 +0000 (0:00:00.019) 0:00:32.407 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 10 January 2024 15:50:02 +0000 (0:00:00.021) 0:00:32.429 ***** 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, fb05c294-9323-4f5b-9aee-49369fc0fe3a TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 10 January 2024 15:50:03 +0000 (0:00:00.419) 0:00:32.848 ***** 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-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 10 January 2024 15:50:03 +0000 (0:00:00.023) 0:00:32.872 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, fb05c294-9323-4f5b-9aee-49369fc0fe3a" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 10 January 2024 15:50:03 +0000 (0:00:00.024) 0:00:32.897 ***** 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, fb05c294-9323-4f5b-9aee-49369fc0fe3a\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, fb05c294-9323-4f5b-9aee-49369fc0fe3a" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 10 January 2024 15:50:03 +0000 (0:00:00.030) 0:00:32.927 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 10 January 2024 15:50:03 +0000 (0:00:00.026) 0:00:32.953 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_type4dt8cc0x/tests/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 10 January 2024 15:50:03 +0000 (0:00:00.239) 0:00:33.193 ***** 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, fb05c294-9323-4f5b-9aee-49369fc0fe3a\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, fb05c294-9323-4f5b-9aee-49369fc0fe3a" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type4dt8cc0x/tests/playbooks/tasks/activate_profile.yml:3 Wednesday 10 January 2024 15:50:03 +0000 (0:00:00.037) 0:00:33.231 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 10 January 2024 15:50:03 +0000 (0:00:00.041) 0:00:33.272 ***** included: /WORKDIR/git-route_type4dt8cc0x/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-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 10 January 2024 15:50:03 +0000 (0:00:00.042) 0:00:33.315 ***** 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-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 10 January 2024 15:50:03 +0000 (0:00:00.030) 0:00:33.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-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 10 January 2024 15:50:03 +0000 (0:00:00.022) 0:00:33.368 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 10 January 2024 15:50:03 +0000 (0:00:00.023) 0:00:33.392 ***** 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-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 10 January 2024 15:50:05 +0000 (0:00:01.439) 0:00:34.831 ***** 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-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 10 January 2024 15:50:06 +0000 (0:00:00.939) 0:00:35.771 ***** 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-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 10 January 2024 15:50:06 +0000 (0:00:00.023) 0:00:35.794 ***** 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-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 10 January 2024 15:50:06 +0000 (0:00:00.021) 0:00:35.815 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 10 January 2024 15:50:06 +0000 (0:00:00.022) 0:00:35.838 ***** 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-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 10 January 2024 15:50:06 +0000 (0:00:00.051) 0:00:35.889 ***** 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-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 10 January 2024 15:50:06 +0000 (0:00:00.026) 0:00:35.916 ***** 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-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 10 January 2024 15:50:06 +0000 (0:00:00.022) 0:00:35.939 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 10 January 2024 15:50:06 +0000 (0:00:00.026) 0:00:35.966 ***** 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-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 10 January 2024 15:50:06 +0000 (0:00:00.376) 0:00:36.342 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 10 January 2024 15:50:06 +0000 (0:00:00.026) 0:00:36.368 ***** 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-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 10 January 2024 15:50:06 +0000 (0:00:00.021) 0:00:36.389 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 10 January 2024 15:50:06 +0000 (0:00:00.020) 0:00:36.410 ***** 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, fb05c294-9323-4f5b-9aee-49369fc0fe3a skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 10 January 2024 15:50:07 +0000 (0:00:00.397) 0:00:36.808 ***** 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-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 10 January 2024 15:50:07 +0000 (0:00:00.063) 0:00:36.871 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, fb05c294-9323-4f5b-9aee-49369fc0fe3a skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 10 January 2024 15:50:07 +0000 (0:00:00.034) 0:00:36.906 ***** 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, fb05c294-9323-4f5b-9aee-49369fc0fe3a skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, fb05c294-9323-4f5b-9aee-49369fc0fe3a skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 10 January 2024 15:50:07 +0000 (0:00:00.029) 0:00:36.936 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 10 January 2024 15:50:07 +0000 (0:00:00.034) 0:00:36.970 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_type4dt8cc0x/tests/playbooks/tasks/run_test.yml:30 Wednesday 10 January 2024 15:50:07 +0000 (0:00:00.221) 0:00:37.192 ***** included: /WORKDIR/git-route_type4dt8cc0x/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type4dt8cc0x/tests/playbooks/tasks/remove_profile.yml:3 Wednesday 10 January 2024 15:50:07 +0000 (0:00:00.108) 0:00:37.300 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 10 January 2024 15:50:07 +0000 (0:00:00.061) 0:00:37.362 ***** included: /WORKDIR/git-route_type4dt8cc0x/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-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 10 January 2024 15:50:07 +0000 (0:00:00.049) 0:00:37.411 ***** 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-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 10 January 2024 15:50:07 +0000 (0:00:00.026) 0:00:37.438 ***** 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-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 10 January 2024 15:50:07 +0000 (0:00:00.022) 0:00:37.460 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 10 January 2024 15:50:08 +0000 (0:00:00.025) 0:00:37.486 ***** 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-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 10 January 2024 15:50:09 +0000 (0:00:01.442) 0:00:38.928 ***** 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-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 10 January 2024 15:50:10 +0000 (0:00:00.936) 0:00:39.864 ***** 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-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 10 January 2024 15:50:10 +0000 (0:00:00.044) 0:00:39.909 ***** 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-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 10 January 2024 15:50:10 +0000 (0:00:00.023) 0:00:39.933 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 10 January 2024 15:50:10 +0000 (0:00:00.023) 0:00:39.956 ***** 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-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 10 January 2024 15:50:10 +0000 (0:00:00.045) 0:00:40.001 ***** 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-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 10 January 2024 15:50:10 +0000 (0:00:00.027) 0:00:40.028 ***** 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-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 10 January 2024 15:50:10 +0000 (0:00:00.023) 0:00:40.051 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 10 January 2024 15:50:10 +0000 (0:00:00.025) 0:00:40.077 ***** 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-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 10 January 2024 15:50:10 +0000 (0:00:00.388) 0:00:40.466 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 10 January 2024 15:50:11 +0000 (0:00:00.026) 0:00:40.492 ***** 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-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 10 January 2024 15:50:11 +0000 (0:00:00.021) 0:00:40.513 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 10 January 2024 15:50:11 +0000 (0:00:00.020) 0:00:40.533 ***** 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-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 10 January 2024 15:50:11 +0000 (0:00:00.396) 0:00:40.930 ***** 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-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 10 January 2024 15:50:11 +0000 (0:00:00.032) 0:00:40.963 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 10 January 2024 15:50:11 +0000 (0:00:00.023) 0:00:40.986 ***** 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-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 10 January 2024 15:50:11 +0000 (0:00:00.025) 0:00:41.012 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 10 January 2024 15:50:11 +0000 (0:00:00.021) 0:00:41.033 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_type4dt8cc0x/tests/playbooks/tasks/run_test.yml:36 Wednesday 10 January 2024 15:50:11 +0000 (0:00:00.203) 0:00:41.237 ***** included: /WORKDIR/git-route_type4dt8cc0x/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-route_type4dt8cc0x/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_type4dt8cc0x/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 10 January 2024 15:50:11 +0000 (0:00:00.072) 0:00:41.309 ***** included: /WORKDIR/git-route_type4dt8cc0x/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_type4dt8cc0x/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 10 January 2024 15:50:11 +0000 (0:00:00.046) 0:00:41.356 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1704901803.2650588, "block_size": 4096, "blocks": 0, "ctime": 1704901803.2650588, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 29656, "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": 1704901803.2650588, "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-route_type4dt8cc0x/tests/playbooks/tasks/assert_device_present.yml:5 Wednesday 10 January 2024 15:50:12 +0000 (0:00:00.240) 0:00:41.596 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_type4dt8cc0x/tests/playbooks/tasks/assert_profile_absent.yml:3 Wednesday 10 January 2024 15:50:12 +0000 (0:00:00.079) 0:00:41.675 ***** included: /WORKDIR/git-route_type4dt8cc0x/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_type4dt8cc0x/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 10 January 2024 15:50:12 +0000 (0:00:00.051) 0:00:41.727 ***** 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-route_type4dt8cc0x/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 10 January 2024 15:50:12 +0000 (0:00:00.025) 0:00:41.752 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_type4dt8cc0x/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 10 January 2024 15:50:12 +0000 (0:00:00.234) 0:00:41.986 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_type4dt8cc0x/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 10 January 2024 15:50:12 +0000 (0:00:00.026) 0:00:42.013 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020836", "end": "2024-01-10 15:50:12.722776", "rc": 1, "start": "2024-01-10 15:50:12.701940" } 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-route_type4dt8cc0x/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 10 January 2024 15:50:12 +0000 (0:00:00.249) 0:00:42.262 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_type4dt8cc0x/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 10 January 2024 15:50:12 +0000 (0:00:00.051) 0:00:42.313 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_type4dt8cc0x/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 10 January 2024 15:50:12 +0000 (0:00:00.062) 0:00:42.376 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_type4dt8cc0x/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 10 January 2024 15:50:12 +0000 (0:00:00.029) 0:00:42.405 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_type4dt8cc0x/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 10 January 2024 15:50:12 +0000 (0:00:00.026) 0:00:42.432 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-route_type4dt8cc0x/tests/playbooks/tasks/assert_profile_absent.yml:5 Wednesday 10 January 2024 15:50:12 +0000 (0:00:00.043) 0:00:42.475 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_type4dt8cc0x/tests/playbooks/tasks/run_test.yml:42 Wednesday 10 January 2024 15:50:13 +0000 (0:00:00.035) 0:00:42.511 ***** TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /WORKDIR/git-route_type4dt8cc0x/tests/playbooks/tasks/run_test.yml:47 Wednesday 10 January 2024 15:50:13 +0000 (0:00:00.025) 0:00:42.536 ***** ok: [sut] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_type4dt8cc0x/tests/playbooks/tasks/run_test.yml:66 Wednesday 10 January 2024 15:50:13 +0000 (0:00:00.043) 0:00:42.580 ***** included: /WORKDIR/git-route_type4dt8cc0x/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_type4dt8cc0x/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 10 January 2024 15:50:13 +0000 (0:00:00.083) 0:00:42.663 ***** 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.078742", "end": "2024-01-10 15:50:13.454787", "rc": 1, "start": "2024-01-10 15:50:13.376045" } STDOUT: Connection 'statebr' (fb05c294-9323-4f5b-9aee-49369fc0fe3a) successfully deleted. STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-route_type4dt8cc0x/tests/playbooks/tests_states.yml:103 Wednesday 10 January 2024 15:50:13 +0000 (0:00:00.301) 0:00:42.965 ***** included: /WORKDIR/git-route_type4dt8cc0x/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can take a profile down that is absent] ************************** task path: /WORKDIR/git-route_type4dt8cc0x/tests/playbooks/tasks/run_test.yml:5 Wednesday 10 January 2024 15:50:13 +0000 (0:00:00.036) 0:00:43.001 ***** ok: [sut] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_type4dt8cc0x/tests/playbooks/tasks/run_test.yml:9 Wednesday 10 January 2024 15:50:13 +0000 (0:00:00.023) 0:00:43.025 ***** 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-route_type4dt8cc0x/tests/playbooks/tasks/run_test.yml:21 Wednesday 10 January 2024 15:50:13 +0000 (0:00:00.043) 0:00:43.068 ***** included: /WORKDIR/git-route_type4dt8cc0x/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_type4dt8cc0x/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 10 January 2024 15:50:13 +0000 (0:00:00.033) 0:00:43.102 ***** included: /WORKDIR/git-route_type4dt8cc0x/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_type4dt8cc0x/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 10 January 2024 15:50:13 +0000 (0:00:00.034) 0:00:43.137 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003466", "end": "2024-01-10 15:50:13.829183", "rc": 0, "start": "2024-01-10 15:50:13.825717" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_type4dt8cc0x/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 10 January 2024 15:50:13 +0000 (0:00:00.222) 0:00:43.359 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_type4dt8cc0x/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 10 January 2024 15:50:13 +0000 (0:00:00.025) 0:00:43.384 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_type4dt8cc0x/tests/playbooks/tasks/run_test.yml:24 Wednesday 10 January 2024 15:50:13 +0000 (0:00:00.025) 0:00:43.410 ***** included: /WORKDIR/git-route_type4dt8cc0x/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-route_type4dt8cc0x/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-route_type4dt8cc0x/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type4dt8cc0x/tests/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 10 January 2024 15:50:13 +0000 (0:00:00.063) 0:00:43.473 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 10 January 2024 15:50:14 +0000 (0:00:00.082) 0:00:43.555 ***** included: /WORKDIR/git-route_type4dt8cc0x/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-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 10 January 2024 15:50:14 +0000 (0:00:00.042) 0:00:43.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 : Check if system is ostree] ****************** task path: /WORKDIR/git-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 10 January 2024 15:50:14 +0000 (0:00:00.038) 0:00:43.637 ***** 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-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 10 January 2024 15:50:14 +0000 (0:00:00.034) 0:00:43.672 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 10 January 2024 15:50:14 +0000 (0:00:00.031) 0:00:43.703 ***** 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-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 10 January 2024 15:50:15 +0000 (0:00:01.510) 0:00:45.214 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 10 January 2024 15:50:16 +0000 (0:00:00.985) 0:00:46.200 ***** 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-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 10 January 2024 15:50:16 +0000 (0:00:00.025) 0:00:46.226 ***** 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-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 10 January 2024 15:50:16 +0000 (0:00:00.047) 0:00:46.273 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 10 January 2024 15:50:16 +0000 (0:00:00.033) 0:00:46.307 ***** 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-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 10 January 2024 15:50:16 +0000 (0:00:00.046) 0:00:46.354 ***** 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-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 10 January 2024 15:50:16 +0000 (0:00:00.023) 0:00:46.378 ***** 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-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 10 January 2024 15:50:16 +0000 (0:00:00.021) 0:00:46.400 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 10 January 2024 15:50:16 +0000 (0:00:00.025) 0:00:46.425 ***** 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-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 10 January 2024 15:50:17 +0000 (0:00:00.360) 0:00:46.786 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 10 January 2024 15:50:17 +0000 (0:00:00.026) 0:00:46.813 ***** 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-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 10 January 2024 15:50:17 +0000 (0:00:00.021) 0:00:46.834 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 10 January 2024 15:50:17 +0000 (0:00:00.022) 0:00:46.857 ***** 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, fb9ea2a9-61e2-4a52-81c0-27e2866f161c TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 10 January 2024 15:50:17 +0000 (0:00:00.434) 0:00:47.291 ***** 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-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 10 January 2024 15:50:17 +0000 (0:00:00.036) 0:00:47.328 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, fb9ea2a9-61e2-4a52-81c0-27e2866f161c" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 10 January 2024 15:50:17 +0000 (0:00:00.054) 0:00:47.382 ***** 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, fb9ea2a9-61e2-4a52-81c0-27e2866f161c\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, fb9ea2a9-61e2-4a52-81c0-27e2866f161c" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 10 January 2024 15:50:17 +0000 (0:00:00.033) 0:00:47.416 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 10 January 2024 15:50:17 +0000 (0:00:00.023) 0:00:47.439 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_type4dt8cc0x/tests/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 10 January 2024 15:50:18 +0000 (0:00:00.229) 0:00:47.669 ***** 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, fb9ea2a9-61e2-4a52-81c0-27e2866f161c\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, fb9ea2a9-61e2-4a52-81c0-27e2866f161c" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type4dt8cc0x/tests/playbooks/tasks/activate_profile.yml:3 Wednesday 10 January 2024 15:50:18 +0000 (0:00:00.025) 0:00:47.694 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 10 January 2024 15:50:18 +0000 (0:00:00.038) 0:00:47.733 ***** included: /WORKDIR/git-route_type4dt8cc0x/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-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 10 January 2024 15:50:18 +0000 (0:00:00.085) 0:00:47.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 : Check if system is ostree] ****************** task path: /WORKDIR/git-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 10 January 2024 15:50:18 +0000 (0:00:00.058) 0:00:47.878 ***** 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-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 10 January 2024 15:50:18 +0000 (0:00:00.030) 0:00:47.908 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 10 January 2024 15:50:18 +0000 (0:00:00.053) 0:00:47.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 : Check which packages are installed] ********* task path: /WORKDIR/git-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 10 January 2024 15:50:20 +0000 (0:00:01.532) 0:00:49.494 ***** 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-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 10 January 2024 15:50:21 +0000 (0:00:00.995) 0:00:50.490 ***** 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-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 10 January 2024 15:50:21 +0000 (0:00:00.022) 0:00:50.512 ***** 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-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 10 January 2024 15:50:21 +0000 (0:00:00.021) 0:00:50.534 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 10 January 2024 15:50:21 +0000 (0:00:00.022) 0:00:50.556 ***** 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-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 10 January 2024 15:50:21 +0000 (0:00:00.049) 0:00:50.606 ***** 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-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 10 January 2024 15:50:21 +0000 (0:00:00.022) 0:00:50.628 ***** 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-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 10 January 2024 15:50:21 +0000 (0:00:00.028) 0:00:50.657 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 10 January 2024 15:50:21 +0000 (0:00:00.056) 0:00:50.714 ***** 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-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 10 January 2024 15:50:21 +0000 (0:00:00.382) 0:00:51.096 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 10 January 2024 15:50:21 +0000 (0:00:00.073) 0:00:51.169 ***** 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-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 10 January 2024 15:50:21 +0000 (0:00:00.081) 0:00:51.250 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 10 January 2024 15:50:21 +0000 (0:00:00.085) 0:00:51.336 ***** 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, fb9ea2a9-61e2-4a52-81c0-27e2866f161c skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 10 January 2024 15:50:22 +0000 (0:00:00.411) 0:00:51.748 ***** 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-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 10 January 2024 15:50:22 +0000 (0:00:00.071) 0:00:51.819 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, fb9ea2a9-61e2-4a52-81c0-27e2866f161c skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 10 January 2024 15:50:22 +0000 (0:00:00.032) 0:00:51.851 ***** 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, fb9ea2a9-61e2-4a52-81c0-27e2866f161c skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, fb9ea2a9-61e2-4a52-81c0-27e2866f161c skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 10 January 2024 15:50:22 +0000 (0:00:00.033) 0:00:51.884 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 10 January 2024 15:50:22 +0000 (0:00:00.052) 0:00:51.937 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type4dt8cc0x/tests/playbooks/tasks/remove_profile.yml:3 Wednesday 10 January 2024 15:50:22 +0000 (0:00:00.255) 0:00:52.193 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 10 January 2024 15:50:22 +0000 (0:00:00.047) 0:00:52.240 ***** included: /WORKDIR/git-route_type4dt8cc0x/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-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 10 January 2024 15:50:22 +0000 (0:00:00.048) 0:00:52.289 ***** 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-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 10 January 2024 15:50:22 +0000 (0:00:00.027) 0:00:52.316 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 10 January 2024 15:50:22 +0000 (0:00:00.028) 0:00:52.345 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 10 January 2024 15:50:22 +0000 (0:00:00.041) 0:00:52.387 ***** 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-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 10 January 2024 15:50:24 +0000 (0:00:01.474) 0:00:53.861 ***** 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-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 10 January 2024 15:50:25 +0000 (0:00:00.996) 0:00:54.857 ***** 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-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 10 January 2024 15:50:25 +0000 (0:00:00.024) 0:00:54.882 ***** 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-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 10 January 2024 15:50:25 +0000 (0:00:00.035) 0:00:54.917 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 10 January 2024 15:50:25 +0000 (0:00:00.023) 0:00:54.940 ***** 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-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 10 January 2024 15:50:25 +0000 (0:00:00.073) 0:00:55.014 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 10 January 2024 15:50:25 +0000 (0:00:00.033) 0:00:55.048 ***** 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-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 10 January 2024 15:50:25 +0000 (0:00:00.041) 0:00:55.089 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 10 January 2024 15:50:25 +0000 (0:00:00.028) 0:00:55.118 ***** 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-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 10 January 2024 15:50:26 +0000 (0:00:00.401) 0:00:55.519 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 10 January 2024 15:50:26 +0000 (0:00:00.046) 0:00:55.565 ***** 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-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 10 January 2024 15:50:26 +0000 (0:00:00.023) 0:00:55.588 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 10 January 2024 15:50:26 +0000 (0:00:00.036) 0:00:55.625 ***** 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-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 10 January 2024 15:50:26 +0000 (0:00:00.481) 0:00:56.107 ***** 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-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 10 January 2024 15:50:26 +0000 (0:00:00.040) 0:00:56.148 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 10 January 2024 15:50:26 +0000 (0:00:00.027) 0:00:56.175 ***** 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-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 10 January 2024 15:50:26 +0000 (0:00:00.052) 0:00:56.227 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 10 January 2024 15:50:26 +0000 (0:00:00.082) 0:00:56.310 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_type4dt8cc0x/tests/playbooks/tasks/run_test.yml:30 Wednesday 10 January 2024 15:50:27 +0000 (0:00:00.223) 0:00:56.533 ***** included: /WORKDIR/git-route_type4dt8cc0x/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type4dt8cc0x/tests/playbooks/tasks/remove+down_profile.yml:3 Wednesday 10 January 2024 15:50:27 +0000 (0:00:00.057) 0:00:56.591 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 10 January 2024 15:50:27 +0000 (0:00:00.052) 0:00:56.644 ***** included: /WORKDIR/git-route_type4dt8cc0x/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-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 10 January 2024 15:50:27 +0000 (0:00:00.046) 0:00:56.690 ***** 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-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 10 January 2024 15:50:27 +0000 (0:00:00.029) 0:00:56.719 ***** 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-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 10 January 2024 15:50:27 +0000 (0:00:00.029) 0:00:56.749 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 10 January 2024 15:50:27 +0000 (0:00:00.027) 0:00:56.777 ***** 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-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 10 January 2024 15:50:28 +0000 (0:00:01.474) 0:00:58.252 ***** 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-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 10 January 2024 15:50:29 +0000 (0:00:00.934) 0:00:59.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-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 10 January 2024 15:50:29 +0000 (0:00:00.022) 0:00:59.209 ***** 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-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 10 January 2024 15:50:29 +0000 (0:00:00.021) 0:00:59.230 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 10 January 2024 15:50:29 +0000 (0:00:00.021) 0:00:59.252 ***** 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-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 10 January 2024 15:50:29 +0000 (0:00:00.047) 0:00:59.300 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 10 January 2024 15:50:29 +0000 (0:00:00.022) 0:00:59.322 ***** 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-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 10 January 2024 15:50:29 +0000 (0:00:00.023) 0:00:59.345 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 10 January 2024 15:50:29 +0000 (0:00:00.025) 0:00:59.371 ***** 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-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 10 January 2024 15:50:30 +0000 (0:00:00.385) 0:00:59.757 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 10 January 2024 15:50:30 +0000 (0:00:00.027) 0:00:59.785 ***** 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-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 10 January 2024 15:50:30 +0000 (0:00:00.023) 0:00:59.808 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 10 January 2024 15:50:30 +0000 (0:00:00.026) 0:00:59.835 ***** 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-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 10 January 2024 15:50:30 +0000 (0:00:00.441) 0:01:00.277 ***** 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-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 10 January 2024 15:50:30 +0000 (0:00:00.023) 0:01:00.300 ***** 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-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 10 January 2024 15:50:30 +0000 (0:00:00.023) 0:01:00.323 ***** 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-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 10 January 2024 15:50:30 +0000 (0:00:00.023) 0:01:00.347 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 10 January 2024 15:50:30 +0000 (0:00:00.021) 0:01:00.369 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_type4dt8cc0x/tests/playbooks/tasks/run_test.yml:36 Wednesday 10 January 2024 15:50:31 +0000 (0:00:00.211) 0:01:00.581 ***** included: /WORKDIR/git-route_type4dt8cc0x/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_type4dt8cc0x/tests/playbooks/tasks/assert_profile_absent.yml:3 Wednesday 10 January 2024 15:50:31 +0000 (0:00:00.041) 0:01:00.623 ***** included: /WORKDIR/git-route_type4dt8cc0x/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_type4dt8cc0x/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 10 January 2024 15:50:31 +0000 (0:00:00.038) 0:01:00.662 ***** 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-route_type4dt8cc0x/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 10 January 2024 15:50:31 +0000 (0:00:00.021) 0:01:00.683 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_type4dt8cc0x/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 10 January 2024 15:50:31 +0000 (0:00:00.194) 0:01:00.878 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_type4dt8cc0x/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 10 January 2024 15:50:31 +0000 (0:00:00.022) 0:01:00.901 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.019609", "end": "2024-01-10 15:50:31.609816", "rc": 1, "start": "2024-01-10 15:50:31.590207" } 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-route_type4dt8cc0x/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 10 January 2024 15:50:31 +0000 (0:00:00.231) 0:01:01.133 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_type4dt8cc0x/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 10 January 2024 15:50:31 +0000 (0:00:00.026) 0:01:01.159 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_type4dt8cc0x/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 10 January 2024 15:50:31 +0000 (0:00:00.045) 0:01:01.205 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_type4dt8cc0x/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 10 January 2024 15:50:31 +0000 (0:00:00.049) 0:01:01.254 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_type4dt8cc0x/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 10 January 2024 15:50:31 +0000 (0:00:00.070) 0:01:01.324 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-route_type4dt8cc0x/tests/playbooks/tasks/assert_profile_absent.yml:5 Wednesday 10 January 2024 15:50:31 +0000 (0:00:00.035) 0:01:01.360 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_type4dt8cc0x/tests/playbooks/tasks/run_test.yml:42 Wednesday 10 January 2024 15:50:31 +0000 (0:00:00.058) 0:01:01.419 ***** included: /WORKDIR/git-route_type4dt8cc0x/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_type4dt8cc0x/tests/playbooks/tasks/assert_device_absent.yml:3 Wednesday 10 January 2024 15:50:32 +0000 (0:00:00.108) 0:01:01.527 ***** included: /WORKDIR/git-route_type4dt8cc0x/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_type4dt8cc0x/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 10 January 2024 15:50:32 +0000 (0:00:00.069) 0:01:01.597 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_type4dt8cc0x/tests/playbooks/tasks/assert_device_absent.yml:5 Wednesday 10 January 2024 15:50:32 +0000 (0:00:00.220) 0:01:01.817 ***** 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-route_type4dt8cc0x/tests/playbooks/tasks/run_test.yml:47 Wednesday 10 January 2024 15:50:32 +0000 (0:00:00.025) 0:01:01.842 ***** ok: [sut] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_type4dt8cc0x/tests/playbooks/tasks/run_test.yml:66 Wednesday 10 January 2024 15:50:32 +0000 (0:00:00.021) 0:01:01.864 ***** included: /WORKDIR/git-route_type4dt8cc0x/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_type4dt8cc0x/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 10 January 2024 15:50:32 +0000 (0:00:00.067) 0:01:01.931 ***** 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.038635", "end": "2024-01-10 15:50:32.658407", "rc": 1, "start": "2024-01-10 15:50:32.619772" } 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-route_type4dt8cc0x/tests/playbooks/tests_states.yml:126 Wednesday 10 January 2024 15:50:32 +0000 (0:00:00.257) 0:01:02.189 ***** included: /WORKDIR/git-route_type4dt8cc0x/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-route_type4dt8cc0x/tests/playbooks/tasks/run_test.yml:5 Wednesday 10 January 2024 15:50:32 +0000 (0:00:00.064) 0:01:02.254 ***** ok: [sut] => {} MSG: ########## I will not get an error when I try to remove an absent profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_type4dt8cc0x/tests/playbooks/tasks/run_test.yml:9 Wednesday 10 January 2024 15:50:32 +0000 (0:00:00.034) 0:01:02.288 ***** ok: [sut] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I will not get an error when I try to remove an absent profile" } ok: [sut] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml", "tasks/activate_profile.yml", "tasks/remove+down_profile.yml" ] } ok: [sut] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove+down_profile.yml" ] } ok: [sut] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_absent.yml", "tasks/get_NetworkManager_NVR.yml" ] } ok: [sut] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": [ { "condition": true, "what": "tasks/assert_device_absent.yml" } ] } ok: [sut] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [sut] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-route_type4dt8cc0x/tests/playbooks/tasks/run_test.yml:21 Wednesday 10 January 2024 15:50:32 +0000 (0:00:00.056) 0:01:02.344 ***** included: /WORKDIR/git-route_type4dt8cc0x/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_type4dt8cc0x/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 10 January 2024 15:50:32 +0000 (0:00:00.037) 0:01:02.381 ***** included: /WORKDIR/git-route_type4dt8cc0x/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_type4dt8cc0x/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 10 January 2024 15:50:32 +0000 (0:00:00.045) 0:01:02.427 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003448", "end": "2024-01-10 15:50:33.121362", "rc": 0, "start": "2024-01-10 15:50:33.117914" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_type4dt8cc0x/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 10 January 2024 15:50:33 +0000 (0:00:00.206) 0:01:02.633 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_type4dt8cc0x/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 10 January 2024 15:50:33 +0000 (0:00:00.023) 0:01:02.657 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_type4dt8cc0x/tests/playbooks/tasks/run_test.yml:24 Wednesday 10 January 2024 15:50:33 +0000 (0:00:00.027) 0:01:02.685 ***** included: /WORKDIR/git-route_type4dt8cc0x/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-route_type4dt8cc0x/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-route_type4dt8cc0x/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type4dt8cc0x/tests/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 10 January 2024 15:50:33 +0000 (0:00:00.055) 0:01:02.740 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 10 January 2024 15:50:33 +0000 (0:00:00.088) 0:01:02.829 ***** included: /WORKDIR/git-route_type4dt8cc0x/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-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 10 January 2024 15:50:33 +0000 (0:00:00.060) 0:01:02.889 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 10 January 2024 15:50:33 +0000 (0:00:00.032) 0:01:02.921 ***** 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-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 10 January 2024 15:50:33 +0000 (0:00:00.052) 0:01:02.974 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 10 January 2024 15:50:33 +0000 (0:00:00.025) 0:01:02.999 ***** 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-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 10 January 2024 15:50:34 +0000 (0:00:01.472) 0:01:04.471 ***** 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-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 10 January 2024 15:50:35 +0000 (0:00:00.967) 0:01:05.438 ***** 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-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 10 January 2024 15:50:35 +0000 (0:00:00.022) 0:01:05.460 ***** 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-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 10 January 2024 15:50:36 +0000 (0:00:00.037) 0:01:05.498 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 10 January 2024 15:50:36 +0000 (0:00:00.023) 0:01:05.522 ***** 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-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 10 January 2024 15:50:36 +0000 (0:00:00.062) 0:01:05.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-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 10 January 2024 15:50:36 +0000 (0:00:00.033) 0:01:05.618 ***** 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-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 10 January 2024 15:50:36 +0000 (0:00:00.039) 0:01:05.657 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 10 January 2024 15:50:36 +0000 (0:00:00.027) 0:01:05.685 ***** 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-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 10 January 2024 15:50:36 +0000 (0:00:00.432) 0:01:06.118 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 10 January 2024 15:50:36 +0000 (0:00:00.059) 0:01:06.178 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 10 January 2024 15:50:36 +0000 (0:00:00.056) 0:01:06.234 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 10 January 2024 15:50:36 +0000 (0:00:00.058) 0:01:06.292 ***** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add connection statebr, c347281c-566c-49ca-afe5-9ed1f754e608 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 10 January 2024 15:50:37 +0000 (0:00:00.540) 0:01:06.832 ***** 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-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 10 January 2024 15:50:37 +0000 (0:00:00.036) 0:01:06.869 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, c347281c-566c-49ca-afe5-9ed1f754e608" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 10 January 2024 15:50:37 +0000 (0:00:00.066) 0:01:06.935 ***** 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, c347281c-566c-49ca-afe5-9ed1f754e608\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, c347281c-566c-49ca-afe5-9ed1f754e608" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 10 January 2024 15:50:37 +0000 (0:00:00.082) 0:01:07.018 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 10 January 2024 15:50:37 +0000 (0:00:00.051) 0:01:07.070 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_type4dt8cc0x/tests/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 10 January 2024 15:50:37 +0000 (0:00:00.228) 0:01:07.299 ***** 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, c347281c-566c-49ca-afe5-9ed1f754e608\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, c347281c-566c-49ca-afe5-9ed1f754e608" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type4dt8cc0x/tests/playbooks/tasks/activate_profile.yml:3 Wednesday 10 January 2024 15:50:37 +0000 (0:00:00.043) 0:01:07.342 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 10 January 2024 15:50:37 +0000 (0:00:00.043) 0:01:07.385 ***** included: /WORKDIR/git-route_type4dt8cc0x/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-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 10 January 2024 15:50:37 +0000 (0:00:00.047) 0:01:07.433 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 10 January 2024 15:50:37 +0000 (0:00:00.031) 0:01:07.464 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 10 January 2024 15:50:38 +0000 (0:00:00.048) 0:01:07.513 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 10 January 2024 15:50:38 +0000 (0:00:00.030) 0:01:07.544 ***** 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-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 10 January 2024 15:50:39 +0000 (0:00:01.478) 0:01:09.023 ***** 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-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 10 January 2024 15:50:40 +0000 (0:00:00.927) 0:01:09.950 ***** 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-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 10 January 2024 15:50:40 +0000 (0:00:00.022) 0:01:09.972 ***** 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-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 10 January 2024 15:50:40 +0000 (0:00:00.023) 0:01:09.995 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 10 January 2024 15:50:40 +0000 (0:00:00.022) 0:01:10.018 ***** 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-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 10 January 2024 15:50:40 +0000 (0:00:00.045) 0:01:10.063 ***** 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-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 10 January 2024 15:50:40 +0000 (0:00:00.023) 0:01:10.086 ***** 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-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 10 January 2024 15:50:40 +0000 (0:00:00.021) 0:01:10.108 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 10 January 2024 15:50:40 +0000 (0:00:00.025) 0:01:10.134 ***** 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-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 10 January 2024 15:50:41 +0000 (0:00:00.358) 0:01:10.492 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 10 January 2024 15:50:41 +0000 (0:00:00.057) 0:01:10.550 ***** 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-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 10 January 2024 15:50:41 +0000 (0:00:00.028) 0:01:10.578 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 10 January 2024 15:50:41 +0000 (0:00:00.046) 0:01:10.625 ***** 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, c347281c-566c-49ca-afe5-9ed1f754e608 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 10 January 2024 15:50:41 +0000 (0:00:00.350) 0:01:10.976 ***** 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-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 10 January 2024 15:50:41 +0000 (0:00:00.023) 0:01:10.999 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, c347281c-566c-49ca-afe5-9ed1f754e608 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 10 January 2024 15:50:41 +0000 (0:00:00.025) 0:01:11.024 ***** 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, c347281c-566c-49ca-afe5-9ed1f754e608 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, c347281c-566c-49ca-afe5-9ed1f754e608 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 10 January 2024 15:50:41 +0000 (0:00:00.025) 0:01:11.050 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 10 January 2024 15:50:41 +0000 (0:00:00.024) 0:01:11.074 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type4dt8cc0x/tests/playbooks/tasks/remove+down_profile.yml:3 Wednesday 10 January 2024 15:50:41 +0000 (0:00:00.202) 0:01:11.277 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 10 January 2024 15:50:41 +0000 (0:00:00.036) 0:01:11.313 ***** included: /WORKDIR/git-route_type4dt8cc0x/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-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 10 January 2024 15:50:41 +0000 (0:00:00.040) 0:01:11.354 ***** 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-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 10 January 2024 15:50:41 +0000 (0:00:00.028) 0:01:11.382 ***** 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-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 10 January 2024 15:50:41 +0000 (0:00:00.022) 0:01:11.404 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 10 January 2024 15:50:41 +0000 (0:00:00.022) 0:01:11.426 ***** 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-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 10 January 2024 15:50:43 +0000 (0:00:01.476) 0:01:12.903 ***** 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-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 10 January 2024 15:50:44 +0000 (0:00:00.922) 0:01:13.826 ***** 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-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 10 January 2024 15:50:44 +0000 (0:00:00.021) 0:01:13.847 ***** 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-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 10 January 2024 15:50:44 +0000 (0:00:00.020) 0:01:13.868 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 10 January 2024 15:50:44 +0000 (0:00:00.020) 0:01:13.888 ***** 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-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 10 January 2024 15:50:44 +0000 (0:00:00.085) 0:01:13.974 ***** 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-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 10 January 2024 15:50:44 +0000 (0:00:00.022) 0:01:13.997 ***** 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-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 10 January 2024 15:50:44 +0000 (0:00:00.022) 0:01:14.019 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 10 January 2024 15:50:44 +0000 (0:00:00.026) 0:01:14.045 ***** 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-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 10 January 2024 15:50:44 +0000 (0:00:00.368) 0:01:14.414 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 10 January 2024 15:50:44 +0000 (0:00:00.039) 0:01:14.454 ***** 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-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 10 January 2024 15:50:45 +0000 (0:00:00.037) 0:01:14.491 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 10 January 2024 15:50:45 +0000 (0:00:00.023) 0:01:14.514 ***** 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-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 10 January 2024 15:50:45 +0000 (0:00:00.438) 0:01:14.952 ***** 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-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 10 January 2024 15:50:45 +0000 (0:00:00.025) 0:01:14.978 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 10 January 2024 15:50:45 +0000 (0:00:00.029) 0:01:15.007 ***** 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-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 10 January 2024 15:50:45 +0000 (0:00:00.028) 0:01:15.035 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 10 January 2024 15:50:45 +0000 (0:00:00.026) 0:01:15.062 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_type4dt8cc0x/tests/playbooks/tasks/run_test.yml:30 Wednesday 10 January 2024 15:50:45 +0000 (0:00:00.201) 0:01:15.263 ***** included: /WORKDIR/git-route_type4dt8cc0x/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type4dt8cc0x/tests/playbooks/tasks/remove+down_profile.yml:3 Wednesday 10 January 2024 15:50:45 +0000 (0:00:00.070) 0:01:15.334 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 10 January 2024 15:50:45 +0000 (0:00:00.036) 0:01:15.371 ***** included: /WORKDIR/git-route_type4dt8cc0x/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-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 10 January 2024 15:50:45 +0000 (0:00:00.040) 0:01:15.411 ***** 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-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 10 January 2024 15:50:45 +0000 (0:00:00.026) 0:01:15.437 ***** 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-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 10 January 2024 15:50:45 +0000 (0:00:00.022) 0:01:15.460 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 10 January 2024 15:50:46 +0000 (0:00:00.025) 0:01:15.486 ***** 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-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 10 January 2024 15:50:47 +0000 (0:00:01.473) 0:01:16.960 ***** 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-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 10 January 2024 15:50:48 +0000 (0:00:00.946) 0:01:17.906 ***** 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-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 10 January 2024 15:50:48 +0000 (0:00:00.024) 0:01:17.931 ***** 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-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 10 January 2024 15:50:48 +0000 (0:00:00.023) 0:01:17.955 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 10 January 2024 15:50:48 +0000 (0:00:00.023) 0:01:17.978 ***** 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-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 10 January 2024 15:50:48 +0000 (0:00:00.044) 0:01:18.023 ***** 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-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 10 January 2024 15:50:48 +0000 (0:00:00.023) 0:01:18.046 ***** 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-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 10 January 2024 15:50:48 +0000 (0:00:00.027) 0:01:18.073 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 10 January 2024 15:50:48 +0000 (0:00:00.026) 0:01:18.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-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 10 January 2024 15:50:48 +0000 (0:00:00.357) 0:01:18.457 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 10 January 2024 15:50:49 +0000 (0:00:00.032) 0:01:18.490 ***** 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-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 10 January 2024 15:50:49 +0000 (0:00:00.022) 0:01:18.512 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 10 January 2024 15:50:49 +0000 (0:00:00.026) 0:01:18.539 ***** 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-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 10 January 2024 15:50:49 +0000 (0:00:00.401) 0:01:18.940 ***** 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-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 10 January 2024 15:50:49 +0000 (0:00:00.022) 0:01:18.963 ***** 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-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 10 January 2024 15:50:49 +0000 (0:00:00.029) 0:01:18.993 ***** 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-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 10 January 2024 15:50:49 +0000 (0:00:00.023) 0:01:19.017 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 10 January 2024 15:50:49 +0000 (0:00:00.030) 0:01:19.047 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_type4dt8cc0x/tests/playbooks/tasks/run_test.yml:36 Wednesday 10 January 2024 15:50:49 +0000 (0:00:00.209) 0:01:19.257 ***** included: /WORKDIR/git-route_type4dt8cc0x/tests/playbooks/tasks/assert_profile_absent.yml for sut included: /WORKDIR/git-route_type4dt8cc0x/tests/playbooks/tasks/get_NetworkManager_NVR.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_type4dt8cc0x/tests/playbooks/tasks/assert_profile_absent.yml:3 Wednesday 10 January 2024 15:50:49 +0000 (0:00:00.044) 0:01:19.301 ***** included: /WORKDIR/git-route_type4dt8cc0x/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_type4dt8cc0x/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 10 January 2024 15:50:49 +0000 (0:00:00.038) 0:01:19.339 ***** 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-route_type4dt8cc0x/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 10 January 2024 15:50:49 +0000 (0:00:00.022) 0:01:19.362 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_type4dt8cc0x/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 10 January 2024 15:50:50 +0000 (0:00:00.199) 0:01:19.561 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_type4dt8cc0x/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 10 January 2024 15:50:50 +0000 (0:00:00.038) 0:01:19.600 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020159", "end": "2024-01-10 15:50:50.318327", "rc": 1, "start": "2024-01-10 15:50:50.298168" } 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-route_type4dt8cc0x/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 10 January 2024 15:50:50 +0000 (0:00:00.228) 0:01:19.828 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_type4dt8cc0x/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 10 January 2024 15:50:50 +0000 (0:00:00.021) 0:01:19.850 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_type4dt8cc0x/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 10 January 2024 15:50:50 +0000 (0:00:00.055) 0:01:19.905 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_type4dt8cc0x/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 10 January 2024 15:50:50 +0000 (0:00:00.029) 0:01:19.934 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_type4dt8cc0x/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 10 January 2024 15:50:50 +0000 (0:00:00.030) 0:01:19.965 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-route_type4dt8cc0x/tests/playbooks/tasks/assert_profile_absent.yml:5 Wednesday 10 January 2024 15:50:50 +0000 (0:00:00.048) 0:01:20.013 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /WORKDIR/git-route_type4dt8cc0x/tests/playbooks/tasks/get_NetworkManager_NVR.yml:7 Wednesday 10 January 2024 15:50:50 +0000 (0:00:00.034) 0:01:20.047 ***** ok: [sut] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.564857", "end": "2024-01-10 15:50:51.309945", "rc": 0, "start": "2024-01-10 15:50:50.745088" } STDOUT: NetworkManager-1.45.7-1.el9 TASK [Store NetworkManager version] ******************************************** task path: /WORKDIR/git-route_type4dt8cc0x/tests/playbooks/tasks/get_NetworkManager_NVR.yml:14 Wednesday 10 January 2024 15:50:51 +0000 (0:00:00.774) 0:01:20.822 ***** ok: [sut] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.45.7-1.el9" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /WORKDIR/git-route_type4dt8cc0x/tests/playbooks/tasks/get_NetworkManager_NVR.yml:18 Wednesday 10 January 2024 15:50:51 +0000 (0:00:00.021) 0:01:20.843 ***** ok: [sut] => { "networkmanager_nvr": "NetworkManager-1.45.7-1.el9" } TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_type4dt8cc0x/tests/playbooks/tasks/run_test.yml:42 Wednesday 10 January 2024 15:50:51 +0000 (0:00:00.021) 0:01:20.865 ***** included: /WORKDIR/git-route_type4dt8cc0x/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_type4dt8cc0x/tests/playbooks/tasks/assert_device_absent.yml:3 Wednesday 10 January 2024 15:50:51 +0000 (0:00:00.044) 0:01:20.910 ***** included: /WORKDIR/git-route_type4dt8cc0x/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_type4dt8cc0x/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 10 January 2024 15:50:51 +0000 (0:00:00.055) 0:01:20.965 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_type4dt8cc0x/tests/playbooks/tasks/assert_device_absent.yml:5 Wednesday 10 January 2024 15:50:51 +0000 (0:00:00.210) 0:01:21.175 ***** 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-route_type4dt8cc0x/tests/playbooks/tasks/run_test.yml:47 Wednesday 10 January 2024 15:50:51 +0000 (0:00:00.027) 0:01:21.203 ***** 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-route_type4dt8cc0x/tests/playbooks/tasks/run_test.yml:66 Wednesday 10 January 2024 15:50:51 +0000 (0:00:00.022) 0:01:21.225 ***** included: /WORKDIR/git-route_type4dt8cc0x/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_type4dt8cc0x/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 10 January 2024 15:50:51 +0000 (0:00:00.074) 0:01:21.300 ***** 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.037219", "end": "2024-01-10 15:50:52.023768", "rc": 1, "start": "2024-01-10 15:50:51.986549" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. Cannot find device "statebr" MSG: non-zero return code ...ignoring META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=316 changed=10 unreachable=0 failed=0 skipped=252 rescued=0 ignored=11 Wednesday 10 January 2024 15:50:52 +0000 (0:00:00.221) 0:01:21.521 ***** =============================================================================== linux-system-roles.network : Configure networking connection profiles --- 2.43s /WORKDIR/git-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Enable and start NetworkManager ------------ 2.13s /WORKDIR/git-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/main.yml:85 linux-system-roles.network : Configure networking connection profiles --- 1.56s /WORKDIR/git-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Check which services are running ----------- 1.53s /WORKDIR/git-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.53s /WORKDIR/git-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.51s /WORKDIR/git-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Enable and start NetworkManager ------------ 1.51s /WORKDIR/git-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/main.yml:85 linux-system-roles.network : Check which services are running ----------- 1.48s /WORKDIR/git-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.48s /WORKDIR/git-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.47s /WORKDIR/git-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.47s /WORKDIR/git-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.47s /WORKDIR/git-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.47s /WORKDIR/git-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.46s /WORKDIR/git-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.44s /WORKDIR/git-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.44s /WORKDIR/git-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.44s /WORKDIR/git-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.44s /WORKDIR/git-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.43s /WORKDIR/git-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Re-test connectivity ----------------------- 1.35s /WORKDIR/git-route_type4dt8cc0x/tests/roles/linux-system-roles.network/tasks/main.yml:155 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- [WARNING]: Consider using the yum, dnf or zypper module rather than running 'rpm'. If you need to use command because yum, dnf or zypper is insufficient you can add 'warn: false' to this command task or set 'command_warnings=False' in ansible.cfg to get rid of this message. ---^---^---^---^---^---