# 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-weekly-cion0r9bec/tests/tests_states_nm.yml PLAY [Run playbook 'playbooks/tests_states.yml' with nm as provider] *********** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-weekly-cion0r9bec/tests/tests_states_nm.yml:6 Saturday 06 January 2024 13:37:02 +0000 (0:00:00.013) 0:00:00.013 ****** ok: [sut] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-weekly-cion0r9bec/tests/tests_states_nm.yml:9 Saturday 06 January 2024 13:37:03 +0000 (0:00:00.944) 0:00:00.958 ****** included: /WORKDIR/git-weekly-cion0r9bec/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-weekly-cion0r9bec/tests/tasks/el_repo_setup.yml:3 Saturday 06 January 2024 13:37:03 +0000 (0:00:00.022) 0:00:00.981 ****** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-weekly-cion0r9bec/tests/tasks/el_repo_setup.yml:19 Saturday 06 January 2024 13:37:03 +0000 (0:00:00.513) 0:00:01.494 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-weekly-cion0r9bec/tests/tasks/el_repo_setup.yml:24 Saturday 06 January 2024 13:37:04 +0000 (0:00:00.272) 0:00:01.767 ****** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-weekly-cion0r9bec/tests/tasks/el_repo_setup.yml:28 Saturday 06 January 2024 13:37:04 +0000 (0:00:00.022) 0:00:01.789 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-weekly-cion0r9bec/tests/tasks/el_repo_setup.yml:53 Saturday 06 January 2024 13:37:04 +0000 (0:00:00.019) 0:00:01.809 ****** included: /WORKDIR/git-weekly-cion0r9bec/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 38] ********************************************************** task path: /WORKDIR/git-weekly-cion0r9bec/tests/tasks/enable_epel.yml:8 Saturday 06 January 2024 13:37:04 +0000 (0:00:00.031) 0:00:01.840 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Install yum-utils package] *********************************************** task path: /WORKDIR/git-weekly-cion0r9bec/tests/tasks/enable_epel.yml:24 Saturday 06 January 2024 13:37:04 +0000 (0:00:00.009) 0:00:01.849 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-weekly-cion0r9bec/tests/tasks/enable_epel.yml:30 Saturday 06 January 2024 13:37:04 +0000 (0:00:00.010) 0:00:01.860 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-weekly-cion0r9bec/tests/tasks/enable_epel.yml:35 Saturday 06 January 2024 13:37:04 +0000 (0:00:00.008) 0:00:01.868 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-weekly-cion0r9bec/tests/tasks/enable_epel.yml:40 Saturday 06 January 2024 13:37:04 +0000 (0:00:00.008) 0:00:01.877 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /WORKDIR/git-weekly-cion0r9bec/tests/tests_states_nm.yml:11 Saturday 06 January 2024 13:37:04 +0000 (0:00:00.009) 0:00:01.886 ****** 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-weekly-cion0r9bec/tests/playbooks/tests_states.yml:3 Saturday 06 January 2024 13:37:04 +0000 (0:00:00.011) 0:00:01.898 ****** ok: [sut] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-weekly-cion0r9bec/tests/playbooks/tests_states.yml:11 Saturday 06 January 2024 13:37:05 +0000 (0:00:00.772) 0:00:02.670 ****** ok: [sut] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-weekly-cion0r9bec/tests/playbooks/tests_states.yml:22 Saturday 06 January 2024 13:37:05 +0000 (0:00:00.012) 0:00:02.683 ****** included: /WORKDIR/git-weekly-cion0r9bec/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile] ******************************************** task path: /WORKDIR/git-weekly-cion0r9bec/tests/playbooks/tasks/run_test.yml:5 Saturday 06 January 2024 13:37:05 +0000 (0:00:00.019) 0:00:02.702 ****** ok: [sut] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-weekly-cion0r9bec/tests/playbooks/tasks/run_test.yml:9 Saturday 06 January 2024 13:37:05 +0000 (0:00:00.014) 0:00:02.717 ****** 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-weekly-cion0r9bec/tests/playbooks/tasks/run_test.yml:21 Saturday 06 January 2024 13:37:05 +0000 (0:00:00.035) 0:00:02.752 ****** included: /WORKDIR/git-weekly-cion0r9bec/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-weekly-cion0r9bec/tests/playbooks/tasks/show_interfaces.yml:3 Saturday 06 January 2024 13:37:05 +0000 (0:00:00.020) 0:00:02.773 ****** included: /WORKDIR/git-weekly-cion0r9bec/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-weekly-cion0r9bec/tests/playbooks/tasks/get_current_interfaces.yml:3 Saturday 06 January 2024 13:37:05 +0000 (0:00:00.014) 0:00:02.787 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003548", "end": "2024-01-06 13:37:05.487782", "rc": 0, "start": "2024-01-06 13:37:05.484234" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-weekly-cion0r9bec/tests/playbooks/tasks/get_current_interfaces.yml:9 Saturday 06 January 2024 13:37:05 +0000 (0:00:00.245) 0:00:03.033 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-weekly-cion0r9bec/tests/playbooks/tasks/show_interfaces.yml:5 Saturday 06 January 2024 13:37:05 +0000 (0:00:00.012) 0:00:03.045 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-weekly-cion0r9bec/tests/playbooks/tasks/run_test.yml:24 Saturday 06 January 2024 13:37:05 +0000 (0:00:00.011) 0:00:03.057 ****** included: /WORKDIR/git-weekly-cion0r9bec/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-weekly-cion0r9bec/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-weekly-cion0r9bec/tests/playbooks/tasks/delete_interface.yml:3 Saturday 06 January 2024 13:37:05 +0000 (0:00:00.020) 0:00:03.077 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.007578", "end": "2024-01-06 13:37:05.734400", "rc": 1, "start": "2024-01-06 13:37:05.726822" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-weekly-cion0r9bec/tests/playbooks/tasks/assert_device_absent.yml:3 Saturday 06 January 2024 13:37:05 +0000 (0:00:00.200) 0:00:03.278 ****** included: /WORKDIR/git-weekly-cion0r9bec/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-weekly-cion0r9bec/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 06 January 2024 13:37:05 +0000 (0:00:00.014) 0:00:03.293 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-weekly-cion0r9bec/tests/playbooks/tasks/assert_device_absent.yml:5 Saturday 06 January 2024 13:37:05 +0000 (0:00:00.195) 0:00:03.489 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-weekly-cion0r9bec/tests/playbooks/tasks/run_test.yml:30 Saturday 06 January 2024 13:37:05 +0000 (0:00:00.017) 0:00:03.506 ****** included: /WORKDIR/git-weekly-cion0r9bec/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-cion0r9bec/tests/playbooks/tasks/create_bridge_profile.yml:3 Saturday 06 January 2024 13:37:06 +0000 (0:00:00.019) 0:00:03.526 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 06 January 2024 13:37:06 +0000 (0:00:00.034) 0:00:03.561 ****** included: /WORKDIR/git-weekly-cion0r9bec/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-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 06 January 2024 13:37:06 +0000 (0:00:00.070) 0:00:03.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-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 06 January 2024 13:37:06 +0000 (0:00:00.012) 0:00:03.645 ****** 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-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 06 January 2024 13:37:06 +0000 (0:00:00.011) 0:00:03.656 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 06 January 2024 13:37:06 +0000 (0:00:00.011) 0:00:03.667 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 06 January 2024 13:37:08 +0000 (0:00:02.167) 0:00:05.835 ****** 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-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 06 January 2024 13:37:09 +0000 (0:00:01.075) 0:00:06.911 ****** 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-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 06 January 2024 13:37:09 +0000 (0:00:00.024) 0:00:06.936 ****** 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-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 06 January 2024 13:37:09 +0000 (0:00:00.039) 0:00:06.975 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 06 January 2024 13:37:09 +0000 (0:00:00.023) 0:00:06.999 ****** 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-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 06 January 2024 13:37:09 +0000 (0:00:00.046) 0:00:07.045 ****** 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-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 06 January 2024 13:37:09 +0000 (0:00:00.026) 0:00:07.072 ****** 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-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 06 January 2024 13:37:09 +0000 (0:00:00.021) 0:00:07.094 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 06 January 2024 13:37:09 +0000 (0:00:00.030) 0:00:07.125 ****** 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-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 06 January 2024 13:37:10 +0000 (0:00:00.700) 0:00:07.825 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 06 January 2024 13:37:10 +0000 (0:00:00.045) 0:00:07.871 ****** 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-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 06 January 2024 13:37:10 +0000 (0:00:00.022) 0:00:07.893 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 06 January 2024 13:37:10 +0000 (0:00:00.023) 0:00:07.917 ****** 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, 6a4d6458-0a2d-4f66-adcd-cb1b70d0a354 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 06 January 2024 13:37:10 +0000 (0:00:00.557) 0:00:08.475 ****** 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-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 06 January 2024 13:37:10 +0000 (0:00:00.022) 0:00:08.497 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 6a4d6458-0a2d-4f66-adcd-cb1b70d0a354" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 06 January 2024 13:37:10 +0000 (0:00:00.024) 0:00:08.521 ****** 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, 6a4d6458-0a2d-4f66-adcd-cb1b70d0a354\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 6a4d6458-0a2d-4f66-adcd-cb1b70d0a354" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 06 January 2024 13:37:11 +0000 (0:00:00.024) 0:00:08.545 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 06 January 2024 13:37:11 +0000 (0:00:00.025) 0:00:08.570 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-weekly-cion0r9bec/tests/playbooks/tasks/create_bridge_profile.yml:14 Saturday 06 January 2024 13:37:11 +0000 (0:00:00.284) 0:00:08.855 ****** 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, 6a4d6458-0a2d-4f66-adcd-cb1b70d0a354\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 6a4d6458-0a2d-4f66-adcd-cb1b70d0a354" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-weekly-cion0r9bec/tests/playbooks/tasks/run_test.yml:36 Saturday 06 January 2024 13:37:11 +0000 (0:00:00.024) 0:00:08.879 ****** included: /WORKDIR/git-weekly-cion0r9bec/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-weekly-cion0r9bec/tests/playbooks/tasks/assert_profile_present.yml:3 Saturday 06 January 2024 13:37:11 +0000 (0:00:00.042) 0:00:08.922 ****** included: /WORKDIR/git-weekly-cion0r9bec/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-weekly-cion0r9bec/tests/playbooks/tasks/get_profile_stat.yml:3 Saturday 06 January 2024 13:37:11 +0000 (0:00:00.067) 0:00:08.989 ****** 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-weekly-cion0r9bec/tests/playbooks/tasks/get_profile_stat.yml:9 Saturday 06 January 2024 13:37:11 +0000 (0:00:00.023) 0:00:09.012 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-weekly-cion0r9bec/tests/playbooks/tasks/get_profile_stat.yml:17 Saturday 06 January 2024 13:37:11 +0000 (0:00:00.205) 0:00:09.218 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-weekly-cion0r9bec/tests/playbooks/tasks/get_profile_stat.yml:25 Saturday 06 January 2024 13:37:11 +0000 (0:00:00.021) 0:00:09.239 ****** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021980", "end": "2024-01-06 13:37:11.909525", "rc": 0, "start": "2024-01-06 13:37:11.887545" } 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-weekly-cion0r9bec/tests/playbooks/tasks/get_profile_stat.yml:35 Saturday 06 January 2024 13:37:11 +0000 (0:00:00.227) 0:00:09.467 ****** 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-weekly-cion0r9bec/tests/playbooks/tasks/get_profile_stat.yml:49 Saturday 06 January 2024 13:37:11 +0000 (0:00:00.025) 0:00:09.493 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-weekly-cion0r9bec/tests/playbooks/tasks/get_profile_stat.yml:56 Saturday 06 January 2024 13:37:11 +0000 (0:00:00.023) 0:00:09.516 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-weekly-cion0r9bec/tests/playbooks/tasks/get_profile_stat.yml:62 Saturday 06 January 2024 13:37:12 +0000 (0:00:00.022) 0:00:09.539 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-weekly-cion0r9bec/tests/playbooks/tasks/get_profile_stat.yml:69 Saturday 06 January 2024 13:37:12 +0000 (0:00:00.022) 0:00:09.561 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-weekly-cion0r9bec/tests/playbooks/tasks/assert_profile_present.yml:5 Saturday 06 January 2024 13:37:12 +0000 (0:00:00.022) 0:00:09.584 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-weekly-cion0r9bec/tests/playbooks/tasks/assert_profile_present.yml:10 Saturday 06 January 2024 13:37:12 +0000 (0:00:00.024) 0:00:09.608 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-weekly-cion0r9bec/tests/playbooks/tasks/assert_profile_present.yml:15 Saturday 06 January 2024 13:37:12 +0000 (0:00:00.024) 0:00:09.633 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-weekly-cion0r9bec/tests/playbooks/tasks/run_test.yml:42 Saturday 06 January 2024 13:37:12 +0000 (0:00:00.023) 0:00:09.656 ****** included: /WORKDIR/git-weekly-cion0r9bec/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-weekly-cion0r9bec/tests/playbooks/tasks/assert_device_present.yml:3 Saturday 06 January 2024 13:37:12 +0000 (0:00:00.045) 0:00:09.701 ****** included: /WORKDIR/git-weekly-cion0r9bec/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-weekly-cion0r9bec/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 06 January 2024 13:37:12 +0000 (0:00:00.062) 0:00:09.763 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1704548230.8658803, "block_size": 4096, "blocks": 0, "ctime": 1704548230.8658803, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 36463, "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": 1704548230.8658803, "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-weekly-cion0r9bec/tests/playbooks/tasks/assert_device_present.yml:5 Saturday 06 January 2024 13:37:12 +0000 (0:00:00.206) 0:00:09.970 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can create a profile'] ******************************** task path: /WORKDIR/git-weekly-cion0r9bec/tests/playbooks/tasks/run_test.yml:47 Saturday 06 January 2024 13:37:12 +0000 (0:00:00.024) 0:00:09.995 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-weekly-cion0r9bec/tests/playbooks/tasks/run_test.yml:66 Saturday 06 January 2024 13:37:12 +0000 (0:00:00.024) 0:00:10.019 ****** included: /WORKDIR/git-weekly-cion0r9bec/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-weekly-cion0r9bec/tests/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 06 January 2024 13:37:12 +0000 (0:00:00.041) 0:00:10.061 ****** 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.059896", "end": "2024-01-06 13:37:12.768440", "rc": 1, "start": "2024-01-06 13:37:12.708544" } STDOUT: Connection 'statebr' (6a4d6458-0a2d-4f66-adcd-cb1b70d0a354) 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-weekly-cion0r9bec/tests/playbooks/tests_states.yml:45 Saturday 06 January 2024 13:37:12 +0000 (0:00:00.267) 0:00:10.328 ****** included: /WORKDIR/git-weekly-cion0r9bec/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile without autoconnect] ************************ task path: /WORKDIR/git-weekly-cion0r9bec/tests/playbooks/tasks/run_test.yml:5 Saturday 06 January 2024 13:37:12 +0000 (0:00:00.047) 0:00:10.376 ****** ok: [sut] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-weekly-cion0r9bec/tests/playbooks/tasks/run_test.yml:9 Saturday 06 January 2024 13:37:12 +0000 (0:00:00.027) 0:00:10.404 ****** 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-weekly-cion0r9bec/tests/playbooks/tasks/run_test.yml:21 Saturday 06 January 2024 13:37:12 +0000 (0:00:00.045) 0:00:10.449 ****** included: /WORKDIR/git-weekly-cion0r9bec/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-weekly-cion0r9bec/tests/playbooks/tasks/show_interfaces.yml:3 Saturday 06 January 2024 13:37:12 +0000 (0:00:00.037) 0:00:10.487 ****** included: /WORKDIR/git-weekly-cion0r9bec/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-weekly-cion0r9bec/tests/playbooks/tasks/get_current_interfaces.yml:3 Saturday 06 January 2024 13:37:13 +0000 (0:00:00.062) 0:00:10.550 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.004552", "end": "2024-01-06 13:37:14.203292", "rc": 0, "start": "2024-01-06 13:37:13.198740" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-weekly-cion0r9bec/tests/playbooks/tasks/get_current_interfaces.yml:9 Saturday 06 January 2024 13:37:14 +0000 (0:00:01.211) 0:00:11.761 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-weekly-cion0r9bec/tests/playbooks/tasks/show_interfaces.yml:5 Saturday 06 January 2024 13:37:14 +0000 (0:00:00.025) 0:00:11.787 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-weekly-cion0r9bec/tests/playbooks/tasks/run_test.yml:24 Saturday 06 January 2024 13:37:14 +0000 (0:00:00.024) 0:00:11.811 ****** included: /WORKDIR/git-weekly-cion0r9bec/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-weekly-cion0r9bec/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-weekly-cion0r9bec/tests/playbooks/tasks/delete_interface.yml:3 Saturday 06 January 2024 13:37:14 +0000 (0:00:00.043) 0:00:11.855 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.006359", "end": "2024-01-06 13:37:14.511543", "rc": 1, "start": "2024-01-06 13:37:14.505184" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-weekly-cion0r9bec/tests/playbooks/tasks/assert_device_absent.yml:3 Saturday 06 January 2024 13:37:14 +0000 (0:00:00.211) 0:00:12.067 ****** included: /WORKDIR/git-weekly-cion0r9bec/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-weekly-cion0r9bec/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 06 January 2024 13:37:14 +0000 (0:00:00.036) 0:00:12.103 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-weekly-cion0r9bec/tests/playbooks/tasks/assert_device_absent.yml:5 Saturday 06 January 2024 13:37:14 +0000 (0:00:00.229) 0:00:12.333 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-weekly-cion0r9bec/tests/playbooks/tasks/run_test.yml:30 Saturday 06 January 2024 13:37:14 +0000 (0:00:00.038) 0:00:12.371 ****** included: /WORKDIR/git-weekly-cion0r9bec/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-cion0r9bec/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Saturday 06 January 2024 13:37:14 +0000 (0:00:00.069) 0:00:12.441 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 06 January 2024 13:37:14 +0000 (0:00:00.051) 0:00:12.493 ****** included: /WORKDIR/git-weekly-cion0r9bec/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-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 06 January 2024 13:37:15 +0000 (0:00:00.052) 0:00:12.545 ****** 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-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 06 January 2024 13:37:15 +0000 (0:00:00.038) 0:00:12.583 ****** 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-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 06 January 2024 13:37:15 +0000 (0:00:00.026) 0:00:12.610 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 06 January 2024 13:37:15 +0000 (0:00:00.031) 0:00:12.642 ****** 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-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 06 January 2024 13:37:17 +0000 (0:00:02.145) 0:00:14.787 ****** 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-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 06 January 2024 13:37:18 +0000 (0:00:00.893) 0:00:15.680 ****** 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-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 06 January 2024 13:37:18 +0000 (0:00:00.025) 0:00:15.706 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 06 January 2024 13:37:18 +0000 (0:00:00.024) 0:00:15.730 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 06 January 2024 13:37:18 +0000 (0:00:00.029) 0:00:15.760 ****** 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-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 06 January 2024 13:37:18 +0000 (0:00:00.046) 0:00:15.806 ****** 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-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 06 January 2024 13:37:18 +0000 (0:00:00.024) 0:00:15.830 ****** 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-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 06 January 2024 13:37:18 +0000 (0:00:00.047) 0:00:15.877 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 06 January 2024 13:37:18 +0000 (0:00:00.026) 0:00:15.904 ****** 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-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 06 January 2024 13:37:18 +0000 (0:00:00.540) 0:00:16.444 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 06 January 2024 13:37:18 +0000 (0:00:00.027) 0:00:16.471 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 06 January 2024 13:37:18 +0000 (0:00:00.021) 0:00:16.493 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 06 January 2024 13:37:18 +0000 (0:00:00.021) 0:00:16.514 ****** 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, 9bdaef8e-095c-4bc6-9814-b663cff7ed85 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 06 January 2024 13:37:19 +0000 (0:00:00.370) 0:00:16.884 ****** 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-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 06 January 2024 13:37:19 +0000 (0:00:00.024) 0:00:16.908 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 9bdaef8e-095c-4bc6-9814-b663cff7ed85" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 06 January 2024 13:37:19 +0000 (0:00:00.024) 0:00:16.933 ****** 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, 9bdaef8e-095c-4bc6-9814-b663cff7ed85\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 9bdaef8e-095c-4bc6-9814-b663cff7ed85" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 06 January 2024 13:37:19 +0000 (0:00:00.024) 0:00:16.957 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 06 January 2024 13:37:19 +0000 (0:00:00.023) 0:00:16.981 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-weekly-cion0r9bec/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Saturday 06 January 2024 13:37:19 +0000 (0:00:00.201) 0:00:17.183 ****** 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, 9bdaef8e-095c-4bc6-9814-b663cff7ed85\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 9bdaef8e-095c-4bc6-9814-b663cff7ed85" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-weekly-cion0r9bec/tests/playbooks/tasks/run_test.yml:36 Saturday 06 January 2024 13:37:19 +0000 (0:00:00.049) 0:00:17.232 ****** included: /WORKDIR/git-weekly-cion0r9bec/tests/playbooks/tasks/assert_device_absent.yml for sut included: /WORKDIR/git-weekly-cion0r9bec/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-weekly-cion0r9bec/tests/playbooks/tasks/assert_device_absent.yml:3 Saturday 06 January 2024 13:37:19 +0000 (0:00:00.046) 0:00:17.279 ****** included: /WORKDIR/git-weekly-cion0r9bec/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-weekly-cion0r9bec/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 06 January 2024 13:37:19 +0000 (0:00:00.038) 0:00:17.317 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-weekly-cion0r9bec/tests/playbooks/tasks/assert_device_absent.yml:5 Saturday 06 January 2024 13:37:20 +0000 (0:00:00.206) 0:00:17.524 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-weekly-cion0r9bec/tests/playbooks/tasks/assert_profile_present.yml:3 Saturday 06 January 2024 13:37:20 +0000 (0:00:00.025) 0:00:17.549 ****** included: /WORKDIR/git-weekly-cion0r9bec/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-weekly-cion0r9bec/tests/playbooks/tasks/get_profile_stat.yml:3 Saturday 06 January 2024 13:37:20 +0000 (0:00:00.041) 0:00:17.591 ****** 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-weekly-cion0r9bec/tests/playbooks/tasks/get_profile_stat.yml:9 Saturday 06 January 2024 13:37:20 +0000 (0:00:00.024) 0:00:17.615 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-weekly-cion0r9bec/tests/playbooks/tasks/get_profile_stat.yml:17 Saturday 06 January 2024 13:37:20 +0000 (0:00:00.204) 0:00:17.820 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-weekly-cion0r9bec/tests/playbooks/tasks/get_profile_stat.yml:25 Saturday 06 January 2024 13:37:20 +0000 (0:00:00.036) 0:00:17.856 ****** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021325", "end": "2024-01-06 13:37:20.527844", "rc": 0, "start": "2024-01-06 13:37:20.506519" } 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-weekly-cion0r9bec/tests/playbooks/tasks/get_profile_stat.yml:35 Saturday 06 January 2024 13:37:20 +0000 (0:00:00.228) 0:00:18.085 ****** 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-weekly-cion0r9bec/tests/playbooks/tasks/get_profile_stat.yml:49 Saturday 06 January 2024 13:37:20 +0000 (0:00:00.026) 0:00:18.111 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-weekly-cion0r9bec/tests/playbooks/tasks/get_profile_stat.yml:56 Saturday 06 January 2024 13:37:20 +0000 (0:00:00.048) 0:00:18.160 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-weekly-cion0r9bec/tests/playbooks/tasks/get_profile_stat.yml:62 Saturday 06 January 2024 13:37:20 +0000 (0:00:00.024) 0:00:18.184 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-weekly-cion0r9bec/tests/playbooks/tasks/get_profile_stat.yml:69 Saturday 06 January 2024 13:37:20 +0000 (0:00:00.053) 0:00:18.238 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-weekly-cion0r9bec/tests/playbooks/tasks/assert_profile_present.yml:5 Saturday 06 January 2024 13:37:20 +0000 (0:00:00.034) 0:00:18.273 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-weekly-cion0r9bec/tests/playbooks/tasks/assert_profile_present.yml:10 Saturday 06 January 2024 13:37:20 +0000 (0:00:00.027) 0:00:18.300 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-weekly-cion0r9bec/tests/playbooks/tasks/assert_profile_present.yml:15 Saturday 06 January 2024 13:37:20 +0000 (0:00:00.039) 0:00:18.340 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-weekly-cion0r9bec/tests/playbooks/tasks/run_test.yml:42 Saturday 06 January 2024 13:37:20 +0000 (0:00:00.024) 0:00:18.365 ****** TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /WORKDIR/git-weekly-cion0r9bec/tests/playbooks/tasks/run_test.yml:47 Saturday 06 January 2024 13:37:20 +0000 (0:00:00.021) 0:00:18.386 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-weekly-cion0r9bec/tests/playbooks/tasks/run_test.yml:66 Saturday 06 January 2024 13:37:20 +0000 (0:00:00.023) 0:00:18.409 ****** included: /WORKDIR/git-weekly-cion0r9bec/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-weekly-cion0r9bec/tests/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 06 January 2024 13:37:20 +0000 (0:00:00.042) 0:00:18.452 ****** 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.041809", "end": "2024-01-06 13:37:21.142087", "rc": 1, "start": "2024-01-06 13:37:21.100278" } STDOUT: Connection 'statebr' (9bdaef8e-095c-4bc6-9814-b663cff7ed85) 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-weekly-cion0r9bec/tests/playbooks/tests_states.yml:65 Saturday 06 January 2024 13:37:21 +0000 (0:00:00.248) 0:00:18.701 ****** included: /WORKDIR/git-weekly-cion0r9bec/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can activate an existing profile] ******************************** task path: /WORKDIR/git-weekly-cion0r9bec/tests/playbooks/tasks/run_test.yml:5 Saturday 06 January 2024 13:37:21 +0000 (0:00:00.038) 0:00:18.739 ****** ok: [sut] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-weekly-cion0r9bec/tests/playbooks/tasks/run_test.yml:9 Saturday 06 January 2024 13:37:21 +0000 (0:00:00.023) 0:00:18.763 ****** 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-weekly-cion0r9bec/tests/playbooks/tasks/run_test.yml:21 Saturday 06 January 2024 13:37:21 +0000 (0:00:00.068) 0:00:18.831 ****** included: /WORKDIR/git-weekly-cion0r9bec/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-weekly-cion0r9bec/tests/playbooks/tasks/show_interfaces.yml:3 Saturday 06 January 2024 13:37:21 +0000 (0:00:00.037) 0:00:18.868 ****** included: /WORKDIR/git-weekly-cion0r9bec/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-weekly-cion0r9bec/tests/playbooks/tasks/get_current_interfaces.yml:3 Saturday 06 January 2024 13:37:21 +0000 (0:00:00.037) 0:00:18.905 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.004551", "end": "2024-01-06 13:37:22.562690", "rc": 0, "start": "2024-01-06 13:37:21.558139" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-weekly-cion0r9bec/tests/playbooks/tasks/get_current_interfaces.yml:9 Saturday 06 January 2024 13:37:22 +0000 (0:00:01.215) 0:00:20.121 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-weekly-cion0r9bec/tests/playbooks/tasks/show_interfaces.yml:5 Saturday 06 January 2024 13:37:22 +0000 (0:00:00.024) 0:00:20.145 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-weekly-cion0r9bec/tests/playbooks/tasks/run_test.yml:24 Saturday 06 January 2024 13:37:22 +0000 (0:00:00.022) 0:00:20.168 ****** included: /WORKDIR/git-weekly-cion0r9bec/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-cion0r9bec/tests/playbooks/tasks/create_bridge_profile.yml:3 Saturday 06 January 2024 13:37:22 +0000 (0:00:00.043) 0:00:20.211 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 06 January 2024 13:37:22 +0000 (0:00:00.041) 0:00:20.253 ****** included: /WORKDIR/git-weekly-cion0r9bec/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-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 06 January 2024 13:37:22 +0000 (0:00:00.078) 0:00:20.331 ****** 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-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 06 January 2024 13:37:22 +0000 (0:00:00.070) 0:00:20.401 ****** 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-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 06 January 2024 13:37:22 +0000 (0:00:00.029) 0:00:20.431 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 06 January 2024 13:37:22 +0000 (0:00:00.025) 0:00:20.457 ****** 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-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 06 January 2024 13:37:25 +0000 (0:00:02.145) 0:00:22.602 ****** 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-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 06 January 2024 13:37:26 +0000 (0:00:00.934) 0:00:23.537 ****** 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-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 06 January 2024 13:37:26 +0000 (0:00:00.030) 0:00:23.567 ****** 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-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 06 January 2024 13:37:26 +0000 (0:00:00.024) 0:00:23.592 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 06 January 2024 13:37:26 +0000 (0:00:00.022) 0:00:23.614 ****** 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-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 06 January 2024 13:37:26 +0000 (0:00:00.048) 0:00:23.663 ****** 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-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 06 January 2024 13:37:26 +0000 (0:00:00.024) 0:00:23.687 ****** 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-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 06 January 2024 13:37:26 +0000 (0:00:00.021) 0:00:23.709 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 06 January 2024 13:37:26 +0000 (0:00:00.027) 0:00:23.737 ****** 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-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 06 January 2024 13:37:26 +0000 (0:00:00.551) 0:00:24.288 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 06 January 2024 13:37:26 +0000 (0:00:00.031) 0:00:24.320 ****** 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-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 06 January 2024 13:37:26 +0000 (0:00:00.025) 0:00:24.345 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 06 January 2024 13:37:26 +0000 (0:00:00.025) 0:00:24.370 ****** 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, 5dbfdf6e-8e1d-446c-a960-6d5dfed0e20a TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 06 January 2024 13:37:27 +0000 (0:00:00.466) 0:00:24.837 ****** 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-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 06 January 2024 13:37:27 +0000 (0:00:00.024) 0:00:24.861 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 5dbfdf6e-8e1d-446c-a960-6d5dfed0e20a" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 06 January 2024 13:37:27 +0000 (0:00:00.026) 0:00:24.887 ****** 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, 5dbfdf6e-8e1d-446c-a960-6d5dfed0e20a\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 5dbfdf6e-8e1d-446c-a960-6d5dfed0e20a" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 06 January 2024 13:37:27 +0000 (0:00:00.038) 0:00:24.926 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 06 January 2024 13:37:27 +0000 (0:00:00.036) 0:00:24.962 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-weekly-cion0r9bec/tests/playbooks/tasks/create_bridge_profile.yml:14 Saturday 06 January 2024 13:37:27 +0000 (0:00:00.221) 0:00:25.183 ****** 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, 5dbfdf6e-8e1d-446c-a960-6d5dfed0e20a\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 5dbfdf6e-8e1d-446c-a960-6d5dfed0e20a" ] } } TASK [Test] ******************************************************************** task path: /WORKDIR/git-weekly-cion0r9bec/tests/playbooks/tasks/run_test.yml:30 Saturday 06 January 2024 13:37:27 +0000 (0:00:00.024) 0:00:25.208 ****** included: /WORKDIR/git-weekly-cion0r9bec/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-cion0r9bec/tests/playbooks/tasks/activate_profile.yml:3 Saturday 06 January 2024 13:37:27 +0000 (0:00:00.044) 0:00:25.252 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 06 January 2024 13:37:27 +0000 (0:00:00.043) 0:00:25.295 ****** included: /WORKDIR/git-weekly-cion0r9bec/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-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 06 January 2024 13:37:27 +0000 (0:00:00.051) 0:00:25.347 ****** 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-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 06 January 2024 13:37:27 +0000 (0:00:00.028) 0:00:25.375 ****** 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-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 06 January 2024 13:37:27 +0000 (0:00:00.052) 0:00:25.427 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 06 January 2024 13:37:27 +0000 (0:00:00.024) 0:00:25.452 ****** 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-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 06 January 2024 13:37:30 +0000 (0:00:02.131) 0:00:27.584 ****** 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-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 06 January 2024 13:37:30 +0000 (0:00:00.927) 0:00:28.511 ****** 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-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 06 January 2024 13:37:31 +0000 (0:00:00.030) 0:00:28.541 ****** 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-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 06 January 2024 13:37:31 +0000 (0:00:00.042) 0:00:28.583 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 06 January 2024 13:37:31 +0000 (0:00:00.028) 0:00:28.612 ****** 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-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 06 January 2024 13:37:31 +0000 (0:00:00.045) 0:00:28.658 ****** 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-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 06 January 2024 13:37:31 +0000 (0:00:00.025) 0:00:28.683 ****** 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-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 06 January 2024 13:37:31 +0000 (0:00:00.026) 0:00:28.710 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 06 January 2024 13:37:31 +0000 (0:00:00.030) 0:00:28.740 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 06 January 2024 13:37:31 +0000 (0:00:00.544) 0:00:29.285 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 06 January 2024 13:37:31 +0000 (0:00:00.029) 0:00:29.315 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 06 January 2024 13:37:31 +0000 (0:00:00.023) 0:00:29.338 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 06 January 2024 13:37:31 +0000 (0:00:00.022) 0:00:29.361 ****** 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, 5dbfdf6e-8e1d-446c-a960-6d5dfed0e20a skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 06 January 2024 13:37:32 +0000 (0:00:00.412) 0:00:29.773 ****** 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-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 06 January 2024 13:37:32 +0000 (0:00:00.023) 0:00:29.797 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 5dbfdf6e-8e1d-446c-a960-6d5dfed0e20a skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 06 January 2024 13:37:32 +0000 (0:00:00.023) 0:00:29.821 ****** 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, 5dbfdf6e-8e1d-446c-a960-6d5dfed0e20a skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 5dbfdf6e-8e1d-446c-a960-6d5dfed0e20a skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 06 January 2024 13:37:32 +0000 (0:00:00.023) 0:00:29.844 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 06 January 2024 13:37:32 +0000 (0:00:00.022) 0:00:29.866 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-weekly-cion0r9bec/tests/playbooks/tasks/run_test.yml:36 Saturday 06 January 2024 13:37:32 +0000 (0:00:00.200) 0:00:30.067 ****** included: /WORKDIR/git-weekly-cion0r9bec/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-weekly-cion0r9bec/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-weekly-cion0r9bec/tests/playbooks/tasks/assert_device_present.yml:3 Saturday 06 January 2024 13:37:32 +0000 (0:00:00.044) 0:00:30.112 ****** included: /WORKDIR/git-weekly-cion0r9bec/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-weekly-cion0r9bec/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 06 January 2024 13:37:32 +0000 (0:00:00.037) 0:00:30.150 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1704548247.2187982, "block_size": 4096, "blocks": 0, "ctime": 1704548247.2187982, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 36594, "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": 1704548247.2187982, "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-weekly-cion0r9bec/tests/playbooks/tasks/assert_device_present.yml:5 Saturday 06 January 2024 13:37:32 +0000 (0:00:00.206) 0:00:30.356 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-weekly-cion0r9bec/tests/playbooks/tasks/assert_profile_present.yml:3 Saturday 06 January 2024 13:37:32 +0000 (0:00:00.025) 0:00:30.381 ****** included: /WORKDIR/git-weekly-cion0r9bec/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-weekly-cion0r9bec/tests/playbooks/tasks/get_profile_stat.yml:3 Saturday 06 January 2024 13:37:32 +0000 (0:00:00.039) 0:00:30.421 ****** 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-weekly-cion0r9bec/tests/playbooks/tasks/get_profile_stat.yml:9 Saturday 06 January 2024 13:37:32 +0000 (0:00:00.048) 0:00:30.470 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-weekly-cion0r9bec/tests/playbooks/tasks/get_profile_stat.yml:17 Saturday 06 January 2024 13:37:33 +0000 (0:00:00.203) 0:00:30.673 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-weekly-cion0r9bec/tests/playbooks/tasks/get_profile_stat.yml:25 Saturday 06 January 2024 13:37:33 +0000 (0:00:00.023) 0:00:30.697 ****** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021718", "end": "2024-01-06 13:37:33.368962", "rc": 0, "start": "2024-01-06 13:37:33.347244" } 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-weekly-cion0r9bec/tests/playbooks/tasks/get_profile_stat.yml:35 Saturday 06 January 2024 13:37:33 +0000 (0:00:00.229) 0:00:30.926 ****** 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-weekly-cion0r9bec/tests/playbooks/tasks/get_profile_stat.yml:49 Saturday 06 January 2024 13:37:33 +0000 (0:00:00.025) 0:00:30.952 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-weekly-cion0r9bec/tests/playbooks/tasks/get_profile_stat.yml:56 Saturday 06 January 2024 13:37:33 +0000 (0:00:00.023) 0:00:30.975 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-weekly-cion0r9bec/tests/playbooks/tasks/get_profile_stat.yml:62 Saturday 06 January 2024 13:37:33 +0000 (0:00:00.023) 0:00:30.998 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-weekly-cion0r9bec/tests/playbooks/tasks/get_profile_stat.yml:69 Saturday 06 January 2024 13:37:33 +0000 (0:00:00.022) 0:00:31.021 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-weekly-cion0r9bec/tests/playbooks/tasks/assert_profile_present.yml:5 Saturday 06 January 2024 13:37:33 +0000 (0:00:00.023) 0:00:31.045 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-weekly-cion0r9bec/tests/playbooks/tasks/assert_profile_present.yml:10 Saturday 06 January 2024 13:37:33 +0000 (0:00:00.025) 0:00:31.071 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-weekly-cion0r9bec/tests/playbooks/tasks/assert_profile_present.yml:15 Saturday 06 January 2024 13:37:33 +0000 (0:00:00.024) 0:00:31.095 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-weekly-cion0r9bec/tests/playbooks/tasks/run_test.yml:42 Saturday 06 January 2024 13:37:33 +0000 (0:00:00.023) 0:00:31.119 ****** TASK [Success in test 'I can activate an existing profile'] ******************** task path: /WORKDIR/git-weekly-cion0r9bec/tests/playbooks/tasks/run_test.yml:47 Saturday 06 January 2024 13:37:33 +0000 (0:00:00.021) 0:00:31.141 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-weekly-cion0r9bec/tests/playbooks/tasks/run_test.yml:66 Saturday 06 January 2024 13:37:33 +0000 (0:00:00.022) 0:00:31.163 ****** included: /WORKDIR/git-weekly-cion0r9bec/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-weekly-cion0r9bec/tests/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 06 January 2024 13:37:33 +0000 (0:00:00.065) 0:00:31.229 ****** 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.069523", "end": "2024-01-06 13:37:33.948174", "rc": 1, "start": "2024-01-06 13:37:33.878651" } STDOUT: Connection 'statebr' (5dbfdf6e-8e1d-446c-a960-6d5dfed0e20a) 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-weekly-cion0r9bec/tests/playbooks/tests_states.yml:83 Saturday 06 January 2024 13:37:33 +0000 (0:00:00.276) 0:00:31.506 ****** included: /WORKDIR/git-weekly-cion0r9bec/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can remove an existing profile without taking it down] *********** task path: /WORKDIR/git-weekly-cion0r9bec/tests/playbooks/tasks/run_test.yml:5 Saturday 06 January 2024 13:37:34 +0000 (0:00:00.040) 0:00:31.546 ****** ok: [sut] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-weekly-cion0r9bec/tests/playbooks/tasks/run_test.yml:9 Saturday 06 January 2024 13:37:34 +0000 (0:00:00.023) 0:00:31.570 ****** 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-weekly-cion0r9bec/tests/playbooks/tasks/run_test.yml:21 Saturday 06 January 2024 13:37:34 +0000 (0:00:00.043) 0:00:31.614 ****** included: /WORKDIR/git-weekly-cion0r9bec/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-weekly-cion0r9bec/tests/playbooks/tasks/show_interfaces.yml:3 Saturday 06 January 2024 13:37:34 +0000 (0:00:00.037) 0:00:31.651 ****** included: /WORKDIR/git-weekly-cion0r9bec/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-weekly-cion0r9bec/tests/playbooks/tasks/get_current_interfaces.yml:3 Saturday 06 January 2024 13:37:34 +0000 (0:00:00.036) 0:00:31.688 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003571", "end": "2024-01-06 13:37:34.338918", "rc": 0, "start": "2024-01-06 13:37:34.335347" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-weekly-cion0r9bec/tests/playbooks/tasks/get_current_interfaces.yml:9 Saturday 06 January 2024 13:37:34 +0000 (0:00:00.211) 0:00:31.899 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-weekly-cion0r9bec/tests/playbooks/tasks/show_interfaces.yml:5 Saturday 06 January 2024 13:37:34 +0000 (0:00:00.024) 0:00:31.924 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-weekly-cion0r9bec/tests/playbooks/tasks/run_test.yml:24 Saturday 06 January 2024 13:37:34 +0000 (0:00:00.023) 0:00:31.947 ****** included: /WORKDIR/git-weekly-cion0r9bec/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-weekly-cion0r9bec/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-cion0r9bec/tests/playbooks/tasks/create_bridge_profile.yml:3 Saturday 06 January 2024 13:37:34 +0000 (0:00:00.044) 0:00:31.991 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 06 January 2024 13:37:34 +0000 (0:00:00.066) 0:00:32.058 ****** included: /WORKDIR/git-weekly-cion0r9bec/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-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 06 January 2024 13:37:34 +0000 (0:00:00.044) 0:00:32.103 ****** 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-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 06 January 2024 13:37:34 +0000 (0:00:00.030) 0:00:32.133 ****** 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-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 06 January 2024 13:37:34 +0000 (0:00:00.030) 0:00:32.164 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 06 January 2024 13:37:34 +0000 (0:00:00.023) 0:00:32.187 ****** 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-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 06 January 2024 13:37:36 +0000 (0:00:02.139) 0:00:34.326 ****** 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-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 06 January 2024 13:37:37 +0000 (0:00:00.908) 0:00:35.235 ****** 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-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 06 January 2024 13:37:37 +0000 (0:00:00.024) 0:00:35.259 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 06 January 2024 13:37:37 +0000 (0:00:00.024) 0:00:35.284 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 06 January 2024 13:37:37 +0000 (0:00:00.025) 0:00:35.310 ****** 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-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 06 January 2024 13:37:37 +0000 (0:00:00.048) 0:00:35.358 ****** 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-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 06 January 2024 13:37:37 +0000 (0:00:00.024) 0:00:35.383 ****** 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-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 06 January 2024 13:37:37 +0000 (0:00:00.027) 0:00:35.410 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 06 January 2024 13:37:37 +0000 (0:00:00.033) 0:00:35.443 ****** 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-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 06 January 2024 13:37:38 +0000 (0:00:00.562) 0:00:36.006 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 06 January 2024 13:37:38 +0000 (0:00:00.026) 0:00:36.032 ****** 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-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 06 January 2024 13:37:38 +0000 (0:00:00.030) 0:00:36.063 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 06 January 2024 13:37:38 +0000 (0:00:00.034) 0:00:36.098 ****** 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, d1e4adc4-c8ff-4233-a6b3-6b32dcbcefc1 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 06 January 2024 13:37:38 +0000 (0:00:00.419) 0:00:36.517 ****** 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-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 06 January 2024 13:37:39 +0000 (0:00:00.035) 0:00:36.552 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, d1e4adc4-c8ff-4233-a6b3-6b32dcbcefc1" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 06 January 2024 13:37:39 +0000 (0:00:00.035) 0:00:36.588 ****** 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, d1e4adc4-c8ff-4233-a6b3-6b32dcbcefc1\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, d1e4adc4-c8ff-4233-a6b3-6b32dcbcefc1" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 06 January 2024 13:37:39 +0000 (0:00:00.047) 0:00:36.636 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 06 January 2024 13:37:39 +0000 (0:00:00.035) 0:00:36.671 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-weekly-cion0r9bec/tests/playbooks/tasks/create_bridge_profile.yml:14 Saturday 06 January 2024 13:37:39 +0000 (0:00:00.225) 0:00:36.897 ****** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, d1e4adc4-c8ff-4233-a6b3-6b32dcbcefc1\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, d1e4adc4-c8ff-4233-a6b3-6b32dcbcefc1" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-cion0r9bec/tests/playbooks/tasks/activate_profile.yml:3 Saturday 06 January 2024 13:37:39 +0000 (0:00:00.027) 0:00:36.924 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 06 January 2024 13:37:39 +0000 (0:00:00.053) 0:00:36.977 ****** included: /WORKDIR/git-weekly-cion0r9bec/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-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 06 January 2024 13:37:39 +0000 (0:00:00.078) 0:00:37.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 : Check if system is ostree] ****************** task path: /WORKDIR/git-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 06 January 2024 13:37:39 +0000 (0:00:00.035) 0:00:37.090 ****** 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-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 06 January 2024 13:37:39 +0000 (0:00:00.023) 0:00:37.114 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 06 January 2024 13:37:39 +0000 (0:00:00.024) 0:00:37.139 ****** 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-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 06 January 2024 13:37:41 +0000 (0:00:02.097) 0:00:39.237 ****** 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-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 06 January 2024 13:37:42 +0000 (0:00:00.923) 0:00:40.160 ****** 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-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 06 January 2024 13:37:42 +0000 (0:00:00.030) 0:00:40.190 ****** 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-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 06 January 2024 13:37:42 +0000 (0:00:00.028) 0:00:40.219 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 06 January 2024 13:37:42 +0000 (0:00:00.026) 0:00:40.245 ****** 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-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 06 January 2024 13:37:42 +0000 (0:00:00.047) 0:00:40.293 ****** 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-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 06 January 2024 13:37:42 +0000 (0:00:00.024) 0:00:40.317 ****** 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-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 06 January 2024 13:37:42 +0000 (0:00:00.024) 0:00:40.341 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 06 January 2024 13:37:42 +0000 (0:00:00.027) 0:00:40.368 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 06 January 2024 13:37:43 +0000 (0:00:00.554) 0:00:40.922 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 06 January 2024 13:37:43 +0000 (0:00:00.027) 0:00:40.950 ****** 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-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 06 January 2024 13:37:43 +0000 (0:00:00.024) 0:00:40.974 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 06 January 2024 13:37:43 +0000 (0:00:00.048) 0:00:41.022 ****** 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, d1e4adc4-c8ff-4233-a6b3-6b32dcbcefc1 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 06 January 2024 13:37:43 +0000 (0:00:00.361) 0:00:41.384 ****** 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-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 06 January 2024 13:37:43 +0000 (0:00:00.022) 0:00:41.406 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, d1e4adc4-c8ff-4233-a6b3-6b32dcbcefc1 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 06 January 2024 13:37:43 +0000 (0:00:00.024) 0:00:41.430 ****** 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, d1e4adc4-c8ff-4233-a6b3-6b32dcbcefc1 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, d1e4adc4-c8ff-4233-a6b3-6b32dcbcefc1 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 06 January 2024 13:37:43 +0000 (0:00:00.023) 0:00:41.454 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 06 January 2024 13:37:43 +0000 (0:00:00.021) 0:00:41.475 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-weekly-cion0r9bec/tests/playbooks/tasks/run_test.yml:30 Saturday 06 January 2024 13:37:44 +0000 (0:00:00.198) 0:00:41.673 ****** included: /WORKDIR/git-weekly-cion0r9bec/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-cion0r9bec/tests/playbooks/tasks/remove_profile.yml:3 Saturday 06 January 2024 13:37:44 +0000 (0:00:00.042) 0:00:41.716 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 06 January 2024 13:37:44 +0000 (0:00:00.044) 0:00:41.760 ****** included: /WORKDIR/git-weekly-cion0r9bec/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-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 06 January 2024 13:37:44 +0000 (0:00:00.042) 0:00:41.802 ****** 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-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 06 January 2024 13:37:44 +0000 (0:00:00.027) 0:00:41.830 ****** 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-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 06 January 2024 13:37:44 +0000 (0:00:00.050) 0:00:41.880 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 06 January 2024 13:37:44 +0000 (0:00:00.024) 0:00:41.904 ****** 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-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 06 January 2024 13:37:46 +0000 (0:00:02.100) 0:00:44.005 ****** 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-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 06 January 2024 13:37:47 +0000 (0:00:00.901) 0:00:44.906 ****** ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 06 January 2024 13:37:47 +0000 (0:00:00.023) 0:00:44.930 ****** 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-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 06 January 2024 13:37:47 +0000 (0:00:00.021) 0:00:44.952 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 06 January 2024 13:37:47 +0000 (0:00:00.023) 0:00:44.975 ****** 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-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 06 January 2024 13:37:47 +0000 (0:00:00.044) 0:00:45.020 ****** 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-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 06 January 2024 13:37:47 +0000 (0:00:00.021) 0:00:45.042 ****** 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-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 06 January 2024 13:37:47 +0000 (0:00:00.022) 0:00:45.064 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 06 January 2024 13:37:47 +0000 (0:00:00.028) 0:00:45.092 ****** 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-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 06 January 2024 13:37:48 +0000 (0:00:00.541) 0:00:45.634 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 06 January 2024 13:37:48 +0000 (0:00:00.026) 0:00:45.660 ****** 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-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 06 January 2024 13:37:48 +0000 (0:00:00.021) 0:00:45.682 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 06 January 2024 13:37:48 +0000 (0:00:00.021) 0:00:45.703 ****** 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-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 06 January 2024 13:37:48 +0000 (0:00:00.430) 0:00:46.134 ****** 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-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 06 January 2024 13:37:48 +0000 (0:00:00.035) 0:00:46.169 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 06 January 2024 13:37:48 +0000 (0:00:00.040) 0:00:46.209 ****** 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-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 06 January 2024 13:37:48 +0000 (0:00:00.028) 0:00:46.238 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 06 January 2024 13:37:48 +0000 (0:00:00.028) 0:00:46.267 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-weekly-cion0r9bec/tests/playbooks/tasks/run_test.yml:36 Saturday 06 January 2024 13:37:48 +0000 (0:00:00.199) 0:00:46.466 ****** included: /WORKDIR/git-weekly-cion0r9bec/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-weekly-cion0r9bec/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-weekly-cion0r9bec/tests/playbooks/tasks/assert_device_present.yml:3 Saturday 06 January 2024 13:37:48 +0000 (0:00:00.046) 0:00:46.512 ****** included: /WORKDIR/git-weekly-cion0r9bec/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-weekly-cion0r9bec/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 06 January 2024 13:37:49 +0000 (0:00:00.038) 0:00:46.550 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1704548258.9009423, "block_size": 4096, "blocks": 0, "ctime": 1704548258.9009423, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 36725, "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": 1704548258.9009423, "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-weekly-cion0r9bec/tests/playbooks/tasks/assert_device_present.yml:5 Saturday 06 January 2024 13:37:49 +0000 (0:00:00.223) 0:00:46.773 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-weekly-cion0r9bec/tests/playbooks/tasks/assert_profile_absent.yml:3 Saturday 06 January 2024 13:37:49 +0000 (0:00:00.040) 0:00:46.814 ****** included: /WORKDIR/git-weekly-cion0r9bec/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-weekly-cion0r9bec/tests/playbooks/tasks/get_profile_stat.yml:3 Saturday 06 January 2024 13:37:49 +0000 (0:00:00.054) 0:00:46.869 ****** 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-weekly-cion0r9bec/tests/playbooks/tasks/get_profile_stat.yml:9 Saturday 06 January 2024 13:37:49 +0000 (0:00:00.056) 0:00:46.926 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-weekly-cion0r9bec/tests/playbooks/tasks/get_profile_stat.yml:17 Saturday 06 January 2024 13:37:49 +0000 (0:00:00.224) 0:00:47.151 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-weekly-cion0r9bec/tests/playbooks/tasks/get_profile_stat.yml:25 Saturday 06 January 2024 13:37:49 +0000 (0:00:00.024) 0:00:47.176 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021606", "end": "2024-01-06 13:37:49.845435", "rc": 1, "start": "2024-01-06 13:37:49.823829" } 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-weekly-cion0r9bec/tests/playbooks/tasks/get_profile_stat.yml:35 Saturday 06 January 2024 13:37:49 +0000 (0:00:00.226) 0:00:47.402 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-weekly-cion0r9bec/tests/playbooks/tasks/get_profile_stat.yml:49 Saturday 06 January 2024 13:37:49 +0000 (0:00:00.024) 0:00:47.427 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-weekly-cion0r9bec/tests/playbooks/tasks/get_profile_stat.yml:56 Saturday 06 January 2024 13:37:49 +0000 (0:00:00.024) 0:00:47.452 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-weekly-cion0r9bec/tests/playbooks/tasks/get_profile_stat.yml:62 Saturday 06 January 2024 13:37:49 +0000 (0:00:00.024) 0:00:47.476 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-weekly-cion0r9bec/tests/playbooks/tasks/get_profile_stat.yml:69 Saturday 06 January 2024 13:37:49 +0000 (0:00:00.026) 0:00:47.503 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-weekly-cion0r9bec/tests/playbooks/tasks/assert_profile_absent.yml:5 Saturday 06 January 2024 13:37:50 +0000 (0:00:00.049) 0:00:47.552 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-weekly-cion0r9bec/tests/playbooks/tasks/run_test.yml:42 Saturday 06 January 2024 13:37:50 +0000 (0:00:00.032) 0:00:47.584 ****** TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /WORKDIR/git-weekly-cion0r9bec/tests/playbooks/tasks/run_test.yml:47 Saturday 06 January 2024 13:37:50 +0000 (0:00:00.025) 0:00:47.610 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-weekly-cion0r9bec/tests/playbooks/tasks/run_test.yml:66 Saturday 06 January 2024 13:37:50 +0000 (0:00:00.024) 0:00:47.634 ****** included: /WORKDIR/git-weekly-cion0r9bec/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-weekly-cion0r9bec/tests/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 06 January 2024 13:37:50 +0000 (0:00:00.042) 0:00:47.677 ****** 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.069492", "end": "2024-01-06 13:37:50.394637", "rc": 1, "start": "2024-01-06 13:37:50.325145" } STDOUT: Connection 'statebr' (d1e4adc4-c8ff-4233-a6b3-6b32dcbcefc1) 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-weekly-cion0r9bec/tests/playbooks/tests_states.yml:103 Saturday 06 January 2024 13:37:50 +0000 (0:00:00.305) 0:00:47.982 ****** included: /WORKDIR/git-weekly-cion0r9bec/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can take a profile down that is absent] ************************** task path: /WORKDIR/git-weekly-cion0r9bec/tests/playbooks/tasks/run_test.yml:5 Saturday 06 January 2024 13:37:50 +0000 (0:00:00.041) 0:00:48.023 ****** ok: [sut] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-weekly-cion0r9bec/tests/playbooks/tasks/run_test.yml:9 Saturday 06 January 2024 13:37:50 +0000 (0:00:00.024) 0:00:48.047 ****** 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-weekly-cion0r9bec/tests/playbooks/tasks/run_test.yml:21 Saturday 06 January 2024 13:37:50 +0000 (0:00:00.049) 0:00:48.097 ****** included: /WORKDIR/git-weekly-cion0r9bec/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-weekly-cion0r9bec/tests/playbooks/tasks/show_interfaces.yml:3 Saturday 06 January 2024 13:37:50 +0000 (0:00:00.037) 0:00:48.134 ****** included: /WORKDIR/git-weekly-cion0r9bec/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-weekly-cion0r9bec/tests/playbooks/tasks/get_current_interfaces.yml:3 Saturday 06 January 2024 13:37:50 +0000 (0:00:00.034) 0:00:48.169 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003313", "end": "2024-01-06 13:37:50.820383", "rc": 0, "start": "2024-01-06 13:37:50.817070" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-weekly-cion0r9bec/tests/playbooks/tasks/get_current_interfaces.yml:9 Saturday 06 January 2024 13:37:50 +0000 (0:00:00.208) 0:00:48.378 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-weekly-cion0r9bec/tests/playbooks/tasks/show_interfaces.yml:5 Saturday 06 January 2024 13:37:50 +0000 (0:00:00.024) 0:00:48.402 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-weekly-cion0r9bec/tests/playbooks/tasks/run_test.yml:24 Saturday 06 January 2024 13:37:50 +0000 (0:00:00.022) 0:00:48.425 ****** included: /WORKDIR/git-weekly-cion0r9bec/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-weekly-cion0r9bec/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-weekly-cion0r9bec/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-cion0r9bec/tests/playbooks/tasks/create_bridge_profile.yml:3 Saturday 06 January 2024 13:37:50 +0000 (0:00:00.047) 0:00:48.472 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 06 January 2024 13:37:51 +0000 (0:00:00.063) 0:00:48.535 ****** included: /WORKDIR/git-weekly-cion0r9bec/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-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 06 January 2024 13:37:51 +0000 (0:00:00.042) 0:00:48.578 ****** 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-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 06 January 2024 13:37:51 +0000 (0:00:00.027) 0:00:48.605 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 06 January 2024 13:37:51 +0000 (0:00:00.021) 0:00:48.627 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 06 January 2024 13:37:51 +0000 (0:00:00.022) 0:00:48.649 ****** 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-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 06 January 2024 13:37:53 +0000 (0:00:02.102) 0:00:50.752 ****** 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-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 06 January 2024 13:37:54 +0000 (0:00:00.921) 0:00:51.673 ****** 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-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 06 January 2024 13:37:54 +0000 (0:00:00.023) 0:00:51.697 ****** 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-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 06 January 2024 13:37:54 +0000 (0:00:00.023) 0:00:51.720 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 06 January 2024 13:37:54 +0000 (0:00:00.024) 0:00:51.745 ****** 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-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 06 January 2024 13:37:54 +0000 (0:00:00.045) 0:00:51.790 ****** 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-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 06 January 2024 13:37:54 +0000 (0:00:00.023) 0:00:51.814 ****** 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-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 06 January 2024 13:37:54 +0000 (0:00:00.023) 0:00:51.838 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 06 January 2024 13:37:54 +0000 (0:00:00.036) 0:00:51.875 ****** 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-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 06 January 2024 13:37:54 +0000 (0:00:00.552) 0:00:52.427 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 06 January 2024 13:37:54 +0000 (0:00:00.087) 0:00:52.514 ****** 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-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 06 January 2024 13:37:55 +0000 (0:00:00.041) 0:00:52.556 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 06 January 2024 13:37:55 +0000 (0:00:00.037) 0:00:52.594 ****** 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, 34b92089-d9fe-49f4-9ab2-7de1768980f6 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 06 January 2024 13:37:55 +0000 (0:00:00.409) 0:00:53.003 ****** 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-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 06 January 2024 13:37:55 +0000 (0:00:00.022) 0:00:53.026 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 34b92089-d9fe-49f4-9ab2-7de1768980f6" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 06 January 2024 13:37:55 +0000 (0:00:00.024) 0:00:53.051 ****** 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, 34b92089-d9fe-49f4-9ab2-7de1768980f6\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 34b92089-d9fe-49f4-9ab2-7de1768980f6" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 06 January 2024 13:37:55 +0000 (0:00:00.024) 0:00:53.075 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 06 January 2024 13:37:55 +0000 (0:00:00.032) 0:00:53.108 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-weekly-cion0r9bec/tests/playbooks/tasks/create_bridge_profile.yml:14 Saturday 06 January 2024 13:37:55 +0000 (0:00:00.203) 0:00:53.312 ****** 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, 34b92089-d9fe-49f4-9ab2-7de1768980f6\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 34b92089-d9fe-49f4-9ab2-7de1768980f6" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-cion0r9bec/tests/playbooks/tasks/activate_profile.yml:3 Saturday 06 January 2024 13:37:55 +0000 (0:00:00.025) 0:00:53.338 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 06 January 2024 13:37:55 +0000 (0:00:00.039) 0:00:53.377 ****** included: /WORKDIR/git-weekly-cion0r9bec/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-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 06 January 2024 13:37:55 +0000 (0:00:00.096) 0:00:53.473 ****** 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-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 06 January 2024 13:37:55 +0000 (0:00:00.035) 0:00:53.509 ****** 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-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 06 January 2024 13:37:56 +0000 (0:00:00.030) 0:00:53.540 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 06 January 2024 13:37:56 +0000 (0:00:00.027) 0:00:53.567 ****** 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-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 06 January 2024 13:37:58 +0000 (0:00:02.112) 0:00:55.680 ****** 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-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 06 January 2024 13:37:59 +0000 (0:00:00.913) 0:00:56.593 ****** 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-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 06 January 2024 13:37:59 +0000 (0:00:00.025) 0:00:56.618 ****** 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-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 06 January 2024 13:37:59 +0000 (0:00:00.025) 0:00:56.643 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 06 January 2024 13:37:59 +0000 (0:00:00.025) 0:00:56.669 ****** 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-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 06 January 2024 13:37:59 +0000 (0:00:00.044) 0:00:56.714 ****** 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-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 06 January 2024 13:37:59 +0000 (0:00:00.030) 0:00:56.744 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 06 January 2024 13:37:59 +0000 (0:00:00.030) 0:00:56.775 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 06 January 2024 13:37:59 +0000 (0:00:00.029) 0:00:56.805 ****** 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-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 06 January 2024 13:37:59 +0000 (0:00:00.550) 0:00:57.355 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 06 January 2024 13:37:59 +0000 (0:00:00.032) 0:00:57.388 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 06 January 2024 13:37:59 +0000 (0:00:00.031) 0:00:57.420 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 06 January 2024 13:37:59 +0000 (0:00:00.023) 0:00:57.443 ****** 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, 34b92089-d9fe-49f4-9ab2-7de1768980f6 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 06 January 2024 13:38:00 +0000 (0:00:00.412) 0:00:57.855 ****** 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-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 06 January 2024 13:38:00 +0000 (0:00:00.063) 0:00:57.919 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 34b92089-d9fe-49f4-9ab2-7de1768980f6 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 06 January 2024 13:38:00 +0000 (0:00:00.031) 0:00:57.950 ****** 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, 34b92089-d9fe-49f4-9ab2-7de1768980f6 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 34b92089-d9fe-49f4-9ab2-7de1768980f6 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 06 January 2024 13:38:00 +0000 (0:00:00.047) 0:00:57.998 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 06 January 2024 13:38:00 +0000 (0:00:00.045) 0:00:58.044 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-cion0r9bec/tests/playbooks/tasks/remove_profile.yml:3 Saturday 06 January 2024 13:38:00 +0000 (0:00:00.245) 0:00:58.289 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 06 January 2024 13:38:00 +0000 (0:00:00.063) 0:00:58.352 ****** included: /WORKDIR/git-weekly-cion0r9bec/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-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 06 January 2024 13:38:00 +0000 (0:00:00.047) 0:00:58.400 ****** 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-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 06 January 2024 13:38:00 +0000 (0:00:00.052) 0:00:58.452 ****** 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-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 06 January 2024 13:38:00 +0000 (0:00:00.041) 0:00:58.493 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 06 January 2024 13:38:01 +0000 (0:00:00.040) 0:00:58.534 ****** 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-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 06 January 2024 13:38:03 +0000 (0:00:02.220) 0:01:00.755 ****** 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-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 06 January 2024 13:38:04 +0000 (0:00:00.972) 0:01:01.727 ****** 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-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 06 January 2024 13:38:04 +0000 (0:00:00.037) 0:01:01.765 ****** 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-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 06 January 2024 13:38:04 +0000 (0:00:00.034) 0:01:01.800 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 06 January 2024 13:38:04 +0000 (0:00:00.037) 0:01:01.837 ****** 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-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 06 January 2024 13:38:04 +0000 (0:00:00.058) 0:01:01.896 ****** 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-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 06 January 2024 13:38:04 +0000 (0:00:00.034) 0:01:01.930 ****** 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-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 06 January 2024 13:38:04 +0000 (0:00:00.062) 0:01:01.993 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 06 January 2024 13:38:04 +0000 (0:00:00.028) 0:01:02.022 ****** 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-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 06 January 2024 13:38:05 +0000 (0:00:00.551) 0:01:02.573 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 06 January 2024 13:38:05 +0000 (0:00:00.028) 0:01:02.601 ****** 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-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 06 January 2024 13:38:05 +0000 (0:00:00.050) 0:01:02.652 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 06 January 2024 13:38:05 +0000 (0:00:00.044) 0:01:02.696 ****** 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-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 06 January 2024 13:38:05 +0000 (0:00:00.462) 0:01:03.159 ****** 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-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 06 January 2024 13:38:05 +0000 (0:00:00.025) 0:01:03.185 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 06 January 2024 13:38:05 +0000 (0:00:00.028) 0:01:03.213 ****** 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-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 06 January 2024 13:38:05 +0000 (0:00:00.025) 0:01:03.239 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 06 January 2024 13:38:05 +0000 (0:00:00.023) 0:01:03.262 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-weekly-cion0r9bec/tests/playbooks/tasks/run_test.yml:30 Saturday 06 January 2024 13:38:05 +0000 (0:00:00.213) 0:01:03.476 ****** included: /WORKDIR/git-weekly-cion0r9bec/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-cion0r9bec/tests/playbooks/tasks/remove+down_profile.yml:3 Saturday 06 January 2024 13:38:06 +0000 (0:00:00.073) 0:01:03.550 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 06 January 2024 13:38:06 +0000 (0:00:00.044) 0:01:03.594 ****** included: /WORKDIR/git-weekly-cion0r9bec/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-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 06 January 2024 13:38:06 +0000 (0:00:00.044) 0:01:03.638 ****** 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-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 06 January 2024 13:38:06 +0000 (0:00:00.028) 0:01:03.667 ****** 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-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 06 January 2024 13:38:06 +0000 (0:00:00.024) 0:01:03.692 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 06 January 2024 13:38:06 +0000 (0:00:00.030) 0:01:03.722 ****** 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-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 06 January 2024 13:38:08 +0000 (0:00:02.128) 0:01:05.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-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 06 January 2024 13:38:09 +0000 (0:00:00.889) 0:01:06.740 ****** 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-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 06 January 2024 13:38:09 +0000 (0:00:00.037) 0:01:06.778 ****** 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-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 06 January 2024 13:38:09 +0000 (0:00:00.030) 0:01:06.808 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 06 January 2024 13:38:09 +0000 (0:00:00.024) 0:01:06.833 ****** 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-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 06 January 2024 13:38:09 +0000 (0:00:00.045) 0:01:06.879 ****** 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-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 06 January 2024 13:38:09 +0000 (0:00:00.023) 0:01:06.903 ****** 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-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 06 January 2024 13:38:09 +0000 (0:00:00.023) 0:01:06.927 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 06 January 2024 13:38:09 +0000 (0:00:00.028) 0:01:06.955 ****** 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-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 06 January 2024 13:38:09 +0000 (0:00:00.554) 0:01:07.509 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 06 January 2024 13:38:10 +0000 (0:00:00.028) 0:01:07.537 ****** 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-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 06 January 2024 13:38:10 +0000 (0:00:00.026) 0:01:07.564 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 06 January 2024 13:38:10 +0000 (0:00:00.038) 0:01:07.603 ****** 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-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 06 January 2024 13:38:10 +0000 (0:00:00.495) 0:01:08.098 ****** 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-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 06 January 2024 13:38:10 +0000 (0:00:00.023) 0:01:08.122 ****** 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-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 06 January 2024 13:38:10 +0000 (0:00:00.030) 0:01:08.152 ****** 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-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 06 January 2024 13:38:10 +0000 (0:00:00.025) 0:01:08.177 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 06 January 2024 13:38:10 +0000 (0:00:00.027) 0:01:08.205 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-weekly-cion0r9bec/tests/playbooks/tasks/run_test.yml:36 Saturday 06 January 2024 13:38:10 +0000 (0:00:00.230) 0:01:08.435 ****** included: /WORKDIR/git-weekly-cion0r9bec/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-weekly-cion0r9bec/tests/playbooks/tasks/assert_profile_absent.yml:3 Saturday 06 January 2024 13:38:10 +0000 (0:00:00.058) 0:01:08.494 ****** included: /WORKDIR/git-weekly-cion0r9bec/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-weekly-cion0r9bec/tests/playbooks/tasks/get_profile_stat.yml:3 Saturday 06 January 2024 13:38:11 +0000 (0:00:00.086) 0:01:08.581 ****** 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-weekly-cion0r9bec/tests/playbooks/tasks/get_profile_stat.yml:9 Saturday 06 January 2024 13:38:11 +0000 (0:00:00.031) 0:01:08.612 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-weekly-cion0r9bec/tests/playbooks/tasks/get_profile_stat.yml:17 Saturday 06 January 2024 13:38:11 +0000 (0:00:00.214) 0:01:08.827 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-weekly-cion0r9bec/tests/playbooks/tasks/get_profile_stat.yml:25 Saturday 06 January 2024 13:38:11 +0000 (0:00:00.028) 0:01:08.855 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020878", "end": "2024-01-06 13:38:11.539449", "rc": 1, "start": "2024-01-06 13:38:11.518571" } 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-weekly-cion0r9bec/tests/playbooks/tasks/get_profile_stat.yml:35 Saturday 06 January 2024 13:38:11 +0000 (0:00:00.241) 0:01:09.097 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-weekly-cion0r9bec/tests/playbooks/tasks/get_profile_stat.yml:49 Saturday 06 January 2024 13:38:11 +0000 (0:00:00.025) 0:01:09.123 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-weekly-cion0r9bec/tests/playbooks/tasks/get_profile_stat.yml:56 Saturday 06 January 2024 13:38:11 +0000 (0:00:00.025) 0:01:09.149 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-weekly-cion0r9bec/tests/playbooks/tasks/get_profile_stat.yml:62 Saturday 06 January 2024 13:38:11 +0000 (0:00:00.030) 0:01:09.179 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-weekly-cion0r9bec/tests/playbooks/tasks/get_profile_stat.yml:69 Saturday 06 January 2024 13:38:11 +0000 (0:00:00.024) 0:01:09.203 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-weekly-cion0r9bec/tests/playbooks/tasks/assert_profile_absent.yml:5 Saturday 06 January 2024 13:38:11 +0000 (0:00:00.023) 0:01:09.227 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-weekly-cion0r9bec/tests/playbooks/tasks/run_test.yml:42 Saturday 06 January 2024 13:38:11 +0000 (0:00:00.024) 0:01:09.252 ****** included: /WORKDIR/git-weekly-cion0r9bec/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-weekly-cion0r9bec/tests/playbooks/tasks/assert_device_absent.yml:3 Saturday 06 January 2024 13:38:11 +0000 (0:00:00.043) 0:01:09.295 ****** included: /WORKDIR/git-weekly-cion0r9bec/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-weekly-cion0r9bec/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 06 January 2024 13:38:11 +0000 (0:00:00.038) 0:01:09.334 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-weekly-cion0r9bec/tests/playbooks/tasks/assert_device_absent.yml:5 Saturday 06 January 2024 13:38:12 +0000 (0:00:00.284) 0:01:09.618 ****** 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-weekly-cion0r9bec/tests/playbooks/tasks/run_test.yml:47 Saturday 06 January 2024 13:38:12 +0000 (0:00:00.057) 0:01:09.676 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-weekly-cion0r9bec/tests/playbooks/tasks/run_test.yml:66 Saturday 06 January 2024 13:38:12 +0000 (0:00:00.026) 0:01:09.702 ****** included: /WORKDIR/git-weekly-cion0r9bec/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-weekly-cion0r9bec/tests/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 06 January 2024 13:38:12 +0000 (0:00:00.057) 0:01:09.759 ****** 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.041442", "end": "2024-01-06 13:38:12.467031", "rc": 1, "start": "2024-01-06 13:38:12.425589" } 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-weekly-cion0r9bec/tests/playbooks/tests_states.yml:126 Saturday 06 January 2024 13:38:12 +0000 (0:00:00.292) 0:01:10.052 ****** included: /WORKDIR/git-weekly-cion0r9bec/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-weekly-cion0r9bec/tests/playbooks/tasks/run_test.yml:5 Saturday 06 January 2024 13:38:12 +0000 (0:00:00.142) 0:01:10.195 ****** ok: [sut] => {} MSG: ########## I will not get an error when I try to remove an absent profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-weekly-cion0r9bec/tests/playbooks/tasks/run_test.yml:9 Saturday 06 January 2024 13:38:12 +0000 (0:00:00.030) 0:01:10.226 ****** 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-weekly-cion0r9bec/tests/playbooks/tasks/run_test.yml:21 Saturday 06 January 2024 13:38:12 +0000 (0:00:00.059) 0:01:10.285 ****** included: /WORKDIR/git-weekly-cion0r9bec/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-weekly-cion0r9bec/tests/playbooks/tasks/show_interfaces.yml:3 Saturday 06 January 2024 13:38:12 +0000 (0:00:00.048) 0:01:10.333 ****** included: /WORKDIR/git-weekly-cion0r9bec/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-weekly-cion0r9bec/tests/playbooks/tasks/get_current_interfaces.yml:3 Saturday 06 January 2024 13:38:12 +0000 (0:00:00.037) 0:01:10.371 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003388", "end": "2024-01-06 13:38:13.037420", "rc": 0, "start": "2024-01-06 13:38:13.034032" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-weekly-cion0r9bec/tests/playbooks/tasks/get_current_interfaces.yml:9 Saturday 06 January 2024 13:38:13 +0000 (0:00:00.282) 0:01:10.653 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-weekly-cion0r9bec/tests/playbooks/tasks/show_interfaces.yml:5 Saturday 06 January 2024 13:38:13 +0000 (0:00:00.028) 0:01:10.681 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-weekly-cion0r9bec/tests/playbooks/tasks/run_test.yml:24 Saturday 06 January 2024 13:38:13 +0000 (0:00:00.036) 0:01:10.718 ****** included: /WORKDIR/git-weekly-cion0r9bec/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-weekly-cion0r9bec/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-weekly-cion0r9bec/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-cion0r9bec/tests/playbooks/tasks/create_bridge_profile.yml:3 Saturday 06 January 2024 13:38:13 +0000 (0:00:00.068) 0:01:10.787 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 06 January 2024 13:38:13 +0000 (0:00:00.057) 0:01:10.845 ****** included: /WORKDIR/git-weekly-cion0r9bec/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-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 06 January 2024 13:38:13 +0000 (0:00:00.079) 0:01:10.924 ****** 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-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 06 January 2024 13:38:13 +0000 (0:00:00.051) 0:01:10.975 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 06 January 2024 13:38:13 +0000 (0:00:00.033) 0:01:11.009 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 06 January 2024 13:38:13 +0000 (0:00:00.030) 0:01:11.039 ****** 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-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 06 January 2024 13:38:15 +0000 (0:00:02.126) 0:01:13.166 ****** 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-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 06 January 2024 13:38:16 +0000 (0:00:00.908) 0:01:14.074 ****** 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-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 06 January 2024 13:38:16 +0000 (0:00:00.031) 0:01:14.106 ****** 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-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 06 January 2024 13:38:16 +0000 (0:00:00.043) 0:01:14.149 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 06 January 2024 13:38:16 +0000 (0:00:00.034) 0:01:14.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-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 06 January 2024 13:38:16 +0000 (0:00:00.067) 0:01:14.251 ****** 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-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 06 January 2024 13:38:16 +0000 (0:00:00.034) 0:01:14.286 ****** 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-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 06 January 2024 13:38:16 +0000 (0:00:00.116) 0:01:14.403 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 06 January 2024 13:38:16 +0000 (0:00:00.054) 0:01:14.458 ****** 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-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 06 January 2024 13:38:17 +0000 (0:00:00.576) 0:01:15.034 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 06 January 2024 13:38:17 +0000 (0:00:00.046) 0:01:15.081 ****** 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-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 06 January 2024 13:38:17 +0000 (0:00:00.081) 0:01:15.162 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 06 January 2024 13:38:17 +0000 (0:00:00.061) 0:01:15.224 ****** 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, 31d2c303-9f2d-4b4c-b1e0-9372ec249aef TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 06 January 2024 13:38:18 +0000 (0:00:00.594) 0:01:15.818 ****** 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-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 06 January 2024 13:38:18 +0000 (0:00:00.026) 0:01:15.845 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 31d2c303-9f2d-4b4c-b1e0-9372ec249aef" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 06 January 2024 13:38:18 +0000 (0:00:00.030) 0:01:15.875 ****** 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, 31d2c303-9f2d-4b4c-b1e0-9372ec249aef\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 31d2c303-9f2d-4b4c-b1e0-9372ec249aef" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 06 January 2024 13:38:18 +0000 (0:00:00.047) 0:01:15.923 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 06 January 2024 13:38:18 +0000 (0:00:00.047) 0:01:15.971 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-weekly-cion0r9bec/tests/playbooks/tasks/create_bridge_profile.yml:14 Saturday 06 January 2024 13:38:18 +0000 (0:00:00.266) 0:01:16.237 ****** 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, 31d2c303-9f2d-4b4c-b1e0-9372ec249aef\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 31d2c303-9f2d-4b4c-b1e0-9372ec249aef" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-cion0r9bec/tests/playbooks/tasks/activate_profile.yml:3 Saturday 06 January 2024 13:38:18 +0000 (0:00:00.069) 0:01:16.307 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 06 January 2024 13:38:18 +0000 (0:00:00.166) 0:01:16.474 ****** included: /WORKDIR/git-weekly-cion0r9bec/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-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 06 January 2024 13:38:19 +0000 (0:00:00.051) 0:01:16.526 ****** 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-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 06 January 2024 13:38:19 +0000 (0:00:00.041) 0:01:16.567 ****** 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-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 06 January 2024 13:38:19 +0000 (0:00:00.035) 0:01:16.603 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 06 January 2024 13:38:19 +0000 (0:00:00.043) 0:01:16.647 ****** 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-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 06 January 2024 13:38:21 +0000 (0:00:02.101) 0:01:18.748 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 06 January 2024 13:38:22 +0000 (0:00:00.915) 0:01:19.664 ****** 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-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 06 January 2024 13:38:22 +0000 (0:00:00.024) 0:01:19.689 ****** 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-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 06 January 2024 13:38:22 +0000 (0:00:00.022) 0:01:19.711 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 06 January 2024 13:38:22 +0000 (0:00:00.022) 0:01:19.733 ****** 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-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 06 January 2024 13:38:22 +0000 (0:00:00.044) 0:01:19.777 ****** 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-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 06 January 2024 13:38:22 +0000 (0:00:00.022) 0:01:19.799 ****** 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-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 06 January 2024 13:38:22 +0000 (0:00:00.022) 0:01:19.821 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 06 January 2024 13:38:22 +0000 (0:00:00.025) 0:01:19.847 ****** 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-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 06 January 2024 13:38:22 +0000 (0:00:00.544) 0:01:20.391 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 06 January 2024 13:38:22 +0000 (0:00:00.054) 0:01:20.445 ****** 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-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 06 January 2024 13:38:22 +0000 (0:00:00.023) 0:01:20.469 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 06 January 2024 13:38:22 +0000 (0:00:00.026) 0:01:20.496 ****** 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, 31d2c303-9f2d-4b4c-b1e0-9372ec249aef skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 06 January 2024 13:38:23 +0000 (0:00:00.365) 0:01:20.861 ****** 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-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 06 January 2024 13:38:23 +0000 (0:00:00.022) 0:01:20.884 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 31d2c303-9f2d-4b4c-b1e0-9372ec249aef skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 06 January 2024 13:38:23 +0000 (0:00:00.024) 0:01:20.908 ****** 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, 31d2c303-9f2d-4b4c-b1e0-9372ec249aef skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 31d2c303-9f2d-4b4c-b1e0-9372ec249aef skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 06 January 2024 13:38:23 +0000 (0:00:00.024) 0:01:20.933 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 06 January 2024 13:38:23 +0000 (0:00:00.023) 0:01:20.956 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-cion0r9bec/tests/playbooks/tasks/remove+down_profile.yml:3 Saturday 06 January 2024 13:38:23 +0000 (0:00:00.200) 0:01:21.157 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 06 January 2024 13:38:23 +0000 (0:00:00.038) 0:01:21.196 ****** included: /WORKDIR/git-weekly-cion0r9bec/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-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 06 January 2024 13:38:23 +0000 (0:00:00.045) 0:01:21.241 ****** 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-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 06 January 2024 13:38:23 +0000 (0:00:00.031) 0:01:21.273 ****** 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-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 06 January 2024 13:38:23 +0000 (0:00:00.068) 0:01:21.341 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 06 January 2024 13:38:23 +0000 (0:00:00.024) 0:01:21.366 ****** 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-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 06 January 2024 13:38:25 +0000 (0:00:02.104) 0:01:23.470 ****** 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-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 06 January 2024 13:38:26 +0000 (0:00:00.924) 0:01:24.395 ****** 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-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 06 January 2024 13:38:26 +0000 (0:00:00.028) 0:01:24.424 ****** 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-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 06 January 2024 13:38:26 +0000 (0:00:00.034) 0:01:24.459 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 06 January 2024 13:38:26 +0000 (0:00:00.027) 0:01:24.486 ****** 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-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 06 January 2024 13:38:27 +0000 (0:00:00.053) 0:01:24.540 ****** 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-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 06 January 2024 13:38:27 +0000 (0:00:00.030) 0:01:24.570 ****** 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-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 06 January 2024 13:38:27 +0000 (0:00:00.024) 0:01:24.594 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 06 January 2024 13:38:27 +0000 (0:00:00.051) 0:01:24.645 ****** 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-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 06 January 2024 13:38:27 +0000 (0:00:00.586) 0:01:25.232 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 06 January 2024 13:38:27 +0000 (0:00:00.065) 0:01:25.298 ****** 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-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 06 January 2024 13:38:27 +0000 (0:00:00.044) 0:01:25.342 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 06 January 2024 13:38:27 +0000 (0:00:00.038) 0:01:25.381 ****** 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-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 06 January 2024 13:38:28 +0000 (0:00:00.544) 0:01:25.926 ****** 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-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 06 January 2024 13:38:28 +0000 (0:00:00.070) 0:01:25.997 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 06 January 2024 13:38:28 +0000 (0:00:00.050) 0:01:26.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", "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-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 06 January 2024 13:38:28 +0000 (0:00:00.025) 0:01:26.072 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 06 January 2024 13:38:28 +0000 (0:00:00.028) 0:01:26.100 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-weekly-cion0r9bec/tests/playbooks/tasks/run_test.yml:30 Saturday 06 January 2024 13:38:28 +0000 (0:00:00.239) 0:01:26.340 ****** included: /WORKDIR/git-weekly-cion0r9bec/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-cion0r9bec/tests/playbooks/tasks/remove+down_profile.yml:3 Saturday 06 January 2024 13:38:28 +0000 (0:00:00.082) 0:01:26.422 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 06 January 2024 13:38:28 +0000 (0:00:00.046) 0:01:26.469 ****** included: /WORKDIR/git-weekly-cion0r9bec/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-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 06 January 2024 13:38:29 +0000 (0:00:00.069) 0:01:26.539 ****** 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-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 06 January 2024 13:38:29 +0000 (0:00:00.048) 0:01:26.588 ****** 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-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 06 January 2024 13:38:29 +0000 (0:00:00.038) 0:01:26.626 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 06 January 2024 13:38:29 +0000 (0:00:00.035) 0:01:26.662 ****** 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-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 06 January 2024 13:38:31 +0000 (0:00:02.120) 0:01:28.782 ****** 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-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 06 January 2024 13:38:32 +0000 (0:00:00.936) 0:01:29.718 ****** 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-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 06 January 2024 13:38:32 +0000 (0:00:00.030) 0:01:29.749 ****** 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-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 06 January 2024 13:38:32 +0000 (0:00:00.023) 0:01:29.773 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 06 January 2024 13:38:32 +0000 (0:00:00.045) 0:01:29.819 ****** 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-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 06 January 2024 13:38:32 +0000 (0:00:00.045) 0:01:29.865 ****** 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-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 06 January 2024 13:38:32 +0000 (0:00:00.023) 0:01:29.888 ****** 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-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 06 January 2024 13:38:32 +0000 (0:00:00.022) 0:01:29.911 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 06 January 2024 13:38:32 +0000 (0:00:00.028) 0:01:29.939 ****** 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-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 06 January 2024 13:38:32 +0000 (0:00:00.547) 0:01:30.487 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 06 January 2024 13:38:32 +0000 (0:00:00.027) 0:01:30.514 ****** 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-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 06 January 2024 13:38:33 +0000 (0:00:00.021) 0:01:30.536 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 06 January 2024 13:38:33 +0000 (0:00:00.022) 0:01:30.558 ****** 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-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 06 January 2024 13:38:33 +0000 (0:00:00.377) 0:01:30.936 ****** 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-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 06 January 2024 13:38:33 +0000 (0:00:00.021) 0:01:30.958 ****** 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-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 06 January 2024 13:38:33 +0000 (0:00:00.022) 0:01:30.981 ****** 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-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 06 January 2024 13:38:33 +0000 (0:00:00.024) 0:01:31.005 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 06 January 2024 13:38:33 +0000 (0:00:00.046) 0:01:31.052 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-weekly-cion0r9bec/tests/playbooks/tasks/run_test.yml:36 Saturday 06 January 2024 13:38:33 +0000 (0:00:00.199) 0:01:31.251 ****** included: /WORKDIR/git-weekly-cion0r9bec/tests/playbooks/tasks/assert_profile_absent.yml for sut included: /WORKDIR/git-weekly-cion0r9bec/tests/playbooks/tasks/get_NetworkManager_NVR.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-weekly-cion0r9bec/tests/playbooks/tasks/assert_profile_absent.yml:3 Saturday 06 January 2024 13:38:33 +0000 (0:00:00.045) 0:01:31.297 ****** included: /WORKDIR/git-weekly-cion0r9bec/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-weekly-cion0r9bec/tests/playbooks/tasks/get_profile_stat.yml:3 Saturday 06 January 2024 13:38:33 +0000 (0:00:00.038) 0:01:31.335 ****** 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-weekly-cion0r9bec/tests/playbooks/tasks/get_profile_stat.yml:9 Saturday 06 January 2024 13:38:33 +0000 (0:00:00.022) 0:01:31.358 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-weekly-cion0r9bec/tests/playbooks/tasks/get_profile_stat.yml:17 Saturday 06 January 2024 13:38:34 +0000 (0:00:00.205) 0:01:31.563 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-weekly-cion0r9bec/tests/playbooks/tasks/get_profile_stat.yml:25 Saturday 06 January 2024 13:38:34 +0000 (0:00:00.022) 0:01:31.585 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020646", "end": "2024-01-06 13:38:34.254086", "rc": 1, "start": "2024-01-06 13:38:34.233440" } 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-weekly-cion0r9bec/tests/playbooks/tasks/get_profile_stat.yml:35 Saturday 06 January 2024 13:38:34 +0000 (0:00:00.231) 0:01:31.817 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-weekly-cion0r9bec/tests/playbooks/tasks/get_profile_stat.yml:49 Saturday 06 January 2024 13:38:34 +0000 (0:00:00.024) 0:01:31.841 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-weekly-cion0r9bec/tests/playbooks/tasks/get_profile_stat.yml:56 Saturday 06 January 2024 13:38:34 +0000 (0:00:00.022) 0:01:31.864 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-weekly-cion0r9bec/tests/playbooks/tasks/get_profile_stat.yml:62 Saturday 06 January 2024 13:38:34 +0000 (0:00:00.022) 0:01:31.886 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-weekly-cion0r9bec/tests/playbooks/tasks/get_profile_stat.yml:69 Saturday 06 January 2024 13:38:34 +0000 (0:00:00.053) 0:01:31.940 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-weekly-cion0r9bec/tests/playbooks/tasks/assert_profile_absent.yml:5 Saturday 06 January 2024 13:38:34 +0000 (0:00:00.025) 0:01:31.965 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /WORKDIR/git-weekly-cion0r9bec/tests/playbooks/tasks/get_NetworkManager_NVR.yml:7 Saturday 06 January 2024 13:38:34 +0000 (0:00:00.026) 0:01:31.992 ****** ok: [sut] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.352310", "end": "2024-01-06 13:38:34.992901", "rc": 0, "start": "2024-01-06 13:38:34.640591" } STDOUT: NetworkManager-1.42.8-1.fc38 TASK [Store NetworkManager version] ******************************************** task path: /WORKDIR/git-weekly-cion0r9bec/tests/playbooks/tasks/get_NetworkManager_NVR.yml:14 Saturday 06 January 2024 13:38:35 +0000 (0:00:00.560) 0:01:32.552 ****** ok: [sut] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.42.8-1.fc38" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /WORKDIR/git-weekly-cion0r9bec/tests/playbooks/tasks/get_NetworkManager_NVR.yml:18 Saturday 06 January 2024 13:38:35 +0000 (0:00:00.029) 0:01:32.582 ****** ok: [sut] => { "networkmanager_nvr": "NetworkManager-1.42.8-1.fc38" } TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-weekly-cion0r9bec/tests/playbooks/tasks/run_test.yml:42 Saturday 06 January 2024 13:38:35 +0000 (0:00:00.026) 0:01:32.609 ****** included: /WORKDIR/git-weekly-cion0r9bec/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-weekly-cion0r9bec/tests/playbooks/tasks/assert_device_absent.yml:3 Saturday 06 January 2024 13:38:35 +0000 (0:00:00.054) 0:01:32.663 ****** included: /WORKDIR/git-weekly-cion0r9bec/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-weekly-cion0r9bec/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 06 January 2024 13:38:35 +0000 (0:00:00.040) 0:01:32.703 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-weekly-cion0r9bec/tests/playbooks/tasks/assert_device_absent.yml:5 Saturday 06 January 2024 13:38:35 +0000 (0:00:00.207) 0:01:32.910 ****** 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-weekly-cion0r9bec/tests/playbooks/tasks/run_test.yml:47 Saturday 06 January 2024 13:38:35 +0000 (0:00:00.028) 0:01:32.939 ****** 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-weekly-cion0r9bec/tests/playbooks/tasks/run_test.yml:66 Saturday 06 January 2024 13:38:35 +0000 (0:00:00.027) 0:01:32.966 ****** included: /WORKDIR/git-weekly-cion0r9bec/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-weekly-cion0r9bec/tests/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 06 January 2024 13:38:35 +0000 (0:00:00.069) 0:01:33.035 ****** 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.040684", "end": "2024-01-06 13:38:35.724700", "rc": 1, "start": "2024-01-06 13:38:35.684016" } 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=11 Saturday 06 January 2024 13:38:35 +0000 (0:00:00.232) 0:01:33.268 ****** =============================================================================== linux-system-roles.network : Enable and start NetworkManager ------------ 2.94s /WORKDIR/git-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/main.yml:85 linux-system-roles.network : Configure networking connection profiles --- 2.45s /WORKDIR/git-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Check which services are running ----------- 2.22s /WORKDIR/git-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Enable and start NetworkManager ------------ 2.19s /WORKDIR/git-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/main.yml:85 linux-system-roles.network : Check which services are running ----------- 2.17s /WORKDIR/git-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.15s /WORKDIR/git-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.15s /WORKDIR/git-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.14s /WORKDIR/git-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.13s /WORKDIR/git-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.13s /WORKDIR/git-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.13s /WORKDIR/git-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.12s /WORKDIR/git-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.11s /WORKDIR/git-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.10s /WORKDIR/git-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.10s /WORKDIR/git-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.10s /WORKDIR/git-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.10s /WORKDIR/git-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.10s /WORKDIR/git-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Enable and start NetworkManager ------------ 1.69s /WORKDIR/git-weekly-cion0r9bec/tests/roles/linux-system-roles.network/tasks/main.yml:85 linux-system-roles.network : Configure networking connection profiles --- 1.55s /WORKDIR/git-weekly-cion0r9bec/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. ---^---^---^---^---^---