# 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_typeskchak9h/tests/tests_states_nm.yml PLAY [Run playbook 'playbooks/tests_states.yml' with nm as provider] *********** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-route_typeskchak9h/tests/tests_states_nm.yml:5 Tuesday 02 January 2024 19:30:44 +0000 (0:00:00.019) 0:00:00.019 ******* ok: [sut] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-route_typeskchak9h/tests/tests_states_nm.yml:9 Tuesday 02 January 2024 19:30:45 +0000 (0:00:00.678) 0:00:00.698 ******* included: /WORKDIR/git-route_typeskchak9h/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_typeskchak9h/tests/tasks/el_repo_setup.yml:3 Tuesday 02 January 2024 19:30:45 +0000 (0:00:00.027) 0:00:00.726 ******* ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-route_typeskchak9h/tests/tasks/el_repo_setup.yml:19 Tuesday 02 January 2024 19:30:45 +0000 (0:00:00.394) 0:00:01.120 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-route_typeskchak9h/tests/tasks/el_repo_setup.yml:24 Tuesday 02 January 2024 19:30:45 +0000 (0:00:00.342) 0:00:01.463 ******* ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-route_typeskchak9h/tests/tasks/el_repo_setup.yml:28 Tuesday 02 January 2024 19:30:45 +0000 (0:00:00.034) 0:00:01.497 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-route_typeskchak9h/tests/tasks/el_repo_setup.yml:53 Tuesday 02 January 2024 19:30:45 +0000 (0:00:00.043) 0:00:01.541 ******* included: /WORKDIR/git-route_typeskchak9h/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 9] *********************************************************** task path: /WORKDIR/git-route_typeskchak9h/tests/tasks/enable_epel.yml:8 Tuesday 02 January 2024 19:30:45 +0000 (0:00:00.066) 0:00:01.607 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Install yum-utils package] *********************************************** task path: /WORKDIR/git-route_typeskchak9h/tests/tasks/enable_epel.yml:24 Tuesday 02 January 2024 19:30:45 +0000 (0:00:00.020) 0:00:01.627 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-route_typeskchak9h/tests/tasks/enable_epel.yml:30 Tuesday 02 January 2024 19:30:45 +0000 (0:00:00.012) 0:00:01.640 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-route_typeskchak9h/tests/tasks/enable_epel.yml:35 Tuesday 02 January 2024 19:30:45 +0000 (0:00:00.015) 0:00:01.656 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-route_typeskchak9h/tests/tasks/enable_epel.yml:40 Tuesday 02 January 2024 19:30:46 +0000 (0:00:00.011) 0:00:01.667 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /WORKDIR/git-route_typeskchak9h/tests/tests_states_nm.yml:11 Tuesday 02 January 2024 19:30:46 +0000 (0:00:00.011) 0:00:01.678 ******* 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_typeskchak9h/tests/playbooks/tests_states.yml:3 Tuesday 02 January 2024 19:30:46 +0000 (0:00:00.013) 0:00:01.692 ******* ok: [sut] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tests_states.yml:11 Tuesday 02 January 2024 19:30:46 +0000 (0:00:00.496) 0:00:02.188 ******* ok: [sut] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tests_states.yml:22 Tuesday 02 January 2024 19:30:46 +0000 (0:00:00.012) 0:00:02.201 ******* included: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile] ******************************************** task path: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/run_test.yml:5 Tuesday 02 January 2024 19:30:46 +0000 (0:00:00.025) 0:00:02.227 ******* ok: [sut] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/run_test.yml:9 Tuesday 02 January 2024 19:30:46 +0000 (0:00:00.013) 0:00:02.240 ******* 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_typeskchak9h/tests/playbooks/tasks/run_test.yml:21 Tuesday 02 January 2024 19:30:46 +0000 (0:00:00.035) 0:00:02.276 ******* included: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 02 January 2024 19:30:46 +0000 (0:00:00.017) 0:00:02.293 ******* included: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 02 January 2024 19:30:46 +0000 (0:00:00.016) 0:00:02.310 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003122", "end": "2024-01-02 19:30:46.868008", "rc": 0, "start": "2024-01-02 19:30:46.864886" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 02 January 2024 19:30:46 +0000 (0:00:00.238) 0:00:02.549 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 02 January 2024 19:30:46 +0000 (0:00:00.012) 0:00:02.561 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/run_test.yml:24 Tuesday 02 January 2024 19:30:46 +0000 (0:00:00.015) 0:00:02.576 ******* included: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/delete_interface.yml:3 Tuesday 02 January 2024 19:30:46 +0000 (0:00:00.020) 0:00:02.597 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.007324", "end": "2024-01-02 19:30:47.112140", "rc": 1, "start": "2024-01-02 19:30:47.104816" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 02 January 2024 19:30:47 +0000 (0:00:00.221) 0:00:02.819 ******* included: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 02 January 2024 19:30:47 +0000 (0:00:00.029) 0:00:02.849 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 02 January 2024 19:30:47 +0000 (0:00:00.213) 0:00:03.063 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/run_test.yml:30 Tuesday 02 January 2024 19:30:47 +0000 (0:00:00.022) 0:00:03.085 ******* included: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 02 January 2024 19:30:47 +0000 (0:00:00.032) 0:00:03.118 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 02 January 2024 19:30:47 +0000 (0:00:00.035) 0:00:03.153 ******* included: /WORKDIR/git-route_typeskchak9h/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_typeskchak9h/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 02 January 2024 19:30:47 +0000 (0:00:00.074) 0:00:03.227 ******* 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_typeskchak9h/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 02 January 2024 19:30:47 +0000 (0:00:00.039) 0:00:03.266 ******* 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_typeskchak9h/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 02 January 2024 19:30:47 +0000 (0:00:00.018) 0:00:03.285 ******* 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_typeskchak9h/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 02 January 2024 19:30:47 +0000 (0:00:00.014) 0:00:03.300 ******* 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_typeskchak9h/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 02 January 2024 19:30:49 +0000 (0:00:01.479) 0:00:04.779 ******* 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_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 02 January 2024 19:30:50 +0000 (0:00:01.077) 0:00:05.856 ******* 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_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 02 January 2024 19:30:50 +0000 (0:00:00.024) 0:00:05.880 ******* 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_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 02 January 2024 19:30:50 +0000 (0:00:00.030) 0:00:05.911 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 02 January 2024 19:30:50 +0000 (0:00:00.025) 0:00:05.936 ******* 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_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 02 January 2024 19:30:50 +0000 (0:00:00.048) 0:00:05.985 ******* 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_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 02 January 2024 19:30:50 +0000 (0:00:00.022) 0:00:06.008 ******* 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_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 02 January 2024 19:30:50 +0000 (0:00:00.023) 0:00:06.031 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 02 January 2024 19:30:50 +0000 (0:00:00.025) 0:00:06.056 ******* 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_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 02 January 2024 19:30:50 +0000 (0:00:00.507) 0:00:06.563 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 02 January 2024 19:30:50 +0000 (0:00:00.032) 0:00:06.596 ******* 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_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 02 January 2024 19:30:50 +0000 (0:00:00.038) 0:00:06.634 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 02 January 2024 19:30:51 +0000 (0:00:00.030) 0:00:06.665 ******* 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, 4e624ae1-6cf8-4bcb-8c39-12e671ce5cb1 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 02 January 2024 19:30:51 +0000 (0:00:00.523) 0:00:07.188 ******* 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_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 02 January 2024 19:30:51 +0000 (0:00:00.022) 0:00:07.211 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 4e624ae1-6cf8-4bcb-8c39-12e671ce5cb1" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 02 January 2024 19:30:51 +0000 (0:00:00.049) 0:00:07.261 ******* 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, 4e624ae1-6cf8-4bcb-8c39-12e671ce5cb1\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 4e624ae1-6cf8-4bcb-8c39-12e671ce5cb1" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 02 January 2024 19:30:51 +0000 (0:00:00.025) 0:00:07.287 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 02 January 2024 19:30:51 +0000 (0:00:00.029) 0:00:07.316 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 02 January 2024 19:30:51 +0000 (0:00:00.265) 0:00:07.582 ******* 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, 4e624ae1-6cf8-4bcb-8c39-12e671ce5cb1\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 4e624ae1-6cf8-4bcb-8c39-12e671ce5cb1" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/run_test.yml:36 Tuesday 02 January 2024 19:30:51 +0000 (0:00:00.026) 0:00:07.608 ******* included: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 02 January 2024 19:30:52 +0000 (0:00:00.089) 0:00:07.698 ******* included: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 02 January 2024 19:30:52 +0000 (0:00:00.039) 0:00:07.737 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 02 January 2024 19:30:52 +0000 (0:00:00.022) 0:00:07.760 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 02 January 2024 19:30:52 +0000 (0:00:00.189) 0:00:07.949 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 02 January 2024 19:30:52 +0000 (0:00:00.032) 0:00:07.982 ******* ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021863", "end": "2024-01-02 19:30:52.507017", "rc": 0, "start": "2024-01-02 19:30:52.485154" } 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_typeskchak9h/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 02 January 2024 19:30:52 +0000 (0:00:00.220) 0:00:08.202 ******* 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_typeskchak9h/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 02 January 2024 19:30:52 +0000 (0:00:00.025) 0:00:08.227 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 02 January 2024 19:30:52 +0000 (0:00:00.024) 0:00:08.252 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 02 January 2024 19:30:52 +0000 (0:00:00.025) 0:00:08.278 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 02 January 2024 19:30:52 +0000 (0:00:00.050) 0:00:08.329 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 02 January 2024 19:30:52 +0000 (0:00:00.028) 0:00:08.357 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 02 January 2024 19:30:52 +0000 (0:00:00.030) 0:00:08.388 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 02 January 2024 19:30:52 +0000 (0:00:00.026) 0:00:08.414 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/run_test.yml:42 Tuesday 02 January 2024 19:30:52 +0000 (0:00:00.022) 0:00:08.437 ******* included: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 02 January 2024 19:30:52 +0000 (0:00:00.045) 0:00:08.482 ******* included: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 02 January 2024 19:30:52 +0000 (0:00:00.036) 0:00:08.519 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1704223851.4263308, "block_size": 4096, "blocks": 0, "ctime": 1704223851.4263308, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 29796, "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": 1704223851.4263308, "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_typeskchak9h/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 02 January 2024 19:30:53 +0000 (0:00:00.189) 0:00:08.709 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can create a profile'] ******************************** task path: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/run_test.yml:47 Tuesday 02 January 2024 19:30:53 +0000 (0:00:00.025) 0:00:08.734 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/run_test.yml:66 Tuesday 02 January 2024 19:30:53 +0000 (0:00:00.023) 0:00:08.757 ******* included: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 02 January 2024 19:30:53 +0000 (0:00:00.042) 0:00:08.800 ******* 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.060985", "end": "2024-01-02 19:30:53.359811", "rc": 1, "start": "2024-01-02 19:30:53.298826" } STDOUT: Connection 'statebr' (4e624ae1-6cf8-4bcb-8c39-12e671ce5cb1) 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_typeskchak9h/tests/playbooks/tests_states.yml:45 Tuesday 02 January 2024 19:30:53 +0000 (0:00:00.259) 0:00:09.059 ******* included: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile without autoconnect] ************************ task path: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/run_test.yml:5 Tuesday 02 January 2024 19:30:53 +0000 (0:00:00.066) 0:00:09.125 ******* ok: [sut] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/run_test.yml:9 Tuesday 02 January 2024 19:30:53 +0000 (0:00:00.024) 0:00:09.150 ******* 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_typeskchak9h/tests/playbooks/tasks/run_test.yml:21 Tuesday 02 January 2024 19:30:53 +0000 (0:00:00.044) 0:00:09.195 ******* included: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 02 January 2024 19:30:53 +0000 (0:00:00.035) 0:00:09.230 ******* included: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 02 January 2024 19:30:53 +0000 (0:00:00.034) 0:00:09.265 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003204", "end": "2024-01-02 19:30:53.765933", "rc": 0, "start": "2024-01-02 19:30:53.762729" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 02 January 2024 19:30:53 +0000 (0:00:00.194) 0:00:09.459 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 02 January 2024 19:30:53 +0000 (0:00:00.026) 0:00:09.485 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/run_test.yml:24 Tuesday 02 January 2024 19:30:53 +0000 (0:00:00.023) 0:00:09.509 ******* included: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/delete_interface.yml:3 Tuesday 02 January 2024 19:30:53 +0000 (0:00:00.045) 0:00:09.554 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.005823", "end": "2024-01-02 19:30:54.056820", "rc": 1, "start": "2024-01-02 19:30:54.050997" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 02 January 2024 19:30:54 +0000 (0:00:00.194) 0:00:09.749 ******* included: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 02 January 2024 19:30:54 +0000 (0:00:00.037) 0:00:09.786 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 02 January 2024 19:30:54 +0000 (0:00:00.220) 0:00:10.007 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/run_test.yml:30 Tuesday 02 January 2024 19:30:54 +0000 (0:00:00.025) 0:00:10.032 ******* included: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Tuesday 02 January 2024 19:30:54 +0000 (0:00:00.041) 0:00:10.074 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 02 January 2024 19:30:54 +0000 (0:00:00.072) 0:00:10.146 ******* included: /WORKDIR/git-route_typeskchak9h/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_typeskchak9h/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 02 January 2024 19:30:54 +0000 (0:00:00.043) 0:00:10.189 ******* 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_typeskchak9h/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 02 January 2024 19:30:54 +0000 (0:00:00.033) 0:00:10.223 ******* 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_typeskchak9h/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 02 January 2024 19:30:54 +0000 (0:00:00.026) 0:00:10.250 ******* 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_typeskchak9h/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 02 January 2024 19:30:54 +0000 (0:00:00.025) 0:00:10.275 ******* 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_typeskchak9h/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 02 January 2024 19:30:56 +0000 (0:00:01.400) 0:00:11.676 ******* 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_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 02 January 2024 19:30:56 +0000 (0:00:00.948) 0:00:12.624 ******* ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-route_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 02 January 2024 19:30:56 +0000 (0:00:00.022) 0:00:12.647 ******* 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_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 02 January 2024 19:30:57 +0000 (0:00:00.022) 0:00:12.669 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 02 January 2024 19:30:57 +0000 (0:00:00.022) 0:00:12.692 ******* 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_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 02 January 2024 19:30:57 +0000 (0:00:00.043) 0:00:12.736 ******* 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_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 02 January 2024 19:30:57 +0000 (0:00:00.023) 0:00:12.759 ******* 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_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 02 January 2024 19:30:57 +0000 (0:00:00.023) 0:00:12.782 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 02 January 2024 19:30:57 +0000 (0:00:00.025) 0:00:12.808 ******* 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_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 02 January 2024 19:30:57 +0000 (0:00:00.349) 0:00:13.157 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 02 January 2024 19:30:57 +0000 (0:00:00.029) 0:00:13.186 ******* 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_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 02 January 2024 19:30:57 +0000 (0:00:00.059) 0:00:13.246 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 02 January 2024 19:30:57 +0000 (0:00:00.029) 0:00:13.276 ******* 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, 309818dd-b393-420b-8404-2b811eab980a TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 02 January 2024 19:30:57 +0000 (0:00:00.355) 0:00:13.632 ******* 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_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 02 January 2024 19:30:57 +0000 (0:00:00.024) 0:00:13.656 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 309818dd-b393-420b-8404-2b811eab980a" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 02 January 2024 19:30:58 +0000 (0:00:00.024) 0:00:13.680 ******* 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, 309818dd-b393-420b-8404-2b811eab980a\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 309818dd-b393-420b-8404-2b811eab980a" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 02 January 2024 19:30:58 +0000 (0:00:00.024) 0:00:13.705 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 02 January 2024 19:30:58 +0000 (0:00:00.023) 0:00:13.728 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Tuesday 02 January 2024 19:30:58 +0000 (0:00:00.184) 0:00:13.913 ******* 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, 309818dd-b393-420b-8404-2b811eab980a\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 309818dd-b393-420b-8404-2b811eab980a" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/run_test.yml:36 Tuesday 02 January 2024 19:30:58 +0000 (0:00:00.024) 0:00:13.937 ******* included: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/assert_device_absent.yml for sut included: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 02 January 2024 19:30:58 +0000 (0:00:00.044) 0:00:13.982 ******* included: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 02 January 2024 19:30:58 +0000 (0:00:00.038) 0:00:14.020 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 02 January 2024 19:30:58 +0000 (0:00:00.196) 0:00:14.216 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 02 January 2024 19:30:58 +0000 (0:00:00.028) 0:00:14.244 ******* included: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 02 January 2024 19:30:58 +0000 (0:00:00.093) 0:00:14.338 ******* 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_typeskchak9h/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 02 January 2024 19:30:58 +0000 (0:00:00.026) 0:00:14.365 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 02 January 2024 19:30:58 +0000 (0:00:00.192) 0:00:14.557 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 02 January 2024 19:30:58 +0000 (0:00:00.022) 0:00:14.580 ******* ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020689", "end": "2024-01-02 19:30:59.097152", "rc": 0, "start": "2024-01-02 19:30:59.076463" } 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_typeskchak9h/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 02 January 2024 19:30:59 +0000 (0:00:00.210) 0:00:14.790 ******* 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_typeskchak9h/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 02 January 2024 19:30:59 +0000 (0:00:00.028) 0:00:14.818 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 02 January 2024 19:30:59 +0000 (0:00:00.036) 0:00:14.854 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 02 January 2024 19:30:59 +0000 (0:00:00.055) 0:00:14.910 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 02 January 2024 19:30:59 +0000 (0:00:00.028) 0:00:14.938 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 02 January 2024 19:30:59 +0000 (0:00:00.029) 0:00:14.967 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 02 January 2024 19:30:59 +0000 (0:00:00.026) 0:00:14.994 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 02 January 2024 19:30:59 +0000 (0:00:00.029) 0:00:15.023 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/run_test.yml:42 Tuesday 02 January 2024 19:30:59 +0000 (0:00:00.023) 0:00:15.047 ******* TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/run_test.yml:47 Tuesday 02 January 2024 19:30:59 +0000 (0:00:00.024) 0:00:15.072 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/run_test.yml:66 Tuesday 02 January 2024 19:30:59 +0000 (0:00:00.024) 0:00:15.096 ******* included: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 02 January 2024 19:30:59 +0000 (0:00:00.102) 0:00:15.198 ******* 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.040616", "end": "2024-01-02 19:30:59.737018", "rc": 1, "start": "2024-01-02 19:30:59.696402" } STDOUT: Connection 'statebr' (309818dd-b393-420b-8404-2b811eab980a) 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_typeskchak9h/tests/playbooks/tests_states.yml:65 Tuesday 02 January 2024 19:30:59 +0000 (0:00:00.232) 0:00:15.430 ******* included: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can activate an existing profile] ******************************** task path: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/run_test.yml:5 Tuesday 02 January 2024 19:30:59 +0000 (0:00:00.039) 0:00:15.470 ******* ok: [sut] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/run_test.yml:9 Tuesday 02 January 2024 19:30:59 +0000 (0:00:00.023) 0:00:15.494 ******* 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_typeskchak9h/tests/playbooks/tasks/run_test.yml:21 Tuesday 02 January 2024 19:30:59 +0000 (0:00:00.044) 0:00:15.538 ******* included: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 02 January 2024 19:30:59 +0000 (0:00:00.037) 0:00:15.576 ******* included: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 02 January 2024 19:30:59 +0000 (0:00:00.041) 0:00:15.617 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003220", "end": "2024-01-02 19:31:00.118777", "rc": 0, "start": "2024-01-02 19:31:00.115557" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 02 January 2024 19:31:00 +0000 (0:00:00.204) 0:00:15.821 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 02 January 2024 19:31:00 +0000 (0:00:00.037) 0:00:15.859 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/run_test.yml:24 Tuesday 02 January 2024 19:31:00 +0000 (0:00:00.045) 0:00:15.905 ******* included: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 02 January 2024 19:31:00 +0000 (0:00:00.050) 0:00:15.955 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 02 January 2024 19:31:00 +0000 (0:00:00.068) 0:00:16.024 ******* included: /WORKDIR/git-route_typeskchak9h/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_typeskchak9h/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 02 January 2024 19:31:00 +0000 (0:00:00.054) 0:00:16.079 ******* 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_typeskchak9h/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 02 January 2024 19:31:00 +0000 (0:00:00.034) 0:00:16.113 ******* 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_typeskchak9h/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 02 January 2024 19:31:00 +0000 (0:00:00.023) 0:00:16.136 ******* 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_typeskchak9h/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 02 January 2024 19:31:00 +0000 (0:00:00.036) 0:00:16.173 ******* 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_typeskchak9h/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 02 January 2024 19:31:01 +0000 (0:00:01.413) 0:00:17.586 ******* 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_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 02 January 2024 19:31:02 +0000 (0:00:00.976) 0:00:18.563 ******* ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-route_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 02 January 2024 19:31:02 +0000 (0:00:00.051) 0:00:18.615 ******* 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_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 02 January 2024 19:31:02 +0000 (0:00:00.033) 0:00:18.648 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 02 January 2024 19:31:03 +0000 (0:00:00.027) 0:00:18.676 ******* 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_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 02 January 2024 19:31:03 +0000 (0:00:00.046) 0:00:18.723 ******* 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_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 02 January 2024 19:31:03 +0000 (0:00:00.025) 0:00:18.748 ******* 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_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 02 January 2024 19:31:03 +0000 (0:00:00.025) 0:00:18.774 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 02 January 2024 19:31:03 +0000 (0:00:00.027) 0:00:18.801 ******* 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_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 02 January 2024 19:31:03 +0000 (0:00:00.376) 0:00:19.178 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 02 January 2024 19:31:03 +0000 (0:00:00.025) 0:00:19.203 ******* 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_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 02 January 2024 19:31:03 +0000 (0:00:00.025) 0:00:19.229 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 02 January 2024 19:31:03 +0000 (0:00:00.021) 0:00:19.250 ******* 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, fda00cf7-e9c6-4afa-8992-506c1a6488c5 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 02 January 2024 19:31:03 +0000 (0:00:00.401) 0:00:19.652 ******* 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_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 02 January 2024 19:31:04 +0000 (0:00:00.021) 0:00:19.674 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, fda00cf7-e9c6-4afa-8992-506c1a6488c5" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 02 January 2024 19:31:04 +0000 (0:00:00.066) 0:00:19.740 ******* 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, fda00cf7-e9c6-4afa-8992-506c1a6488c5\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, fda00cf7-e9c6-4afa-8992-506c1a6488c5" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 02 January 2024 19:31:04 +0000 (0:00:00.032) 0:00:19.772 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 02 January 2024 19:31:04 +0000 (0:00:00.025) 0:00:19.798 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 02 January 2024 19:31:04 +0000 (0:00:00.199) 0:00:19.997 ******* 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, fda00cf7-e9c6-4afa-8992-506c1a6488c5\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, fda00cf7-e9c6-4afa-8992-506c1a6488c5" ] } } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/run_test.yml:30 Tuesday 02 January 2024 19:31:04 +0000 (0:00:00.041) 0:00:20.039 ******* included: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 02 January 2024 19:31:04 +0000 (0:00:00.042) 0:00:20.081 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 02 January 2024 19:31:04 +0000 (0:00:00.082) 0:00:20.163 ******* included: /WORKDIR/git-route_typeskchak9h/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_typeskchak9h/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 02 January 2024 19:31:04 +0000 (0:00:00.073) 0:00:20.237 ******* 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_typeskchak9h/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 02 January 2024 19:31:04 +0000 (0:00:00.036) 0:00:20.274 ******* 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_typeskchak9h/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 02 January 2024 19:31:04 +0000 (0:00:00.028) 0:00:20.302 ******* 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_typeskchak9h/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 02 January 2024 19:31:04 +0000 (0:00:00.028) 0:00:20.331 ******* 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_typeskchak9h/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 02 January 2024 19:31:06 +0000 (0:00:01.410) 0:00:21.741 ******* 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_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 02 January 2024 19:31:06 +0000 (0:00:00.901) 0:00:22.642 ******* 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_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 02 January 2024 19:31:07 +0000 (0:00:00.023) 0:00:22.666 ******* 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_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 02 January 2024 19:31:07 +0000 (0:00:00.022) 0:00:22.689 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 02 January 2024 19:31:07 +0000 (0:00:00.022) 0:00:22.711 ******* 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_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 02 January 2024 19:31:07 +0000 (0:00:00.044) 0:00:22.755 ******* 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_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 02 January 2024 19:31:07 +0000 (0:00:00.020) 0:00:22.776 ******* 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_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 02 January 2024 19:31:07 +0000 (0:00:00.022) 0:00:22.799 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 02 January 2024 19:31:07 +0000 (0:00:00.053) 0:00:22.852 ******* 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_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 02 January 2024 19:31:07 +0000 (0:00:00.350) 0:00:23.203 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 02 January 2024 19:31:07 +0000 (0:00:00.027) 0:00:23.230 ******* 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_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 02 January 2024 19:31:07 +0000 (0:00:00.020) 0:00:23.251 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 02 January 2024 19:31:07 +0000 (0:00:00.023) 0:00:23.274 ******* 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, fda00cf7-e9c6-4afa-8992-506c1a6488c5 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 02 January 2024 19:31:07 +0000 (0:00:00.341) 0:00:23.616 ******* 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_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 02 January 2024 19:31:07 +0000 (0:00:00.022) 0:00:23.638 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, fda00cf7-e9c6-4afa-8992-506c1a6488c5 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 02 January 2024 19:31:07 +0000 (0:00:00.023) 0:00:23.662 ******* 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, fda00cf7-e9c6-4afa-8992-506c1a6488c5 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, fda00cf7-e9c6-4afa-8992-506c1a6488c5 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 02 January 2024 19:31:08 +0000 (0:00:00.023) 0:00:23.686 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 02 January 2024 19:31:08 +0000 (0:00:00.022) 0:00:23.708 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/run_test.yml:36 Tuesday 02 January 2024 19:31:08 +0000 (0:00:00.186) 0:00:23.895 ******* included: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 02 January 2024 19:31:08 +0000 (0:00:00.044) 0:00:23.939 ******* included: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 02 January 2024 19:31:08 +0000 (0:00:00.037) 0:00:23.977 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1704223863.8977191, "block_size": 4096, "blocks": 0, "ctime": 1704223863.8977191, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 29927, "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": 1704223863.8977191, "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_typeskchak9h/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 02 January 2024 19:31:08 +0000 (0:00:00.192) 0:00:24.169 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 02 January 2024 19:31:08 +0000 (0:00:00.024) 0:00:24.194 ******* included: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 02 January 2024 19:31:08 +0000 (0:00:00.039) 0:00:24.233 ******* 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_typeskchak9h/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 02 January 2024 19:31:08 +0000 (0:00:00.024) 0:00:24.258 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 02 January 2024 19:31:08 +0000 (0:00:00.190) 0:00:24.449 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 02 January 2024 19:31:08 +0000 (0:00:00.022) 0:00:24.471 ******* ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021525", "end": "2024-01-02 19:31:08.998646", "rc": 0, "start": "2024-01-02 19:31:08.977121" } 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_typeskchak9h/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 02 January 2024 19:31:09 +0000 (0:00:00.219) 0:00:24.691 ******* 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_typeskchak9h/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 02 January 2024 19:31:09 +0000 (0:00:00.024) 0:00:24.716 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 02 January 2024 19:31:09 +0000 (0:00:00.023) 0:00:24.739 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 02 January 2024 19:31:09 +0000 (0:00:00.023) 0:00:24.762 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 02 January 2024 19:31:09 +0000 (0:00:00.024) 0:00:24.787 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 02 January 2024 19:31:09 +0000 (0:00:00.022) 0:00:24.809 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 02 January 2024 19:31:09 +0000 (0:00:00.025) 0:00:24.834 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 02 January 2024 19:31:09 +0000 (0:00:00.025) 0:00:24.860 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/run_test.yml:42 Tuesday 02 January 2024 19:31:09 +0000 (0:00:00.023) 0:00:24.883 ******* TASK [Success in test 'I can activate an existing profile'] ******************** task path: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/run_test.yml:47 Tuesday 02 January 2024 19:31:09 +0000 (0:00:00.053) 0:00:24.937 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/run_test.yml:66 Tuesday 02 January 2024 19:31:09 +0000 (0:00:00.023) 0:00:24.960 ******* included: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 02 January 2024 19:31:09 +0000 (0:00:00.044) 0:00:25.005 ******* 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.064442", "end": "2024-01-02 19:31:09.567421", "rc": 1, "start": "2024-01-02 19:31:09.502979" } STDOUT: Connection 'statebr' (fda00cf7-e9c6-4afa-8992-506c1a6488c5) 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_typeskchak9h/tests/playbooks/tests_states.yml:83 Tuesday 02 January 2024 19:31:09 +0000 (0:00:00.255) 0:00:25.261 ******* included: /WORKDIR/git-route_typeskchak9h/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_typeskchak9h/tests/playbooks/tasks/run_test.yml:5 Tuesday 02 January 2024 19:31:09 +0000 (0:00:00.039) 0:00:25.300 ******* ok: [sut] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/run_test.yml:9 Tuesday 02 January 2024 19:31:09 +0000 (0:00:00.024) 0:00:25.325 ******* 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_typeskchak9h/tests/playbooks/tasks/run_test.yml:21 Tuesday 02 January 2024 19:31:09 +0000 (0:00:00.044) 0:00:25.369 ******* included: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 02 January 2024 19:31:09 +0000 (0:00:00.041) 0:00:25.411 ******* included: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 02 January 2024 19:31:09 +0000 (0:00:00.046) 0:00:25.457 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003247", "end": "2024-01-02 19:31:09.959479", "rc": 0, "start": "2024-01-02 19:31:09.956232" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 02 January 2024 19:31:09 +0000 (0:00:00.197) 0:00:25.655 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 02 January 2024 19:31:10 +0000 (0:00:00.038) 0:00:25.694 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/run_test.yml:24 Tuesday 02 January 2024 19:31:10 +0000 (0:00:00.026) 0:00:25.720 ******* included: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 02 January 2024 19:31:10 +0000 (0:00:00.092) 0:00:25.813 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 02 January 2024 19:31:10 +0000 (0:00:00.067) 0:00:25.880 ******* included: /WORKDIR/git-route_typeskchak9h/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_typeskchak9h/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 02 January 2024 19:31:10 +0000 (0:00:00.074) 0:00:25.954 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-route_typeskchak9h/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 02 January 2024 19:31:10 +0000 (0:00:00.031) 0:00:25.986 ******* 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_typeskchak9h/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 02 January 2024 19:31:10 +0000 (0:00:00.029) 0:00:26.016 ******* 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_typeskchak9h/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 02 January 2024 19:31:10 +0000 (0:00:00.045) 0:00:26.061 ******* 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_typeskchak9h/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 02 January 2024 19:31:11 +0000 (0:00:01.430) 0:00:27.492 ******* 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_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 02 January 2024 19:31:12 +0000 (0:00:00.951) 0:00:28.443 ******* 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_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 02 January 2024 19:31:12 +0000 (0:00:00.039) 0:00:28.483 ******* 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_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 02 January 2024 19:31:12 +0000 (0:00:00.035) 0:00:28.519 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 02 January 2024 19:31:12 +0000 (0:00:00.022) 0:00:28.541 ******* 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_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 02 January 2024 19:31:12 +0000 (0:00:00.059) 0:00:28.601 ******* 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_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 02 January 2024 19:31:12 +0000 (0:00:00.026) 0:00:28.627 ******* 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_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 02 January 2024 19:31:12 +0000 (0:00:00.026) 0:00:28.654 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 02 January 2024 19:31:13 +0000 (0:00:00.033) 0:00:28.687 ******* 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_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 02 January 2024 19:31:13 +0000 (0:00:00.350) 0:00:29.038 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 02 January 2024 19:31:13 +0000 (0:00:00.026) 0:00:29.065 ******* 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_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 02 January 2024 19:31:13 +0000 (0:00:00.022) 0:00:29.087 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 02 January 2024 19:31:13 +0000 (0:00:00.026) 0:00:29.114 ******* 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, 7313b1c9-5722-4fe8-904a-8bc903368c75 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 02 January 2024 19:31:13 +0000 (0:00:00.501) 0:00:29.615 ******* 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_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 02 January 2024 19:31:13 +0000 (0:00:00.027) 0:00:29.643 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 7313b1c9-5722-4fe8-904a-8bc903368c75" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 02 January 2024 19:31:14 +0000 (0:00:00.026) 0:00:29.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, 7313b1c9-5722-4fe8-904a-8bc903368c75\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 7313b1c9-5722-4fe8-904a-8bc903368c75" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 02 January 2024 19:31:14 +0000 (0:00:00.027) 0:00:29.696 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 02 January 2024 19:31:14 +0000 (0:00:00.025) 0:00:29.721 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 02 January 2024 19:31:14 +0000 (0:00:00.195) 0:00:29.917 ******* 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, 7313b1c9-5722-4fe8-904a-8bc903368c75\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 7313b1c9-5722-4fe8-904a-8bc903368c75" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 02 January 2024 19:31:14 +0000 (0:00:00.028) 0:00:29.946 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 02 January 2024 19:31:14 +0000 (0:00:00.039) 0:00:29.986 ******* included: /WORKDIR/git-route_typeskchak9h/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_typeskchak9h/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 02 January 2024 19:31:14 +0000 (0:00:00.055) 0:00:30.041 ******* 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_typeskchak9h/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 02 January 2024 19:31:14 +0000 (0:00:00.031) 0:00:30.073 ******* 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_typeskchak9h/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 02 January 2024 19:31:14 +0000 (0:00:00.024) 0:00:30.097 ******* 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_typeskchak9h/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 02 January 2024 19:31:14 +0000 (0:00:00.034) 0:00:30.131 ******* 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_typeskchak9h/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 02 January 2024 19:31:15 +0000 (0:00:01.408) 0:00:31.540 ******* 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_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 02 January 2024 19:31:16 +0000 (0:00:00.912) 0:00:32.453 ******* 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_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 02 January 2024 19:31:16 +0000 (0:00:00.034) 0:00:32.488 ******* 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_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 02 January 2024 19:31:16 +0000 (0:00:00.031) 0:00:32.520 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 02 January 2024 19:31:16 +0000 (0:00:00.029) 0:00:32.549 ******* 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_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 02 January 2024 19:31:16 +0000 (0:00:00.083) 0:00:32.633 ******* 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_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 02 January 2024 19:31:16 +0000 (0:00:00.030) 0:00:32.663 ******* 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_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 02 January 2024 19:31:17 +0000 (0:00:00.039) 0:00:32.703 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 02 January 2024 19:31:17 +0000 (0:00:00.087) 0:00:32.790 ******* 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_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 02 January 2024 19:31:17 +0000 (0:00:00.351) 0:00:33.141 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 02 January 2024 19:31:17 +0000 (0:00:00.030) 0:00:33.172 ******* 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_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 02 January 2024 19:31:17 +0000 (0:00:00.024) 0:00:33.196 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 02 January 2024 19:31:17 +0000 (0:00:00.026) 0:00:33.223 ******* 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, 7313b1c9-5722-4fe8-904a-8bc903368c75 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 02 January 2024 19:31:17 +0000 (0:00:00.373) 0:00:33.596 ******* 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_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 02 January 2024 19:31:17 +0000 (0:00:00.023) 0:00:33.620 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 7313b1c9-5722-4fe8-904a-8bc903368c75 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 02 January 2024 19:31:17 +0000 (0:00:00.025) 0:00:33.645 ******* 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, 7313b1c9-5722-4fe8-904a-8bc903368c75 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 7313b1c9-5722-4fe8-904a-8bc903368c75 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 02 January 2024 19:31:18 +0000 (0:00:00.026) 0:00:33.672 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 02 January 2024 19:31:18 +0000 (0:00:00.025) 0:00:33.697 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/run_test.yml:30 Tuesday 02 January 2024 19:31:18 +0000 (0:00:00.218) 0:00:33.916 ******* included: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/remove_profile.yml:3 Tuesday 02 January 2024 19:31:18 +0000 (0:00:00.077) 0:00:33.994 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 02 January 2024 19:31:18 +0000 (0:00:00.047) 0:00:34.041 ******* included: /WORKDIR/git-route_typeskchak9h/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_typeskchak9h/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 02 January 2024 19:31:18 +0000 (0:00:00.106) 0:00:34.148 ******* 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_typeskchak9h/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 02 January 2024 19:31:18 +0000 (0:00:00.033) 0:00:34.182 ******* 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_typeskchak9h/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 02 January 2024 19:31:18 +0000 (0:00:00.047) 0:00:34.229 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_typeskchak9h/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 02 January 2024 19:31:18 +0000 (0:00:00.044) 0:00:34.274 ******* 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_typeskchak9h/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 02 January 2024 19:31:20 +0000 (0:00:01.421) 0:00:35.695 ******* 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_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 02 January 2024 19:31:20 +0000 (0:00:00.905) 0:00:36.600 ******* 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_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 02 January 2024 19:31:20 +0000 (0:00:00.049) 0:00:36.650 ******* 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_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 02 January 2024 19:31:21 +0000 (0:00:00.023) 0:00:36.674 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 02 January 2024 19:31:21 +0000 (0:00:00.023) 0:00:36.697 ******* 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_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 02 January 2024 19:31:21 +0000 (0:00:00.058) 0:00:36.756 ******* 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_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 02 January 2024 19:31:21 +0000 (0:00:00.031) 0:00:36.787 ******* 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_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 02 January 2024 19:31:21 +0000 (0:00:00.028) 0:00:36.815 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 02 January 2024 19:31:21 +0000 (0:00:00.028) 0:00:36.844 ******* 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_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 02 January 2024 19:31:21 +0000 (0:00:00.356) 0:00:37.201 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 02 January 2024 19:31:21 +0000 (0:00:00.044) 0:00:37.246 ******* 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_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 02 January 2024 19:31:21 +0000 (0:00:00.026) 0:00:37.273 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 02 January 2024 19:31:21 +0000 (0:00:00.030) 0:00:37.304 ******* 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_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 02 January 2024 19:31:22 +0000 (0:00:00.378) 0:00:37.682 ******* 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_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 02 January 2024 19:31:22 +0000 (0:00:00.036) 0:00:37.719 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 02 January 2024 19:31:22 +0000 (0:00:00.048) 0:00:37.768 ******* 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_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 02 January 2024 19:31:22 +0000 (0:00:00.029) 0:00:37.797 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 02 January 2024 19:31:22 +0000 (0:00:00.032) 0:00:37.830 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/run_test.yml:36 Tuesday 02 January 2024 19:31:22 +0000 (0:00:00.196) 0:00:38.026 ******* included: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 02 January 2024 19:31:22 +0000 (0:00:00.046) 0:00:38.073 ******* included: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 02 January 2024 19:31:22 +0000 (0:00:00.047) 0:00:38.120 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1704223873.8333151, "block_size": 4096, "blocks": 0, "ctime": 1704223873.8333151, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 30058, "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": 1704223873.8333151, "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_typeskchak9h/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 02 January 2024 19:31:22 +0000 (0:00:00.206) 0:00:38.326 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/assert_profile_absent.yml:3 Tuesday 02 January 2024 19:31:22 +0000 (0:00:00.033) 0:00:38.360 ******* included: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 02 January 2024 19:31:22 +0000 (0:00:00.046) 0:00:38.406 ******* 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_typeskchak9h/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 02 January 2024 19:31:22 +0000 (0:00:00.023) 0:00:38.430 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 02 January 2024 19:31:22 +0000 (0:00:00.191) 0:00:38.622 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 02 January 2024 19:31:22 +0000 (0:00:00.035) 0:00:38.657 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021409", "end": "2024-01-02 19:31:23.226953", "rc": 1, "start": "2024-01-02 19:31:23.205544" } 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_typeskchak9h/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 02 January 2024 19:31:23 +0000 (0:00:00.272) 0:00:38.929 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 02 January 2024 19:31:23 +0000 (0:00:00.050) 0:00:38.980 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 02 January 2024 19:31:23 +0000 (0:00:00.038) 0:00:39.019 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 02 January 2024 19:31:23 +0000 (0:00:00.076) 0:00:39.095 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 02 January 2024 19:31:23 +0000 (0:00:00.025) 0:00:39.121 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/assert_profile_absent.yml:5 Tuesday 02 January 2024 19:31:23 +0000 (0:00:00.024) 0:00:39.146 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/run_test.yml:42 Tuesday 02 January 2024 19:31:23 +0000 (0:00:00.027) 0:00:39.173 ******* TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/run_test.yml:47 Tuesday 02 January 2024 19:31:23 +0000 (0:00:00.021) 0:00:39.195 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/run_test.yml:66 Tuesday 02 January 2024 19:31:23 +0000 (0:00:00.022) 0:00:39.217 ******* included: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 02 January 2024 19:31:23 +0000 (0:00:00.044) 0:00:39.261 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.065378", "end": "2024-01-02 19:31:23.833879", "rc": 1, "start": "2024-01-02 19:31:23.768501" } STDOUT: Connection 'statebr' (7313b1c9-5722-4fe8-904a-8bc903368c75) 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_typeskchak9h/tests/playbooks/tests_states.yml:103 Tuesday 02 January 2024 19:31:23 +0000 (0:00:00.296) 0:00:39.558 ******* included: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can take a profile down that is absent] ************************** task path: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/run_test.yml:5 Tuesday 02 January 2024 19:31:23 +0000 (0:00:00.053) 0:00:39.611 ******* ok: [sut] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/run_test.yml:9 Tuesday 02 January 2024 19:31:23 +0000 (0:00:00.035) 0:00:39.646 ******* 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_typeskchak9h/tests/playbooks/tasks/run_test.yml:21 Tuesday 02 January 2024 19:31:24 +0000 (0:00:00.052) 0:00:39.699 ******* included: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 02 January 2024 19:31:24 +0000 (0:00:00.045) 0:00:39.744 ******* included: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 02 January 2024 19:31:24 +0000 (0:00:00.094) 0:00:39.839 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003030", "end": "2024-01-02 19:31:24.374325", "rc": 0, "start": "2024-01-02 19:31:24.371295" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 02 January 2024 19:31:24 +0000 (0:00:00.227) 0:00:40.067 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 02 January 2024 19:31:24 +0000 (0:00:00.024) 0:00:40.091 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/run_test.yml:24 Tuesday 02 January 2024 19:31:24 +0000 (0:00:00.031) 0:00:40.123 ******* included: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 02 January 2024 19:31:24 +0000 (0:00:00.060) 0:00:40.183 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 02 January 2024 19:31:24 +0000 (0:00:00.054) 0:00:40.237 ******* included: /WORKDIR/git-route_typeskchak9h/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_typeskchak9h/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 02 January 2024 19:31:24 +0000 (0:00:00.043) 0:00:40.281 ******* 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_typeskchak9h/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 02 January 2024 19:31:24 +0000 (0:00:00.036) 0:00:40.317 ******* 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_typeskchak9h/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 02 January 2024 19:31:24 +0000 (0:00:00.022) 0:00:40.340 ******* 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_typeskchak9h/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 02 January 2024 19:31:24 +0000 (0:00:00.022) 0:00:40.363 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-route_typeskchak9h/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 02 January 2024 19:31:26 +0000 (0:00:01.384) 0:00:41.747 ******* 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_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 02 January 2024 19:31:26 +0000 (0:00:00.901) 0:00:42.649 ******* 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_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 02 January 2024 19:31:27 +0000 (0:00:00.022) 0:00:42.671 ******* 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_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 02 January 2024 19:31:27 +0000 (0:00:00.022) 0:00:42.694 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 02 January 2024 19:31:27 +0000 (0:00:00.023) 0:00:42.718 ******* 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_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 02 January 2024 19:31:27 +0000 (0:00:00.045) 0:00:42.763 ******* 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_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 02 January 2024 19:31:27 +0000 (0:00:00.024) 0:00:42.787 ******* 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_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 02 January 2024 19:31:27 +0000 (0:00:00.023) 0:00:42.811 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 02 January 2024 19:31:27 +0000 (0:00:00.027) 0:00:42.838 ******* 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_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 02 January 2024 19:31:27 +0000 (0:00:00.385) 0:00:43.224 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 02 January 2024 19:31:27 +0000 (0:00:00.027) 0:00:43.251 ******* 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_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 02 January 2024 19:31:27 +0000 (0:00:00.024) 0:00:43.276 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 02 January 2024 19:31:27 +0000 (0:00:00.023) 0:00:43.299 ******* 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, b632e3fa-1d27-4c48-a448-1c369702ba9b TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 02 January 2024 19:31:28 +0000 (0:00:00.392) 0:00:43.692 ******* 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_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 02 January 2024 19:31:28 +0000 (0:00:00.022) 0:00:43.715 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, b632e3fa-1d27-4c48-a448-1c369702ba9b" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 02 January 2024 19:31:28 +0000 (0:00:00.024) 0:00:43.740 ******* 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, b632e3fa-1d27-4c48-a448-1c369702ba9b\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, b632e3fa-1d27-4c48-a448-1c369702ba9b" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 02 January 2024 19:31:28 +0000 (0:00:00.025) 0:00:43.765 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 02 January 2024 19:31:28 +0000 (0:00:00.022) 0:00:43.788 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 02 January 2024 19:31:28 +0000 (0:00:00.202) 0:00:43.990 ******* 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, b632e3fa-1d27-4c48-a448-1c369702ba9b\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, b632e3fa-1d27-4c48-a448-1c369702ba9b" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 02 January 2024 19:31:28 +0000 (0:00:00.052) 0:00:44.043 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 02 January 2024 19:31:28 +0000 (0:00:00.039) 0:00:44.083 ******* included: /WORKDIR/git-route_typeskchak9h/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_typeskchak9h/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 02 January 2024 19:31:28 +0000 (0:00:00.046) 0:00:44.129 ******* 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_typeskchak9h/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 02 January 2024 19:31:28 +0000 (0:00:00.028) 0:00:44.157 ******* 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_typeskchak9h/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 02 January 2024 19:31:28 +0000 (0:00:00.056) 0:00:44.213 ******* 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_typeskchak9h/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 02 January 2024 19:31:28 +0000 (0:00:00.022) 0:00:44.236 ******* 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_typeskchak9h/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 02 January 2024 19:31:29 +0000 (0:00:01.386) 0:00:45.623 ******* 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_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 02 January 2024 19:31:30 +0000 (0:00:00.911) 0:00:46.535 ******* 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_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 02 January 2024 19:31:30 +0000 (0:00:00.023) 0:00:46.559 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-route_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 02 January 2024 19:31:30 +0000 (0:00:00.024) 0:00:46.583 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 02 January 2024 19:31:30 +0000 (0:00:00.033) 0:00:46.616 ******* 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_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 02 January 2024 19:31:31 +0000 (0:00:00.049) 0:00:46.665 ******* 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_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 02 January 2024 19:31:31 +0000 (0:00:00.047) 0:00:46.712 ******* 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_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 02 January 2024 19:31:31 +0000 (0:00:00.023) 0:00:46.736 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 02 January 2024 19:31:31 +0000 (0:00:00.025) 0:00:46.762 ******* 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_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 02 January 2024 19:31:31 +0000 (0:00:00.349) 0:00:47.111 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 02 January 2024 19:31:31 +0000 (0:00:00.025) 0:00:47.137 ******* 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_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 02 January 2024 19:31:31 +0000 (0:00:00.023) 0:00:47.160 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 02 January 2024 19:31:31 +0000 (0:00:00.022) 0:00:47.182 ******* 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, b632e3fa-1d27-4c48-a448-1c369702ba9b skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 02 January 2024 19:31:31 +0000 (0:00:00.347) 0:00:47.530 ******* 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_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 02 January 2024 19:31:31 +0000 (0:00:00.045) 0:00:47.575 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, b632e3fa-1d27-4c48-a448-1c369702ba9b skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 02 January 2024 19:31:31 +0000 (0:00:00.027) 0:00:47.603 ******* 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, b632e3fa-1d27-4c48-a448-1c369702ba9b skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, b632e3fa-1d27-4c48-a448-1c369702ba9b skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 02 January 2024 19:31:31 +0000 (0:00:00.037) 0:00:47.640 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 02 January 2024 19:31:32 +0000 (0:00:00.035) 0:00:47.676 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/remove_profile.yml:3 Tuesday 02 January 2024 19:31:32 +0000 (0:00:00.187) 0:00:47.863 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 02 January 2024 19:31:32 +0000 (0:00:00.067) 0:00:47.931 ******* included: /WORKDIR/git-route_typeskchak9h/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_typeskchak9h/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 02 January 2024 19:31:32 +0000 (0:00:00.043) 0:00:47.974 ******* 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_typeskchak9h/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 02 January 2024 19:31:32 +0000 (0:00:00.028) 0:00:48.003 ******* 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_typeskchak9h/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 02 January 2024 19:31:32 +0000 (0:00:00.022) 0:00:48.025 ******* 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_typeskchak9h/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 02 January 2024 19:31:32 +0000 (0:00:00.023) 0:00:48.049 ******* 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_typeskchak9h/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 02 January 2024 19:31:33 +0000 (0:00:01.382) 0:00:49.431 ******* 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_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 02 January 2024 19:31:34 +0000 (0:00:00.927) 0:00:50.359 ******* 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_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 02 January 2024 19:31:34 +0000 (0:00:00.024) 0:00:50.383 ******* 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_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 02 January 2024 19:31:34 +0000 (0:00:00.022) 0:00:50.406 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 02 January 2024 19:31:34 +0000 (0:00:00.022) 0:00:50.429 ******* 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_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 02 January 2024 19:31:34 +0000 (0:00:00.044) 0:00:50.473 ******* 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_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 02 January 2024 19:31:34 +0000 (0:00:00.023) 0:00:50.496 ******* 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_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 02 January 2024 19:31:34 +0000 (0:00:00.022) 0:00:50.519 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 02 January 2024 19:31:34 +0000 (0:00:00.027) 0:00:50.546 ******* 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_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 02 January 2024 19:31:35 +0000 (0:00:00.352) 0:00:50.898 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 02 January 2024 19:31:35 +0000 (0:00:00.027) 0:00:50.925 ******* 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_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 02 January 2024 19:31:35 +0000 (0:00:00.023) 0:00:50.949 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 02 January 2024 19:31:35 +0000 (0:00:00.022) 0:00:50.971 ******* 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_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 02 January 2024 19:31:35 +0000 (0:00:00.370) 0:00:51.341 ******* 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_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 02 January 2024 19:31:35 +0000 (0:00:00.022) 0:00:51.364 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 02 January 2024 19:31:35 +0000 (0:00:00.050) 0:00:51.414 ******* 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_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 02 January 2024 19:31:35 +0000 (0:00:00.026) 0:00:51.441 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 02 January 2024 19:31:35 +0000 (0:00:00.036) 0:00:51.478 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/run_test.yml:30 Tuesday 02 January 2024 19:31:36 +0000 (0:00:00.205) 0:00:51.684 ******* included: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/remove+down_profile.yml:3 Tuesday 02 January 2024 19:31:36 +0000 (0:00:00.042) 0:00:51.726 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 02 January 2024 19:31:36 +0000 (0:00:00.043) 0:00:51.769 ******* included: /WORKDIR/git-route_typeskchak9h/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_typeskchak9h/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 02 January 2024 19:31:36 +0000 (0:00:00.041) 0:00:51.811 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-route_typeskchak9h/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 02 January 2024 19:31:36 +0000 (0:00:00.029) 0:00:51.840 ******* 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_typeskchak9h/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 02 January 2024 19:31:36 +0000 (0:00:00.023) 0:00:51.864 ******* 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_typeskchak9h/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 02 January 2024 19:31:36 +0000 (0:00:00.023) 0:00:51.887 ******* 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_typeskchak9h/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 02 January 2024 19:31:37 +0000 (0:00:01.380) 0:00:53.267 ******* 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_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 02 January 2024 19:31:38 +0000 (0:00:00.910) 0:00:54.178 ******* 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_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 02 January 2024 19:31:38 +0000 (0:00:00.023) 0:00:54.202 ******* 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_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 02 January 2024 19:31:38 +0000 (0:00:00.023) 0:00:54.225 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 02 January 2024 19:31:38 +0000 (0:00:00.022) 0:00:54.247 ******* 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_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 02 January 2024 19:31:38 +0000 (0:00:00.044) 0:00:54.292 ******* 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_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 02 January 2024 19:31:38 +0000 (0:00:00.022) 0:00:54.315 ******* 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_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 02 January 2024 19:31:38 +0000 (0:00:00.022) 0:00:54.337 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 02 January 2024 19:31:38 +0000 (0:00:00.026) 0:00:54.364 ******* 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_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 02 January 2024 19:31:39 +0000 (0:00:00.362) 0:00:54.727 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 02 January 2024 19:31:39 +0000 (0:00:00.030) 0:00:54.757 ******* 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_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 02 January 2024 19:31:39 +0000 (0:00:00.025) 0:00:54.783 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 02 January 2024 19:31:39 +0000 (0:00:00.022) 0:00:54.805 ******* 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_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 02 January 2024 19:31:39 +0000 (0:00:00.432) 0:00:55.237 ******* 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_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 02 January 2024 19:31:39 +0000 (0:00:00.022) 0:00:55.260 ******* 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_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 02 January 2024 19:31:39 +0000 (0:00:00.025) 0:00:55.285 ******* 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_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 02 January 2024 19:31:39 +0000 (0:00:00.025) 0:00:55.310 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 02 January 2024 19:31:39 +0000 (0:00:00.022) 0:00:55.333 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/run_test.yml:36 Tuesday 02 January 2024 19:31:39 +0000 (0:00:00.187) 0:00:55.521 ******* included: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/assert_profile_absent.yml:3 Tuesday 02 January 2024 19:31:39 +0000 (0:00:00.041) 0:00:55.562 ******* included: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 02 January 2024 19:31:39 +0000 (0:00:00.039) 0:00:55.602 ******* 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_typeskchak9h/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 02 January 2024 19:31:39 +0000 (0:00:00.022) 0:00:55.625 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 02 January 2024 19:31:40 +0000 (0:00:00.189) 0:00:55.814 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 02 January 2024 19:31:40 +0000 (0:00:00.031) 0:00:55.845 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020048", "end": "2024-01-02 19:31:40.376958", "rc": 1, "start": "2024-01-02 19:31:40.356910" } 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_typeskchak9h/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 02 January 2024 19:31:40 +0000 (0:00:00.224) 0:00:56.070 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 02 January 2024 19:31:40 +0000 (0:00:00.024) 0:00:56.094 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 02 January 2024 19:31:40 +0000 (0:00:00.025) 0:00:56.120 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 02 January 2024 19:31:40 +0000 (0:00:00.025) 0:00:56.146 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 02 January 2024 19:31:40 +0000 (0:00:00.024) 0:00:56.170 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/assert_profile_absent.yml:5 Tuesday 02 January 2024 19:31:40 +0000 (0:00:00.026) 0:00:56.196 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/run_test.yml:42 Tuesday 02 January 2024 19:31:40 +0000 (0:00:00.025) 0:00:56.222 ******* included: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 02 January 2024 19:31:40 +0000 (0:00:00.044) 0:00:56.267 ******* included: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 02 January 2024 19:31:40 +0000 (0:00:00.040) 0:00:56.307 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 02 January 2024 19:31:40 +0000 (0:00:00.190) 0:00:56.497 ******* 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_typeskchak9h/tests/playbooks/tasks/run_test.yml:47 Tuesday 02 January 2024 19:31:40 +0000 (0:00:00.027) 0:00:56.525 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/run_test.yml:66 Tuesday 02 January 2024 19:31:40 +0000 (0:00:00.057) 0:00:56.582 ******* included: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 02 January 2024 19:31:40 +0000 (0:00:00.043) 0:00:56.626 ******* 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.039873", "end": "2024-01-02 19:31:41.162657", "rc": 1, "start": "2024-01-02 19:31:41.122784" } 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_typeskchak9h/tests/playbooks/tests_states.yml:126 Tuesday 02 January 2024 19:31:41 +0000 (0:00:00.235) 0:00:56.862 ******* included: /WORKDIR/git-route_typeskchak9h/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_typeskchak9h/tests/playbooks/tasks/run_test.yml:5 Tuesday 02 January 2024 19:31:41 +0000 (0:00:00.075) 0:00:56.937 ******* 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_typeskchak9h/tests/playbooks/tasks/run_test.yml:9 Tuesday 02 January 2024 19:31:41 +0000 (0:00:00.024) 0:00:56.961 ******* 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_typeskchak9h/tests/playbooks/tasks/run_test.yml:21 Tuesday 02 January 2024 19:31:41 +0000 (0:00:00.048) 0:00:57.010 ******* included: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 02 January 2024 19:31:41 +0000 (0:00:00.049) 0:00:57.060 ******* included: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 02 January 2024 19:31:41 +0000 (0:00:00.050) 0:00:57.111 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.004368", "end": "2024-01-02 19:31:42.630558", "rc": 0, "start": "2024-01-02 19:31:41.626190" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 02 January 2024 19:31:42 +0000 (0:00:01.262) 0:00:58.373 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 02 January 2024 19:31:42 +0000 (0:00:00.025) 0:00:58.399 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/run_test.yml:24 Tuesday 02 January 2024 19:31:42 +0000 (0:00:00.029) 0:00:58.428 ******* included: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 02 January 2024 19:31:42 +0000 (0:00:00.050) 0:00:58.479 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 02 January 2024 19:31:42 +0000 (0:00:00.071) 0:00:58.550 ******* included: /WORKDIR/git-route_typeskchak9h/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_typeskchak9h/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 02 January 2024 19:31:42 +0000 (0:00:00.062) 0:00:58.612 ******* 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_typeskchak9h/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 02 January 2024 19:31:42 +0000 (0:00:00.029) 0:00:58.642 ******* 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_typeskchak9h/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 02 January 2024 19:31:43 +0000 (0:00:00.024) 0:00:58.667 ******* 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_typeskchak9h/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 02 January 2024 19:31:43 +0000 (0:00:00.045) 0:00:58.712 ******* 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_typeskchak9h/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 02 January 2024 19:31:44 +0000 (0:00:01.471) 0:01:00.184 ******* 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_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 02 January 2024 19:31:45 +0000 (0:00:00.905) 0:01:01.090 ******* 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_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 02 January 2024 19:31:45 +0000 (0:00:00.024) 0:01:01.114 ******* 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_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 02 January 2024 19:31:45 +0000 (0:00:00.024) 0:01:01.138 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 02 January 2024 19:31:45 +0000 (0:00:00.023) 0:01:01.161 ******* 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_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 02 January 2024 19:31:45 +0000 (0:00:00.046) 0:01:01.207 ******* 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_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 02 January 2024 19:31:45 +0000 (0:00:00.023) 0:01:01.231 ******* 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_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 02 January 2024 19:31:45 +0000 (0:00:00.022) 0:01:01.254 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 02 January 2024 19:31:45 +0000 (0:00:00.026) 0:01:01.280 ******* 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_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 02 January 2024 19:31:45 +0000 (0:00:00.347) 0:01:01.628 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 02 January 2024 19:31:46 +0000 (0:00:00.056) 0:01:01.684 ******* 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_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 02 January 2024 19:31:46 +0000 (0:00:00.022) 0:01:01.707 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 02 January 2024 19:31:46 +0000 (0:00:00.024) 0:01:01.731 ******* 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, 52be741b-1d45-482d-945a-ddf7cdd8f305 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 02 January 2024 19:31:46 +0000 (0:00:00.391) 0:01:02.122 ******* 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_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 02 January 2024 19:31:46 +0000 (0:00:00.023) 0:01:02.146 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 52be741b-1d45-482d-945a-ddf7cdd8f305" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 02 January 2024 19:31:46 +0000 (0:00:00.026) 0:01:02.173 ******* 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, 52be741b-1d45-482d-945a-ddf7cdd8f305\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 52be741b-1d45-482d-945a-ddf7cdd8f305" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 02 January 2024 19:31:46 +0000 (0:00:00.025) 0:01:02.199 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 02 January 2024 19:31:46 +0000 (0:00:00.023) 0:01:02.223 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 02 January 2024 19:31:46 +0000 (0:00:00.185) 0:01:02.408 ******* ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 52be741b-1d45-482d-945a-ddf7cdd8f305\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 52be741b-1d45-482d-945a-ddf7cdd8f305" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 02 January 2024 19:31:46 +0000 (0:00:00.024) 0:01:02.432 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 02 January 2024 19:31:46 +0000 (0:00:00.036) 0:01:02.469 ******* included: /WORKDIR/git-route_typeskchak9h/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_typeskchak9h/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 02 January 2024 19:31:46 +0000 (0:00:00.041) 0:01:02.510 ******* 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_typeskchak9h/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 02 January 2024 19:31:46 +0000 (0:00:00.027) 0:01:02.538 ******* 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_typeskchak9h/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 02 January 2024 19:31:46 +0000 (0:00:00.022) 0:01:02.560 ******* 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_typeskchak9h/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 02 January 2024 19:31:46 +0000 (0:00:00.053) 0:01:02.613 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-route_typeskchak9h/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 02 January 2024 19:31:48 +0000 (0:00:01.382) 0:01:03.996 ******* 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_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 02 January 2024 19:31:49 +0000 (0:00:00.899) 0:01:04.896 ******* 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_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 02 January 2024 19:31:49 +0000 (0:00:00.025) 0:01:04.921 ******* 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_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 02 January 2024 19:31:49 +0000 (0:00:00.022) 0:01:04.943 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 02 January 2024 19:31:49 +0000 (0:00:00.048) 0:01:04.992 ******* 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_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 02 January 2024 19:31:49 +0000 (0:00:00.043) 0:01:05.036 ******* 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_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 02 January 2024 19:31:49 +0000 (0:00:00.023) 0:01:05.059 ******* 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_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 02 January 2024 19:31:49 +0000 (0:00:00.023) 0:01:05.082 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 02 January 2024 19:31:49 +0000 (0:00:00.025) 0:01:05.108 ******* 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_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 02 January 2024 19:31:49 +0000 (0:00:00.347) 0:01:05.456 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 02 January 2024 19:31:49 +0000 (0:00:00.026) 0:01:05.482 ******* 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_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 02 January 2024 19:31:49 +0000 (0:00:00.023) 0:01:05.506 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 02 January 2024 19:31:49 +0000 (0:00:00.021) 0:01:05.527 ******* 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, 52be741b-1d45-482d-945a-ddf7cdd8f305 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 02 January 2024 19:31:50 +0000 (0:00:00.339) 0:01:05.867 ******* 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_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 02 January 2024 19:31:50 +0000 (0:00:00.023) 0:01:05.891 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 52be741b-1d45-482d-945a-ddf7cdd8f305 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 02 January 2024 19:31:50 +0000 (0:00:00.023) 0:01:05.914 ******* 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, 52be741b-1d45-482d-945a-ddf7cdd8f305 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 52be741b-1d45-482d-945a-ddf7cdd8f305 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 02 January 2024 19:31:50 +0000 (0:00:00.024) 0:01:05.939 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 02 January 2024 19:31:50 +0000 (0:00:00.022) 0:01:05.961 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/remove+down_profile.yml:3 Tuesday 02 January 2024 19:31:50 +0000 (0:00:00.184) 0:01:06.146 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 02 January 2024 19:31:50 +0000 (0:00:00.066) 0:01:06.213 ******* included: /WORKDIR/git-route_typeskchak9h/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_typeskchak9h/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 02 January 2024 19:31:50 +0000 (0:00:00.042) 0:01:06.255 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-route_typeskchak9h/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 02 January 2024 19:31:50 +0000 (0:00:00.028) 0:01:06.283 ******* 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_typeskchak9h/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 02 January 2024 19:31:50 +0000 (0:00:00.022) 0:01:06.306 ******* 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_typeskchak9h/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 02 January 2024 19:31:50 +0000 (0:00:00.022) 0:01:06.329 ******* 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_typeskchak9h/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 02 January 2024 19:31:52 +0000 (0:00:01.382) 0:01:07.711 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-route_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 02 January 2024 19:31:52 +0000 (0:00:00.899) 0:01:08.611 ******* 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_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 02 January 2024 19:31:52 +0000 (0:00:00.023) 0:01:08.634 ******* 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_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 02 January 2024 19:31:52 +0000 (0:00:00.023) 0:01:08.658 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 02 January 2024 19:31:53 +0000 (0:00:00.023) 0:01:08.682 ******* 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_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 02 January 2024 19:31:53 +0000 (0:00:00.045) 0:01:08.727 ******* 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_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 02 January 2024 19:31:53 +0000 (0:00:00.023) 0:01:08.751 ******* 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_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 02 January 2024 19:31:53 +0000 (0:00:00.022) 0:01:08.774 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 02 January 2024 19:31:53 +0000 (0:00:00.029) 0:01:08.803 ******* 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_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 02 January 2024 19:31:53 +0000 (0:00:00.349) 0:01:09.153 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 02 January 2024 19:31:53 +0000 (0:00:00.027) 0:01:09.180 ******* 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_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 02 January 2024 19:31:53 +0000 (0:00:00.023) 0:01:09.204 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 02 January 2024 19:31:53 +0000 (0:00:00.022) 0:01:09.227 ******* 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_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 02 January 2024 19:31:54 +0000 (0:00:00.472) 0:01:09.700 ******* 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_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 02 January 2024 19:31:54 +0000 (0:00:00.023) 0:01:09.723 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 02 January 2024 19:31:54 +0000 (0:00:00.024) 0:01:09.748 ******* 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_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 02 January 2024 19:31:54 +0000 (0:00:00.025) 0:01:09.773 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 02 January 2024 19:31:54 +0000 (0:00:00.022) 0:01:09.796 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/run_test.yml:30 Tuesday 02 January 2024 19:31:54 +0000 (0:00:00.185) 0:01:09.982 ******* included: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/remove+down_profile.yml:3 Tuesday 02 January 2024 19:31:54 +0000 (0:00:00.043) 0:01:10.025 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 02 January 2024 19:31:54 +0000 (0:00:00.038) 0:01:10.063 ******* included: /WORKDIR/git-route_typeskchak9h/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_typeskchak9h/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 02 January 2024 19:31:54 +0000 (0:00:00.043) 0:01:10.107 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-route_typeskchak9h/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 02 January 2024 19:31:54 +0000 (0:00:00.028) 0:01:10.136 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-route_typeskchak9h/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 02 January 2024 19:31:54 +0000 (0:00:00.023) 0:01:10.159 ******* 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_typeskchak9h/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 02 January 2024 19:31:54 +0000 (0:00:00.022) 0:01:10.181 ******* 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_typeskchak9h/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 02 January 2024 19:31:55 +0000 (0:00:01.389) 0:01:11.571 ******* 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_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 02 January 2024 19:31:56 +0000 (0:00:00.900) 0:01:12.472 ******* 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_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 02 January 2024 19:31:56 +0000 (0:00:00.024) 0:01:12.496 ******* 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_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 02 January 2024 19:31:56 +0000 (0:00:00.022) 0:01:12.518 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 02 January 2024 19:31:56 +0000 (0:00:00.023) 0:01:12.542 ******* 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_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 02 January 2024 19:31:56 +0000 (0:00:00.043) 0:01:12.586 ******* 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_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 02 January 2024 19:31:56 +0000 (0:00:00.023) 0:01:12.609 ******* 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_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 02 January 2024 19:31:56 +0000 (0:00:00.048) 0:01:12.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_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 02 January 2024 19:31:57 +0000 (0:00:00.025) 0:01:12.683 ******* 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_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 02 January 2024 19:31:57 +0000 (0:00:00.349) 0:01:13.032 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 02 January 2024 19:31:57 +0000 (0:00:00.026) 0:01:13.059 ******* 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_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 02 January 2024 19:31:57 +0000 (0:00:00.023) 0:01:13.083 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 02 January 2024 19:31:57 +0000 (0:00:00.023) 0:01:13.106 ******* 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_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 02 January 2024 19:31:57 +0000 (0:00:00.359) 0:01:13.466 ******* 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_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 02 January 2024 19:31:57 +0000 (0:00:00.023) 0:01:13.489 ******* 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_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 02 January 2024 19:31:57 +0000 (0:00:00.023) 0:01:13.513 ******* 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_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 02 January 2024 19:31:57 +0000 (0:00:00.024) 0:01:13.537 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 02 January 2024 19:31:57 +0000 (0:00:00.023) 0:01:13.560 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/run_test.yml:36 Tuesday 02 January 2024 19:31:58 +0000 (0:00:00.189) 0:01:13.750 ******* included: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/assert_profile_absent.yml for sut included: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/get_NetworkManager_NVR.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/assert_profile_absent.yml:3 Tuesday 02 January 2024 19:31:58 +0000 (0:00:00.046) 0:01:13.797 ******* included: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 02 January 2024 19:31:58 +0000 (0:00:00.076) 0:01:13.874 ******* 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_typeskchak9h/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 02 January 2024 19:31:58 +0000 (0:00:00.023) 0:01:13.897 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 02 January 2024 19:31:58 +0000 (0:00:00.190) 0:01:14.087 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 02 January 2024 19:31:58 +0000 (0:00:00.022) 0:01:14.110 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020081", "end": "2024-01-02 19:31:58.626464", "rc": 1, "start": "2024-01-02 19:31:58.606383" } 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_typeskchak9h/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 02 January 2024 19:31:58 +0000 (0:00:00.209) 0:01:14.319 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 02 January 2024 19:31:58 +0000 (0:00:00.026) 0:01:14.346 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 02 January 2024 19:31:58 +0000 (0:00:00.024) 0:01:14.370 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 02 January 2024 19:31:58 +0000 (0:00:00.025) 0:01:14.395 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 02 January 2024 19:31:58 +0000 (0:00:00.024) 0:01:14.420 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/assert_profile_absent.yml:5 Tuesday 02 January 2024 19:31:58 +0000 (0:00:00.023) 0:01:14.444 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/get_NetworkManager_NVR.yml:7 Tuesday 02 January 2024 19:31:58 +0000 (0:00:00.025) 0:01:14.469 ******* ok: [sut] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.553597", "end": "2024-01-02 19:31:59.519267", "rc": 0, "start": "2024-01-02 19:31:58.965670" } STDOUT: NetworkManager-1.45.7-1.el9 TASK [Store NetworkManager version] ******************************************** task path: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/get_NetworkManager_NVR.yml:14 Tuesday 02 January 2024 19:31:59 +0000 (0:00:00.745) 0:01:15.214 ******* ok: [sut] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.45.7-1.el9" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/get_NetworkManager_NVR.yml:18 Tuesday 02 January 2024 19:31:59 +0000 (0:00:00.023) 0:01:15.237 ******* ok: [sut] => { "networkmanager_nvr": "NetworkManager-1.45.7-1.el9" } TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/run_test.yml:42 Tuesday 02 January 2024 19:31:59 +0000 (0:00:00.051) 0:01:15.289 ******* included: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 02 January 2024 19:31:59 +0000 (0:00:00.044) 0:01:15.334 ******* included: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 02 January 2024 19:31:59 +0000 (0:00:00.038) 0:01:15.373 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 02 January 2024 19:31:59 +0000 (0:00:00.190) 0:01:15.563 ******* 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_typeskchak9h/tests/playbooks/tasks/run_test.yml:47 Tuesday 02 January 2024 19:31:59 +0000 (0:00:00.026) 0:01:15.590 ******* 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_typeskchak9h/tests/playbooks/tasks/run_test.yml:66 Tuesday 02 January 2024 19:31:59 +0000 (0:00:00.023) 0:01:15.613 ******* included: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 02 January 2024 19:31:59 +0000 (0:00:00.045) 0:01:15.658 ******* 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.039205", "end": "2024-01-02 19:32:00.195465", "rc": 1, "start": "2024-01-02 19:32:00.156260" } 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 Tuesday 02 January 2024 19:32:00 +0000 (0:00:00.216) 0:01:15.875 ******* =============================================================================== linux-system-roles.network : Configure networking connection profiles --- 2.21s /WORKDIR/git-route_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Enable and start NetworkManager ------------ 1.97s /WORKDIR/git-route_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:85 linux-system-roles.network : Check which services are running ----------- 1.48s /WORKDIR/git-route_typeskchak9h/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_typeskchak9h/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_typeskchak9h/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.42s /WORKDIR/git-route_typeskchak9h/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.41s /WORKDIR/git-route_typeskchak9h/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.41s /WORKDIR/git-route_typeskchak9h/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.41s /WORKDIR/git-route_typeskchak9h/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Configure networking connection profiles --- 1.40s /WORKDIR/git-route_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Check which services are running ----------- 1.40s /WORKDIR/git-route_typeskchak9h/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Enable and start NetworkManager ------------ 1.40s /WORKDIR/git-route_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:85 linux-system-roles.network : Check which services are running ----------- 1.39s /WORKDIR/git-route_typeskchak9h/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.39s /WORKDIR/git-route_typeskchak9h/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.38s /WORKDIR/git-route_typeskchak9h/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.38s /WORKDIR/git-route_typeskchak9h/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.38s /WORKDIR/git-route_typeskchak9h/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.38s /WORKDIR/git-route_typeskchak9h/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.38s /WORKDIR/git-route_typeskchak9h/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Configure networking connection profiles --- 1.27s /WORKDIR/git-route_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:122 ---^---^---^---^---^--- # 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. ---^---^---^---^---^---