# 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_typeki4w1peq/tests/tests_states_nm.yml PLAY [Run playbook 'playbooks/tests_states.yml' with nm as provider] *********** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-route_typeki4w1peq/tests/tests_states_nm.yml:6 Friday 12 January 2024 20:05:20 +0000 (0:00:00.012) 0:00:00.012 ******** ok: [sut] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-route_typeki4w1peq/tests/tests_states_nm.yml:9 Friday 12 January 2024 20:05:21 +0000 (0:00:00.900) 0:00:00.913 ******** included: /WORKDIR/git-route_typeki4w1peq/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_typeki4w1peq/tests/tasks/el_repo_setup.yml:3 Friday 12 January 2024 20:05:21 +0000 (0:00:00.021) 0:00:00.934 ******** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-route_typeki4w1peq/tests/tasks/el_repo_setup.yml:19 Friday 12 January 2024 20:05:21 +0000 (0:00:00.504) 0:00:01.438 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-route_typeki4w1peq/tests/tasks/el_repo_setup.yml:24 Friday 12 January 2024 20:05:21 +0000 (0:00:00.255) 0:00:01.694 ******** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-route_typeki4w1peq/tests/tasks/el_repo_setup.yml:28 Friday 12 January 2024 20:05:22 +0000 (0:00:00.019) 0:00:01.714 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-route_typeki4w1peq/tests/tasks/el_repo_setup.yml:53 Friday 12 January 2024 20:05:22 +0000 (0:00:00.015) 0:00:01.730 ******** included: /WORKDIR/git-route_typeki4w1peq/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 38] ********************************************************** task path: /WORKDIR/git-route_typeki4w1peq/tests/tasks/enable_epel.yml:8 Friday 12 January 2024 20:05:22 +0000 (0:00:00.029) 0:00:01.759 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Install yum-utils package] *********************************************** task path: /WORKDIR/git-route_typeki4w1peq/tests/tasks/enable_epel.yml:24 Friday 12 January 2024 20:05:22 +0000 (0:00:00.008) 0:00:01.768 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-route_typeki4w1peq/tests/tasks/enable_epel.yml:30 Friday 12 January 2024 20:05:22 +0000 (0:00:00.008) 0:00:01.776 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-route_typeki4w1peq/tests/tasks/enable_epel.yml:35 Friday 12 January 2024 20:05:22 +0000 (0:00:00.008) 0:00:01.784 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-route_typeki4w1peq/tests/tasks/enable_epel.yml:40 Friday 12 January 2024 20:05:22 +0000 (0:00:00.008) 0:00:01.792 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /WORKDIR/git-route_typeki4w1peq/tests/tests_states_nm.yml:11 Friday 12 January 2024 20:05:22 +0000 (0:00:00.007) 0:00:01.800 ******** 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_typeki4w1peq/tests/playbooks/tests_states.yml:3 Friday 12 January 2024 20:05:22 +0000 (0:00:00.009) 0:00:01.809 ******** ok: [sut] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-route_typeki4w1peq/tests/playbooks/tests_states.yml:11 Friday 12 January 2024 20:05:22 +0000 (0:00:00.771) 0:00:02.580 ******** ok: [sut] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-route_typeki4w1peq/tests/playbooks/tests_states.yml:22 Friday 12 January 2024 20:05:22 +0000 (0:00:00.009) 0:00:02.590 ******** included: /WORKDIR/git-route_typeki4w1peq/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile] ******************************************** task path: /WORKDIR/git-route_typeki4w1peq/tests/playbooks/tasks/run_test.yml:5 Friday 12 January 2024 20:05:22 +0000 (0:00:00.015) 0:00:02.606 ******** ok: [sut] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_typeki4w1peq/tests/playbooks/tasks/run_test.yml:9 Friday 12 January 2024 20:05:22 +0000 (0:00:00.018) 0:00:02.625 ******** 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_typeki4w1peq/tests/playbooks/tasks/run_test.yml:21 Friday 12 January 2024 20:05:22 +0000 (0:00:00.032) 0:00:02.658 ******** included: /WORKDIR/git-route_typeki4w1peq/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typeki4w1peq/tests/playbooks/tasks/show_interfaces.yml:3 Friday 12 January 2024 20:05:22 +0000 (0:00:00.017) 0:00:02.675 ******** included: /WORKDIR/git-route_typeki4w1peq/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typeki4w1peq/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 12 January 2024 20:05:22 +0000 (0:00:00.013) 0:00:02.688 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003651", "end": "2024-01-12 20:05:23.209821", "rc": 0, "start": "2024-01-12 20:05:23.206170" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typeki4w1peq/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 12 January 2024 20:05:23 +0000 (0:00:00.254) 0:00:02.943 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typeki4w1peq/tests/playbooks/tasks/show_interfaces.yml:5 Friday 12 January 2024 20:05:23 +0000 (0:00:00.012) 0:00:02.955 ******** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typeki4w1peq/tests/playbooks/tasks/run_test.yml:24 Friday 12 January 2024 20:05:23 +0000 (0:00:00.010) 0:00:02.965 ******** included: /WORKDIR/git-route_typeki4w1peq/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-route_typeki4w1peq/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-route_typeki4w1peq/tests/playbooks/tasks/delete_interface.yml:3 Friday 12 January 2024 20:05:23 +0000 (0:00:00.019) 0:00:02.985 ******** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.007961", "end": "2024-01-12 20:05:23.454980", "rc": 1, "start": "2024-01-12 20:05:23.447019" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typeki4w1peq/tests/playbooks/tasks/assert_device_absent.yml:3 Friday 12 January 2024 20:05:23 +0000 (0:00:00.212) 0:00:03.197 ******** included: /WORKDIR/git-route_typeki4w1peq/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typeki4w1peq/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 12 January 2024 20:05:23 +0000 (0:00:00.015) 0:00:03.212 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_typeki4w1peq/tests/playbooks/tasks/assert_device_absent.yml:5 Friday 12 January 2024 20:05:23 +0000 (0:00:00.202) 0:00:03.415 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_typeki4w1peq/tests/playbooks/tasks/run_test.yml:30 Friday 12 January 2024 20:05:23 +0000 (0:00:00.025) 0:00:03.440 ******** included: /WORKDIR/git-route_typeki4w1peq/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typeki4w1peq/tests/playbooks/tasks/create_bridge_profile.yml:3 Friday 12 January 2024 20:05:23 +0000 (0:00:00.025) 0:00:03.466 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 12 January 2024 20:05:23 +0000 (0:00:00.033) 0:00:03.500 ******** included: /WORKDIR/git-route_typeki4w1peq/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_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 12 January 2024 20:05:23 +0000 (0:00:00.067) 0:00:03.567 ******** 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_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 12 January 2024 20:05:23 +0000 (0:00:00.012) 0:00:03.579 ******** 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_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 12 January 2024 20:05:23 +0000 (0:00:00.010) 0:00:03.590 ******** 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_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 12 January 2024 20:05:23 +0000 (0:00:00.009) 0:00:03.599 ******** 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_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 12 January 2024 20:05:26 +0000 (0:00:02.232) 0:00:05.832 ******** 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_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 12 January 2024 20:05:27 +0000 (0:00:01.048) 0:00:06.880 ******** 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_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 12 January 2024 20:05:27 +0000 (0:00:00.032) 0:00:06.913 ******** 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_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 12 January 2024 20:05:27 +0000 (0:00:00.035) 0:00:06.948 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 12 January 2024 20:05:27 +0000 (0:00:00.022) 0:00:06.971 ******** 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_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/main.yml:40 Friday 12 January 2024 20:05:27 +0000 (0:00:00.045) 0:00:07.016 ******** 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_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/main.yml:55 Friday 12 January 2024 20:05:27 +0000 (0:00:00.023) 0:00:07.039 ******** 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_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/main.yml:71 Friday 12 January 2024 20:05:27 +0000 (0:00:00.021) 0:00:07.061 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/main.yml:85 Friday 12 January 2024 20:05:27 +0000 (0:00:00.026) 0:00:07.088 ******** 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_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/main.yml:96 Friday 12 January 2024 20:05:28 +0000 (0:00:00.725) 0:00:07.814 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/main.yml:105 Friday 12 January 2024 20:05:28 +0000 (0:00:00.025) 0:00:07.840 ******** 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_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/main.yml:113 Friday 12 January 2024 20:05:28 +0000 (0:00:00.021) 0:00:07.861 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/main.yml:122 Friday 12 January 2024 20:05:28 +0000 (0:00:00.020) 0:00:07.882 ******** 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, cd64747f-d5b2-4dc8-aaf5-5d15d7ab17e2 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/main.yml:134 Friday 12 January 2024 20:05:28 +0000 (0:00:00.528) 0:00:08.410 ******** 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_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/main.yml:140 Friday 12 January 2024 20:05:28 +0000 (0:00:00.021) 0:00:08.432 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, cd64747f-d5b2-4dc8-aaf5-5d15d7ab17e2" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/main.yml:144 Friday 12 January 2024 20:05:28 +0000 (0:00:00.022) 0:00:08.454 ******** 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, cd64747f-d5b2-4dc8-aaf5-5d15d7ab17e2\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, cd64747f-d5b2-4dc8-aaf5-5d15d7ab17e2" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/main.yml:149 Friday 12 January 2024 20:05:28 +0000 (0:00:00.023) 0:00:08.478 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/main.yml:155 Friday 12 January 2024 20:05:28 +0000 (0:00:00.021) 0:00:08.499 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typeki4w1peq/tests/playbooks/tasks/create_bridge_profile.yml:14 Friday 12 January 2024 20:05:29 +0000 (0:00:00.276) 0:00:08.776 ******** 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, cd64747f-d5b2-4dc8-aaf5-5d15d7ab17e2\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, cd64747f-d5b2-4dc8-aaf5-5d15d7ab17e2" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_typeki4w1peq/tests/playbooks/tasks/run_test.yml:36 Friday 12 January 2024 20:05:29 +0000 (0:00:00.023) 0:00:08.800 ******** included: /WORKDIR/git-route_typeki4w1peq/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typeki4w1peq/tests/playbooks/tasks/assert_profile_present.yml:3 Friday 12 January 2024 20:05:29 +0000 (0:00:00.065) 0:00:08.866 ******** included: /WORKDIR/git-route_typeki4w1peq/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typeki4w1peq/tests/playbooks/tasks/get_profile_stat.yml:3 Friday 12 January 2024 20:05:29 +0000 (0:00:00.038) 0:00:08.904 ******** 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_typeki4w1peq/tests/playbooks/tasks/get_profile_stat.yml:9 Friday 12 January 2024 20:05:29 +0000 (0:00:00.022) 0:00:08.927 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_typeki4w1peq/tests/playbooks/tasks/get_profile_stat.yml:17 Friday 12 January 2024 20:05:29 +0000 (0:00:00.206) 0:00:09.133 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typeki4w1peq/tests/playbooks/tasks/get_profile_stat.yml:25 Friday 12 January 2024 20:05:29 +0000 (0:00:00.021) 0:00:09.155 ******** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022873", "end": "2024-01-12 20:05:29.640331", "rc": 0, "start": "2024-01-12 20:05:29.617458" } STDOUT: statebr /etc/NetworkManager/system-connections/statebr.nmconnection TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-route_typeki4w1peq/tests/playbooks/tasks/get_profile_stat.yml:35 Friday 12 January 2024 20:05:29 +0000 (0:00:00.230) 0:00:09.386 ******** 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_typeki4w1peq/tests/playbooks/tasks/get_profile_stat.yml:49 Friday 12 January 2024 20:05:29 +0000 (0:00:00.024) 0:00:09.410 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_typeki4w1peq/tests/playbooks/tasks/get_profile_stat.yml:56 Friday 12 January 2024 20:05:29 +0000 (0:00:00.022) 0:00:09.432 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_typeki4w1peq/tests/playbooks/tasks/get_profile_stat.yml:62 Friday 12 January 2024 20:05:29 +0000 (0:00:00.022) 0:00:09.455 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_typeki4w1peq/tests/playbooks/tasks/get_profile_stat.yml:69 Friday 12 January 2024 20:05:29 +0000 (0:00:00.021) 0:00:09.477 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-route_typeki4w1peq/tests/playbooks/tasks/assert_profile_present.yml:5 Friday 12 January 2024 20:05:29 +0000 (0:00:00.024) 0:00:09.501 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-route_typeki4w1peq/tests/playbooks/tasks/assert_profile_present.yml:10 Friday 12 January 2024 20:05:29 +0000 (0:00:00.031) 0:00:09.533 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-route_typeki4w1peq/tests/playbooks/tasks/assert_profile_present.yml:15 Friday 12 January 2024 20:05:29 +0000 (0:00:00.040) 0:00:09.573 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typeki4w1peq/tests/playbooks/tasks/run_test.yml:42 Friday 12 January 2024 20:05:29 +0000 (0:00:00.030) 0:00:09.604 ******** included: /WORKDIR/git-route_typeki4w1peq/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typeki4w1peq/tests/playbooks/tasks/assert_device_present.yml:3 Friday 12 January 2024 20:05:29 +0000 (0:00:00.071) 0:00:09.675 ******** included: /WORKDIR/git-route_typeki4w1peq/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typeki4w1peq/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 12 January 2024 20:05:30 +0000 (0:00:00.036) 0:00:09.712 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1705089928.605695, "block_size": 4096, "blocks": 0, "ctime": 1705089928.605695, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 34710, "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": 1705089928.605695, "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_typeki4w1peq/tests/playbooks/tasks/assert_device_present.yml:5 Friday 12 January 2024 20:05:30 +0000 (0:00:00.216) 0:00:09.928 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can create a profile'] ******************************** task path: /WORKDIR/git-route_typeki4w1peq/tests/playbooks/tasks/run_test.yml:47 Friday 12 January 2024 20:05:30 +0000 (0:00:00.032) 0:00:09.960 ******** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_typeki4w1peq/tests/playbooks/tasks/run_test.yml:66 Friday 12 January 2024 20:05:30 +0000 (0:00:00.042) 0:00:10.003 ******** included: /WORKDIR/git-route_typeki4w1peq/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_typeki4w1peq/tests/playbooks/tasks/cleanup_profile+device.yml:3 Friday 12 January 2024 20:05:30 +0000 (0:00:00.047) 0:00:10.050 ******** 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.058127", "end": "2024-01-12 20:05:30.572956", "rc": 1, "start": "2024-01-12 20:05:30.514829" } STDOUT: Connection 'statebr' (cd64747f-d5b2-4dc8-aaf5-5d15d7ab17e2) successfully deleted. STDERR: Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-route_typeki4w1peq/tests/playbooks/tests_states.yml:45 Friday 12 January 2024 20:05:30 +0000 (0:00:00.266) 0:00:10.316 ******** included: /WORKDIR/git-route_typeki4w1peq/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile without autoconnect] ************************ task path: /WORKDIR/git-route_typeki4w1peq/tests/playbooks/tasks/run_test.yml:5 Friday 12 January 2024 20:05:30 +0000 (0:00:00.038) 0:00:10.355 ******** ok: [sut] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_typeki4w1peq/tests/playbooks/tasks/run_test.yml:9 Friday 12 January 2024 20:05:30 +0000 (0:00:00.022) 0:00:10.378 ******** 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_typeki4w1peq/tests/playbooks/tasks/run_test.yml:21 Friday 12 January 2024 20:05:30 +0000 (0:00:00.044) 0:00:10.422 ******** included: /WORKDIR/git-route_typeki4w1peq/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typeki4w1peq/tests/playbooks/tasks/show_interfaces.yml:3 Friday 12 January 2024 20:05:30 +0000 (0:00:00.062) 0:00:10.485 ******** included: /WORKDIR/git-route_typeki4w1peq/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typeki4w1peq/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 12 January 2024 20:05:30 +0000 (0:00:00.036) 0:00:10.521 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.004936", "end": "2024-01-12 20:05:31.996353", "rc": 0, "start": "2024-01-12 20:05:30.991417" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typeki4w1peq/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 12 January 2024 20:05:32 +0000 (0:00:01.220) 0:00:11.742 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typeki4w1peq/tests/playbooks/tasks/show_interfaces.yml:5 Friday 12 January 2024 20:05:32 +0000 (0:00:00.022) 0:00:11.764 ******** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typeki4w1peq/tests/playbooks/tasks/run_test.yml:24 Friday 12 January 2024 20:05:32 +0000 (0:00:00.022) 0:00:11.787 ******** included: /WORKDIR/git-route_typeki4w1peq/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-route_typeki4w1peq/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-route_typeki4w1peq/tests/playbooks/tasks/delete_interface.yml:3 Friday 12 January 2024 20:05:32 +0000 (0:00:00.042) 0:00:11.829 ******** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.006446", "end": "2024-01-12 20:05:32.296557", "rc": 1, "start": "2024-01-12 20:05:32.290111" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typeki4w1peq/tests/playbooks/tasks/assert_device_absent.yml:3 Friday 12 January 2024 20:05:32 +0000 (0:00:00.210) 0:00:12.039 ******** included: /WORKDIR/git-route_typeki4w1peq/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typeki4w1peq/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 12 January 2024 20:05:32 +0000 (0:00:00.059) 0:00:12.099 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_typeki4w1peq/tests/playbooks/tasks/assert_device_absent.yml:5 Friday 12 January 2024 20:05:32 +0000 (0:00:00.220) 0:00:12.319 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_typeki4w1peq/tests/playbooks/tasks/run_test.yml:30 Friday 12 January 2024 20:05:32 +0000 (0:00:00.030) 0:00:12.350 ******** included: /WORKDIR/git-route_typeki4w1peq/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typeki4w1peq/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Friday 12 January 2024 20:05:32 +0000 (0:00:00.053) 0:00:12.404 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 12 January 2024 20:05:32 +0000 (0:00:00.042) 0:00:12.446 ******** included: /WORKDIR/git-route_typeki4w1peq/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_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 12 January 2024 20:05:32 +0000 (0:00:00.041) 0:00:12.488 ******** 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_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 12 January 2024 20:05:32 +0000 (0:00:00.027) 0:00:12.515 ******** 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_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 12 January 2024 20:05:32 +0000 (0:00:00.021) 0:00:12.537 ******** 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_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 12 January 2024 20:05:32 +0000 (0:00:00.021) 0:00:12.558 ******** 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_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 12 January 2024 20:05:34 +0000 (0:00:02.128) 0:00:14.686 ******** 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_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 12 January 2024 20:05:35 +0000 (0:00:00.888) 0:00:15.575 ******** 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_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 12 January 2024 20:05:35 +0000 (0:00:00.023) 0:00:15.598 ******** 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_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 12 January 2024 20:05:35 +0000 (0:00:00.021) 0:00:15.620 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 12 January 2024 20:05:35 +0000 (0:00:00.020) 0:00: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_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/main.yml:40 Friday 12 January 2024 20:05:35 +0000 (0:00:00.067) 0:00:15.709 ******** 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_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/main.yml:55 Friday 12 January 2024 20:05:36 +0000 (0:00:00.023) 0:00:15.732 ******** 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_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/main.yml:71 Friday 12 January 2024 20:05:36 +0000 (0:00:00.021) 0:00:15.753 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/main.yml:85 Friday 12 January 2024 20:05:36 +0000 (0:00:00.025) 0:00:15.779 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-route_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/main.yml:96 Friday 12 January 2024 20:05:36 +0000 (0:00:00.547) 0:00:16.326 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/main.yml:105 Friday 12 January 2024 20:05:36 +0000 (0:00:00.028) 0:00:16.355 ******** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/main.yml:113 Friday 12 January 2024 20:05:36 +0000 (0:00:00.022) 0:00:16.377 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/main.yml:122 Friday 12 January 2024 20:05:36 +0000 (0:00:00.022) 0:00:16.399 ******** 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, 0a57021e-d323-47cf-a341-d82e5f4f1b36 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/main.yml:134 Friday 12 January 2024 20:05:37 +0000 (0:00:00.369) 0:00:16.769 ******** 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_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/main.yml:140 Friday 12 January 2024 20:05:37 +0000 (0:00:00.022) 0:00:16.792 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 0a57021e-d323-47cf-a341-d82e5f4f1b36" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/main.yml:144 Friday 12 January 2024 20:05:37 +0000 (0:00:00.024) 0:00:16.816 ******** 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, 0a57021e-d323-47cf-a341-d82e5f4f1b36\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 0a57021e-d323-47cf-a341-d82e5f4f1b36" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/main.yml:149 Friday 12 January 2024 20:05:37 +0000 (0:00:00.026) 0:00:16.842 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/main.yml:155 Friday 12 January 2024 20:05:37 +0000 (0:00:00.023) 0:00:16.866 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typeki4w1peq/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Friday 12 January 2024 20:05:37 +0000 (0:00:00.205) 0:00:17.072 ******** 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, 0a57021e-d323-47cf-a341-d82e5f4f1b36\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 0a57021e-d323-47cf-a341-d82e5f4f1b36" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_typeki4w1peq/tests/playbooks/tasks/run_test.yml:36 Friday 12 January 2024 20:05:37 +0000 (0:00:00.024) 0:00:17.096 ******** included: /WORKDIR/git-route_typeki4w1peq/tests/playbooks/tasks/assert_device_absent.yml for sut included: /WORKDIR/git-route_typeki4w1peq/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typeki4w1peq/tests/playbooks/tasks/assert_device_absent.yml:3 Friday 12 January 2024 20:05:37 +0000 (0:00:00.045) 0:00:17.141 ******** included: /WORKDIR/git-route_typeki4w1peq/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typeki4w1peq/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 12 January 2024 20:05:37 +0000 (0:00:00.038) 0:00:17.180 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_typeki4w1peq/tests/playbooks/tasks/assert_device_absent.yml:5 Friday 12 January 2024 20:05:37 +0000 (0:00:00.208) 0:00:17.388 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typeki4w1peq/tests/playbooks/tasks/assert_profile_present.yml:3 Friday 12 January 2024 20:05:37 +0000 (0:00:00.038) 0:00:17.426 ******** included: /WORKDIR/git-route_typeki4w1peq/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typeki4w1peq/tests/playbooks/tasks/get_profile_stat.yml:3 Friday 12 January 2024 20:05:37 +0000 (0:00:00.040) 0:00:17.467 ******** 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_typeki4w1peq/tests/playbooks/tasks/get_profile_stat.yml:9 Friday 12 January 2024 20:05:37 +0000 (0:00:00.023) 0:00:17.490 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_typeki4w1peq/tests/playbooks/tasks/get_profile_stat.yml:17 Friday 12 January 2024 20:05:37 +0000 (0:00:00.208) 0:00:17.699 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typeki4w1peq/tests/playbooks/tasks/get_profile_stat.yml:25 Friday 12 January 2024 20:05:38 +0000 (0:00:00.030) 0:00:17.730 ******** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021618", "end": "2024-01-12 20:05:38.222803", "rc": 0, "start": "2024-01-12 20:05:38.201185" } STDOUT: statebr /etc/NetworkManager/system-connections/statebr.nmconnection TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-route_typeki4w1peq/tests/playbooks/tasks/get_profile_stat.yml:35 Friday 12 January 2024 20:05:38 +0000 (0:00:00.260) 0:00:17.990 ******** 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_typeki4w1peq/tests/playbooks/tasks/get_profile_stat.yml:49 Friday 12 January 2024 20:05:38 +0000 (0:00:00.025) 0:00:18.016 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_typeki4w1peq/tests/playbooks/tasks/get_profile_stat.yml:56 Friday 12 January 2024 20:05:38 +0000 (0:00:00.022) 0:00:18.038 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_typeki4w1peq/tests/playbooks/tasks/get_profile_stat.yml:62 Friday 12 January 2024 20:05:38 +0000 (0:00:00.022) 0:00:18.061 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_typeki4w1peq/tests/playbooks/tasks/get_profile_stat.yml:69 Friday 12 January 2024 20:05:38 +0000 (0:00:00.022) 0:00:18.084 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-route_typeki4w1peq/tests/playbooks/tasks/assert_profile_present.yml:5 Friday 12 January 2024 20:05:38 +0000 (0:00:00.023) 0:00:18.108 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-route_typeki4w1peq/tests/playbooks/tasks/assert_profile_present.yml:10 Friday 12 January 2024 20:05:38 +0000 (0:00:00.025) 0:00:18.134 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-route_typeki4w1peq/tests/playbooks/tasks/assert_profile_present.yml:15 Friday 12 January 2024 20:05:38 +0000 (0:00:00.024) 0:00:18.158 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typeki4w1peq/tests/playbooks/tasks/run_test.yml:42 Friday 12 January 2024 20:05:38 +0000 (0:00:00.025) 0:00:18.184 ******** TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /WORKDIR/git-route_typeki4w1peq/tests/playbooks/tasks/run_test.yml:47 Friday 12 January 2024 20:05:38 +0000 (0:00:00.022) 0:00:18.206 ******** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_typeki4w1peq/tests/playbooks/tasks/run_test.yml:66 Friday 12 January 2024 20:05:38 +0000 (0:00:00.024) 0:00:18.231 ******** included: /WORKDIR/git-route_typeki4w1peq/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_typeki4w1peq/tests/playbooks/tasks/cleanup_profile+device.yml:3 Friday 12 January 2024 20:05:38 +0000 (0:00:00.052) 0:00:18.283 ******** 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.042383", "end": "2024-01-12 20:05:38.788295", "rc": 1, "start": "2024-01-12 20:05:38.745912" } STDOUT: Connection 'statebr' (0a57021e-d323-47cf-a341-d82e5f4f1b36) successfully deleted. STDERR: Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-route_typeki4w1peq/tests/playbooks/tests_states.yml:65 Friday 12 January 2024 20:05:38 +0000 (0:00:00.249) 0:00:18.533 ******** included: /WORKDIR/git-route_typeki4w1peq/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can activate an existing profile] ******************************** task path: /WORKDIR/git-route_typeki4w1peq/tests/playbooks/tasks/run_test.yml:5 Friday 12 January 2024 20:05:38 +0000 (0:00:00.061) 0:00:18.594 ******** ok: [sut] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_typeki4w1peq/tests/playbooks/tasks/run_test.yml:9 Friday 12 January 2024 20:05:38 +0000 (0:00:00.023) 0:00:18.617 ******** 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_typeki4w1peq/tests/playbooks/tasks/run_test.yml:21 Friday 12 January 2024 20:05:38 +0000 (0:00:00.046) 0:00:18.664 ******** included: /WORKDIR/git-route_typeki4w1peq/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typeki4w1peq/tests/playbooks/tasks/show_interfaces.yml:3 Friday 12 January 2024 20:05:38 +0000 (0:00:00.037) 0:00:18.701 ******** included: /WORKDIR/git-route_typeki4w1peq/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typeki4w1peq/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 12 January 2024 20:05:39 +0000 (0:00:00.036) 0:00:18.738 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003470", "end": "2024-01-12 20:05:39.202265", "rc": 0, "start": "2024-01-12 20:05:39.198795" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typeki4w1peq/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 12 January 2024 20:05:39 +0000 (0:00:00.211) 0:00:18.949 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typeki4w1peq/tests/playbooks/tasks/show_interfaces.yml:5 Friday 12 January 2024 20:05:39 +0000 (0:00:00.026) 0:00:18.976 ******** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typeki4w1peq/tests/playbooks/tasks/run_test.yml:24 Friday 12 January 2024 20:05:39 +0000 (0:00:00.030) 0:00:19.007 ******** included: /WORKDIR/git-route_typeki4w1peq/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typeki4w1peq/tests/playbooks/tasks/create_bridge_profile.yml:3 Friday 12 January 2024 20:05:39 +0000 (0:00:00.042) 0:00:19.049 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 12 January 2024 20:05:39 +0000 (0:00:00.064) 0:00:19.114 ******** included: /WORKDIR/git-route_typeki4w1peq/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_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 12 January 2024 20:05:39 +0000 (0:00:00.085) 0:00:19.199 ******** 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_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 12 January 2024 20:05:39 +0000 (0:00:00.029) 0:00:19.229 ******** 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_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 12 January 2024 20:05:39 +0000 (0:00:00.023) 0:00:19.252 ******** 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_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 12 January 2024 20:05:39 +0000 (0:00:00.027) 0:00:19.279 ******** 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_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 12 January 2024 20:05:41 +0000 (0:00:02.125) 0:00:21.405 ******** 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_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 12 January 2024 20:05:42 +0000 (0:00:00.929) 0:00:22.335 ******** 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_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 12 January 2024 20:05:42 +0000 (0:00:00.023) 0:00:22.358 ******** 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_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 12 January 2024 20:05:42 +0000 (0:00:00.022) 0:00:22.381 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 12 January 2024 20:05:42 +0000 (0:00:00.023) 0:00:22.404 ******** 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_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/main.yml:40 Friday 12 January 2024 20:05:42 +0000 (0:00:00.049) 0:00:22.454 ******** 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_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/main.yml:55 Friday 12 January 2024 20:05:42 +0000 (0:00:00.025) 0:00:22.480 ******** 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_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/main.yml:71 Friday 12 January 2024 20:05:42 +0000 (0:00:00.025) 0:00:22.505 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/main.yml:85 Friday 12 January 2024 20:05:42 +0000 (0:00:00.026) 0:00:22.532 ******** 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_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/main.yml:96 Friday 12 January 2024 20:05:43 +0000 (0:00:00.544) 0:00:23.076 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/main.yml:105 Friday 12 January 2024 20:05:43 +0000 (0:00:00.032) 0:00:23.108 ******** 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_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/main.yml:113 Friday 12 January 2024 20:05:43 +0000 (0:00:00.022) 0:00:23.131 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/main.yml:122 Friday 12 January 2024 20:05:43 +0000 (0:00:00.022) 0:00:23.153 ******** 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, 2975acc6-57aa-43f8-bb4c-b0456bd4f7a9 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/main.yml:134 Friday 12 January 2024 20:05:43 +0000 (0:00:00.444) 0:00:23.597 ******** 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_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/main.yml:140 Friday 12 January 2024 20:05:43 +0000 (0:00:00.027) 0:00:23.624 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 2975acc6-57aa-43f8-bb4c-b0456bd4f7a9" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/main.yml:144 Friday 12 January 2024 20:05:43 +0000 (0:00:00.028) 0:00:23.652 ******** 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, 2975acc6-57aa-43f8-bb4c-b0456bd4f7a9\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 2975acc6-57aa-43f8-bb4c-b0456bd4f7a9" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/main.yml:149 Friday 12 January 2024 20:05:43 +0000 (0:00:00.034) 0:00:23.687 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/main.yml:155 Friday 12 January 2024 20:05:44 +0000 (0:00:00.026) 0:00:23.713 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typeki4w1peq/tests/playbooks/tasks/create_bridge_profile.yml:14 Friday 12 January 2024 20:05:44 +0000 (0:00:00.219) 0:00:23.933 ******** 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, 2975acc6-57aa-43f8-bb4c-b0456bd4f7a9\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 2975acc6-57aa-43f8-bb4c-b0456bd4f7a9" ] } } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_typeki4w1peq/tests/playbooks/tasks/run_test.yml:30 Friday 12 January 2024 20:05:44 +0000 (0:00:00.028) 0:00:23.961 ******** included: /WORKDIR/git-route_typeki4w1peq/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typeki4w1peq/tests/playbooks/tasks/activate_profile.yml:3 Friday 12 January 2024 20:05:44 +0000 (0:00:00.045) 0:00:24.007 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 12 January 2024 20:05:44 +0000 (0:00:00.042) 0:00:24.050 ******** included: /WORKDIR/git-route_typeki4w1peq/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_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 12 January 2024 20:05:44 +0000 (0:00:00.042) 0:00:24.092 ******** 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_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 12 January 2024 20:05:44 +0000 (0:00:00.027) 0:00:24.119 ******** 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_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 12 January 2024 20:05:44 +0000 (0:00:00.046) 0:00:24.166 ******** 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_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 12 January 2024 20:05:44 +0000 (0:00:00.022) 0:00:24.188 ******** 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_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 12 January 2024 20:05:46 +0000 (0:00:02.136) 0:00:26.325 ******** 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_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 12 January 2024 20:05:47 +0000 (0:00:00.928) 0:00:27.253 ******** 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_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 12 January 2024 20:05:47 +0000 (0:00:00.025) 0:00:27.279 ******** 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_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 12 January 2024 20:05:47 +0000 (0:00:00.028) 0:00:27.308 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 12 January 2024 20:05:47 +0000 (0:00:00.024) 0:00:27.332 ******** 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_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/main.yml:40 Friday 12 January 2024 20:05:47 +0000 (0:00:00.058) 0:00:27.390 ******** 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_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/main.yml:55 Friday 12 January 2024 20:05:47 +0000 (0:00:00.022) 0:00:27.413 ******** 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_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/main.yml:71 Friday 12 January 2024 20:05:47 +0000 (0:00:00.025) 0:00:27.439 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/main.yml:85 Friday 12 January 2024 20:05:47 +0000 (0:00:00.026) 0:00:27.465 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-route_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/main.yml:96 Friday 12 January 2024 20:05:48 +0000 (0:00:00.558) 0:00:28.024 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/main.yml:105 Friday 12 January 2024 20:05:48 +0000 (0:00:00.053) 0:00:28.077 ******** 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_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/main.yml:113 Friday 12 January 2024 20:05:48 +0000 (0:00:00.029) 0:00:28.106 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/main.yml:122 Friday 12 January 2024 20:05:48 +0000 (0:00:00.024) 0:00:28.131 ******** 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, 2975acc6-57aa-43f8-bb4c-b0456bd4f7a9 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/main.yml:134 Friday 12 January 2024 20:05:48 +0000 (0:00:00.362) 0:00:28.493 ******** 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_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/main.yml:140 Friday 12 January 2024 20:05:48 +0000 (0:00:00.050) 0:00:28.544 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 2975acc6-57aa-43f8-bb4c-b0456bd4f7a9 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/main.yml:144 Friday 12 January 2024 20:05:48 +0000 (0:00:00.025) 0:00:28.569 ******** 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, 2975acc6-57aa-43f8-bb4c-b0456bd4f7a9 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 2975acc6-57aa-43f8-bb4c-b0456bd4f7a9 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/main.yml:149 Friday 12 January 2024 20:05:48 +0000 (0:00:00.029) 0:00:28.598 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/main.yml:155 Friday 12 January 2024 20:05:48 +0000 (0:00:00.027) 0:00:28.626 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_typeki4w1peq/tests/playbooks/tasks/run_test.yml:36 Friday 12 January 2024 20:05:49 +0000 (0:00:00.202) 0:00:28.829 ******** included: /WORKDIR/git-route_typeki4w1peq/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-route_typeki4w1peq/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typeki4w1peq/tests/playbooks/tasks/assert_device_present.yml:3 Friday 12 January 2024 20:05:49 +0000 (0:00:00.044) 0:00:28.874 ******** included: /WORKDIR/git-route_typeki4w1peq/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typeki4w1peq/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 12 January 2024 20:05:49 +0000 (0:00:00.036) 0:00:28.911 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1705089943.791661, "block_size": 4096, "blocks": 0, "ctime": 1705089943.791661, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 34841, "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": 1705089943.791661, "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_typeki4w1peq/tests/playbooks/tasks/assert_device_present.yml:5 Friday 12 January 2024 20:05:49 +0000 (0:00:00.204) 0:00:29.115 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typeki4w1peq/tests/playbooks/tasks/assert_profile_present.yml:3 Friday 12 January 2024 20:05:49 +0000 (0:00:00.025) 0:00:29.140 ******** included: /WORKDIR/git-route_typeki4w1peq/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typeki4w1peq/tests/playbooks/tasks/get_profile_stat.yml:3 Friday 12 January 2024 20:05:49 +0000 (0:00:00.039) 0:00:29.179 ******** 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_typeki4w1peq/tests/playbooks/tasks/get_profile_stat.yml:9 Friday 12 January 2024 20:05:49 +0000 (0:00:00.022) 0:00:29.202 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_typeki4w1peq/tests/playbooks/tasks/get_profile_stat.yml:17 Friday 12 January 2024 20:05:49 +0000 (0:00:00.228) 0:00:29.431 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typeki4w1peq/tests/playbooks/tasks/get_profile_stat.yml:25 Friday 12 January 2024 20:05:49 +0000 (0:00:00.021) 0:00:29.453 ******** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021926", "end": "2024-01-12 20:05:49.934423", "rc": 0, "start": "2024-01-12 20:05:49.912497" } STDOUT: statebr /etc/NetworkManager/system-connections/statebr.nmconnection TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-route_typeki4w1peq/tests/playbooks/tasks/get_profile_stat.yml:35 Friday 12 January 2024 20:05:49 +0000 (0:00:00.226) 0:00:29.679 ******** 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_typeki4w1peq/tests/playbooks/tasks/get_profile_stat.yml:49 Friday 12 January 2024 20:05:49 +0000 (0:00:00.029) 0:00:29.709 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_typeki4w1peq/tests/playbooks/tasks/get_profile_stat.yml:56 Friday 12 January 2024 20:05:50 +0000 (0:00:00.026) 0:00:29.735 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_typeki4w1peq/tests/playbooks/tasks/get_profile_stat.yml:62 Friday 12 January 2024 20:05:50 +0000 (0:00:00.030) 0:00:29.766 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_typeki4w1peq/tests/playbooks/tasks/get_profile_stat.yml:69 Friday 12 January 2024 20:05:50 +0000 (0:00:00.034) 0:00:29.800 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-route_typeki4w1peq/tests/playbooks/tasks/assert_profile_present.yml:5 Friday 12 January 2024 20:05:50 +0000 (0:00:00.034) 0:00:29.835 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-route_typeki4w1peq/tests/playbooks/tasks/assert_profile_present.yml:10 Friday 12 January 2024 20:05:50 +0000 (0:00:00.026) 0:00:29.861 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-route_typeki4w1peq/tests/playbooks/tasks/assert_profile_present.yml:15 Friday 12 January 2024 20:05:50 +0000 (0:00:00.025) 0:00:29.887 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typeki4w1peq/tests/playbooks/tasks/run_test.yml:42 Friday 12 January 2024 20:05:50 +0000 (0:00:00.025) 0:00:29.913 ******** TASK [Success in test 'I can activate an existing profile'] ******************** task path: /WORKDIR/git-route_typeki4w1peq/tests/playbooks/tasks/run_test.yml:47 Friday 12 January 2024 20:05:50 +0000 (0:00:00.021) 0:00:29.934 ******** ok: [sut] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_typeki4w1peq/tests/playbooks/tasks/run_test.yml:66 Friday 12 January 2024 20:05:50 +0000 (0:00:00.023) 0:00:29.958 ******** included: /WORKDIR/git-route_typeki4w1peq/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_typeki4w1peq/tests/playbooks/tasks/cleanup_profile+device.yml:3 Friday 12 January 2024 20:05:50 +0000 (0:00:00.043) 0:00:30.002 ******** 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.069491", "end": "2024-01-12 20:05:50.534877", "rc": 1, "start": "2024-01-12 20:05:50.465386" } STDOUT: Connection 'statebr' (2975acc6-57aa-43f8-bb4c-b0456bd4f7a9) successfully deleted. STDERR: Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-route_typeki4w1peq/tests/playbooks/tests_states.yml:83 Friday 12 January 2024 20:05:50 +0000 (0:00:00.303) 0:00:30.306 ******** included: /WORKDIR/git-route_typeki4w1peq/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_typeki4w1peq/tests/playbooks/tasks/run_test.yml:5 Friday 12 January 2024 20:05:50 +0000 (0:00:00.040) 0:00:30.346 ******** ok: [sut] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_typeki4w1peq/tests/playbooks/tasks/run_test.yml:9 Friday 12 January 2024 20:05:50 +0000 (0:00:00.022) 0:00:30.369 ******** 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_typeki4w1peq/tests/playbooks/tasks/run_test.yml:21 Friday 12 January 2024 20:05:50 +0000 (0:00:00.044) 0:00:30.413 ******** included: /WORKDIR/git-route_typeki4w1peq/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typeki4w1peq/tests/playbooks/tasks/show_interfaces.yml:3 Friday 12 January 2024 20:05:50 +0000 (0:00:00.036) 0:00:30.450 ******** included: /WORKDIR/git-route_typeki4w1peq/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typeki4w1peq/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 12 January 2024 20:05:50 +0000 (0:00:00.035) 0:00:30.485 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.004921", "end": "2024-01-12 20:05:51.951407", "rc": 0, "start": "2024-01-12 20:05:50.946486" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typeki4w1peq/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 12 January 2024 20:05:51 +0000 (0:00:01.214) 0:00:31.700 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typeki4w1peq/tests/playbooks/tasks/show_interfaces.yml:5 Friday 12 January 2024 20:05:52 +0000 (0:00:00.022) 0:00:31.722 ******** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typeki4w1peq/tests/playbooks/tasks/run_test.yml:24 Friday 12 January 2024 20:05:52 +0000 (0:00:00.044) 0:00:31.767 ******** included: /WORKDIR/git-route_typeki4w1peq/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-route_typeki4w1peq/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typeki4w1peq/tests/playbooks/tasks/create_bridge_profile.yml:3 Friday 12 January 2024 20:05:52 +0000 (0:00:00.043) 0:00:31.811 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 12 January 2024 20:05:52 +0000 (0:00:00.039) 0:00:31.850 ******** included: /WORKDIR/git-route_typeki4w1peq/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_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 12 January 2024 20:05:52 +0000 (0:00:00.043) 0:00:31.893 ******** 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_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 12 January 2024 20:05:52 +0000 (0:00:00.029) 0:00:31.922 ******** 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_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 12 January 2024 20:05:52 +0000 (0:00:00.023) 0:00:31.946 ******** 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_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 12 January 2024 20:05:52 +0000 (0:00:00.023) 0:00:31.969 ******** 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_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 12 January 2024 20:05:54 +0000 (0:00:02.122) 0:00:34.091 ******** 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_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 12 January 2024 20:05:55 +0000 (0:00:00.888) 0:00:34.980 ******** 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_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 12 January 2024 20:05:55 +0000 (0:00:00.023) 0:00:35.004 ******** 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_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 12 January 2024 20:05:55 +0000 (0:00:00.022) 0:00:35.026 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 12 January 2024 20:05:55 +0000 (0:00:00.021) 0:00:35.047 ******** 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_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/main.yml:40 Friday 12 January 2024 20:05:55 +0000 (0:00:00.044) 0:00:35.092 ******** 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_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/main.yml:55 Friday 12 January 2024 20:05:55 +0000 (0:00:00.021) 0:00:35.114 ******** 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_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/main.yml:71 Friday 12 January 2024 20:05:55 +0000 (0:00:00.021) 0:00:35.135 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/main.yml:85 Friday 12 January 2024 20:05:55 +0000 (0:00:00.065) 0:00:35.200 ******** 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_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/main.yml:96 Friday 12 January 2024 20:05:56 +0000 (0:00:00.544) 0:00:35.745 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/main.yml:105 Friday 12 January 2024 20:05:56 +0000 (0:00:00.027) 0:00:35.773 ******** 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_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/main.yml:113 Friday 12 January 2024 20:05:56 +0000 (0:00:00.021) 0:00:35.795 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/main.yml:122 Friday 12 January 2024 20:05:56 +0000 (0:00:00.021) 0:00:35.816 ******** 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, e2a3ef37-f2b1-45b2-9c6f-780267d3a5a8 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/main.yml:134 Friday 12 January 2024 20:05:56 +0000 (0:00:00.402) 0:00:36.218 ******** 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_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/main.yml:140 Friday 12 January 2024 20:05:56 +0000 (0:00:00.021) 0:00:36.240 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, e2a3ef37-f2b1-45b2-9c6f-780267d3a5a8" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/main.yml:144 Friday 12 January 2024 20:05:56 +0000 (0:00:00.022) 0:00:36.262 ******** 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, e2a3ef37-f2b1-45b2-9c6f-780267d3a5a8\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, e2a3ef37-f2b1-45b2-9c6f-780267d3a5a8" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/main.yml:149 Friday 12 January 2024 20:05:56 +0000 (0:00:00.022) 0:00:36.285 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/main.yml:155 Friday 12 January 2024 20:05:56 +0000 (0:00:00.021) 0:00:36.306 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typeki4w1peq/tests/playbooks/tasks/create_bridge_profile.yml:14 Friday 12 January 2024 20:05:56 +0000 (0:00:00.198) 0:00:36.505 ******** 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, e2a3ef37-f2b1-45b2-9c6f-780267d3a5a8\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, e2a3ef37-f2b1-45b2-9c6f-780267d3a5a8" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typeki4w1peq/tests/playbooks/tasks/activate_profile.yml:3 Friday 12 January 2024 20:05:56 +0000 (0:00:00.045) 0:00:36.551 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 12 January 2024 20:05:56 +0000 (0:00:00.038) 0:00:36.589 ******** included: /WORKDIR/git-route_typeki4w1peq/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_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 12 January 2024 20:05:56 +0000 (0:00:00.042) 0:00:36.632 ******** 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_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 12 January 2024 20:05:56 +0000 (0:00:00.028) 0:00:36.661 ******** 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_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 12 January 2024 20:05:56 +0000 (0:00:00.024) 0:00:36.685 ******** 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_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 12 January 2024 20:05:56 +0000 (0:00:00.025) 0:00:36.710 ******** 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_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 12 January 2024 20:05:59 +0000 (0:00:02.139) 0:00:38.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 : Print network provider] ********************* task path: /WORKDIR/git-route_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 12 January 2024 20:06:00 +0000 (0:00:00.890) 0:00:39.741 ******** 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_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 12 January 2024 20:06:00 +0000 (0:00:00.023) 0:00:39.764 ******** 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_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 12 January 2024 20:06:00 +0000 (0:00:00.021) 0:00:39.786 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 12 January 2024 20:06:00 +0000 (0:00:00.021) 0:00:39.808 ******** 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_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/main.yml:40 Friday 12 January 2024 20:06:00 +0000 (0:00:00.045) 0:00:39.853 ******** 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_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/main.yml:55 Friday 12 January 2024 20:06:00 +0000 (0:00:00.022) 0:00:39.876 ******** 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_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/main.yml:71 Friday 12 January 2024 20:06:00 +0000 (0:00:00.023) 0:00:39.899 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/main.yml:85 Friday 12 January 2024 20:06:00 +0000 (0:00:00.026) 0:00:39.926 ******** 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_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/main.yml:96 Friday 12 January 2024 20:06:00 +0000 (0:00:00.541) 0:00:40.468 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/main.yml:105 Friday 12 January 2024 20:06:00 +0000 (0:00:00.026) 0:00:40.495 ******** 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_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/main.yml:113 Friday 12 January 2024 20:06:00 +0000 (0:00:00.024) 0:00:40.520 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/main.yml:122 Friday 12 January 2024 20:06:00 +0000 (0:00:00.039) 0:00:40.560 ******** 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, e2a3ef37-f2b1-45b2-9c6f-780267d3a5a8 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/main.yml:134 Friday 12 January 2024 20:06:01 +0000 (0:00:00.364) 0:00:40.924 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-route_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/main.yml:140 Friday 12 January 2024 20:06:01 +0000 (0:00:00.023) 0:00:40.947 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, e2a3ef37-f2b1-45b2-9c6f-780267d3a5a8 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/main.yml:144 Friday 12 January 2024 20:06:01 +0000 (0:00:00.024) 0:00:40.971 ******** 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, e2a3ef37-f2b1-45b2-9c6f-780267d3a5a8 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, e2a3ef37-f2b1-45b2-9c6f-780267d3a5a8 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/main.yml:149 Friday 12 January 2024 20:06:01 +0000 (0:00:00.022) 0:00:40.993 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/main.yml:155 Friday 12 January 2024 20:06:01 +0000 (0:00:00.021) 0:00:41.015 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_typeki4w1peq/tests/playbooks/tasks/run_test.yml:30 Friday 12 January 2024 20:06:01 +0000 (0:00:00.200) 0:00:41.215 ******** included: /WORKDIR/git-route_typeki4w1peq/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typeki4w1peq/tests/playbooks/tasks/remove_profile.yml:3 Friday 12 January 2024 20:06:01 +0000 (0:00:00.041) 0:00:41.257 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 12 January 2024 20:06:01 +0000 (0:00:00.067) 0:00:41.325 ******** included: /WORKDIR/git-route_typeki4w1peq/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_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 12 January 2024 20:06:01 +0000 (0:00:00.046) 0:00:41.371 ******** 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_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 12 January 2024 20:06:01 +0000 (0:00:00.028) 0:00:41.399 ******** 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_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 12 January 2024 20:06:01 +0000 (0:00:00.023) 0:00:41.423 ******** 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_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 12 January 2024 20:06:01 +0000 (0:00:00.023) 0:00:41.447 ******** 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_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 12 January 2024 20:06:03 +0000 (0:00:02.127) 0:00:43.574 ******** 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_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 12 January 2024 20:06:04 +0000 (0:00:00.917) 0:00:44.492 ******** 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_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 12 January 2024 20:06:04 +0000 (0:00:00.023) 0:00:44.516 ******** 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_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 12 January 2024 20:06:04 +0000 (0:00:00.025) 0:00:44.541 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 12 January 2024 20:06:04 +0000 (0:00:00.058) 0:00:44.600 ******** 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_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/main.yml:40 Friday 12 January 2024 20:06:04 +0000 (0:00:00.054) 0:00:44.654 ******** 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_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/main.yml:55 Friday 12 January 2024 20:06:04 +0000 (0:00:00.033) 0:00:44.688 ******** 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_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/main.yml:71 Friday 12 January 2024 20:06:05 +0000 (0:00:00.029) 0:00:44.718 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/main.yml:85 Friday 12 January 2024 20:06:05 +0000 (0:00:00.027) 0:00:44.746 ******** 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_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/main.yml:96 Friday 12 January 2024 20:06:05 +0000 (0:00:00.550) 0:00:45.296 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/main.yml:105 Friday 12 January 2024 20:06:05 +0000 (0:00:00.057) 0:00:45.353 ******** 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_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/main.yml:113 Friday 12 January 2024 20:06:05 +0000 (0:00:00.024) 0:00:45.378 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/main.yml:122 Friday 12 January 2024 20:06:05 +0000 (0:00:00.030) 0:00:45.408 ******** 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_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/main.yml:134 Friday 12 January 2024 20:06:06 +0000 (0:00:00.390) 0:00:45.799 ******** 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_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/main.yml:140 Friday 12 January 2024 20:06:06 +0000 (0:00:00.024) 0:00:45.823 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/main.yml:144 Friday 12 January 2024 20:06:06 +0000 (0:00:00.024) 0:00:45.848 ******** 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_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/main.yml:149 Friday 12 January 2024 20:06:06 +0000 (0:00:00.025) 0:00:45.873 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/main.yml:155 Friday 12 January 2024 20:06:06 +0000 (0:00:00.023) 0:00:45.897 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_typeki4w1peq/tests/playbooks/tasks/run_test.yml:36 Friday 12 January 2024 20:06:06 +0000 (0:00:00.199) 0:00:46.096 ******** included: /WORKDIR/git-route_typeki4w1peq/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-route_typeki4w1peq/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typeki4w1peq/tests/playbooks/tasks/assert_device_present.yml:3 Friday 12 January 2024 20:06:06 +0000 (0:00:00.043) 0:00:46.140 ******** included: /WORKDIR/git-route_typeki4w1peq/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typeki4w1peq/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 12 January 2024 20:06:06 +0000 (0:00:00.036) 0:00:46.177 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1705089956.4278588, "block_size": 4096, "blocks": 0, "ctime": 1705089956.4278588, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 34972, "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": 1705089956.4278588, "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_typeki4w1peq/tests/playbooks/tasks/assert_device_present.yml:5 Friday 12 January 2024 20:06:06 +0000 (0:00:00.235) 0:00:46.413 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typeki4w1peq/tests/playbooks/tasks/assert_profile_absent.yml:3 Friday 12 January 2024 20:06:06 +0000 (0:00:00.025) 0:00:46.438 ******** included: /WORKDIR/git-route_typeki4w1peq/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typeki4w1peq/tests/playbooks/tasks/get_profile_stat.yml:3 Friday 12 January 2024 20:06:06 +0000 (0:00:00.039) 0:00:46.478 ******** 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_typeki4w1peq/tests/playbooks/tasks/get_profile_stat.yml:9 Friday 12 January 2024 20:06:06 +0000 (0:00:00.023) 0:00:46.501 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_typeki4w1peq/tests/playbooks/tasks/get_profile_stat.yml:17 Friday 12 January 2024 20:06:06 +0000 (0:00:00.205) 0:00:46.707 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typeki4w1peq/tests/playbooks/tasks/get_profile_stat.yml:25 Friday 12 January 2024 20:06:07 +0000 (0:00:00.021) 0:00:46.728 ******** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021530", "end": "2024-01-12 20:06:07.210026", "rc": 1, "start": "2024-01-12 20:06:07.188496" } 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_typeki4w1peq/tests/playbooks/tasks/get_profile_stat.yml:35 Friday 12 January 2024 20:06:07 +0000 (0:00:00.225) 0:00:46.954 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_typeki4w1peq/tests/playbooks/tasks/get_profile_stat.yml:49 Friday 12 January 2024 20:06:07 +0000 (0:00:00.022) 0:00:46.977 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_typeki4w1peq/tests/playbooks/tasks/get_profile_stat.yml:56 Friday 12 January 2024 20:06:07 +0000 (0:00:00.025) 0:00:47.002 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_typeki4w1peq/tests/playbooks/tasks/get_profile_stat.yml:62 Friday 12 January 2024 20:06:07 +0000 (0:00:00.025) 0:00:47.027 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_typeki4w1peq/tests/playbooks/tasks/get_profile_stat.yml:69 Friday 12 January 2024 20:06:07 +0000 (0:00:00.024) 0:00:47.052 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-route_typeki4w1peq/tests/playbooks/tasks/assert_profile_absent.yml:5 Friday 12 January 2024 20:06:07 +0000 (0:00:00.046) 0:00:47.098 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typeki4w1peq/tests/playbooks/tasks/run_test.yml:42 Friday 12 January 2024 20:06:07 +0000 (0:00:00.029) 0:00:47.127 ******** TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /WORKDIR/git-route_typeki4w1peq/tests/playbooks/tasks/run_test.yml:47 Friday 12 January 2024 20:06:07 +0000 (0:00:00.029) 0:00:47.157 ******** ok: [sut] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_typeki4w1peq/tests/playbooks/tasks/run_test.yml:66 Friday 12 January 2024 20:06:07 +0000 (0:00:00.054) 0:00:47.211 ******** included: /WORKDIR/git-route_typeki4w1peq/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_typeki4w1peq/tests/playbooks/tasks/cleanup_profile+device.yml:3 Friday 12 January 2024 20:06:07 +0000 (0:00:00.055) 0:00:47.267 ******** ok: [sut] => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.070219", "end": "2024-01-12 20:06:07.800398", "rc": 0, "start": "2024-01-12 20:06:07.730179" } STDOUT: Connection 'statebr' (e2a3ef37-f2b1-45b2-9c6f-780267d3a5a8) successfully deleted. STDERR: Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-route_typeki4w1peq/tests/playbooks/tests_states.yml:103 Friday 12 January 2024 20:06:07 +0000 (0:00:00.292) 0:00:47.560 ******** included: /WORKDIR/git-route_typeki4w1peq/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can take a profile down that is absent] ************************** task path: /WORKDIR/git-route_typeki4w1peq/tests/playbooks/tasks/run_test.yml:5 Friday 12 January 2024 20:06:07 +0000 (0:00:00.039) 0:00:47.599 ******** ok: [sut] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_typeki4w1peq/tests/playbooks/tasks/run_test.yml:9 Friday 12 January 2024 20:06:07 +0000 (0:00:00.023) 0:00:47.622 ******** 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_typeki4w1peq/tests/playbooks/tasks/run_test.yml:21 Friday 12 January 2024 20:06:07 +0000 (0:00:00.044) 0:00:47.666 ******** included: /WORKDIR/git-route_typeki4w1peq/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typeki4w1peq/tests/playbooks/tasks/show_interfaces.yml:3 Friday 12 January 2024 20:06:07 +0000 (0:00:00.035) 0:00:47.702 ******** included: /WORKDIR/git-route_typeki4w1peq/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typeki4w1peq/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 12 January 2024 20:06:08 +0000 (0:00:00.034) 0:00:47.737 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003621", "end": "2024-01-12 20:06:08.202175", "rc": 0, "start": "2024-01-12 20:06:08.198554" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typeki4w1peq/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 12 January 2024 20:06:08 +0000 (0:00:00.209) 0:00:47.947 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typeki4w1peq/tests/playbooks/tasks/show_interfaces.yml:5 Friday 12 January 2024 20:06:08 +0000 (0:00:00.025) 0:00:47.973 ******** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typeki4w1peq/tests/playbooks/tasks/run_test.yml:24 Friday 12 January 2024 20:06:08 +0000 (0:00:00.053) 0:00:48.026 ******** included: /WORKDIR/git-route_typeki4w1peq/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-route_typeki4w1peq/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-route_typeki4w1peq/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typeki4w1peq/tests/playbooks/tasks/create_bridge_profile.yml:3 Friday 12 January 2024 20:06:08 +0000 (0:00:00.045) 0:00:48.072 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 12 January 2024 20:06:08 +0000 (0:00:00.038) 0:00:48.110 ******** included: /WORKDIR/git-route_typeki4w1peq/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_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 12 January 2024 20:06:08 +0000 (0:00:00.041) 0:00:48.152 ******** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-route_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 12 January 2024 20:06:08 +0000 (0:00:00.028) 0:00:48.180 ******** 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_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 12 January 2024 20:06:08 +0000 (0:00:00.021) 0:00:48.201 ******** 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_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 12 January 2024 20:06:08 +0000 (0:00:00.022) 0:00:48.224 ******** 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_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 12 January 2024 20:06:10 +0000 (0:00:02.120) 0:00:50.345 ******** 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_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 12 January 2024 20:06:11 +0000 (0:00:00.898) 0:00:51.243 ******** 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_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 12 January 2024 20:06:11 +0000 (0:00:00.023) 0:00:51.266 ******** 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_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 12 January 2024 20:06:11 +0000 (0:00:00.025) 0:00:51.291 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 12 January 2024 20:06:11 +0000 (0:00:00.023) 0:00:51.315 ******** 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_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/main.yml:40 Friday 12 January 2024 20:06:11 +0000 (0:00:00.046) 0:00:51.362 ******** 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_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/main.yml:55 Friday 12 January 2024 20:06:11 +0000 (0:00:00.023) 0:00:51.385 ******** 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_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/main.yml:71 Friday 12 January 2024 20:06:11 +0000 (0:00:00.022) 0:00:51.408 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/main.yml:85 Friday 12 January 2024 20:06:11 +0000 (0:00:00.062) 0:00:51.471 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-route_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/main.yml:96 Friday 12 January 2024 20:06:12 +0000 (0:00:00.558) 0:00:52.029 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/main.yml:105 Friday 12 January 2024 20:06:12 +0000 (0:00:00.026) 0:00:52.055 ******** 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_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/main.yml:113 Friday 12 January 2024 20:06:12 +0000 (0:00:00.022) 0:00:52.078 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/main.yml:122 Friday 12 January 2024 20:06:12 +0000 (0:00:00.021) 0:00:52.100 ******** 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, e42922cf-6c9e-43e0-83a6-d6d4ba87aa28 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/main.yml:134 Friday 12 January 2024 20:06:12 +0000 (0:00:00.409) 0:00:52.509 ******** 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_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/main.yml:140 Friday 12 January 2024 20:06:12 +0000 (0:00:00.022) 0:00:52.531 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, e42922cf-6c9e-43e0-83a6-d6d4ba87aa28" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/main.yml:144 Friday 12 January 2024 20:06:12 +0000 (0:00:00.023) 0:00:52.554 ******** 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, e42922cf-6c9e-43e0-83a6-d6d4ba87aa28\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, e42922cf-6c9e-43e0-83a6-d6d4ba87aa28" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/main.yml:149 Friday 12 January 2024 20:06:12 +0000 (0:00:00.024) 0:00:52.578 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/main.yml:155 Friday 12 January 2024 20:06:12 +0000 (0:00:00.021) 0:00:52.600 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typeki4w1peq/tests/playbooks/tasks/create_bridge_profile.yml:14 Friday 12 January 2024 20:06:13 +0000 (0:00:00.199) 0:00:52.800 ******** 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, e42922cf-6c9e-43e0-83a6-d6d4ba87aa28\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, e42922cf-6c9e-43e0-83a6-d6d4ba87aa28" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typeki4w1peq/tests/playbooks/tasks/activate_profile.yml:3 Friday 12 January 2024 20:06:13 +0000 (0:00:00.023) 0:00:52.823 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 12 January 2024 20:06:13 +0000 (0:00:00.061) 0:00:52.884 ******** included: /WORKDIR/git-route_typeki4w1peq/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_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 12 January 2024 20:06:13 +0000 (0:00:00.044) 0:00:52.929 ******** 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_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 12 January 2024 20:06:13 +0000 (0:00:00.029) 0:00:52.958 ******** 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_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 12 January 2024 20:06:13 +0000 (0:00:00.023) 0:00:52.981 ******** 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_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 12 January 2024 20:06:13 +0000 (0:00:00.022) 0:00:53.004 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-route_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 12 January 2024 20:06:15 +0000 (0:00:02.136) 0:00:55.141 ******** 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_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 12 January 2024 20:06:16 +0000 (0:00:00.892) 0:00:56.034 ******** 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_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 12 January 2024 20:06:16 +0000 (0:00:00.022) 0:00:56.057 ******** 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_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 12 January 2024 20:06:16 +0000 (0:00:00.023) 0:00:56.080 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 12 January 2024 20:06:16 +0000 (0:00:00.023) 0:00:56.104 ******** 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_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/main.yml:40 Friday 12 January 2024 20:06:16 +0000 (0:00:00.044) 0:00:56.149 ******** 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_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/main.yml:55 Friday 12 January 2024 20:06:16 +0000 (0:00:00.022) 0:00:56.171 ******** 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_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/main.yml:71 Friday 12 January 2024 20:06:16 +0000 (0:00:00.022) 0:00:56.193 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/main.yml:85 Friday 12 January 2024 20:06:16 +0000 (0:00:00.025) 0:00:56.219 ******** 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_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/main.yml:96 Friday 12 January 2024 20:06:17 +0000 (0:00:00.543) 0:00:56.762 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/main.yml:105 Friday 12 January 2024 20:06:17 +0000 (0:00:00.028) 0:00:56.791 ******** 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_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/main.yml:113 Friday 12 January 2024 20:06:17 +0000 (0:00:00.024) 0:00:56.816 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/main.yml:122 Friday 12 January 2024 20:06:17 +0000 (0:00:00.023) 0:00:56.839 ******** 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, e42922cf-6c9e-43e0-83a6-d6d4ba87aa28 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/main.yml:134 Friday 12 January 2024 20:06:17 +0000 (0:00:00.359) 0:00:57.199 ******** 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_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/main.yml:140 Friday 12 January 2024 20:06:17 +0000 (0:00:00.022) 0:00:57.221 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, e42922cf-6c9e-43e0-83a6-d6d4ba87aa28 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/main.yml:144 Friday 12 January 2024 20:06:17 +0000 (0:00:00.023) 0:00:57.245 ******** 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, e42922cf-6c9e-43e0-83a6-d6d4ba87aa28 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, e42922cf-6c9e-43e0-83a6-d6d4ba87aa28 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/main.yml:149 Friday 12 January 2024 20:06:17 +0000 (0:00:00.025) 0:00:57.270 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/main.yml:155 Friday 12 January 2024 20:06:17 +0000 (0:00:00.025) 0:00:57.296 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typeki4w1peq/tests/playbooks/tasks/remove_profile.yml:3 Friday 12 January 2024 20:06:17 +0000 (0:00:00.204) 0:00:57.500 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 12 January 2024 20:06:17 +0000 (0:00:00.037) 0:00:57.537 ******** included: /WORKDIR/git-route_typeki4w1peq/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_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 12 January 2024 20:06:17 +0000 (0:00:00.072) 0:00:57.610 ******** 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_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 12 January 2024 20:06:17 +0000 (0:00:00.029) 0:00:57.639 ******** 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_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 12 January 2024 20:06:17 +0000 (0:00:00.022) 0:00:57.662 ******** 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_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 12 January 2024 20:06:17 +0000 (0:00:00.023) 0:00:57.685 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-route_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 12 January 2024 20:06:20 +0000 (0:00:02.109) 0:00:59.795 ******** 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_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 12 January 2024 20:06:21 +0000 (0:00:00.932) 0:01:00.728 ******** 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_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 12 January 2024 20:06:21 +0000 (0:00:00.023) 0:01:00.751 ******** 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_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 12 January 2024 20:06:21 +0000 (0:00:00.021) 0:01:00.773 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 12 January 2024 20:06:21 +0000 (0:00:00.023) 0:01:00.796 ******** 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_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/main.yml:40 Friday 12 January 2024 20:06:21 +0000 (0:00:00.045) 0:01:00.842 ******** 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_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/main.yml:55 Friday 12 January 2024 20:06:21 +0000 (0:00:00.023) 0:01:00.865 ******** 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_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/main.yml:71 Friday 12 January 2024 20:06:21 +0000 (0:00:00.024) 0:01:00.890 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/main.yml:85 Friday 12 January 2024 20:06:21 +0000 (0:00:00.030) 0:01:00.920 ******** 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_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/main.yml:96 Friday 12 January 2024 20:06:21 +0000 (0:00:00.543) 0:01:01.464 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/main.yml:105 Friday 12 January 2024 20:06:21 +0000 (0:00:00.036) 0:01:01.500 ******** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/main.yml:113 Friday 12 January 2024 20:06:21 +0000 (0:00:00.024) 0:01:01.525 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/main.yml:122 Friday 12 January 2024 20:06:21 +0000 (0:00:00.023) 0:01:01.548 ******** 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_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/main.yml:134 Friday 12 January 2024 20:06:22 +0000 (0:00:00.448) 0:01:01.997 ******** 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_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/main.yml:140 Friday 12 January 2024 20:06:22 +0000 (0:00:00.024) 0:01:02.021 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/main.yml:144 Friday 12 January 2024 20:06:22 +0000 (0:00:00.026) 0:01:02.047 ******** 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_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/main.yml:149 Friday 12 January 2024 20:06:22 +0000 (0:00:00.026) 0:01:02.074 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/main.yml:155 Friday 12 January 2024 20:06:22 +0000 (0:00:00.024) 0:01:02.098 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_typeki4w1peq/tests/playbooks/tasks/run_test.yml:30 Friday 12 January 2024 20:06:22 +0000 (0:00:00.224) 0:01:02.323 ******** included: /WORKDIR/git-route_typeki4w1peq/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typeki4w1peq/tests/playbooks/tasks/remove+down_profile.yml:3 Friday 12 January 2024 20:06:22 +0000 (0:00:00.061) 0:01:02.384 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 12 January 2024 20:06:22 +0000 (0:00:00.046) 0:01:02.430 ******** included: /WORKDIR/git-route_typeki4w1peq/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_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 12 January 2024 20:06:22 +0000 (0:00:00.070) 0:01:02.501 ******** 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_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 12 January 2024 20:06:22 +0000 (0:00:00.036) 0:01:02.537 ******** 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_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 12 January 2024 20:06:22 +0000 (0:00:00.049) 0:01:02.586 ******** 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_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 12 January 2024 20:06:22 +0000 (0:00:00.027) 0:01:02.614 ******** 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_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 12 January 2024 20:06:25 +0000 (0:00:02.152) 0:01:04.766 ******** 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_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 12 January 2024 20:06:25 +0000 (0:00:00.886) 0:01:05.653 ******** 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_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 12 January 2024 20:06:25 +0000 (0:00:00.023) 0:01:05.676 ******** 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_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 12 January 2024 20:06:26 +0000 (0:00:00.043) 0:01:05.720 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 12 January 2024 20:06:26 +0000 (0:00:00.022) 0:01:05.743 ******** 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_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/main.yml:40 Friday 12 January 2024 20:06:26 +0000 (0:00:00.045) 0:01:05.789 ******** 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_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/main.yml:55 Friday 12 January 2024 20:06:26 +0000 (0:00:00.022) 0:01:05.811 ******** 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_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/main.yml:71 Friday 12 January 2024 20:06:26 +0000 (0:00:00.021) 0:01:05.833 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/main.yml:85 Friday 12 January 2024 20:06:26 +0000 (0:00:00.027) 0:01:05.860 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-route_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/main.yml:96 Friday 12 January 2024 20:06:26 +0000 (0:00:00.555) 0:01:06.416 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/main.yml:105 Friday 12 January 2024 20:06:26 +0000 (0:00:00.042) 0:01:06.459 ******** 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_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/main.yml:113 Friday 12 January 2024 20:06:26 +0000 (0:00:00.032) 0:01:06.491 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/main.yml:122 Friday 12 January 2024 20:06:26 +0000 (0:00:00.024) 0:01:06.515 ******** 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_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/main.yml:134 Friday 12 January 2024 20:06:27 +0000 (0:00:00.479) 0:01:06.995 ******** 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_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/main.yml:140 Friday 12 January 2024 20:06:27 +0000 (0:00:00.023) 0:01:07.018 ******** 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_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/main.yml:144 Friday 12 January 2024 20:06:27 +0000 (0:00:00.023) 0:01:07.041 ******** 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_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/main.yml:149 Friday 12 January 2024 20:06:27 +0000 (0:00:00.049) 0:01:07.091 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/main.yml:155 Friday 12 January 2024 20:06:27 +0000 (0:00:00.023) 0:01:07.114 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_typeki4w1peq/tests/playbooks/tasks/run_test.yml:36 Friday 12 January 2024 20:06:27 +0000 (0:00:00.203) 0:01:07.317 ******** included: /WORKDIR/git-route_typeki4w1peq/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typeki4w1peq/tests/playbooks/tasks/assert_profile_absent.yml:3 Friday 12 January 2024 20:06:27 +0000 (0:00:00.048) 0:01:07.366 ******** included: /WORKDIR/git-route_typeki4w1peq/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typeki4w1peq/tests/playbooks/tasks/get_profile_stat.yml:3 Friday 12 January 2024 20:06:27 +0000 (0:00:00.041) 0:01:07.408 ******** 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_typeki4w1peq/tests/playbooks/tasks/get_profile_stat.yml:9 Friday 12 January 2024 20:06:27 +0000 (0:00:00.023) 0:01:07.431 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_typeki4w1peq/tests/playbooks/tasks/get_profile_stat.yml:17 Friday 12 January 2024 20:06:27 +0000 (0:00:00.206) 0:01:07.637 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typeki4w1peq/tests/playbooks/tasks/get_profile_stat.yml:25 Friday 12 January 2024 20:06:27 +0000 (0:00:00.023) 0:01:07.660 ******** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021029", "end": "2024-01-12 20:06:28.149538", "rc": 1, "start": "2024-01-12 20:06:28.128509" } 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_typeki4w1peq/tests/playbooks/tasks/get_profile_stat.yml:35 Friday 12 January 2024 20:06:28 +0000 (0:00:00.233) 0:01:07.894 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_typeki4w1peq/tests/playbooks/tasks/get_profile_stat.yml:49 Friday 12 January 2024 20:06:28 +0000 (0:00:00.031) 0:01:07.926 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_typeki4w1peq/tests/playbooks/tasks/get_profile_stat.yml:56 Friday 12 January 2024 20:06:28 +0000 (0:00:00.034) 0:01:07.961 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_typeki4w1peq/tests/playbooks/tasks/get_profile_stat.yml:62 Friday 12 January 2024 20:06:28 +0000 (0:00:00.033) 0:01:07.994 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_typeki4w1peq/tests/playbooks/tasks/get_profile_stat.yml:69 Friday 12 January 2024 20:06:28 +0000 (0:00:00.060) 0:01:08.055 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-route_typeki4w1peq/tests/playbooks/tasks/assert_profile_absent.yml:5 Friday 12 January 2024 20:06:28 +0000 (0:00:00.024) 0:01:08.079 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typeki4w1peq/tests/playbooks/tasks/run_test.yml:42 Friday 12 January 2024 20:06:28 +0000 (0:00:00.023) 0:01:08.103 ******** included: /WORKDIR/git-route_typeki4w1peq/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typeki4w1peq/tests/playbooks/tasks/assert_device_absent.yml:3 Friday 12 January 2024 20:06:28 +0000 (0:00:00.044) 0:01:08.147 ******** included: /WORKDIR/git-route_typeki4w1peq/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typeki4w1peq/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 12 January 2024 20:06:28 +0000 (0:00:00.037) 0:01:08.185 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_typeki4w1peq/tests/playbooks/tasks/assert_device_absent.yml:5 Friday 12 January 2024 20:06:28 +0000 (0:00:00.207) 0:01:08.392 ******** 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_typeki4w1peq/tests/playbooks/tasks/run_test.yml:47 Friday 12 January 2024 20:06:28 +0000 (0:00:00.026) 0:01:08.419 ******** ok: [sut] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_typeki4w1peq/tests/playbooks/tasks/run_test.yml:66 Friday 12 January 2024 20:06:28 +0000 (0:00:00.022) 0:01:08.441 ******** included: /WORKDIR/git-route_typeki4w1peq/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_typeki4w1peq/tests/playbooks/tasks/cleanup_profile+device.yml:3 Friday 12 January 2024 20:06:28 +0000 (0:00:00.045) 0:01:08.487 ******** 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.040561", "end": "2024-01-12 20:06:28.992361", "rc": 1, "start": "2024-01-12 20:06:28.951800" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-route_typeki4w1peq/tests/playbooks/tests_states.yml:126 Friday 12 January 2024 20:06:29 +0000 (0:00:00.253) 0:01:08.740 ******** included: /WORKDIR/git-route_typeki4w1peq/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_typeki4w1peq/tests/playbooks/tasks/run_test.yml:5 Friday 12 January 2024 20:06:29 +0000 (0:00:00.039) 0:01:08.780 ******** 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_typeki4w1peq/tests/playbooks/tasks/run_test.yml:9 Friday 12 January 2024 20:06:29 +0000 (0:00:00.049) 0:01:08.829 ******** 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_typeki4w1peq/tests/playbooks/tasks/run_test.yml:21 Friday 12 January 2024 20:06:29 +0000 (0:00:00.047) 0:01:08.877 ******** included: /WORKDIR/git-route_typeki4w1peq/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typeki4w1peq/tests/playbooks/tasks/show_interfaces.yml:3 Friday 12 January 2024 20:06:29 +0000 (0:00:00.047) 0:01:08.925 ******** included: /WORKDIR/git-route_typeki4w1peq/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typeki4w1peq/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 12 January 2024 20:06:29 +0000 (0:00:00.039) 0:01:08.965 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003508", "end": "2024-01-12 20:06:29.433052", "rc": 0, "start": "2024-01-12 20:06:29.429544" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typeki4w1peq/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 12 January 2024 20:06:29 +0000 (0:00:00.223) 0:01:09.189 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typeki4w1peq/tests/playbooks/tasks/show_interfaces.yml:5 Friday 12 January 2024 20:06:29 +0000 (0:00:00.035) 0:01:09.224 ******** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typeki4w1peq/tests/playbooks/tasks/run_test.yml:24 Friday 12 January 2024 20:06:29 +0000 (0:00:00.028) 0:01:09.253 ******** included: /WORKDIR/git-route_typeki4w1peq/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-route_typeki4w1peq/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-route_typeki4w1peq/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typeki4w1peq/tests/playbooks/tasks/create_bridge_profile.yml:3 Friday 12 January 2024 20:06:29 +0000 (0:00:00.053) 0:01:09.307 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 12 January 2024 20:06:29 +0000 (0:00:00.046) 0:01:09.353 ******** included: /WORKDIR/git-route_typeki4w1peq/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_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 12 January 2024 20:06:29 +0000 (0:00:00.090) 0:01:09.444 ******** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-route_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 12 January 2024 20:06:29 +0000 (0:00:00.029) 0:01:09.473 ******** 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_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 12 January 2024 20:06:29 +0000 (0:00:00.023) 0:01:09.497 ******** 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_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 12 January 2024 20:06:29 +0000 (0:00:00.026) 0:01:09.524 ******** 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_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 12 January 2024 20:06:31 +0000 (0:00:02.124) 0:01:11.648 ******** 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_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 12 January 2024 20:06:32 +0000 (0:00:00.946) 0:01:12.595 ******** 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_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 12 January 2024 20:06:32 +0000 (0:00:00.025) 0:01:12.620 ******** 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_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 12 January 2024 20:06:32 +0000 (0:00:00.032) 0:01:12.652 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 12 January 2024 20:06:32 +0000 (0:00:00.024) 0:01:12.677 ******** 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_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/main.yml:40 Friday 12 January 2024 20:06:33 +0000 (0:00:00.045) 0:01:12.722 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-route_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/main.yml:55 Friday 12 January 2024 20:06:33 +0000 (0:00:00.023) 0:01:12.745 ******** 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_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/main.yml:71 Friday 12 January 2024 20:06:33 +0000 (0:00:00.022) 0:01:12.768 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/main.yml:85 Friday 12 January 2024 20:06:33 +0000 (0:00:00.029) 0:01:12.798 ******** 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_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/main.yml:96 Friday 12 January 2024 20:06:33 +0000 (0:00:00.548) 0:01:13.346 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/main.yml:105 Friday 12 January 2024 20:06:33 +0000 (0:00:00.026) 0:01:13.372 ******** 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_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/main.yml:113 Friday 12 January 2024 20:06:33 +0000 (0:00:00.021) 0:01:13.394 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/main.yml:122 Friday 12 January 2024 20:06:33 +0000 (0:00:00.021) 0:01:13.415 ******** 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, 9dc509cb-4d40-4e50-b2ad-44df432c92cd TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/main.yml:134 Friday 12 January 2024 20:06:34 +0000 (0:00:00.435) 0:01:13.850 ******** 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_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/main.yml:140 Friday 12 January 2024 20:06:34 +0000 (0:00:00.021) 0:01:13.872 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 9dc509cb-4d40-4e50-b2ad-44df432c92cd" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/main.yml:144 Friday 12 January 2024 20:06:34 +0000 (0:00:00.024) 0:01:13.896 ******** 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, 9dc509cb-4d40-4e50-b2ad-44df432c92cd\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 9dc509cb-4d40-4e50-b2ad-44df432c92cd" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/main.yml:149 Friday 12 January 2024 20:06:34 +0000 (0:00:00.025) 0:01:13.921 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/main.yml:155 Friday 12 January 2024 20:06:34 +0000 (0:00:00.023) 0:01:13.945 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typeki4w1peq/tests/playbooks/tasks/create_bridge_profile.yml:14 Friday 12 January 2024 20:06:34 +0000 (0:00:00.199) 0:01:14.144 ******** 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, 9dc509cb-4d40-4e50-b2ad-44df432c92cd\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 9dc509cb-4d40-4e50-b2ad-44df432c92cd" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typeki4w1peq/tests/playbooks/tasks/activate_profile.yml:3 Friday 12 January 2024 20:06:34 +0000 (0:00:00.024) 0:01:14.169 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 12 January 2024 20:06:34 +0000 (0:00:00.037) 0:01:14.207 ******** included: /WORKDIR/git-route_typeki4w1peq/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_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 12 January 2024 20:06:34 +0000 (0:00:00.042) 0:01:14.249 ******** 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_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 12 January 2024 20:06:34 +0000 (0:00:00.027) 0:01:14.277 ******** 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_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 12 January 2024 20:06:34 +0000 (0:00:00.021) 0:01:14.299 ******** 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_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 12 January 2024 20:06:34 +0000 (0:00:00.022) 0:01:14.321 ******** 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_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 12 January 2024 20:06:36 +0000 (0:00:02.140) 0:01:16.462 ******** 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_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 12 January 2024 20:06:37 +0000 (0:00:00.904) 0:01:17.366 ******** 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_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 12 January 2024 20:06:37 +0000 (0:00:00.061) 0:01:17.427 ******** 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_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 12 January 2024 20:06:37 +0000 (0:00:00.023) 0:01:17.451 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 12 January 2024 20:06:37 +0000 (0:00:00.022) 0:01:17.473 ******** 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_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/main.yml:40 Friday 12 January 2024 20:06:37 +0000 (0:00:00.044) 0:01:17.518 ******** 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_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/main.yml:55 Friday 12 January 2024 20:06:37 +0000 (0:00:00.023) 0:01:17.541 ******** 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_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/main.yml:71 Friday 12 January 2024 20:06:37 +0000 (0:00:00.023) 0:01:17.565 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/main.yml:85 Friday 12 January 2024 20:06:37 +0000 (0:00:00.026) 0:01:17.591 ******** 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_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/main.yml:96 Friday 12 January 2024 20:06:38 +0000 (0:00:00.548) 0:01:18.140 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/main.yml:105 Friday 12 January 2024 20:06:38 +0000 (0:00:00.025) 0:01:18.166 ******** 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_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/main.yml:113 Friday 12 January 2024 20:06:38 +0000 (0:00:00.021) 0:01:18.187 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/main.yml:122 Friday 12 January 2024 20:06:38 +0000 (0:00:00.021) 0:01:18.209 ******** 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, 9dc509cb-4d40-4e50-b2ad-44df432c92cd skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/main.yml:134 Friday 12 January 2024 20:06:38 +0000 (0:00:00.362) 0:01:18.572 ******** 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_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/main.yml:140 Friday 12 January 2024 20:06:38 +0000 (0:00:00.023) 0:01:18.596 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 9dc509cb-4d40-4e50-b2ad-44df432c92cd skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/main.yml:144 Friday 12 January 2024 20:06:38 +0000 (0:00:00.024) 0:01:18.620 ******** 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, 9dc509cb-4d40-4e50-b2ad-44df432c92cd skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 9dc509cb-4d40-4e50-b2ad-44df432c92cd skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/main.yml:149 Friday 12 January 2024 20:06:38 +0000 (0:00:00.049) 0:01:18.669 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/main.yml:155 Friday 12 January 2024 20:06:38 +0000 (0:00:00.023) 0:01:18.693 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typeki4w1peq/tests/playbooks/tasks/remove+down_profile.yml:3 Friday 12 January 2024 20:06:39 +0000 (0:00:00.202) 0:01:18.895 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 12 January 2024 20:06:39 +0000 (0:00:00.038) 0:01:18.933 ******** included: /WORKDIR/git-route_typeki4w1peq/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_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 12 January 2024 20:06:39 +0000 (0:00:00.041) 0:01:18.975 ******** 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_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 12 January 2024 20:06:39 +0000 (0:00:00.028) 0:01:19.003 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-route_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 12 January 2024 20:06:39 +0000 (0:00:00.023) 0:01:19.027 ******** 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_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 12 January 2024 20:06:39 +0000 (0:00:00.028) 0:01:19.055 ******** 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_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 12 January 2024 20:06:41 +0000 (0:00:02.148) 0:01:21.203 ******** 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_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 12 January 2024 20:06:42 +0000 (0:00:00.908) 0:01:22.112 ******** 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_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 12 January 2024 20:06:42 +0000 (0:00:00.025) 0:01:22.137 ******** 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_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 12 January 2024 20:06:42 +0000 (0:00:00.024) 0:01:22.162 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 12 January 2024 20:06:42 +0000 (0:00:00.021) 0:01:22.184 ******** 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_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/main.yml:40 Friday 12 January 2024 20:06:42 +0000 (0:00:00.045) 0:01:22.230 ******** 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_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/main.yml:55 Friday 12 January 2024 20:06:42 +0000 (0:00:00.043) 0:01:22.274 ******** 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_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/main.yml:71 Friday 12 January 2024 20:06:42 +0000 (0:00:00.021) 0:01:22.296 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/main.yml:85 Friday 12 January 2024 20:06:42 +0000 (0:00:00.025) 0:01:22.321 ******** 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_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/main.yml:96 Friday 12 January 2024 20:06:43 +0000 (0:00:00.545) 0:01:22.866 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/main.yml:105 Friday 12 January 2024 20:06:43 +0000 (0:00:00.028) 0:01:22.895 ******** 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_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/main.yml:113 Friday 12 January 2024 20:06:43 +0000 (0:00:00.027) 0:01:22.922 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/main.yml:122 Friday 12 January 2024 20:06:43 +0000 (0:00:00.024) 0:01:22.947 ******** 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_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/main.yml:134 Friday 12 January 2024 20:06:43 +0000 (0:00:00.492) 0:01:23.439 ******** 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_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/main.yml:140 Friday 12 January 2024 20:06:43 +0000 (0:00:00.080) 0:01:23.520 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/main.yml:144 Friday 12 January 2024 20:06:43 +0000 (0:00:00.039) 0:01:23.560 ******** 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_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/main.yml:149 Friday 12 January 2024 20:06:43 +0000 (0:00:00.026) 0:01:23.586 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/main.yml:155 Friday 12 January 2024 20:06:43 +0000 (0:00:00.024) 0:01:23.611 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_typeki4w1peq/tests/playbooks/tasks/run_test.yml:30 Friday 12 January 2024 20:06:44 +0000 (0:00:00.274) 0:01:23.885 ******** included: /WORKDIR/git-route_typeki4w1peq/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typeki4w1peq/tests/playbooks/tasks/remove+down_profile.yml:3 Friday 12 January 2024 20:06:44 +0000 (0:00:00.083) 0:01:23.969 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 12 January 2024 20:06:44 +0000 (0:00:00.041) 0:01:24.010 ******** included: /WORKDIR/git-route_typeki4w1peq/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_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 12 January 2024 20:06:44 +0000 (0:00:00.058) 0:01:24.069 ******** 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_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 12 January 2024 20:06:44 +0000 (0:00:00.031) 0:01:24.100 ******** 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_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 12 January 2024 20:06:44 +0000 (0:00:00.022) 0:01:24.122 ******** 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_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 12 January 2024 20:06:44 +0000 (0:00:00.021) 0:01:24.144 ******** 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_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 12 January 2024 20:06:46 +0000 (0:00:02.111) 0:01:26.255 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-route_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 12 January 2024 20:06:47 +0000 (0:00:00.888) 0:01:27.144 ******** 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_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 12 January 2024 20:06:47 +0000 (0:00:00.023) 0:01:27.167 ******** 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_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 12 January 2024 20:06:47 +0000 (0:00:00.022) 0:01:27.189 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 12 January 2024 20:06:47 +0000 (0:00:00.021) 0:01:27.211 ******** 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_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/main.yml:40 Friday 12 January 2024 20:06:47 +0000 (0:00:00.046) 0:01:27.258 ******** 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_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/main.yml:55 Friday 12 January 2024 20:06:47 +0000 (0:00:00.024) 0:01:27.282 ******** 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_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/main.yml:71 Friday 12 January 2024 20:06:47 +0000 (0:00:00.023) 0:01:27.305 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/main.yml:85 Friday 12 January 2024 20:06:47 +0000 (0:00:00.049) 0:01:27.355 ******** 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_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/main.yml:96 Friday 12 January 2024 20:06:48 +0000 (0:00:00.543) 0:01:27.899 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/main.yml:105 Friday 12 January 2024 20:06:48 +0000 (0:00:00.026) 0:01:27.925 ******** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/main.yml:113 Friday 12 January 2024 20:06:48 +0000 (0:00:00.021) 0:01:27.947 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/main.yml:122 Friday 12 January 2024 20:06:48 +0000 (0:00:00.021) 0:01:27.968 ******** 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_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/main.yml:134 Friday 12 January 2024 20:06:48 +0000 (0:00:00.377) 0:01:28.346 ******** 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_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/main.yml:140 Friday 12 January 2024 20:06:48 +0000 (0:00:00.022) 0:01:28.369 ******** 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_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/main.yml:144 Friday 12 January 2024 20:06:48 +0000 (0:00:00.022) 0:01:28.391 ******** 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_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/main.yml:149 Friday 12 January 2024 20:06:48 +0000 (0:00:00.025) 0:01:28.416 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/main.yml:155 Friday 12 January 2024 20:06:48 +0000 (0:00:00.022) 0:01:28.439 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_typeki4w1peq/tests/playbooks/tasks/run_test.yml:36 Friday 12 January 2024 20:06:48 +0000 (0:00:00.200) 0:01:28.639 ******** included: /WORKDIR/git-route_typeki4w1peq/tests/playbooks/tasks/assert_profile_absent.yml for sut included: /WORKDIR/git-route_typeki4w1peq/tests/playbooks/tasks/get_NetworkManager_NVR.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typeki4w1peq/tests/playbooks/tasks/assert_profile_absent.yml:3 Friday 12 January 2024 20:06:48 +0000 (0:00:00.069) 0:01:28.709 ******** included: /WORKDIR/git-route_typeki4w1peq/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typeki4w1peq/tests/playbooks/tasks/get_profile_stat.yml:3 Friday 12 January 2024 20:06:49 +0000 (0:00:00.040) 0:01:28.749 ******** 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_typeki4w1peq/tests/playbooks/tasks/get_profile_stat.yml:9 Friday 12 January 2024 20:06:49 +0000 (0:00:00.022) 0:01:28.772 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_typeki4w1peq/tests/playbooks/tasks/get_profile_stat.yml:17 Friday 12 January 2024 20:06:49 +0000 (0:00:00.203) 0:01:28.975 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typeki4w1peq/tests/playbooks/tasks/get_profile_stat.yml:25 Friday 12 January 2024 20:06:49 +0000 (0:00:00.022) 0:01:28.998 ******** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020620", "end": "2024-01-12 20:06:49.479534", "rc": 1, "start": "2024-01-12 20:06:49.458914" } 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_typeki4w1peq/tests/playbooks/tasks/get_profile_stat.yml:35 Friday 12 January 2024 20:06:49 +0000 (0:00:00.224) 0:01:29.223 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_typeki4w1peq/tests/playbooks/tasks/get_profile_stat.yml:49 Friday 12 January 2024 20:06:49 +0000 (0:00:00.023) 0:01:29.247 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_typeki4w1peq/tests/playbooks/tasks/get_profile_stat.yml:56 Friday 12 January 2024 20:06:49 +0000 (0:00:00.024) 0:01:29.271 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_typeki4w1peq/tests/playbooks/tasks/get_profile_stat.yml:62 Friday 12 January 2024 20:06:49 +0000 (0:00:00.029) 0:01:29.300 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_typeki4w1peq/tests/playbooks/tasks/get_profile_stat.yml:69 Friday 12 January 2024 20:06:49 +0000 (0:00:00.024) 0:01:29.325 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-route_typeki4w1peq/tests/playbooks/tasks/assert_profile_absent.yml:5 Friday 12 January 2024 20:06:49 +0000 (0:00:00.025) 0:01:29.350 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /WORKDIR/git-route_typeki4w1peq/tests/playbooks/tasks/get_NetworkManager_NVR.yml:7 Friday 12 January 2024 20:06:49 +0000 (0:00:00.024) 0:01:29.375 ******** ok: [sut] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.355622", "end": "2024-01-12 20:06:50.191882", "rc": 0, "start": "2024-01-12 20:06:49.836260" } STDOUT: NetworkManager-1.42.8-1.fc38 TASK [Store NetworkManager version] ******************************************** task path: /WORKDIR/git-route_typeki4w1peq/tests/playbooks/tasks/get_NetworkManager_NVR.yml:14 Friday 12 January 2024 20:06:50 +0000 (0:00:00.562) 0:01:29.938 ******** ok: [sut] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.42.8-1.fc38" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /WORKDIR/git-route_typeki4w1peq/tests/playbooks/tasks/get_NetworkManager_NVR.yml:18 Friday 12 January 2024 20:06:50 +0000 (0:00:00.027) 0:01:29.965 ******** ok: [sut] => { "networkmanager_nvr": "NetworkManager-1.42.8-1.fc38" } TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typeki4w1peq/tests/playbooks/tasks/run_test.yml:42 Friday 12 January 2024 20:06:50 +0000 (0:00:00.025) 0:01:29.991 ******** included: /WORKDIR/git-route_typeki4w1peq/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typeki4w1peq/tests/playbooks/tasks/assert_device_absent.yml:3 Friday 12 January 2024 20:06:50 +0000 (0:00:00.047) 0:01:30.038 ******** included: /WORKDIR/git-route_typeki4w1peq/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typeki4w1peq/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 12 January 2024 20:06:50 +0000 (0:00:00.037) 0:01:30.076 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_typeki4w1peq/tests/playbooks/tasks/assert_device_absent.yml:5 Friday 12 January 2024 20:06:50 +0000 (0:00:00.205) 0:01:30.282 ******** 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_typeki4w1peq/tests/playbooks/tasks/run_test.yml:47 Friday 12 January 2024 20:06:50 +0000 (0:00:00.025) 0:01:30.307 ******** 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_typeki4w1peq/tests/playbooks/tasks/run_test.yml:66 Friday 12 January 2024 20:06:50 +0000 (0:00:00.022) 0:01:30.330 ******** included: /WORKDIR/git-route_typeki4w1peq/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_typeki4w1peq/tests/playbooks/tasks/cleanup_profile+device.yml:3 Friday 12 January 2024 20:06:50 +0000 (0:00:00.042) 0:01:30.373 ******** 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.039697", "end": "2024-01-12 20:06:50.876814", "rc": 1, "start": "2024-01-12 20:06:50.837117" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' Cannot find device "statebr" MSG: non-zero return code ...ignoring META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=316 changed=10 unreachable=0 failed=0 skipped=252 rescued=0 ignored=10 Friday 12 January 2024 20:06:50 +0000 (0:00:00.234) 0:01:30.608 ******** =============================================================================== linux-system-roles.network : Enable and start NetworkManager ------------ 2.92s /WORKDIR/git-route_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/main.yml:85 linux-system-roles.network : Check which services are running ----------- 2.23s /WORKDIR/git-route_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Configure networking connection profiles --- 2.22s /WORKDIR/git-route_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Enable and start NetworkManager ------------ 2.19s /WORKDIR/git-route_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/main.yml:85 linux-system-roles.network : Check which services are running ----------- 2.15s /WORKDIR/git-route_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.15s /WORKDIR/git-route_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.14s /WORKDIR/git-route_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.14s /WORKDIR/git-route_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.14s /WORKDIR/git-route_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.14s /WORKDIR/git-route_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.13s /WORKDIR/git-route_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.13s /WORKDIR/git-route_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.13s /WORKDIR/git-route_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.12s /WORKDIR/git-route_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.12s /WORKDIR/git-route_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.12s /WORKDIR/git-route_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.11s /WORKDIR/git-route_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.11s /WORKDIR/git-route_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Enable and start NetworkManager ------------ 1.64s /WORKDIR/git-route_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/main.yml:85 linux-system-roles.network : Configure networking connection profiles --- 1.45s /WORKDIR/git-route_typeki4w1peq/tests/roles/linux-system-roles.network/tasks/main.yml:122 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- [WARNING]: Consider using the yum, dnf or zypper module rather than running 'rpm'. If you need to use command because yum, dnf or zypper is insufficient you can add 'warn: false' to this command task or set 'command_warnings=False' in ansible.cfg to get rid of this message. ---^---^---^---^---^---