# 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_type8oek0enz/tests/tests_states_nm.yml PLAY [Run playbook 'playbooks/tests_states.yml' with nm as provider] *********** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-route_type8oek0enz/tests/tests_states_nm.yml:6 Friday 12 January 2024 20:19:00 +0000 (0:00:00.024) 0:00:00.024 ******** ok: [sut] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-route_type8oek0enz/tests/tests_states_nm.yml:9 Friday 12 January 2024 20:19:01 +0000 (0:00:00.776) 0:00:00.800 ******** included: /WORKDIR/git-route_type8oek0enz/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_type8oek0enz/tests/tasks/el_repo_setup.yml:3 Friday 12 January 2024 20:19:01 +0000 (0:00:00.026) 0:00:00.826 ******** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-route_type8oek0enz/tests/tasks/el_repo_setup.yml:19 Friday 12 January 2024 20:19:01 +0000 (0:00:00.362) 0:00:01.189 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-route_type8oek0enz/tests/tasks/el_repo_setup.yml:24 Friday 12 January 2024 20:19:02 +0000 (0:00:00.349) 0:00:01.538 ******** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-route_type8oek0enz/tests/tasks/el_repo_setup.yml:28 Friday 12 January 2024 20:19:02 +0000 (0:00:00.042) 0:00:01.581 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-route_type8oek0enz/tests/tasks/el_repo_setup.yml:53 Friday 12 January 2024 20:19:02 +0000 (0:00:00.034) 0:00:01.616 ******** included: /WORKDIR/git-route_type8oek0enz/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 8] *********************************************************** task path: /WORKDIR/git-route_type8oek0enz/tests/tasks/enable_epel.yml:8 Friday 12 January 2024 20:19:02 +0000 (0:00:00.033) 0:00:01.649 ******** ok: [sut] => { "attempts": 1, "changed": false, "cmd": [ "rpm", "-iv", "https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm" ], "rc": 0 } STDOUT: skipped, since /etc/yum.repos.d/epel.repo exists TASK [Install yum-utils package] *********************************************** task path: /WORKDIR/git-route_type8oek0enz/tests/tasks/enable_epel.yml:24 Friday 12 January 2024 20:19:02 +0000 (0:00:00.316) 0:00:01.965 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-route_type8oek0enz/tests/tasks/enable_epel.yml:30 Friday 12 January 2024 20:19:02 +0000 (0:00:00.026) 0:00:01.992 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-route_type8oek0enz/tests/tasks/enable_epel.yml:35 Friday 12 January 2024 20:19:02 +0000 (0:00:00.049) 0:00:02.041 ******** ok: [sut] => { "changed": false, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:00.251577", "end": "2024-01-12 20:19:03.134590", "rc": 0, "start": "2024-01-12 20:19:02.883013" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-route_type8oek0enz/tests/tasks/enable_epel.yml:40 Friday 12 January 2024 20:19:03 +0000 (0:00:00.477) 0:00:02.519 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /WORKDIR/git-route_type8oek0enz/tests/tests_states_nm.yml:11 Friday 12 January 2024 20:19:03 +0000 (0:00:00.011) 0:00:02.530 ******** 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_type8oek0enz/tests/playbooks/tests_states.yml:3 Friday 12 January 2024 20:19:03 +0000 (0:00:00.023) 0:00:02.554 ******** ok: [sut] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tests_states.yml:11 Friday 12 January 2024 20:19:03 +0000 (0:00:00.592) 0:00:03.146 ******** ok: [sut] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tests_states.yml:22 Friday 12 January 2024 20:19:03 +0000 (0:00:00.027) 0:00:03.174 ******** included: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile] ******************************************** task path: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/run_test.yml:5 Friday 12 January 2024 20:19:03 +0000 (0:00:00.018) 0:00:03.192 ******** ok: [sut] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/run_test.yml:9 Friday 12 January 2024 20:19:03 +0000 (0:00:00.021) 0:00:03.213 ******** 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_type8oek0enz/tests/playbooks/tasks/run_test.yml:21 Friday 12 January 2024 20:19:03 +0000 (0:00:00.047) 0:00:03.260 ******** included: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/show_interfaces.yml:3 Friday 12 January 2024 20:19:03 +0000 (0:00:00.016) 0:00:03.277 ******** included: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 12 January 2024 20:19:03 +0000 (0:00:00.016) 0:00:03.293 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003736", "end": "2024-01-12 20:19:04.112234", "rc": 0, "start": "2024-01-12 20:19:04.108498" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 12 January 2024 20:19:04 +0000 (0:00:00.220) 0:00:03.514 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/show_interfaces.yml:5 Friday 12 January 2024 20:19:04 +0000 (0:00:00.024) 0:00:03.538 ******** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/run_test.yml:24 Friday 12 January 2024 20:19:04 +0000 (0:00:00.036) 0:00:03.574 ******** included: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/delete_interface.yml:3 Friday 12 January 2024 20:19:04 +0000 (0:00:00.026) 0:00:03.601 ******** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.008399", "end": "2024-01-12 20:19:04.461728", "rc": 1, "start": "2024-01-12 20:19:04.453329" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/assert_device_absent.yml:3 Friday 12 January 2024 20:19:04 +0000 (0:00:00.262) 0:00:03.863 ******** included: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 12 January 2024 20:19:04 +0000 (0:00:00.039) 0:00:03.902 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/assert_device_absent.yml:5 Friday 12 January 2024 20:19:04 +0000 (0:00:00.198) 0:00:04.100 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/run_test.yml:30 Friday 12 January 2024 20:19:04 +0000 (0:00:00.012) 0:00:04.112 ******** included: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/create_bridge_profile.yml:3 Friday 12 January 2024 20:19:04 +0000 (0:00:00.018) 0:00:04.131 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 12 January 2024 20:19:04 +0000 (0:00:00.036) 0:00:04.167 ******** included: /WORKDIR/git-route_type8oek0enz/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_type8oek0enz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 12 January 2024 20:19:04 +0000 (0:00:00.070) 0:00:04.238 ******** 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_type8oek0enz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 12 January 2024 20:19:04 +0000 (0:00:00.012) 0:00:04.251 ******** 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_type8oek0enz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 12 January 2024 20:19:04 +0000 (0:00:00.011) 0:00:04.262 ******** 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_type8oek0enz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 12 January 2024 20:19:04 +0000 (0:00:00.012) 0:00:04.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_type8oek0enz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 12 January 2024 20:19:06 +0000 (0:00:01.676) 0:00:05.952 ******** 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_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 12 January 2024 20:19:08 +0000 (0:00:01.668) 0:00:07.620 ******** 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_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 12 January 2024 20:19:08 +0000 (0:00:00.048) 0:00:07.668 ******** 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_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 12 January 2024 20:19:08 +0000 (0:00:00.029) 0:00:07.698 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 12 January 2024 20:19:08 +0000 (0:00:00.024) 0:00:07.722 ******** 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_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:40 Friday 12 January 2024 20:19:08 +0000 (0:00:00.059) 0:00:07.781 ******** 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_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:55 Friday 12 January 2024 20:19:08 +0000 (0:00:00.043) 0:00:07.824 ******** 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_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:71 Friday 12 January 2024 20:19:08 +0000 (0:00:00.041) 0:00:07.866 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:85 Friday 12 January 2024 20:19:08 +0000 (0:00:00.030) 0:00:07.896 ******** 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_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:96 Friday 12 January 2024 20:19:09 +0000 (0:00:00.523) 0:00:08.420 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:105 Friday 12 January 2024 20:19:09 +0000 (0:00:00.030) 0:00:08.450 ******** 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_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:113 Friday 12 January 2024 20:19:09 +0000 (0:00:00.025) 0:00:08.476 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:122 Friday 12 January 2024 20:19:09 +0000 (0:00:00.026) 0:00:08.502 ******** 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, 2f354136-fc37-45a4-b6d4-1bf869a646d6 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:134 Friday 12 January 2024 20:19:09 +0000 (0:00:00.580) 0:00:09.083 ******** 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_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:140 Friday 12 January 2024 20:19:09 +0000 (0:00:00.050) 0:00:09.134 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 2f354136-fc37-45a4-b6d4-1bf869a646d6" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:144 Friday 12 January 2024 20:19:09 +0000 (0:00:00.034) 0:00:09.168 ******** 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, 2f354136-fc37-45a4-b6d4-1bf869a646d6\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 2f354136-fc37-45a4-b6d4-1bf869a646d6" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:149 Friday 12 January 2024 20:19:09 +0000 (0:00:00.041) 0:00:09.209 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:155 Friday 12 January 2024 20:19:09 +0000 (0:00:00.026) 0:00:09.236 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/create_bridge_profile.yml:14 Friday 12 January 2024 20:19:10 +0000 (0:00:00.276) 0:00:09.512 ******** 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, 2f354136-fc37-45a4-b6d4-1bf869a646d6\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 2f354136-fc37-45a4-b6d4-1bf869a646d6" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/run_test.yml:36 Friday 12 January 2024 20:19:10 +0000 (0:00:00.042) 0:00:09.554 ******** included: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/assert_profile_present.yml:3 Friday 12 January 2024 20:19:10 +0000 (0:00:00.057) 0:00:09.612 ******** included: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/get_profile_stat.yml:3 Friday 12 January 2024 20:19:10 +0000 (0:00:00.042) 0:00:09.654 ******** 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_type8oek0enz/tests/playbooks/tasks/get_profile_stat.yml:9 Friday 12 January 2024 20:19:10 +0000 (0:00:00.034) 0:00:09.688 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1705090749.6976242, "block_size": 4096, "blocks": 8, "ctime": 1705090749.6316261, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 6287480, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1705090749.6316261, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 221, "uid": 0, "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/get_profile_stat.yml:17 Friday 12 January 2024 20:19:10 +0000 (0:00:00.208) 0:00:09.897 ******** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/get_profile_stat.yml:25 Friday 12 January 2024 20:19:10 +0000 (0:00:00.024) 0:00:09.921 ******** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.024803", "end": "2024-01-12 20:19:10.766522", "rc": 0, "start": "2024-01-12 20:19:10.741719" } STDOUT: statebr /etc/sysconfig/network-scripts/ifcfg-statebr TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/get_profile_stat.yml:35 Friday 12 January 2024 20:19:10 +0000 (0:00:00.251) 0:00:10.173 ******** 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_type8oek0enz/tests/playbooks/tasks/get_profile_stat.yml:49 Friday 12 January 2024 20:19:10 +0000 (0:00:00.135) 0:00:10.309 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/get_profile_stat.yml:56 Friday 12 January 2024 20:19:11 +0000 (0:00:00.055) 0:00:10.364 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/get_profile_stat.yml:62 Friday 12 January 2024 20:19:11 +0000 (0:00:00.041) 0:00:10.406 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/get_profile_stat.yml:69 Friday 12 January 2024 20:19:11 +0000 (0:00:00.034) 0:00:10.441 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/assert_profile_present.yml:5 Friday 12 January 2024 20:19:11 +0000 (0:00:00.029) 0:00:10.470 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/assert_profile_present.yml:10 Friday 12 January 2024 20:19:11 +0000 (0:00:00.076) 0:00:10.547 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/assert_profile_present.yml:15 Friday 12 January 2024 20:19:11 +0000 (0:00:00.044) 0:00:10.591 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/run_test.yml:42 Friday 12 January 2024 20:19:11 +0000 (0:00:00.024) 0:00:10.616 ******** included: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/assert_device_present.yml:3 Friday 12 January 2024 20:19:11 +0000 (0:00:00.046) 0:00:10.663 ******** included: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 12 January 2024 20:19:11 +0000 (0:00:00.045) 0:00:10.708 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1705090749.634173, "block_size": 4096, "blocks": 0, "ctime": 1705090749.634173, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 37680, "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": 1705090749.634173, "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_type8oek0enz/tests/playbooks/tasks/assert_device_present.yml:5 Friday 12 January 2024 20:19:11 +0000 (0:00:00.214) 0:00:10.923 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can create a profile'] ******************************** task path: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/run_test.yml:47 Friday 12 January 2024 20:19:11 +0000 (0:00:00.032) 0:00:10.955 ******** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/run_test.yml:66 Friday 12 January 2024 20:19:11 +0000 (0:00:00.026) 0:00:10.982 ******** included: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/cleanup_profile+device.yml:3 Friday 12 January 2024 20:19:11 +0000 (0:00:00.094) 0:00:11.077 ******** 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.065612", "end": "2024-01-12 20:19:11.955488", "rc": 1, "start": "2024-01-12 20:19:11.889876" } STDOUT: Connection 'statebr' (2f354136-fc37-45a4-b6d4-1bf869a646d6) 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_type8oek0enz/tests/playbooks/tests_states.yml:45 Friday 12 January 2024 20:19:11 +0000 (0:00:00.274) 0:00:11.351 ******** included: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile without autoconnect] ************************ task path: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/run_test.yml:5 Friday 12 January 2024 20:19:12 +0000 (0:00:00.045) 0:00:11.397 ******** ok: [sut] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/run_test.yml:9 Friday 12 January 2024 20:19:12 +0000 (0:00:00.029) 0:00:11.426 ******** 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_type8oek0enz/tests/playbooks/tasks/run_test.yml:21 Friday 12 January 2024 20:19:12 +0000 (0:00:00.045) 0:00:11.472 ******** included: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/show_interfaces.yml:3 Friday 12 January 2024 20:19:12 +0000 (0:00:00.038) 0:00:11.510 ******** included: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 12 January 2024 20:19:12 +0000 (0:00:00.038) 0:00:11.549 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003367", "end": "2024-01-12 20:19:12.364065", "rc": 0, "start": "2024-01-12 20:19:12.360698" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 12 January 2024 20:19:12 +0000 (0:00:00.208) 0:00:11.757 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/show_interfaces.yml:5 Friday 12 January 2024 20:19:12 +0000 (0:00:00.025) 0:00:11.783 ******** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/run_test.yml:24 Friday 12 January 2024 20:19:12 +0000 (0:00:00.025) 0:00:11.808 ******** included: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/delete_interface.yml:3 Friday 12 January 2024 20:19:12 +0000 (0:00:00.055) 0:00:11.863 ******** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.006910", "end": "2024-01-12 20:19:12.702449", "rc": 1, "start": "2024-01-12 20:19:12.695539" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/assert_device_absent.yml:3 Friday 12 January 2024 20:19:12 +0000 (0:00:00.235) 0:00:12.099 ******** included: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 12 January 2024 20:19:12 +0000 (0:00:00.052) 0:00:12.151 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/assert_device_absent.yml:5 Friday 12 January 2024 20:19:13 +0000 (0:00:00.258) 0:00:12.409 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/run_test.yml:30 Friday 12 January 2024 20:19:13 +0000 (0:00:00.034) 0:00:12.444 ******** included: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Friday 12 January 2024 20:19:13 +0000 (0:00:00.045) 0:00:12.490 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 12 January 2024 20:19:13 +0000 (0:00:00.044) 0:00:12.534 ******** included: /WORKDIR/git-route_type8oek0enz/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_type8oek0enz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 12 January 2024 20:19:13 +0000 (0:00:00.047) 0:00:12.582 ******** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-route_type8oek0enz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 12 January 2024 20:19:13 +0000 (0:00:00.068) 0:00:12.651 ******** 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_type8oek0enz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 12 January 2024 20:19:13 +0000 (0:00:00.058) 0:00:12.709 ******** 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_type8oek0enz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 12 January 2024 20:19:13 +0000 (0:00:00.052) 0:00:12.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 : Check which packages are installed] ********* task path: /WORKDIR/git-route_type8oek0enz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 12 January 2024 20:19:15 +0000 (0:00:01.618) 0:00:14.381 ******** 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_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 12 January 2024 20:19:16 +0000 (0:00:01.380) 0:00:15.761 ******** 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_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 12 January 2024 20:19:16 +0000 (0:00:00.027) 0:00:15.789 ******** 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_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 12 January 2024 20:19:16 +0000 (0:00:00.027) 0:00:15.816 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 12 January 2024 20:19:16 +0000 (0:00:00.044) 0:00:15.861 ******** 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_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:40 Friday 12 January 2024 20:19:16 +0000 (0:00:00.069) 0:00:15.931 ******** 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_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:55 Friday 12 January 2024 20:19:16 +0000 (0:00:00.029) 0:00:15.960 ******** 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_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:71 Friday 12 January 2024 20:19:16 +0000 (0:00:00.053) 0:00:16.014 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:85 Friday 12 January 2024 20:19:16 +0000 (0:00:00.037) 0:00:16.051 ******** 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_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:96 Friday 12 January 2024 20:19:17 +0000 (0:00:00.385) 0:00:16.436 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:105 Friday 12 January 2024 20:19:17 +0000 (0:00:00.031) 0:00:16.468 ******** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:113 Friday 12 January 2024 20:19:17 +0000 (0:00:00.025) 0:00:16.494 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:122 Friday 12 January 2024 20:19:17 +0000 (0:00:00.023) 0:00:16.517 ******** 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, dec2fdf0-4022-44d4-b24a-992e24e23555 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:134 Friday 12 January 2024 20:19:17 +0000 (0:00:00.353) 0:00:16.871 ******** 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_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:140 Friday 12 January 2024 20:19:17 +0000 (0:00:00.023) 0:00:16.895 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, dec2fdf0-4022-44d4-b24a-992e24e23555" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:144 Friday 12 January 2024 20:19:17 +0000 (0:00:00.023) 0:00:16.918 ******** 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, dec2fdf0-4022-44d4-b24a-992e24e23555\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, dec2fdf0-4022-44d4-b24a-992e24e23555" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:149 Friday 12 January 2024 20:19:17 +0000 (0:00:00.026) 0:00:16.944 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:155 Friday 12 January 2024 20:19:17 +0000 (0:00:00.023) 0:00:16.968 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Friday 12 January 2024 20:19:17 +0000 (0:00:00.196) 0:00:17.164 ******** 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, dec2fdf0-4022-44d4-b24a-992e24e23555\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, dec2fdf0-4022-44d4-b24a-992e24e23555" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/run_test.yml:36 Friday 12 January 2024 20:19:17 +0000 (0:00:00.025) 0:00:17.190 ******** included: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/assert_device_absent.yml for sut included: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/assert_device_absent.yml:3 Friday 12 January 2024 20:19:17 +0000 (0:00:00.080) 0:00:17.271 ******** included: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 12 January 2024 20:19:17 +0000 (0:00:00.043) 0:00:17.314 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/assert_device_absent.yml:5 Friday 12 January 2024 20:19:18 +0000 (0:00:00.229) 0:00:17.543 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/assert_profile_present.yml:3 Friday 12 January 2024 20:19:18 +0000 (0:00:00.034) 0:00:17.578 ******** included: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/get_profile_stat.yml:3 Friday 12 January 2024 20:19:18 +0000 (0:00:00.062) 0:00:17.640 ******** 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_type8oek0enz/tests/playbooks/tasks/get_profile_stat.yml:9 Friday 12 January 2024 20:19:18 +0000 (0:00:00.028) 0:00:17.669 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1705090757.4673934, "block_size": 4096, "blocks": 8, "ctime": 1705090757.4673934, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 6287480, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1705090757.4673934, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 220, "uid": 0, "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/get_profile_stat.yml:17 Friday 12 January 2024 20:19:18 +0000 (0:00:00.241) 0:00:17.911 ******** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/get_profile_stat.yml:25 Friday 12 January 2024 20:19:18 +0000 (0:00:00.032) 0:00:17.944 ******** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.023003", "end": "2024-01-12 20:19:18.804440", "rc": 0, "start": "2024-01-12 20:19:18.781437" } STDOUT: statebr /etc/sysconfig/network-scripts/ifcfg-statebr TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/get_profile_stat.yml:35 Friday 12 January 2024 20:19:18 +0000 (0:00:00.274) 0:00:18.218 ******** 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_type8oek0enz/tests/playbooks/tasks/get_profile_stat.yml:49 Friday 12 January 2024 20:19:18 +0000 (0:00:00.045) 0:00:18.263 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/get_profile_stat.yml:56 Friday 12 January 2024 20:19:18 +0000 (0:00:00.084) 0:00:18.348 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/get_profile_stat.yml:62 Friday 12 January 2024 20:19:19 +0000 (0:00:00.077) 0:00:18.426 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/get_profile_stat.yml:69 Friday 12 January 2024 20:19:19 +0000 (0:00:00.029) 0:00:18.455 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/assert_profile_present.yml:5 Friday 12 January 2024 20:19:19 +0000 (0:00:00.068) 0:00:18.524 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/assert_profile_present.yml:10 Friday 12 January 2024 20:19:19 +0000 (0:00:00.037) 0:00:18.561 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/assert_profile_present.yml:15 Friday 12 January 2024 20:19:19 +0000 (0:00:00.051) 0:00:18.613 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/run_test.yml:42 Friday 12 January 2024 20:19:19 +0000 (0:00:00.030) 0:00:18.643 ******** TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/run_test.yml:47 Friday 12 January 2024 20:19:19 +0000 (0:00:00.035) 0:00:18.679 ******** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/run_test.yml:66 Friday 12 January 2024 20:19:19 +0000 (0:00:00.040) 0:00:18.719 ******** included: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/cleanup_profile+device.yml:3 Friday 12 January 2024 20:19:19 +0000 (0:00:00.058) 0:00:18.777 ******** 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.045134", "end": "2024-01-12 20:19:19.636844", "rc": 1, "start": "2024-01-12 20:19:19.591710" } STDOUT: Connection 'statebr' (dec2fdf0-4022-44d4-b24a-992e24e23555) 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_type8oek0enz/tests/playbooks/tests_states.yml:65 Friday 12 January 2024 20:19:19 +0000 (0:00:00.248) 0:00:19.026 ******** included: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can activate an existing profile] ******************************** task path: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/run_test.yml:5 Friday 12 January 2024 20:19:19 +0000 (0:00:00.042) 0:00:19.068 ******** ok: [sut] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/run_test.yml:9 Friday 12 January 2024 20:19:19 +0000 (0:00:00.029) 0:00:19.097 ******** 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_type8oek0enz/tests/playbooks/tasks/run_test.yml:21 Friday 12 January 2024 20:19:19 +0000 (0:00:00.046) 0:00:19.144 ******** included: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/show_interfaces.yml:3 Friday 12 January 2024 20:19:19 +0000 (0:00:00.038) 0:00:19.182 ******** included: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 12 January 2024 20:19:19 +0000 (0:00:00.069) 0:00:19.252 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003346", "end": "2024-01-12 20:19:20.094239", "rc": 0, "start": "2024-01-12 20:19:20.090893" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 12 January 2024 20:19:20 +0000 (0:00:00.231) 0:00:19.483 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/show_interfaces.yml:5 Friday 12 January 2024 20:19:20 +0000 (0:00:00.041) 0:00:19.524 ******** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/run_test.yml:24 Friday 12 January 2024 20:19:20 +0000 (0:00:00.028) 0:00:19.552 ******** included: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/create_bridge_profile.yml:3 Friday 12 January 2024 20:19:20 +0000 (0:00:00.060) 0:00:19.613 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 12 January 2024 20:19:20 +0000 (0:00:00.049) 0:00:19.663 ******** included: /WORKDIR/git-route_type8oek0enz/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_type8oek0enz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 12 January 2024 20:19:20 +0000 (0:00:00.061) 0:00:19.724 ******** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-route_type8oek0enz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 12 January 2024 20:19:20 +0000 (0:00:00.030) 0:00:19.754 ******** 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_type8oek0enz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 12 January 2024 20:19:20 +0000 (0:00:00.031) 0:00:19.786 ******** 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_type8oek0enz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 12 January 2024 20:19:20 +0000 (0:00:00.039) 0:00:19.825 ******** 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_type8oek0enz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 12 January 2024 20:19:22 +0000 (0:00:01.620) 0:00:21.445 ******** 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_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 12 January 2024 20:19:23 +0000 (0:00:01.331) 0:00:22.776 ******** 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_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 12 January 2024 20:19:23 +0000 (0:00:00.026) 0:00:22.803 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-route_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 12 January 2024 20:19:23 +0000 (0:00:00.031) 0:00:22.834 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 12 January 2024 20:19:23 +0000 (0:00:00.024) 0:00:22.859 ******** 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_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:40 Friday 12 January 2024 20:19:23 +0000 (0:00:00.048) 0:00:22.907 ******** 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_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:55 Friday 12 January 2024 20:19:23 +0000 (0:00:00.053) 0:00:22.961 ******** 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_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:71 Friday 12 January 2024 20:19:23 +0000 (0:00:00.038) 0:00:22.999 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:85 Friday 12 January 2024 20:19:23 +0000 (0:00:00.049) 0:00:23.048 ******** 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_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:96 Friday 12 January 2024 20:19:24 +0000 (0:00:00.406) 0:00:23.454 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:105 Friday 12 January 2024 20:19:24 +0000 (0:00:00.091) 0:00:23.546 ******** 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_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:113 Friday 12 January 2024 20:19:24 +0000 (0:00:00.058) 0:00:23.604 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:122 Friday 12 January 2024 20:19:24 +0000 (0:00:00.031) 0:00:23.635 ******** 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, 9e34a5b2-1f51-458e-9c9d-02ce0f30fb61 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:134 Friday 12 January 2024 20:19:24 +0000 (0:00:00.492) 0:00:24.128 ******** 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_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:140 Friday 12 January 2024 20:19:24 +0000 (0:00:00.023) 0:00:24.151 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 9e34a5b2-1f51-458e-9c9d-02ce0f30fb61" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:144 Friday 12 January 2024 20:19:24 +0000 (0:00:00.024) 0:00:24.175 ******** 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, 9e34a5b2-1f51-458e-9c9d-02ce0f30fb61\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 9e34a5b2-1f51-458e-9c9d-02ce0f30fb61" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:149 Friday 12 January 2024 20:19:24 +0000 (0:00:00.026) 0:00:24.202 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:155 Friday 12 January 2024 20:19:24 +0000 (0:00:00.030) 0:00:24.232 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/create_bridge_profile.yml:14 Friday 12 January 2024 20:19:25 +0000 (0:00:00.248) 0:00:24.480 ******** 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, 9e34a5b2-1f51-458e-9c9d-02ce0f30fb61\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 9e34a5b2-1f51-458e-9c9d-02ce0f30fb61" ] } } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/run_test.yml:30 Friday 12 January 2024 20:19:25 +0000 (0:00:00.025) 0:00:24.505 ******** included: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/activate_profile.yml:3 Friday 12 January 2024 20:19:25 +0000 (0:00:00.099) 0:00:24.605 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 12 January 2024 20:19:25 +0000 (0:00:00.050) 0:00:24.656 ******** included: /WORKDIR/git-route_type8oek0enz/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_type8oek0enz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 12 January 2024 20:19:25 +0000 (0:00:00.051) 0:00:24.707 ******** 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_type8oek0enz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 12 January 2024 20:19:25 +0000 (0:00:00.031) 0:00:24.738 ******** 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_type8oek0enz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 12 January 2024 20:19:25 +0000 (0:00:00.025) 0:00:24.764 ******** 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_type8oek0enz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 12 January 2024 20:19:25 +0000 (0:00:00.024) 0:00:24.788 ******** 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_type8oek0enz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 12 January 2024 20:19:27 +0000 (0:00:01.595) 0:00:26.384 ******** 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_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 12 January 2024 20:19:28 +0000 (0:00:01.347) 0:00:27.732 ******** 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_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 12 January 2024 20:19:28 +0000 (0:00:00.024) 0:00:27.756 ******** 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_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 12 January 2024 20:19:28 +0000 (0:00:00.024) 0:00:27.780 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 12 January 2024 20:19:28 +0000 (0:00:00.025) 0:00:27.806 ******** 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_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:40 Friday 12 January 2024 20:19:28 +0000 (0:00:00.049) 0:00:27.856 ******** 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_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:55 Friday 12 January 2024 20:19:28 +0000 (0:00:00.025) 0:00:27.881 ******** 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_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:71 Friday 12 January 2024 20:19:28 +0000 (0:00:00.029) 0:00:27.911 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:85 Friday 12 January 2024 20:19:28 +0000 (0:00:00.027) 0:00:27.938 ******** 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_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:96 Friday 12 January 2024 20:19:28 +0000 (0:00:00.396) 0:00:28.335 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:105 Friday 12 January 2024 20:19:29 +0000 (0:00:00.039) 0:00:28.375 ******** 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_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:113 Friday 12 January 2024 20:19:29 +0000 (0:00:00.030) 0:00:28.405 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:122 Friday 12 January 2024 20:19:29 +0000 (0:00:00.028) 0:00:28.434 ******** 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, 9e34a5b2-1f51-458e-9c9d-02ce0f30fb61 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:134 Friday 12 January 2024 20:19:29 +0000 (0:00:00.357) 0:00:28.791 ******** 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_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:140 Friday 12 January 2024 20:19:29 +0000 (0:00:00.026) 0:00:28.818 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 9e34a5b2-1f51-458e-9c9d-02ce0f30fb61 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:144 Friday 12 January 2024 20:19:29 +0000 (0:00:00.025) 0:00:28.844 ******** 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, 9e34a5b2-1f51-458e-9c9d-02ce0f30fb61 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 9e34a5b2-1f51-458e-9c9d-02ce0f30fb61 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:149 Friday 12 January 2024 20:19:29 +0000 (0:00:00.033) 0:00:28.877 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:155 Friday 12 January 2024 20:19:29 +0000 (0:00:00.029) 0:00:28.906 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/run_test.yml:36 Friday 12 January 2024 20:19:29 +0000 (0:00:00.195) 0:00:29.101 ******** included: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/assert_device_present.yml:3 Friday 12 January 2024 20:19:29 +0000 (0:00:00.046) 0:00:29.148 ******** included: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 12 January 2024 20:19:29 +0000 (0:00:00.041) 0:00:29.190 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1705090764.699055, "block_size": 4096, "blocks": 0, "ctime": 1705090764.699055, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 37811, "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": 1705090764.699055, "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_type8oek0enz/tests/playbooks/tasks/assert_device_present.yml:5 Friday 12 January 2024 20:19:30 +0000 (0:00:00.209) 0:00:29.399 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/assert_profile_present.yml:3 Friday 12 January 2024 20:19:30 +0000 (0:00:00.082) 0:00:29.481 ******** included: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/get_profile_stat.yml:3 Friday 12 January 2024 20:19:30 +0000 (0:00:00.044) 0:00:29.526 ******** 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_type8oek0enz/tests/playbooks/tasks/get_profile_stat.yml:9 Friday 12 January 2024 20:19:30 +0000 (0:00:00.026) 0:00:29.552 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1705090764.7591767, "block_size": 4096, "blocks": 8, "ctime": 1705090764.6981785, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 6287480, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1705090764.6981785, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 221, "uid": 0, "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/get_profile_stat.yml:17 Friday 12 January 2024 20:19:30 +0000 (0:00:00.207) 0:00:29.759 ******** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/get_profile_stat.yml:25 Friday 12 January 2024 20:19:30 +0000 (0:00:00.052) 0:00:29.812 ******** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.023634", "end": "2024-01-12 20:19:30.697430", "rc": 0, "start": "2024-01-12 20:19:30.673796" } STDOUT: statebr /etc/sysconfig/network-scripts/ifcfg-statebr TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/get_profile_stat.yml:35 Friday 12 January 2024 20:19:30 +0000 (0:00:00.281) 0:00:30.093 ******** 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_type8oek0enz/tests/playbooks/tasks/get_profile_stat.yml:49 Friday 12 January 2024 20:19:30 +0000 (0:00:00.026) 0:00:30.120 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/get_profile_stat.yml:56 Friday 12 January 2024 20:19:30 +0000 (0:00:00.028) 0:00:30.149 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/get_profile_stat.yml:62 Friday 12 January 2024 20:19:30 +0000 (0:00:00.067) 0:00:30.217 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/get_profile_stat.yml:69 Friday 12 January 2024 20:19:30 +0000 (0:00:00.027) 0:00:30.245 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/assert_profile_present.yml:5 Friday 12 January 2024 20:19:30 +0000 (0:00:00.037) 0:00:30.282 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/assert_profile_present.yml:10 Friday 12 January 2024 20:19:30 +0000 (0:00:00.048) 0:00:30.331 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/assert_profile_present.yml:15 Friday 12 January 2024 20:19:31 +0000 (0:00:00.032) 0:00:30.364 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/run_test.yml:42 Friday 12 January 2024 20:19:31 +0000 (0:00:00.044) 0:00:30.408 ******** TASK [Success in test 'I can activate an existing profile'] ******************** task path: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/run_test.yml:47 Friday 12 January 2024 20:19:31 +0000 (0:00:00.052) 0:00:30.461 ******** ok: [sut] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/run_test.yml:66 Friday 12 January 2024 20:19:31 +0000 (0:00:00.045) 0:00:30.506 ******** included: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/cleanup_profile+device.yml:3 Friday 12 January 2024 20:19:31 +0000 (0:00:00.073) 0:00:30.580 ******** 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.065837", "end": "2024-01-12 20:19:31.487221", "rc": 1, "start": "2024-01-12 20:19:31.421384" } STDOUT: Connection 'statebr' (9e34a5b2-1f51-458e-9c9d-02ce0f30fb61) 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_type8oek0enz/tests/playbooks/tests_states.yml:83 Friday 12 January 2024 20:19:31 +0000 (0:00:00.301) 0:00:30.882 ******** included: /WORKDIR/git-route_type8oek0enz/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_type8oek0enz/tests/playbooks/tasks/run_test.yml:5 Friday 12 January 2024 20:19:31 +0000 (0:00:00.056) 0:00:30.939 ******** ok: [sut] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/run_test.yml:9 Friday 12 January 2024 20:19:31 +0000 (0:00:00.072) 0:00:31.011 ******** 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_type8oek0enz/tests/playbooks/tasks/run_test.yml:21 Friday 12 January 2024 20:19:31 +0000 (0:00:00.071) 0:00:31.083 ******** included: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/show_interfaces.yml:3 Friday 12 January 2024 20:19:31 +0000 (0:00:00.047) 0:00:31.131 ******** included: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 12 January 2024 20:19:31 +0000 (0:00:00.039) 0:00:31.171 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003376", "end": "2024-01-12 20:19:32.012663", "rc": 0, "start": "2024-01-12 20:19:32.009287" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 12 January 2024 20:19:32 +0000 (0:00:00.245) 0:00:31.416 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/show_interfaces.yml:5 Friday 12 January 2024 20:19:32 +0000 (0:00:00.034) 0:00:31.450 ******** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/run_test.yml:24 Friday 12 January 2024 20:19:32 +0000 (0:00:00.063) 0:00:31.514 ******** included: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/create_bridge_profile.yml:3 Friday 12 January 2024 20:19:32 +0000 (0:00:00.047) 0:00:31.561 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 12 January 2024 20:19:32 +0000 (0:00:00.042) 0:00:31.604 ******** included: /WORKDIR/git-route_type8oek0enz/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_type8oek0enz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 12 January 2024 20:19:32 +0000 (0:00:00.044) 0:00:31.649 ******** 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_type8oek0enz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 12 January 2024 20:19:32 +0000 (0:00:00.030) 0:00:31.680 ******** 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_type8oek0enz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 12 January 2024 20:19:32 +0000 (0:00:00.024) 0:00:31.704 ******** 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_type8oek0enz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 12 January 2024 20:19:32 +0000 (0:00:00.023) 0:00:31.727 ******** 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_type8oek0enz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 12 January 2024 20:19:33 +0000 (0:00:01.591) 0:00:33.318 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-route_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 12 January 2024 20:19:35 +0000 (0:00:01.362) 0:00:34.681 ******** 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_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 12 January 2024 20:19:35 +0000 (0:00:00.025) 0:00:34.706 ******** 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_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 12 January 2024 20:19:35 +0000 (0:00:00.025) 0:00:34.731 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 12 January 2024 20:19:35 +0000 (0:00:00.036) 0:00:34.768 ******** 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_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:40 Friday 12 January 2024 20:19:35 +0000 (0:00:00.077) 0:00:34.846 ******** 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_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:55 Friday 12 January 2024 20:19:35 +0000 (0:00:00.059) 0:00:34.905 ******** 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_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:71 Friday 12 January 2024 20:19:35 +0000 (0:00:00.036) 0:00:34.941 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:85 Friday 12 January 2024 20:19:35 +0000 (0:00:00.027) 0:00:34.968 ******** 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_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:96 Friday 12 January 2024 20:19:35 +0000 (0:00:00.370) 0:00:35.339 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:105 Friday 12 January 2024 20:19:36 +0000 (0:00:00.027) 0:00:35.366 ******** 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_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:113 Friday 12 January 2024 20:19:36 +0000 (0:00:00.048) 0:00:35.415 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:122 Friday 12 January 2024 20:19:36 +0000 (0:00:00.023) 0:00:35.438 ******** 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, f9f258ba-7c56-40d9-ae38-4b79be0ab5f9 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:134 Friday 12 January 2024 20:19:36 +0000 (0:00:00.393) 0:00:35.832 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-route_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:140 Friday 12 January 2024 20:19:36 +0000 (0:00:00.026) 0:00:35.858 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, f9f258ba-7c56-40d9-ae38-4b79be0ab5f9" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:144 Friday 12 January 2024 20:19:36 +0000 (0:00:00.039) 0:00:35.898 ******** 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, f9f258ba-7c56-40d9-ae38-4b79be0ab5f9\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, f9f258ba-7c56-40d9-ae38-4b79be0ab5f9" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:149 Friday 12 January 2024 20:19:36 +0000 (0:00:00.025) 0:00:35.924 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:155 Friday 12 January 2024 20:19:36 +0000 (0:00:00.026) 0:00:35.950 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/create_bridge_profile.yml:14 Friday 12 January 2024 20:19:36 +0000 (0:00:00.220) 0:00:36.170 ******** 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, f9f258ba-7c56-40d9-ae38-4b79be0ab5f9\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, f9f258ba-7c56-40d9-ae38-4b79be0ab5f9" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/activate_profile.yml:3 Friday 12 January 2024 20:19:36 +0000 (0:00:00.026) 0:00:36.197 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 12 January 2024 20:19:36 +0000 (0:00:00.042) 0:00:36.239 ******** included: /WORKDIR/git-route_type8oek0enz/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_type8oek0enz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 12 January 2024 20:19:36 +0000 (0:00:00.066) 0:00:36.306 ******** 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_type8oek0enz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 12 January 2024 20:19:36 +0000 (0:00:00.032) 0:00:36.338 ******** 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_type8oek0enz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 12 January 2024 20:19:37 +0000 (0:00:00.058) 0:00:36.396 ******** 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_type8oek0enz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 12 January 2024 20:19:37 +0000 (0:00:00.025) 0:00:36.422 ******** 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_type8oek0enz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 12 January 2024 20:19:38 +0000 (0:00:01.593) 0:00:38.016 ******** 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_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 12 January 2024 20:19:39 +0000 (0:00:01.332) 0:00:39.348 ******** 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_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 12 January 2024 20:19:40 +0000 (0:00:00.030) 0:00:39.379 ******** 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_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 12 January 2024 20:19:40 +0000 (0:00:00.049) 0:00:39.429 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 12 January 2024 20:19:40 +0000 (0:00:00.030) 0:00:39.460 ******** 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_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:40 Friday 12 January 2024 20:19:40 +0000 (0:00:00.054) 0:00:39.514 ******** 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_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:55 Friday 12 January 2024 20:19:40 +0000 (0:00:00.031) 0:00:39.545 ******** 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_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:71 Friday 12 January 2024 20:19:40 +0000 (0:00:00.033) 0:00:39.579 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:85 Friday 12 January 2024 20:19:40 +0000 (0:00:00.036) 0:00:39.615 ******** 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_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:96 Friday 12 January 2024 20:19:40 +0000 (0:00:00.359) 0:00:39.974 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:105 Friday 12 January 2024 20:19:40 +0000 (0:00:00.027) 0:00:40.001 ******** 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_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:113 Friday 12 January 2024 20:19:40 +0000 (0:00:00.024) 0:00:40.025 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:122 Friday 12 January 2024 20:19:40 +0000 (0:00:00.025) 0:00:40.051 ******** 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, f9f258ba-7c56-40d9-ae38-4b79be0ab5f9 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:134 Friday 12 January 2024 20:19:41 +0000 (0:00:00.352) 0:00:40.403 ******** 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_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:140 Friday 12 January 2024 20:19:41 +0000 (0:00:00.037) 0:00:40.440 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, f9f258ba-7c56-40d9-ae38-4b79be0ab5f9 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:144 Friday 12 January 2024 20:19:41 +0000 (0:00:00.031) 0:00:40.472 ******** 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, f9f258ba-7c56-40d9-ae38-4b79be0ab5f9 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, f9f258ba-7c56-40d9-ae38-4b79be0ab5f9 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:149 Friday 12 January 2024 20:19:41 +0000 (0:00:00.033) 0:00:40.505 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:155 Friday 12 January 2024 20:19:41 +0000 (0:00:00.088) 0:00:40.594 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/run_test.yml:30 Friday 12 January 2024 20:19:41 +0000 (0:00:00.226) 0:00:40.820 ******** included: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/remove_profile.yml:3 Friday 12 January 2024 20:19:41 +0000 (0:00:00.042) 0:00:40.862 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 12 January 2024 20:19:41 +0000 (0:00:00.046) 0:00:40.909 ******** included: /WORKDIR/git-route_type8oek0enz/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_type8oek0enz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 12 January 2024 20:19:41 +0000 (0:00:00.046) 0:00:40.955 ******** 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_type8oek0enz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 12 January 2024 20:19:41 +0000 (0:00:00.031) 0:00:40.987 ******** 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_type8oek0enz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 12 January 2024 20:19:41 +0000 (0:00:00.023) 0:00:41.010 ******** 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_type8oek0enz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 12 January 2024 20:19:41 +0000 (0:00:00.027) 0:00:41.038 ******** 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_type8oek0enz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 12 January 2024 20:19:43 +0000 (0:00:01.594) 0:00:42.632 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-route_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 12 January 2024 20:19:44 +0000 (0:00:01.306) 0:00:43.938 ******** 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_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 12 January 2024 20:19:44 +0000 (0:00:00.025) 0:00:43.964 ******** 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_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 12 January 2024 20:19:44 +0000 (0:00:00.023) 0:00:43.987 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 12 January 2024 20:19:44 +0000 (0:00:00.025) 0:00:44.013 ******** 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_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:40 Friday 12 January 2024 20:19:44 +0000 (0:00:00.053) 0:00:44.066 ******** 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_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:55 Friday 12 January 2024 20:19:44 +0000 (0:00:00.025) 0:00:44.092 ******** 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_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:71 Friday 12 January 2024 20:19:44 +0000 (0:00:00.029) 0:00:44.121 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:85 Friday 12 January 2024 20:19:44 +0000 (0:00:00.064) 0:00:44.186 ******** 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_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:96 Friday 12 January 2024 20:19:45 +0000 (0:00:00.355) 0:00:44.541 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:105 Friday 12 January 2024 20:19:45 +0000 (0:00:00.032) 0:00:44.574 ******** 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_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:113 Friday 12 January 2024 20:19:45 +0000 (0:00:00.037) 0:00:44.611 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:122 Friday 12 January 2024 20:19:45 +0000 (0:00:00.034) 0:00:44.645 ******** 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_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:134 Friday 12 January 2024 20:19:45 +0000 (0:00:00.419) 0:00:45.065 ******** 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_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:140 Friday 12 January 2024 20:19:45 +0000 (0:00:00.024) 0:00:45.090 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:144 Friday 12 January 2024 20:19:45 +0000 (0:00:00.025) 0:00:45.115 ******** 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_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:149 Friday 12 January 2024 20:19:45 +0000 (0:00:00.024) 0:00:45.139 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:155 Friday 12 January 2024 20:19:45 +0000 (0:00:00.024) 0:00:45.163 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/run_test.yml:36 Friday 12 January 2024 20:19:46 +0000 (0:00:00.203) 0:00:45.366 ******** included: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/assert_device_present.yml:3 Friday 12 January 2024 20:19:46 +0000 (0:00:00.049) 0:00:45.416 ******** included: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 12 January 2024 20:19:46 +0000 (0:00:00.125) 0:00:45.542 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1705090776.3907502, "block_size": 4096, "blocks": 0, "ctime": 1705090776.3907502, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 37942, "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": 1705090776.3907502, "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_type8oek0enz/tests/playbooks/tasks/assert_device_present.yml:5 Friday 12 January 2024 20:19:46 +0000 (0:00:00.210) 0:00:45.752 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/assert_profile_absent.yml:3 Friday 12 January 2024 20:19:46 +0000 (0:00:00.025) 0:00:45.778 ******** included: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/get_profile_stat.yml:3 Friday 12 January 2024 20:19:46 +0000 (0:00:00.039) 0:00:45.818 ******** 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_type8oek0enz/tests/playbooks/tasks/get_profile_stat.yml:9 Friday 12 January 2024 20:19:46 +0000 (0:00:00.026) 0:00:45.844 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/get_profile_stat.yml:17 Friday 12 January 2024 20:19:46 +0000 (0:00:00.203) 0:00:46.048 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/get_profile_stat.yml:25 Friday 12 January 2024 20:19:46 +0000 (0:00:00.024) 0:00:46.073 ******** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.023617", "end": "2024-01-12 20:19:46.912423", "rc": 1, "start": "2024-01-12 20:19:46.888806" } 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_type8oek0enz/tests/playbooks/tasks/get_profile_stat.yml:35 Friday 12 January 2024 20:19:46 +0000 (0:00:00.246) 0:00:46.320 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/get_profile_stat.yml:49 Friday 12 January 2024 20:19:46 +0000 (0:00:00.027) 0:00:46.348 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/get_profile_stat.yml:56 Friday 12 January 2024 20:19:47 +0000 (0:00:00.034) 0:00:46.382 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/get_profile_stat.yml:62 Friday 12 January 2024 20:19:47 +0000 (0:00:00.026) 0:00:46.409 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/get_profile_stat.yml:69 Friday 12 January 2024 20:19:47 +0000 (0:00:00.026) 0:00:46.436 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/assert_profile_absent.yml:5 Friday 12 January 2024 20:19:47 +0000 (0:00:00.035) 0:00:46.471 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/run_test.yml:42 Friday 12 January 2024 20:19:47 +0000 (0:00:00.052) 0:00:46.524 ******** TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/run_test.yml:47 Friday 12 January 2024 20:19:47 +0000 (0:00:00.064) 0:00:46.588 ******** ok: [sut] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/run_test.yml:66 Friday 12 January 2024 20:19:47 +0000 (0:00:00.061) 0:00:46.650 ******** included: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/cleanup_profile+device.yml:3 Friday 12 January 2024 20:19:47 +0000 (0:00:00.067) 0:00:46.718 ******** 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.083516", "end": "2024-01-12 20:19:47.644811", "rc": 1, "start": "2024-01-12 20:19:47.561295" } STDOUT: Connection 'statebr' (f9f258ba-7c56-40d9-ae38-4b79be0ab5f9) 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_type8oek0enz/tests/playbooks/tests_states.yml:103 Friday 12 January 2024 20:19:47 +0000 (0:00:00.317) 0:00:47.035 ******** included: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can take a profile down that is absent] ************************** task path: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/run_test.yml:5 Friday 12 January 2024 20:19:47 +0000 (0:00:00.042) 0:00:47.077 ******** ok: [sut] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/run_test.yml:9 Friday 12 January 2024 20:19:47 +0000 (0:00:00.025) 0:00:47.102 ******** 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_type8oek0enz/tests/playbooks/tasks/run_test.yml:21 Friday 12 January 2024 20:19:47 +0000 (0:00:00.049) 0:00:47.152 ******** included: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/show_interfaces.yml:3 Friday 12 January 2024 20:19:47 +0000 (0:00:00.083) 0:00:47.236 ******** included: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 12 January 2024 20:19:47 +0000 (0:00:00.084) 0:00:47.321 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003428", "end": "2024-01-12 20:19:48.137959", "rc": 0, "start": "2024-01-12 20:19:48.134531" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 12 January 2024 20:19:48 +0000 (0:00:00.205) 0:00:47.527 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/show_interfaces.yml:5 Friday 12 January 2024 20:19:48 +0000 (0:00:00.025) 0:00:47.552 ******** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/run_test.yml:24 Friday 12 January 2024 20:19:48 +0000 (0:00:00.058) 0:00:47.610 ******** included: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/create_bridge_profile.yml:3 Friday 12 January 2024 20:19:48 +0000 (0:00:00.055) 0:00:47.665 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 12 January 2024 20:19:48 +0000 (0:00:00.051) 0:00:47.717 ******** included: /WORKDIR/git-route_type8oek0enz/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_type8oek0enz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 12 January 2024 20:19:48 +0000 (0:00:00.047) 0:00:47.765 ******** 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_type8oek0enz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 12 January 2024 20:19:48 +0000 (0:00:00.033) 0:00:47.798 ******** 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_type8oek0enz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 12 January 2024 20:19:48 +0000 (0:00:00.026) 0:00:47.824 ******** 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_type8oek0enz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 12 January 2024 20:19:48 +0000 (0:00:00.026) 0:00:47.850 ******** 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_type8oek0enz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 12 January 2024 20:19:50 +0000 (0:00:01.661) 0:00:49.512 ******** 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_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 12 January 2024 20:19:51 +0000 (0:00:01.330) 0:00:50.843 ******** 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_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 12 January 2024 20:19:51 +0000 (0:00:00.035) 0:00:50.878 ******** 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_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 12 January 2024 20:19:51 +0000 (0:00:00.036) 0:00:50.915 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 12 January 2024 20:19:51 +0000 (0:00:00.024) 0:00:50.939 ******** 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_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:40 Friday 12 January 2024 20:19:51 +0000 (0:00:00.049) 0:00:50.989 ******** 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_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:55 Friday 12 January 2024 20:19:51 +0000 (0:00:00.025) 0:00:51.014 ******** 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_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:71 Friday 12 January 2024 20:19:51 +0000 (0:00:00.031) 0:00:51.045 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:85 Friday 12 January 2024 20:19:51 +0000 (0:00:00.037) 0:00:51.083 ******** 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_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:96 Friday 12 January 2024 20:19:52 +0000 (0:00:00.404) 0:00:51.488 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:105 Friday 12 January 2024 20:19:52 +0000 (0:00:00.028) 0:00:51.516 ******** 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_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:113 Friday 12 January 2024 20:19:52 +0000 (0:00:00.023) 0:00:51.540 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:122 Friday 12 January 2024 20:19:52 +0000 (0:00:00.028) 0:00:51.569 ******** 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, cfdfbcd4-3e90-4cf0-8a93-8bfdb37b9a54 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:134 Friday 12 January 2024 20:19:52 +0000 (0:00:00.467) 0:00:52.037 ******** 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_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:140 Friday 12 January 2024 20:19:52 +0000 (0:00:00.029) 0:00:52.067 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, cfdfbcd4-3e90-4cf0-8a93-8bfdb37b9a54" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:144 Friday 12 January 2024 20:19:52 +0000 (0:00:00.042) 0:00:52.109 ******** 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, cfdfbcd4-3e90-4cf0-8a93-8bfdb37b9a54\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, cfdfbcd4-3e90-4cf0-8a93-8bfdb37b9a54" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:149 Friday 12 January 2024 20:19:52 +0000 (0:00:00.034) 0:00:52.144 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:155 Friday 12 January 2024 20:19:52 +0000 (0:00:00.025) 0:00:52.169 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/create_bridge_profile.yml:14 Friday 12 January 2024 20:19:53 +0000 (0:00:00.197) 0:00:52.366 ******** 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, cfdfbcd4-3e90-4cf0-8a93-8bfdb37b9a54\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, cfdfbcd4-3e90-4cf0-8a93-8bfdb37b9a54" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/activate_profile.yml:3 Friday 12 January 2024 20:19:53 +0000 (0:00:00.030) 0:00:52.397 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 12 January 2024 20:19:53 +0000 (0:00:00.040) 0:00:52.437 ******** included: /WORKDIR/git-route_type8oek0enz/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_type8oek0enz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 12 January 2024 20:19:53 +0000 (0:00:00.070) 0:00:52.507 ******** 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_type8oek0enz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 12 January 2024 20:19:53 +0000 (0:00:00.028) 0:00:52.536 ******** 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_type8oek0enz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 12 January 2024 20:19:53 +0000 (0:00:00.024) 0:00:52.561 ******** 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_type8oek0enz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 12 January 2024 20:19:53 +0000 (0:00:00.024) 0:00:52.585 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-route_type8oek0enz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 12 January 2024 20:19:54 +0000 (0:00:01.622) 0:00:54.207 ******** 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_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 12 January 2024 20:19:56 +0000 (0:00:01.420) 0:00:55.628 ******** 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_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 12 January 2024 20:19:56 +0000 (0:00:00.026) 0:00:55.654 ******** 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_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 12 January 2024 20:19:56 +0000 (0:00:00.024) 0:00:55.679 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 12 January 2024 20:19:56 +0000 (0:00:00.023) 0:00:55.703 ******** 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_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:40 Friday 12 January 2024 20:19:56 +0000 (0:00:00.047) 0:00:55.750 ******** 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_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:55 Friday 12 January 2024 20:19:56 +0000 (0:00:00.024) 0:00:55.775 ******** 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_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:71 Friday 12 January 2024 20:19:56 +0000 (0:00:00.024) 0:00:55.800 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:85 Friday 12 January 2024 20:19:56 +0000 (0:00:00.031) 0:00:55.831 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-route_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:96 Friday 12 January 2024 20:19:56 +0000 (0:00:00.355) 0:00:56.187 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:105 Friday 12 January 2024 20:19:56 +0000 (0:00:00.029) 0:00:56.216 ******** 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_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:113 Friday 12 January 2024 20:19:56 +0000 (0:00:00.025) 0:00:56.242 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:122 Friday 12 January 2024 20:19:56 +0000 (0:00:00.024) 0:00:56.266 ******** 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, cfdfbcd4-3e90-4cf0-8a93-8bfdb37b9a54 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:134 Friday 12 January 2024 20:19:57 +0000 (0:00:00.412) 0:00:56.679 ******** 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_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:140 Friday 12 January 2024 20:19:57 +0000 (0:00:00.025) 0:00:56.705 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, cfdfbcd4-3e90-4cf0-8a93-8bfdb37b9a54 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:144 Friday 12 January 2024 20:19:57 +0000 (0:00:00.026) 0:00:56.731 ******** 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, cfdfbcd4-3e90-4cf0-8a93-8bfdb37b9a54 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, cfdfbcd4-3e90-4cf0-8a93-8bfdb37b9a54 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:149 Friday 12 January 2024 20:19:57 +0000 (0:00:00.025) 0:00:56.757 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:155 Friday 12 January 2024 20:19:57 +0000 (0:00:00.024) 0:00:56.781 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/remove_profile.yml:3 Friday 12 January 2024 20:19:57 +0000 (0:00:00.196) 0:00:56.978 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 12 January 2024 20:19:57 +0000 (0:00:00.049) 0:00:57.028 ******** included: /WORKDIR/git-route_type8oek0enz/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_type8oek0enz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 12 January 2024 20:19:57 +0000 (0:00:00.048) 0:00:57.076 ******** 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_type8oek0enz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 12 January 2024 20:19:57 +0000 (0:00:00.032) 0:00:57.109 ******** 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_type8oek0enz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 12 January 2024 20:19:57 +0000 (0:00:00.038) 0:00:57.148 ******** 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_type8oek0enz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 12 January 2024 20:19:57 +0000 (0:00:00.027) 0:00:57.176 ******** 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_type8oek0enz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 12 January 2024 20:19:59 +0000 (0:00:01.589) 0:00:58.765 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-route_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 12 January 2024 20:20:00 +0000 (0:00:01.310) 0:01:00.076 ******** 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_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 12 January 2024 20:20:00 +0000 (0:00:00.025) 0:01:00.101 ******** 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_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 12 January 2024 20:20:00 +0000 (0:00:00.024) 0:01:00.125 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 12 January 2024 20:20:00 +0000 (0:00:00.024) 0:01:00.149 ******** 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_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:40 Friday 12 January 2024 20:20:00 +0000 (0:00:00.102) 0:01:00.252 ******** 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_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:55 Friday 12 January 2024 20:20:00 +0000 (0:00:00.026) 0:01:00.278 ******** 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_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:71 Friday 12 January 2024 20:20:00 +0000 (0:00:00.023) 0:01:00.302 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:85 Friday 12 January 2024 20:20:00 +0000 (0:00:00.029) 0:01:00.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 : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-route_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:96 Friday 12 January 2024 20:20:01 +0000 (0:00:00.354) 0:01:00.685 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:105 Friday 12 January 2024 20:20:01 +0000 (0:00:00.026) 0:01:00.712 ******** 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_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:113 Friday 12 January 2024 20:20:01 +0000 (0:00:00.023) 0:01:00.735 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:122 Friday 12 January 2024 20:20:01 +0000 (0:00:00.024) 0:01:00.760 ******** 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_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:134 Friday 12 January 2024 20:20:01 +0000 (0:00:00.384) 0:01:01.144 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-route_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:140 Friday 12 January 2024 20:20:01 +0000 (0:00:00.024) 0:01:01.168 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:144 Friday 12 January 2024 20:20:01 +0000 (0:00:00.026) 0:01:01.195 ******** 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_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:149 Friday 12 January 2024 20:20:01 +0000 (0:00:00.030) 0:01:01.225 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:155 Friday 12 January 2024 20:20:01 +0000 (0:00:00.045) 0:01:01.270 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/run_test.yml:30 Friday 12 January 2024 20:20:02 +0000 (0:00:00.236) 0:01:01.506 ******** included: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/remove+down_profile.yml:3 Friday 12 January 2024 20:20:02 +0000 (0:00:00.069) 0:01:01.575 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 12 January 2024 20:20:02 +0000 (0:00:00.063) 0:01:01.639 ******** included: /WORKDIR/git-route_type8oek0enz/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_type8oek0enz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 12 January 2024 20:20:02 +0000 (0:00:00.043) 0:01:01.683 ******** 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_type8oek0enz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 12 January 2024 20:20:02 +0000 (0:00:00.032) 0:01:01.716 ******** 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_type8oek0enz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 12 January 2024 20:20:02 +0000 (0:00:00.025) 0:01:01.741 ******** 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_type8oek0enz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 12 January 2024 20:20:02 +0000 (0:00:00.023) 0:01:01.765 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-route_type8oek0enz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 12 January 2024 20:20:04 +0000 (0:00:01.625) 0:01:03.391 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-route_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 12 January 2024 20:20:05 +0000 (0:00:01.305) 0:01:04.696 ******** 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_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 12 January 2024 20:20:05 +0000 (0:00:00.023) 0:01:04.720 ******** 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_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 12 January 2024 20:20:05 +0000 (0:00:00.023) 0:01:04.743 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 12 January 2024 20:20:05 +0000 (0:00:00.023) 0:01:04.766 ******** 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_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:40 Friday 12 January 2024 20:20:05 +0000 (0:00:00.045) 0:01:04.811 ******** 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_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:55 Friday 12 January 2024 20:20:05 +0000 (0:00:00.021) 0:01:04.832 ******** 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_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:71 Friday 12 January 2024 20:20:05 +0000 (0:00:00.024) 0:01:04.857 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:85 Friday 12 January 2024 20:20:05 +0000 (0:00:00.055) 0:01:04.913 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-route_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:96 Friday 12 January 2024 20:20:05 +0000 (0:00:00.355) 0:01:05.268 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:105 Friday 12 January 2024 20:20:05 +0000 (0:00:00.027) 0:01:05.296 ******** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:113 Friday 12 January 2024 20:20:05 +0000 (0:00:00.023) 0:01:05.320 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:122 Friday 12 January 2024 20:20:05 +0000 (0:00:00.021) 0:01:05.341 ******** 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_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:134 Friday 12 January 2024 20:20:06 +0000 (0:00:00.428) 0:01:05.770 ******** 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_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:140 Friday 12 January 2024 20:20:06 +0000 (0:00:00.024) 0:01:05.795 ******** 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_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:144 Friday 12 January 2024 20:20:06 +0000 (0:00:00.024) 0:01:05.819 ******** 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_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:149 Friday 12 January 2024 20:20:06 +0000 (0:00:00.026) 0:01:05.845 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:155 Friday 12 January 2024 20:20:06 +0000 (0:00:00.023) 0:01:05.869 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/run_test.yml:36 Friday 12 January 2024 20:20:06 +0000 (0:00:00.198) 0:01:06.067 ******** included: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/assert_profile_absent.yml:3 Friday 12 January 2024 20:20:06 +0000 (0:00:00.041) 0:01:06.109 ******** included: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/get_profile_stat.yml:3 Friday 12 January 2024 20:20:06 +0000 (0:00:00.074) 0:01:06.184 ******** 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_type8oek0enz/tests/playbooks/tasks/get_profile_stat.yml:9 Friday 12 January 2024 20:20:06 +0000 (0:00:00.027) 0:01:06.212 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/get_profile_stat.yml:17 Friday 12 January 2024 20:20:07 +0000 (0:00:00.205) 0:01:06.417 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/get_profile_stat.yml:25 Friday 12 January 2024 20:20:07 +0000 (0:00:00.023) 0:01:06.440 ******** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022226", "end": "2024-01-12 20:20:07.273596", "rc": 1, "start": "2024-01-12 20:20:07.251370" } 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_type8oek0enz/tests/playbooks/tasks/get_profile_stat.yml:35 Friday 12 January 2024 20:20:07 +0000 (0:00:00.222) 0:01:06.662 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/get_profile_stat.yml:49 Friday 12 January 2024 20:20:07 +0000 (0:00:00.029) 0:01:06.692 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/get_profile_stat.yml:56 Friday 12 January 2024 20:20:07 +0000 (0:00:00.039) 0:01:06.731 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/get_profile_stat.yml:62 Friday 12 January 2024 20:20:07 +0000 (0:00:00.037) 0:01:06.768 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/get_profile_stat.yml:69 Friday 12 January 2024 20:20:07 +0000 (0:00:00.025) 0:01:06.794 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/assert_profile_absent.yml:5 Friday 12 January 2024 20:20:07 +0000 (0:00:00.024) 0:01:06.818 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/run_test.yml:42 Friday 12 January 2024 20:20:07 +0000 (0:00:00.029) 0:01:06.848 ******** included: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/assert_device_absent.yml:3 Friday 12 January 2024 20:20:07 +0000 (0:00:00.045) 0:01:06.893 ******** included: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 12 January 2024 20:20:07 +0000 (0:00:00.081) 0:01:06.974 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/assert_device_absent.yml:5 Friday 12 January 2024 20:20:07 +0000 (0:00:00.201) 0:01:07.176 ******** 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_type8oek0enz/tests/playbooks/tasks/run_test.yml:47 Friday 12 January 2024 20:20:07 +0000 (0:00:00.026) 0:01:07.203 ******** ok: [sut] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/run_test.yml:66 Friday 12 January 2024 20:20:07 +0000 (0:00:00.024) 0:01:07.227 ******** included: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/cleanup_profile+device.yml:3 Friday 12 January 2024 20:20:07 +0000 (0:00:00.044) 0:01:07.271 ******** 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.045068", "end": "2024-01-12 20:20:08.130124", "rc": 1, "start": "2024-01-12 20:20:08.085056" } 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_type8oek0enz/tests/playbooks/tests_states.yml:126 Friday 12 January 2024 20:20:08 +0000 (0:00:00.247) 0:01:07.518 ******** included: /WORKDIR/git-route_type8oek0enz/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_type8oek0enz/tests/playbooks/tasks/run_test.yml:5 Friday 12 January 2024 20:20:08 +0000 (0:00:00.039) 0:01:07.557 ******** 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_type8oek0enz/tests/playbooks/tasks/run_test.yml:9 Friday 12 January 2024 20:20:08 +0000 (0:00:00.024) 0:01:07.582 ******** 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_type8oek0enz/tests/playbooks/tasks/run_test.yml:21 Friday 12 January 2024 20:20:08 +0000 (0:00:00.047) 0:01:07.630 ******** included: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/show_interfaces.yml:3 Friday 12 January 2024 20:20:08 +0000 (0:00:00.039) 0:01:07.669 ******** included: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 12 January 2024 20:20:08 +0000 (0:00:00.036) 0:01:07.706 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003395", "end": "2024-01-12 20:20:08.523110", "rc": 0, "start": "2024-01-12 20:20:08.519715" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 12 January 2024 20:20:08 +0000 (0:00:00.204) 0:01:07.911 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/show_interfaces.yml:5 Friday 12 January 2024 20:20:08 +0000 (0:00:00.025) 0:01:07.936 ******** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/run_test.yml:24 Friday 12 January 2024 20:20:08 +0000 (0:00:00.023) 0:01:07.960 ******** included: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/create_bridge_profile.yml:3 Friday 12 January 2024 20:20:08 +0000 (0:00:00.046) 0:01:08.006 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 12 January 2024 20:20:08 +0000 (0:00:00.039) 0:01:08.046 ******** included: /WORKDIR/git-route_type8oek0enz/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_type8oek0enz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 12 January 2024 20:20:08 +0000 (0:00:00.044) 0:01:08.091 ******** 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_type8oek0enz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 12 January 2024 20:20:08 +0000 (0:00:00.029) 0:01:08.121 ******** 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_type8oek0enz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 12 January 2024 20:20:08 +0000 (0:00:00.023) 0:01:08.144 ******** 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_type8oek0enz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 12 January 2024 20:20:08 +0000 (0:00:00.024) 0:01:08.168 ******** 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_type8oek0enz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 12 January 2024 20:20:10 +0000 (0:00:01.588) 0:01:09.757 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-route_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 12 January 2024 20:20:11 +0000 (0:00:01.307) 0:01:11.064 ******** 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_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 12 January 2024 20:20:11 +0000 (0:00:00.025) 0:01:11.090 ******** 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_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 12 January 2024 20:20:11 +0000 (0:00:00.023) 0:01:11.113 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 12 January 2024 20:20:11 +0000 (0:00:00.024) 0:01:11.138 ******** 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_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:40 Friday 12 January 2024 20:20:11 +0000 (0:00:00.083) 0:01:11.221 ******** 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_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:55 Friday 12 January 2024 20:20:11 +0000 (0:00:00.026) 0:01:11.248 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-route_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:71 Friday 12 January 2024 20:20:11 +0000 (0:00:00.027) 0:01:11.275 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:85 Friday 12 January 2024 20:20:11 +0000 (0:00:00.029) 0:01:11.305 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-route_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:96 Friday 12 January 2024 20:20:12 +0000 (0:00:00.349) 0:01:11.654 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:105 Friday 12 January 2024 20:20:12 +0000 (0:00:00.028) 0:01:11.682 ******** 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_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:113 Friday 12 January 2024 20:20:12 +0000 (0:00:00.024) 0:01:11.706 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:122 Friday 12 January 2024 20:20:12 +0000 (0:00:00.023) 0:01:11.730 ******** 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, 92c9a03e-5ab9-4d7e-9389-c889a4a6bc6f TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:134 Friday 12 January 2024 20:20:12 +0000 (0:00:00.391) 0:01:12.121 ******** 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_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:140 Friday 12 January 2024 20:20:12 +0000 (0:00:00.024) 0:01:12.146 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 92c9a03e-5ab9-4d7e-9389-c889a4a6bc6f" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:144 Friday 12 January 2024 20:20:12 +0000 (0:00:00.026) 0:01:12.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, 92c9a03e-5ab9-4d7e-9389-c889a4a6bc6f\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 92c9a03e-5ab9-4d7e-9389-c889a4a6bc6f" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:149 Friday 12 January 2024 20:20:12 +0000 (0:00:00.031) 0:01:12.204 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:155 Friday 12 January 2024 20:20:12 +0000 (0:00:00.025) 0:01:12.229 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/create_bridge_profile.yml:14 Friday 12 January 2024 20:20:13 +0000 (0:00:00.233) 0:01:12.463 ******** 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, 92c9a03e-5ab9-4d7e-9389-c889a4a6bc6f\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 92c9a03e-5ab9-4d7e-9389-c889a4a6bc6f" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/activate_profile.yml:3 Friday 12 January 2024 20:20:13 +0000 (0:00:00.024) 0:01:12.488 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 12 January 2024 20:20:13 +0000 (0:00:00.040) 0:01:12.528 ******** included: /WORKDIR/git-route_type8oek0enz/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_type8oek0enz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 12 January 2024 20:20:13 +0000 (0:00:00.045) 0:01:12.574 ******** 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_type8oek0enz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 12 January 2024 20:20:13 +0000 (0:00:00.031) 0:01:12.605 ******** 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_type8oek0enz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 12 January 2024 20:20:13 +0000 (0:00:00.024) 0:01:12.629 ******** 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_type8oek0enz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 12 January 2024 20:20:13 +0000 (0:00:00.026) 0:01:12.656 ******** 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_type8oek0enz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 12 January 2024 20:20:14 +0000 (0:00:01.579) 0:01:14.235 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-route_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 12 January 2024 20:20:16 +0000 (0:00:01.335) 0:01:15.571 ******** 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_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 12 January 2024 20:20:16 +0000 (0:00:00.024) 0:01:15.596 ******** 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_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 12 January 2024 20:20:16 +0000 (0:00:00.022) 0:01:15.618 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 12 January 2024 20:20:16 +0000 (0:00:00.022) 0:01:15.641 ******** 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_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:40 Friday 12 January 2024 20:20:16 +0000 (0:00:00.045) 0:01:15.687 ******** 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_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:55 Friday 12 January 2024 20:20:16 +0000 (0:00:00.023) 0:01:15.711 ******** 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_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:71 Friday 12 January 2024 20:20:16 +0000 (0:00:00.022) 0:01:15.734 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:85 Friday 12 January 2024 20:20:16 +0000 (0:00:00.028) 0:01:15.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_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:96 Friday 12 January 2024 20:20:16 +0000 (0:00:00.347) 0:01:16.110 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:105 Friday 12 January 2024 20:20:16 +0000 (0:00:00.027) 0:01:16.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_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:113 Friday 12 January 2024 20:20:16 +0000 (0:00:00.023) 0:01:16.161 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:122 Friday 12 January 2024 20:20:16 +0000 (0:00:00.023) 0:01:16.184 ******** 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, 92c9a03e-5ab9-4d7e-9389-c889a4a6bc6f skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:134 Friday 12 January 2024 20:20:17 +0000 (0:00:00.339) 0:01:16.523 ******** 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_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:140 Friday 12 January 2024 20:20:17 +0000 (0:00:00.024) 0:01:16.547 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 92c9a03e-5ab9-4d7e-9389-c889a4a6bc6f skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:144 Friday 12 January 2024 20:20:17 +0000 (0:00:00.025) 0:01:16.573 ******** 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, 92c9a03e-5ab9-4d7e-9389-c889a4a6bc6f skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 92c9a03e-5ab9-4d7e-9389-c889a4a6bc6f skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:149 Friday 12 January 2024 20:20:17 +0000 (0:00:00.026) 0:01:16.599 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:155 Friday 12 January 2024 20:20:17 +0000 (0:00:00.022) 0:01:16.622 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/remove+down_profile.yml:3 Friday 12 January 2024 20:20:17 +0000 (0:00:00.194) 0:01:16.817 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 12 January 2024 20:20:17 +0000 (0:00:00.038) 0:01:16.855 ******** included: /WORKDIR/git-route_type8oek0enz/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_type8oek0enz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 12 January 2024 20:20:17 +0000 (0:00:00.043) 0:01:16.899 ******** 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_type8oek0enz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 12 January 2024 20:20:17 +0000 (0:00:00.091) 0:01:16.990 ******** 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_type8oek0enz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 12 January 2024 20:20:17 +0000 (0:00:00.024) 0:01:17.015 ******** 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_type8oek0enz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 12 January 2024 20:20:17 +0000 (0:00:00.023) 0:01:17.038 ******** 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_type8oek0enz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 12 January 2024 20:20:19 +0000 (0:00:01.580) 0:01:18.619 ******** 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_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 12 January 2024 20:20:20 +0000 (0:00:01.362) 0:01:19.982 ******** 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_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 12 January 2024 20:20:20 +0000 (0:00:00.034) 0:01:20.016 ******** 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_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 12 January 2024 20:20:20 +0000 (0:00:00.024) 0:01:20.041 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 12 January 2024 20:20:20 +0000 (0:00:00.023) 0:01:20.064 ******** 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_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:40 Friday 12 January 2024 20:20:20 +0000 (0:00:00.045) 0:01:20.110 ******** 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_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:55 Friday 12 January 2024 20:20:20 +0000 (0:00:00.023) 0:01:20.133 ******** 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_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:71 Friday 12 January 2024 20:20:20 +0000 (0:00:00.023) 0:01:20.157 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:85 Friday 12 January 2024 20:20:20 +0000 (0:00:00.026) 0:01:20.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 : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-route_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:96 Friday 12 January 2024 20:20:21 +0000 (0:00:00.349) 0:01:20.534 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:105 Friday 12 January 2024 20:20:21 +0000 (0:00:00.027) 0:01:20.561 ******** 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_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:113 Friday 12 January 2024 20:20:21 +0000 (0:00:00.023) 0:01:20.585 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:122 Friday 12 January 2024 20:20:21 +0000 (0:00:00.022) 0:01:20.607 ******** 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_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:134 Friday 12 January 2024 20:20:21 +0000 (0:00:00.423) 0:01:21.031 ******** 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_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:140 Friday 12 January 2024 20:20:21 +0000 (0:00:00.092) 0:01:21.123 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:144 Friday 12 January 2024 20:20:21 +0000 (0:00:00.037) 0:01:21.161 ******** 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_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:149 Friday 12 January 2024 20:20:21 +0000 (0:00:00.042) 0:01:21.203 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:155 Friday 12 January 2024 20:20:21 +0000 (0:00:00.026) 0:01:21.229 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/run_test.yml:30 Friday 12 January 2024 20:20:22 +0000 (0:00:00.202) 0:01:21.431 ******** included: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/remove+down_profile.yml:3 Friday 12 January 2024 20:20:22 +0000 (0:00:00.043) 0:01:21.474 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 12 January 2024 20:20:22 +0000 (0:00:00.042) 0:01:21.517 ******** included: /WORKDIR/git-route_type8oek0enz/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_type8oek0enz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 12 January 2024 20:20:22 +0000 (0:00:00.043) 0:01:21.561 ******** 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_type8oek0enz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 12 January 2024 20:20:22 +0000 (0:00:00.030) 0:01:21.591 ******** 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_type8oek0enz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 12 January 2024 20:20:22 +0000 (0:00:00.026) 0:01:21.617 ******** 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_type8oek0enz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 12 January 2024 20:20:22 +0000 (0:00:00.026) 0:01:21.643 ******** 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_type8oek0enz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 12 January 2024 20:20:23 +0000 (0:00:01.577) 0:01:23.221 ******** 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_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 12 January 2024 20:20:25 +0000 (0:00:01.308) 0:01:24.529 ******** 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_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 12 January 2024 20:20:25 +0000 (0:00:00.024) 0:01:24.554 ******** 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_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 12 January 2024 20:20:25 +0000 (0:00:00.040) 0:01:24.595 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 12 January 2024 20:20:25 +0000 (0:00:00.061) 0:01:24.656 ******** 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_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:40 Friday 12 January 2024 20:20:25 +0000 (0:00:00.047) 0:01:24.703 ******** 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_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:55 Friday 12 January 2024 20:20:25 +0000 (0:00:00.023) 0:01:24.727 ******** 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_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:71 Friday 12 January 2024 20:20:25 +0000 (0:00:00.024) 0:01:24.751 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:85 Friday 12 January 2024 20:20:25 +0000 (0:00:00.026) 0:01:24.778 ******** 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_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:96 Friday 12 January 2024 20:20:25 +0000 (0:00:00.348) 0:01:25.127 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:105 Friday 12 January 2024 20:20:25 +0000 (0:00:00.027) 0:01:25.155 ******** 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_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:113 Friday 12 January 2024 20:20:25 +0000 (0:00:00.023) 0:01:25.179 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:122 Friday 12 January 2024 20:20:25 +0000 (0:00:00.023) 0:01:25.202 ******** 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_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:134 Friday 12 January 2024 20:20:26 +0000 (0:00:00.361) 0:01:25.564 ******** 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_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:140 Friday 12 January 2024 20:20:26 +0000 (0:00:00.023) 0:01:25.587 ******** 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_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:144 Friday 12 January 2024 20:20:26 +0000 (0:00:00.026) 0:01:25.613 ******** 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_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:149 Friday 12 January 2024 20:20:26 +0000 (0:00:00.025) 0:01:25.638 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:155 Friday 12 January 2024 20:20:26 +0000 (0:00:00.024) 0:01:25.663 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/run_test.yml:36 Friday 12 January 2024 20:20:26 +0000 (0:00:00.226) 0:01:25.889 ******** included: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/assert_profile_absent.yml for sut included: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/get_NetworkManager_NVR.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/assert_profile_absent.yml:3 Friday 12 January 2024 20:20:26 +0000 (0:00:00.050) 0:01:25.940 ******** included: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/get_profile_stat.yml:3 Friday 12 January 2024 20:20:26 +0000 (0:00:00.040) 0:01:25.980 ******** 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_type8oek0enz/tests/playbooks/tasks/get_profile_stat.yml:9 Friday 12 January 2024 20:20:26 +0000 (0:00:00.025) 0:01:26.006 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/get_profile_stat.yml:17 Friday 12 January 2024 20:20:26 +0000 (0:00:00.200) 0:01:26.207 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/get_profile_stat.yml:25 Friday 12 January 2024 20:20:26 +0000 (0:00:00.023) 0:01:26.230 ******** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022806", "end": "2024-01-12 20:20:27.063667", "rc": 1, "start": "2024-01-12 20:20:27.040861" } 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_type8oek0enz/tests/playbooks/tasks/get_profile_stat.yml:35 Friday 12 January 2024 20:20:27 +0000 (0:00:00.221) 0:01:26.451 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/get_profile_stat.yml:49 Friday 12 January 2024 20:20:27 +0000 (0:00:00.024) 0:01:26.476 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/get_profile_stat.yml:56 Friday 12 January 2024 20:20:27 +0000 (0:00:00.023) 0:01:26.500 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/get_profile_stat.yml:62 Friday 12 January 2024 20:20:27 +0000 (0:00:00.024) 0:01:26.525 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/get_profile_stat.yml:69 Friday 12 January 2024 20:20:27 +0000 (0:00:00.024) 0:01:26.549 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/assert_profile_absent.yml:5 Friday 12 January 2024 20:20:27 +0000 (0:00:00.024) 0:01:26.573 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/get_NetworkManager_NVR.yml:7 Friday 12 January 2024 20:20:27 +0000 (0:00:00.054) 0:01:26.628 ******** ok: [sut] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.943864", "end": "2024-01-12 20:20:28.383729", "rc": 0, "start": "2024-01-12 20:20:27.439865" } STDOUT: NetworkManager-1.40.16-14.el8 TASK [Store NetworkManager version] ******************************************** task path: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/get_NetworkManager_NVR.yml:14 Friday 12 January 2024 20:20:28 +0000 (0:00:01.144) 0:01:27.772 ******** ok: [sut] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.40.16-14.el8" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/get_NetworkManager_NVR.yml:18 Friday 12 January 2024 20:20:28 +0000 (0:00:00.024) 0:01:27.797 ******** ok: [sut] => { "networkmanager_nvr": "NetworkManager-1.40.16-14.el8" } TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/run_test.yml:42 Friday 12 January 2024 20:20:28 +0000 (0:00:00.025) 0:01:27.823 ******** included: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/assert_device_absent.yml:3 Friday 12 January 2024 20:20:28 +0000 (0:00:00.046) 0:01:27.869 ******** included: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 12 January 2024 20:20:28 +0000 (0:00:00.039) 0:01:27.909 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/assert_device_absent.yml:5 Friday 12 January 2024 20:20:28 +0000 (0:00:00.200) 0:01:28.110 ******** 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_type8oek0enz/tests/playbooks/tasks/run_test.yml:47 Friday 12 January 2024 20:20:28 +0000 (0:00:00.025) 0:01:28.136 ******** 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_type8oek0enz/tests/playbooks/tasks/run_test.yml:66 Friday 12 January 2024 20:20:28 +0000 (0:00:00.024) 0:01:28.161 ******** included: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/cleanup_profile+device.yml:3 Friday 12 January 2024 20:20:28 +0000 (0:00:00.074) 0:01:28.235 ******** 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.045113", "end": "2024-01-12 20:20:29.092287", "rc": 1, "start": "2024-01-12 20:20:29.047174" } 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=321 changed=10 unreachable=0 failed=0 skipped=247 rescued=0 ignored=11 Friday 12 January 2024 20:20:29 +0000 (0:00:00.231) 0:01:28.467 ******** =============================================================================== linux-system-roles.network : Configure networking connection profiles --- 2.32s /WORKDIR/git-route_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Enable and start NetworkManager ------------ 2.05s /WORKDIR/git-route_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:85 linux-system-roles.network : Check which services are running ----------- 1.68s /WORKDIR/git-route_type8oek0enz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which packages are installed --------- 1.67s /WORKDIR/git-route_type8oek0enz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which services are running ----------- 1.66s /WORKDIR/git-route_type8oek0enz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.63s /WORKDIR/git-route_type8oek0enz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.62s /WORKDIR/git-route_type8oek0enz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.62s /WORKDIR/git-route_type8oek0enz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.62s /WORKDIR/git-route_type8oek0enz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.60s /WORKDIR/git-route_type8oek0enz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.59s /WORKDIR/git-route_type8oek0enz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.59s /WORKDIR/git-route_type8oek0enz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.59s /WORKDIR/git-route_type8oek0enz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.59s /WORKDIR/git-route_type8oek0enz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.59s /WORKDIR/git-route_type8oek0enz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.58s /WORKDIR/git-route_type8oek0enz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.58s /WORKDIR/git-route_type8oek0enz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.58s /WORKDIR/git-route_type8oek0enz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Configure networking connection profiles --- 1.46s /WORKDIR/git-route_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Enable and start NetworkManager ------------ 1.46s /WORKDIR/git-route_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:85 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- [WARNING]: Consider using the dnf module rather than running 'dnf'. If you need to use command because dnf is insufficient you can add 'warn: false' to this command task or set 'command_warnings=False' in ansible.cfg to get rid of this message. [WARNING]: Consider using the yum, dnf or zypper module rather than running 'rpm'. If you need to use command because yum, dnf or zypper is insufficient you can add 'warn: false' to this command task or set 'command_warnings=False' in ansible.cfg to get rid of this message. ---^---^---^---^---^---