# 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-cir0ncdmse/tests/tests_states_nm.yml PLAY [Run playbook 'playbooks/tests_states.yml' with nm as provider] *********** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-weekly-cir0ncdmse/tests/tests_states_nm.yml:6 Saturday 10 February 2024 13:21:33 +0000 (0:00:00.012) 0:00:00.012 ***** ok: [sut] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-weekly-cir0ncdmse/tests/tests_states_nm.yml:9 Saturday 10 February 2024 13:21:34 +0000 (0:00:00.938) 0:00:00.951 ***** included: /WORKDIR/git-weekly-cir0ncdmse/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-cir0ncdmse/tests/tasks/el_repo_setup.yml:3 Saturday 10 February 2024 13:21:34 +0000 (0:00:00.037) 0:00:00.988 ***** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-weekly-cir0ncdmse/tests/tasks/el_repo_setup.yml:19 Saturday 10 February 2024 13:21:35 +0000 (0:00:00.559) 0:00:01.548 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-weekly-cir0ncdmse/tests/tasks/el_repo_setup.yml:24 Saturday 10 February 2024 13:21:35 +0000 (0:00:00.265) 0:00:01.813 ***** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-weekly-cir0ncdmse/tests/tasks/el_repo_setup.yml:28 Saturday 10 February 2024 13:21:35 +0000 (0:00:00.056) 0:00:01.870 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-weekly-cir0ncdmse/tests/tasks/el_repo_setup.yml:53 Saturday 10 February 2024 13:21:35 +0000 (0:00:00.018) 0:00:01.888 ***** included: /WORKDIR/git-weekly-cir0ncdmse/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 38] ********************************************************** task path: /WORKDIR/git-weekly-cir0ncdmse/tests/tasks/enable_epel.yml:8 Saturday 10 February 2024 13:21:35 +0000 (0:00:00.031) 0:00:01.920 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Install yum-utils package] *********************************************** task path: /WORKDIR/git-weekly-cir0ncdmse/tests/tasks/enable_epel.yml:24 Saturday 10 February 2024 13:21:35 +0000 (0:00:00.010) 0:00:01.931 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-weekly-cir0ncdmse/tests/tasks/enable_epel.yml:30 Saturday 10 February 2024 13:21:35 +0000 (0:00:00.009) 0:00:01.941 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-weekly-cir0ncdmse/tests/tasks/enable_epel.yml:35 Saturday 10 February 2024 13:21:35 +0000 (0:00:00.009) 0:00:01.950 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-weekly-cir0ncdmse/tests/tasks/enable_epel.yml:40 Saturday 10 February 2024 13:21:35 +0000 (0:00:00.008) 0:00:01.959 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /WORKDIR/git-weekly-cir0ncdmse/tests/tests_states_nm.yml:11 Saturday 10 February 2024 13:21:35 +0000 (0:00:00.008) 0:00:01.968 ***** 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-cir0ncdmse/tests/playbooks/tests_states.yml:3 Saturday 10 February 2024 13:21:35 +0000 (0:00:00.011) 0:00:01.979 ***** ok: [sut] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-weekly-cir0ncdmse/tests/playbooks/tests_states.yml:11 Saturday 10 February 2024 13:21:36 +0000 (0:00:00.789) 0:00:02.768 ***** ok: [sut] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-weekly-cir0ncdmse/tests/playbooks/tests_states.yml:22 Saturday 10 February 2024 13:21:36 +0000 (0:00:00.011) 0:00:02.779 ***** included: /WORKDIR/git-weekly-cir0ncdmse/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile] ******************************************** task path: /WORKDIR/git-weekly-cir0ncdmse/tests/playbooks/tasks/run_test.yml:5 Saturday 10 February 2024 13:21:36 +0000 (0:00:00.015) 0:00:02.795 ***** ok: [sut] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-weekly-cir0ncdmse/tests/playbooks/tasks/run_test.yml:9 Saturday 10 February 2024 13:21:36 +0000 (0:00:00.010) 0:00:02.806 ***** 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-cir0ncdmse/tests/playbooks/tasks/run_test.yml:21 Saturday 10 February 2024 13:21:36 +0000 (0:00:00.032) 0:00:02.839 ***** included: /WORKDIR/git-weekly-cir0ncdmse/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-weekly-cir0ncdmse/tests/playbooks/tasks/show_interfaces.yml:3 Saturday 10 February 2024 13:21:36 +0000 (0:00:00.014) 0:00:02.853 ***** included: /WORKDIR/git-weekly-cir0ncdmse/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-weekly-cir0ncdmse/tests/playbooks/tasks/get_current_interfaces.yml:3 Saturday 10 February 2024 13:21:36 +0000 (0:00:00.013) 0:00:02.866 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.004775", "end": "2024-02-10 13:21:37.807249", "rc": 0, "start": "2024-02-10 13:21:36.802474" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-weekly-cir0ncdmse/tests/playbooks/tasks/get_current_interfaces.yml:9 Saturday 10 February 2024 13:21:37 +0000 (0:00:01.262) 0:00:04.129 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-weekly-cir0ncdmse/tests/playbooks/tasks/show_interfaces.yml:5 Saturday 10 February 2024 13:21:37 +0000 (0:00:00.012) 0:00:04.141 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-weekly-cir0ncdmse/tests/playbooks/tasks/run_test.yml:24 Saturday 10 February 2024 13:21:37 +0000 (0:00:00.018) 0:00:04.160 ***** included: /WORKDIR/git-weekly-cir0ncdmse/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-weekly-cir0ncdmse/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-weekly-cir0ncdmse/tests/playbooks/tasks/delete_interface.yml:3 Saturday 10 February 2024 13:21:37 +0000 (0:00:00.041) 0:00:04.201 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.008177", "end": "2024-02-10 13:21:38.105999", "rc": 1, "start": "2024-02-10 13:21:38.097822" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-weekly-cir0ncdmse/tests/playbooks/tasks/assert_device_absent.yml:3 Saturday 10 February 2024 13:21:38 +0000 (0:00:00.266) 0:00:04.467 ***** included: /WORKDIR/git-weekly-cir0ncdmse/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-weekly-cir0ncdmse/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 10 February 2024 13:21:38 +0000 (0:00:00.025) 0:00:04.493 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-weekly-cir0ncdmse/tests/playbooks/tasks/assert_device_absent.yml:5 Saturday 10 February 2024 13:21:38 +0000 (0:00:00.301) 0:00:04.795 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-weekly-cir0ncdmse/tests/playbooks/tasks/run_test.yml:30 Saturday 10 February 2024 13:21:38 +0000 (0:00:00.053) 0:00:04.849 ***** included: /WORKDIR/git-weekly-cir0ncdmse/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-cir0ncdmse/tests/playbooks/tasks/create_bridge_profile.yml:3 Saturday 10 February 2024 13:21:38 +0000 (0:00:00.050) 0:00:04.900 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 10 February 2024 13:21:38 +0000 (0:00:00.045) 0:00:04.945 ***** included: /WORKDIR/git-weekly-cir0ncdmse/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-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 10 February 2024 13:21:38 +0000 (0:00:00.070) 0:00:05.016 ***** 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-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 10 February 2024 13:21:38 +0000 (0:00:00.036) 0:00:05.052 ***** 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-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 10 February 2024 13:21:38 +0000 (0:00:00.015) 0:00:05.067 ***** 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-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 10 February 2024 13:21:38 +0000 (0:00:00.010) 0:00:05.078 ***** 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-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 10 February 2024 13:21:41 +0000 (0:00:02.321) 0:00:07.399 ***** 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-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 10 February 2024 13:21:42 +0000 (0:00:01.123) 0:00:08.523 ***** 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-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 10 February 2024 13:21:42 +0000 (0:00:00.023) 0:00:08.547 ***** 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-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 10 February 2024 13:21:42 +0000 (0:00:00.025) 0:00:08.572 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 10 February 2024 13:21:42 +0000 (0:00:00.024) 0:00:08.597 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-weekly-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 10 February 2024 13:21:42 +0000 (0:00:00.045) 0:00:08.642 ***** 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-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 10 February 2024 13:21:42 +0000 (0:00:00.024) 0:00:08.667 ***** 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-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 10 February 2024 13:21:42 +0000 (0:00:00.031) 0:00:08.698 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 10 February 2024 13:21:42 +0000 (0:00:00.028) 0:00:08.727 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-weekly-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 10 February 2024 13:21:43 +0000 (0:00:00.792) 0:00:09.520 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 10 February 2024 13:21:43 +0000 (0:00:00.029) 0:00:09.549 ***** 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-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 10 February 2024 13:21:43 +0000 (0:00:00.030) 0:00:09.580 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 10 February 2024 13:21:43 +0000 (0:00:00.023) 0:00:09.604 ***** 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, 89651818-975d-4fca-9ff0-5cb7bdadfe49 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-weekly-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 10 February 2024 13:21:43 +0000 (0:00:00.592) 0:00:10.196 ***** 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-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 10 February 2024 13:21:43 +0000 (0:00:00.034) 0:00:10.230 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 89651818-975d-4fca-9ff0-5cb7bdadfe49" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-weekly-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 10 February 2024 13:21:43 +0000 (0:00:00.062) 0:00:10.292 ***** 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, 89651818-975d-4fca-9ff0-5cb7bdadfe49\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 89651818-975d-4fca-9ff0-5cb7bdadfe49" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-weekly-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 10 February 2024 13:21:44 +0000 (0:00:00.034) 0:00:10.326 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 10 February 2024 13:21:44 +0000 (0:00:00.042) 0:00:10.369 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-weekly-cir0ncdmse/tests/playbooks/tasks/create_bridge_profile.yml:14 Saturday 10 February 2024 13:21:44 +0000 (0:00:00.434) 0:00:10.803 ***** 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, 89651818-975d-4fca-9ff0-5cb7bdadfe49\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 89651818-975d-4fca-9ff0-5cb7bdadfe49" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-weekly-cir0ncdmse/tests/playbooks/tasks/run_test.yml:36 Saturday 10 February 2024 13:21:44 +0000 (0:00:00.036) 0:00:10.840 ***** included: /WORKDIR/git-weekly-cir0ncdmse/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-weekly-cir0ncdmse/tests/playbooks/tasks/assert_profile_present.yml:3 Saturday 10 February 2024 13:21:44 +0000 (0:00:00.104) 0:00:10.945 ***** included: /WORKDIR/git-weekly-cir0ncdmse/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-weekly-cir0ncdmse/tests/playbooks/tasks/get_profile_stat.yml:3 Saturday 10 February 2024 13:21:44 +0000 (0:00:00.084) 0:00:11.030 ***** 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-cir0ncdmse/tests/playbooks/tasks/get_profile_stat.yml:9 Saturday 10 February 2024 13:21:44 +0000 (0:00:00.084) 0:00:11.114 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-weekly-cir0ncdmse/tests/playbooks/tasks/get_profile_stat.yml:17 Saturday 10 February 2024 13:21:45 +0000 (0:00:00.254) 0:00:11.369 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-weekly-cir0ncdmse/tests/playbooks/tasks/get_profile_stat.yml:25 Saturday 10 February 2024 13:21:45 +0000 (0:00:00.038) 0:00:11.408 ***** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022687", "end": "2024-02-10 13:21:45.323800", "rc": 0, "start": "2024-02-10 13:21:45.301113" } 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-cir0ncdmse/tests/playbooks/tasks/get_profile_stat.yml:35 Saturday 10 February 2024 13:21:45 +0000 (0:00:00.246) 0:00:11.654 ***** 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-cir0ncdmse/tests/playbooks/tasks/get_profile_stat.yml:49 Saturday 10 February 2024 13:21:45 +0000 (0:00:00.029) 0:00:11.684 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-weekly-cir0ncdmse/tests/playbooks/tasks/get_profile_stat.yml:56 Saturday 10 February 2024 13:21:45 +0000 (0:00:00.035) 0:00:11.719 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-weekly-cir0ncdmse/tests/playbooks/tasks/get_profile_stat.yml:62 Saturday 10 February 2024 13:21:45 +0000 (0:00:00.028) 0:00:11.747 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-weekly-cir0ncdmse/tests/playbooks/tasks/get_profile_stat.yml:69 Saturday 10 February 2024 13:21:45 +0000 (0:00:00.035) 0:00:11.783 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-weekly-cir0ncdmse/tests/playbooks/tasks/assert_profile_present.yml:5 Saturday 10 February 2024 13:21:45 +0000 (0:00:00.026) 0:00:11.809 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-weekly-cir0ncdmse/tests/playbooks/tasks/assert_profile_present.yml:10 Saturday 10 February 2024 13:21:45 +0000 (0:00:00.064) 0:00:11.874 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-weekly-cir0ncdmse/tests/playbooks/tasks/assert_profile_present.yml:15 Saturday 10 February 2024 13:21:45 +0000 (0:00:00.061) 0:00:11.935 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-weekly-cir0ncdmse/tests/playbooks/tasks/run_test.yml:42 Saturday 10 February 2024 13:21:45 +0000 (0:00:00.051) 0:00:11.987 ***** included: /WORKDIR/git-weekly-cir0ncdmse/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-weekly-cir0ncdmse/tests/playbooks/tasks/assert_device_present.yml:3 Saturday 10 February 2024 13:21:45 +0000 (0:00:00.078) 0:00:12.066 ***** included: /WORKDIR/git-weekly-cir0ncdmse/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-weekly-cir0ncdmse/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 10 February 2024 13:21:45 +0000 (0:00:00.116) 0:00:12.182 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1707571303.8082674, "block_size": 4096, "blocks": 0, "ctime": 1707571303.8082674, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 35262, "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": 1707571303.8082674, "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-cir0ncdmse/tests/playbooks/tasks/assert_device_present.yml:5 Saturday 10 February 2024 13:21:46 +0000 (0:00:00.275) 0:00:12.458 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can create a profile'] ******************************** task path: /WORKDIR/git-weekly-cir0ncdmse/tests/playbooks/tasks/run_test.yml:47 Saturday 10 February 2024 13:21:46 +0000 (0:00:00.080) 0:00:12.538 ***** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-weekly-cir0ncdmse/tests/playbooks/tasks/run_test.yml:66 Saturday 10 February 2024 13:21:46 +0000 (0:00:00.077) 0:00:12.616 ***** included: /WORKDIR/git-weekly-cir0ncdmse/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-weekly-cir0ncdmse/tests/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 10 February 2024 13:21:46 +0000 (0:00:00.144) 0:00:12.760 ***** 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.061830", "end": "2024-02-10 13:21:46.751661", "rc": 1, "start": "2024-02-10 13:21:46.689831" } STDOUT: Connection 'statebr' (89651818-975d-4fca-9ff0-5cb7bdadfe49) 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-cir0ncdmse/tests/playbooks/tests_states.yml:45 Saturday 10 February 2024 13:21:46 +0000 (0:00:00.346) 0:00:13.106 ***** included: /WORKDIR/git-weekly-cir0ncdmse/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile without autoconnect] ************************ task path: /WORKDIR/git-weekly-cir0ncdmse/tests/playbooks/tasks/run_test.yml:5 Saturday 10 February 2024 13:21:46 +0000 (0:00:00.062) 0:00:13.168 ***** ok: [sut] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-weekly-cir0ncdmse/tests/playbooks/tasks/run_test.yml:9 Saturday 10 February 2024 13:21:46 +0000 (0:00:00.029) 0:00:13.197 ***** 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-cir0ncdmse/tests/playbooks/tasks/run_test.yml:21 Saturday 10 February 2024 13:21:46 +0000 (0:00:00.066) 0:00:13.264 ***** included: /WORKDIR/git-weekly-cir0ncdmse/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-weekly-cir0ncdmse/tests/playbooks/tasks/show_interfaces.yml:3 Saturday 10 February 2024 13:21:47 +0000 (0:00:00.038) 0:00:13.302 ***** included: /WORKDIR/git-weekly-cir0ncdmse/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-weekly-cir0ncdmse/tests/playbooks/tasks/get_current_interfaces.yml:3 Saturday 10 February 2024 13:21:47 +0000 (0:00:00.080) 0:00:13.383 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003541", "end": "2024-02-10 13:21:47.267521", "rc": 0, "start": "2024-02-10 13:21:47.263980" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-weekly-cir0ncdmse/tests/playbooks/tasks/get_current_interfaces.yml:9 Saturday 10 February 2024 13:21:47 +0000 (0:00:00.222) 0:00:13.605 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-weekly-cir0ncdmse/tests/playbooks/tasks/show_interfaces.yml:5 Saturday 10 February 2024 13:21:47 +0000 (0:00:00.027) 0:00:13.633 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-weekly-cir0ncdmse/tests/playbooks/tasks/run_test.yml:24 Saturday 10 February 2024 13:21:47 +0000 (0:00:00.023) 0:00:13.656 ***** included: /WORKDIR/git-weekly-cir0ncdmse/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-weekly-cir0ncdmse/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-weekly-cir0ncdmse/tests/playbooks/tasks/delete_interface.yml:3 Saturday 10 February 2024 13:21:47 +0000 (0:00:00.048) 0:00:13.705 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.006607", "end": "2024-02-10 13:21:47.596022", "rc": 1, "start": "2024-02-10 13:21:47.589415" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-weekly-cir0ncdmse/tests/playbooks/tasks/assert_device_absent.yml:3 Saturday 10 February 2024 13:21:47 +0000 (0:00:00.235) 0:00:13.940 ***** included: /WORKDIR/git-weekly-cir0ncdmse/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-weekly-cir0ncdmse/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 10 February 2024 13:21:47 +0000 (0:00:00.074) 0:00:14.015 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-weekly-cir0ncdmse/tests/playbooks/tasks/assert_device_absent.yml:5 Saturday 10 February 2024 13:21:47 +0000 (0:00:00.244) 0:00:14.259 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-weekly-cir0ncdmse/tests/playbooks/tasks/run_test.yml:30 Saturday 10 February 2024 13:21:48 +0000 (0:00:00.034) 0:00:14.293 ***** included: /WORKDIR/git-weekly-cir0ncdmse/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-cir0ncdmse/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Saturday 10 February 2024 13:21:48 +0000 (0:00:00.063) 0:00:14.356 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 10 February 2024 13:21:48 +0000 (0:00:00.057) 0:00:14.414 ***** included: /WORKDIR/git-weekly-cir0ncdmse/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-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 10 February 2024 13:21:48 +0000 (0:00:00.098) 0:00:14.512 ***** 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-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 10 February 2024 13:21:48 +0000 (0:00:00.062) 0:00:14.575 ***** 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-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 10 February 2024 13:21:48 +0000 (0:00:00.082) 0:00:14.657 ***** 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-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 10 February 2024 13:21:48 +0000 (0:00:00.043) 0:00:14.700 ***** 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-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 10 February 2024 13:21:50 +0000 (0:00:02.263) 0:00:16.964 ***** 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-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 10 February 2024 13:21:51 +0000 (0:00:01.007) 0:00:17.972 ***** 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-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 10 February 2024 13:21:51 +0000 (0:00:00.026) 0:00:17.998 ***** 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-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 10 February 2024 13:21:51 +0000 (0:00:00.033) 0:00:18.031 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 10 February 2024 13:21:51 +0000 (0:00:00.052) 0:00:18.084 ***** 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-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 10 February 2024 13:21:51 +0000 (0:00:00.048) 0:00:18.133 ***** 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-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 10 February 2024 13:21:51 +0000 (0:00:00.024) 0:00:18.157 ***** 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-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 10 February 2024 13:21:51 +0000 (0:00:00.023) 0:00:18.180 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 10 February 2024 13:21:51 +0000 (0:00:00.027) 0:00:18.208 ***** 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-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 10 February 2024 13:21:52 +0000 (0:00:00.563) 0:00:18.772 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 10 February 2024 13:21:52 +0000 (0:00:00.049) 0:00:18.822 ***** 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-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 10 February 2024 13:21:52 +0000 (0:00:00.024) 0:00:18.846 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 10 February 2024 13:21:52 +0000 (0:00:00.032) 0:00:18.879 ***** 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, dec25bc6-0d90-429d-9399-bed98b2fd84b TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-weekly-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 10 February 2024 13:21:53 +0000 (0:00:00.431) 0:00:19.310 ***** 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-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 10 February 2024 13:21:53 +0000 (0:00:00.027) 0:00:19.338 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, dec25bc6-0d90-429d-9399-bed98b2fd84b" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-weekly-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 10 February 2024 13:21:53 +0000 (0:00:00.038) 0:00:19.376 ***** 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, dec25bc6-0d90-429d-9399-bed98b2fd84b\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, dec25bc6-0d90-429d-9399-bed98b2fd84b" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-weekly-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 10 February 2024 13:21:53 +0000 (0:00:00.062) 0:00:19.439 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 10 February 2024 13:21:53 +0000 (0:00:00.027) 0:00:19.467 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-weekly-cir0ncdmse/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Saturday 10 February 2024 13:21:53 +0000 (0:00:00.275) 0:00:19.742 ***** 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, dec25bc6-0d90-429d-9399-bed98b2fd84b\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, dec25bc6-0d90-429d-9399-bed98b2fd84b" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-weekly-cir0ncdmse/tests/playbooks/tasks/run_test.yml:36 Saturday 10 February 2024 13:21:53 +0000 (0:00:00.026) 0:00:19.768 ***** included: /WORKDIR/git-weekly-cir0ncdmse/tests/playbooks/tasks/assert_device_absent.yml for sut included: /WORKDIR/git-weekly-cir0ncdmse/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-weekly-cir0ncdmse/tests/playbooks/tasks/assert_device_absent.yml:3 Saturday 10 February 2024 13:21:53 +0000 (0:00:00.096) 0:00:19.865 ***** included: /WORKDIR/git-weekly-cir0ncdmse/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-weekly-cir0ncdmse/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 10 February 2024 13:21:53 +0000 (0:00:00.052) 0:00:19.917 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-weekly-cir0ncdmse/tests/playbooks/tasks/assert_device_absent.yml:5 Saturday 10 February 2024 13:21:53 +0000 (0:00:00.247) 0:00:20.164 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-weekly-cir0ncdmse/tests/playbooks/tasks/assert_profile_present.yml:3 Saturday 10 February 2024 13:21:53 +0000 (0:00:00.055) 0:00:20.220 ***** included: /WORKDIR/git-weekly-cir0ncdmse/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-weekly-cir0ncdmse/tests/playbooks/tasks/get_profile_stat.yml:3 Saturday 10 February 2024 13:21:54 +0000 (0:00:00.088) 0:00:20.309 ***** 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-cir0ncdmse/tests/playbooks/tasks/get_profile_stat.yml:9 Saturday 10 February 2024 13:21:54 +0000 (0:00:00.036) 0:00:20.345 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-weekly-cir0ncdmse/tests/playbooks/tasks/get_profile_stat.yml:17 Saturday 10 February 2024 13:21:54 +0000 (0:00:00.240) 0:00:20.586 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-weekly-cir0ncdmse/tests/playbooks/tasks/get_profile_stat.yml:25 Saturday 10 February 2024 13:21:54 +0000 (0:00:00.043) 0:00:20.629 ***** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022418", "end": "2024-02-10 13:21:54.599970", "rc": 0, "start": "2024-02-10 13:21:54.577552" } 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-cir0ncdmse/tests/playbooks/tasks/get_profile_stat.yml:35 Saturday 10 February 2024 13:21:54 +0000 (0:00:00.316) 0:00:20.946 ***** 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-cir0ncdmse/tests/playbooks/tasks/get_profile_stat.yml:49 Saturday 10 February 2024 13:21:54 +0000 (0:00:00.046) 0:00:20.992 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-weekly-cir0ncdmse/tests/playbooks/tasks/get_profile_stat.yml:56 Saturday 10 February 2024 13:21:54 +0000 (0:00:00.036) 0:00:21.029 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-weekly-cir0ncdmse/tests/playbooks/tasks/get_profile_stat.yml:62 Saturday 10 February 2024 13:21:54 +0000 (0:00:00.034) 0:00:21.064 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-weekly-cir0ncdmse/tests/playbooks/tasks/get_profile_stat.yml:69 Saturday 10 February 2024 13:21:54 +0000 (0:00:00.060) 0:00:21.124 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-weekly-cir0ncdmse/tests/playbooks/tasks/assert_profile_present.yml:5 Saturday 10 February 2024 13:21:54 +0000 (0:00:00.044) 0:00:21.169 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-weekly-cir0ncdmse/tests/playbooks/tasks/assert_profile_present.yml:10 Saturday 10 February 2024 13:21:54 +0000 (0:00:00.066) 0:00:21.235 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-weekly-cir0ncdmse/tests/playbooks/tasks/assert_profile_present.yml:15 Saturday 10 February 2024 13:21:55 +0000 (0:00:00.082) 0:00:21.318 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-weekly-cir0ncdmse/tests/playbooks/tasks/run_test.yml:42 Saturday 10 February 2024 13:21:55 +0000 (0:00:00.036) 0:00:21.354 ***** TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /WORKDIR/git-weekly-cir0ncdmse/tests/playbooks/tasks/run_test.yml:47 Saturday 10 February 2024 13:21:55 +0000 (0:00:00.035) 0:00:21.390 ***** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-weekly-cir0ncdmse/tests/playbooks/tasks/run_test.yml:66 Saturday 10 February 2024 13:21:55 +0000 (0:00:00.026) 0:00:21.417 ***** included: /WORKDIR/git-weekly-cir0ncdmse/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-weekly-cir0ncdmse/tests/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 10 February 2024 13:21:55 +0000 (0:00:00.094) 0:00:21.511 ***** 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.044809", "end": "2024-02-10 13:21:55.441779", "rc": 1, "start": "2024-02-10 13:21:55.396970" } STDOUT: Connection 'statebr' (dec25bc6-0d90-429d-9399-bed98b2fd84b) 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-cir0ncdmse/tests/playbooks/tests_states.yml:65 Saturday 10 February 2024 13:21:55 +0000 (0:00:00.269) 0:00:21.781 ***** included: /WORKDIR/git-weekly-cir0ncdmse/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can activate an existing profile] ******************************** task path: /WORKDIR/git-weekly-cir0ncdmse/tests/playbooks/tasks/run_test.yml:5 Saturday 10 February 2024 13:21:55 +0000 (0:00:00.057) 0:00:21.838 ***** ok: [sut] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-weekly-cir0ncdmse/tests/playbooks/tasks/run_test.yml:9 Saturday 10 February 2024 13:21:55 +0000 (0:00:00.029) 0:00:21.867 ***** 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-cir0ncdmse/tests/playbooks/tasks/run_test.yml:21 Saturday 10 February 2024 13:21:55 +0000 (0:00:00.061) 0:00:21.928 ***** included: /WORKDIR/git-weekly-cir0ncdmse/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-weekly-cir0ncdmse/tests/playbooks/tasks/show_interfaces.yml:3 Saturday 10 February 2024 13:21:55 +0000 (0:00:00.041) 0:00:21.970 ***** included: /WORKDIR/git-weekly-cir0ncdmse/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-weekly-cir0ncdmse/tests/playbooks/tasks/get_current_interfaces.yml:3 Saturday 10 February 2024 13:21:55 +0000 (0:00:00.044) 0:00:22.015 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.004842", "end": "2024-02-10 13:21:56.925950", "rc": 0, "start": "2024-02-10 13:21:55.921108" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-weekly-cir0ncdmse/tests/playbooks/tasks/get_current_interfaces.yml:9 Saturday 10 February 2024 13:21:56 +0000 (0:00:01.261) 0:00:23.276 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-weekly-cir0ncdmse/tests/playbooks/tasks/show_interfaces.yml:5 Saturday 10 February 2024 13:21:57 +0000 (0:00:00.083) 0:00:23.359 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-weekly-cir0ncdmse/tests/playbooks/tasks/run_test.yml:24 Saturday 10 February 2024 13:21:57 +0000 (0:00:00.031) 0:00:23.391 ***** included: /WORKDIR/git-weekly-cir0ncdmse/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-cir0ncdmse/tests/playbooks/tasks/create_bridge_profile.yml:3 Saturday 10 February 2024 13:21:57 +0000 (0:00:00.061) 0:00:23.452 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 10 February 2024 13:21:57 +0000 (0:00:00.042) 0:00:23.494 ***** included: /WORKDIR/git-weekly-cir0ncdmse/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-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 10 February 2024 13:21:57 +0000 (0:00:00.051) 0:00:23.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-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 10 February 2024 13:21:57 +0000 (0:00:00.031) 0:00:23.577 ***** 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-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 10 February 2024 13:21:57 +0000 (0:00:00.025) 0:00:23.602 ***** 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-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 10 February 2024 13:21:57 +0000 (0:00:00.030) 0:00:23.632 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-weekly-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 10 February 2024 13:21:59 +0000 (0:00:02.251) 0:00:25.884 ***** 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-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 10 February 2024 13:22:00 +0000 (0:00:00.925) 0:00:26.809 ***** 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-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 10 February 2024 13:22:00 +0000 (0:00:00.028) 0:00:26.838 ***** 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-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 10 February 2024 13:22:00 +0000 (0:00:00.028) 0:00:26.866 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 10 February 2024 13:22:00 +0000 (0:00:00.042) 0:00:26.909 ***** 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-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 10 February 2024 13:22:00 +0000 (0:00:00.056) 0:00:26.965 ***** 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-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 10 February 2024 13:22:00 +0000 (0:00:00.026) 0:00:26.991 ***** 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-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 10 February 2024 13:22:00 +0000 (0:00:00.031) 0:00:27.023 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 10 February 2024 13:22:00 +0000 (0:00:00.058) 0:00:27.082 ***** 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-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 10 February 2024 13:22:01 +0000 (0:00:00.574) 0:00:27.656 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 10 February 2024 13:22:01 +0000 (0:00:00.030) 0:00:27.686 ***** 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-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 10 February 2024 13:22:01 +0000 (0:00:00.026) 0:00:27.712 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 10 February 2024 13:22:01 +0000 (0:00:00.044) 0:00:27.757 ***** 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, c1679ff1-d1fd-49dd-abe9-975f12d9c969 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-weekly-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 10 February 2024 13:22:01 +0000 (0:00:00.435) 0:00:28.192 ***** 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-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 10 February 2024 13:22:01 +0000 (0:00:00.037) 0:00:28.230 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, c1679ff1-d1fd-49dd-abe9-975f12d9c969" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-weekly-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 10 February 2024 13:22:01 +0000 (0:00:00.030) 0:00:28.260 ***** 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, c1679ff1-d1fd-49dd-abe9-975f12d9c969\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, c1679ff1-d1fd-49dd-abe9-975f12d9c969" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-weekly-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 10 February 2024 13:22:02 +0000 (0:00:00.053) 0:00:28.313 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 10 February 2024 13:22:02 +0000 (0:00:00.074) 0:00:28.387 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-weekly-cir0ncdmse/tests/playbooks/tasks/create_bridge_profile.yml:14 Saturday 10 February 2024 13:22:02 +0000 (0:00:00.272) 0:00:28.660 ***** 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, c1679ff1-d1fd-49dd-abe9-975f12d9c969\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, c1679ff1-d1fd-49dd-abe9-975f12d9c969" ] } } TASK [Test] ******************************************************************** task path: /WORKDIR/git-weekly-cir0ncdmse/tests/playbooks/tasks/run_test.yml:30 Saturday 10 February 2024 13:22:02 +0000 (0:00:00.027) 0:00:28.687 ***** included: /WORKDIR/git-weekly-cir0ncdmse/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-cir0ncdmse/tests/playbooks/tasks/activate_profile.yml:3 Saturday 10 February 2024 13:22:02 +0000 (0:00:00.073) 0:00:28.761 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 10 February 2024 13:22:02 +0000 (0:00:00.057) 0:00:28.818 ***** included: /WORKDIR/git-weekly-cir0ncdmse/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-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 10 February 2024 13:22:02 +0000 (0:00:00.062) 0:00:28.880 ***** 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-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 10 February 2024 13:22:02 +0000 (0:00:00.032) 0:00:28.913 ***** 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-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 10 February 2024 13:22:02 +0000 (0:00:00.022) 0:00:28.936 ***** 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-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 10 February 2024 13:22:02 +0000 (0:00:00.021) 0:00:28.958 ***** 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-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 10 February 2024 13:22:04 +0000 (0:00:02.243) 0:00:31.201 ***** 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-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 10 February 2024 13:22:05 +0000 (0:00:00.944) 0:00:32.145 ***** 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-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 10 February 2024 13:22:05 +0000 (0:00:00.041) 0:00:32.187 ***** 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-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 10 February 2024 13:22:05 +0000 (0:00:00.059) 0:00:32.247 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 10 February 2024 13:22:05 +0000 (0:00:00.026) 0:00:32.273 ***** 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-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 10 February 2024 13:22:06 +0000 (0:00:00.055) 0:00:32.328 ***** 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-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 10 February 2024 13:22:06 +0000 (0:00:00.065) 0:00:32.393 ***** 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-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 10 February 2024 13:22:06 +0000 (0:00:00.039) 0:00:32.433 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 10 February 2024 13:22:06 +0000 (0:00:00.049) 0:00:32.482 ***** 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-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 10 February 2024 13:22:06 +0000 (0:00:00.655) 0:00:33.138 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 10 February 2024 13:22:06 +0000 (0:00:00.138) 0:00:33.277 ***** 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-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 10 February 2024 13:22:07 +0000 (0:00:00.057) 0:00:33.334 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 10 February 2024 13:22:07 +0000 (0:00:00.069) 0:00:33.404 ***** 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, c1679ff1-d1fd-49dd-abe9-975f12d9c969 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-weekly-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 10 February 2024 13:22:07 +0000 (0:00:00.502) 0:00:33.906 ***** 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-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 10 February 2024 13:22:07 +0000 (0:00:00.032) 0:00:33.938 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, c1679ff1-d1fd-49dd-abe9-975f12d9c969 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-weekly-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 10 February 2024 13:22:07 +0000 (0:00:00.054) 0:00:33.992 ***** 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, c1679ff1-d1fd-49dd-abe9-975f12d9c969 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, c1679ff1-d1fd-49dd-abe9-975f12d9c969 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-weekly-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 10 February 2024 13:22:07 +0000 (0:00:00.033) 0:00:34.026 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 10 February 2024 13:22:07 +0000 (0:00:00.045) 0:00:34.071 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-weekly-cir0ncdmse/tests/playbooks/tasks/run_test.yml:36 Saturday 10 February 2024 13:22:08 +0000 (0:00:00.242) 0:00:34.314 ***** included: /WORKDIR/git-weekly-cir0ncdmse/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-weekly-cir0ncdmse/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-weekly-cir0ncdmse/tests/playbooks/tasks/assert_device_present.yml:3 Saturday 10 February 2024 13:22:08 +0000 (0:00:00.072) 0:00:34.386 ***** included: /WORKDIR/git-weekly-cir0ncdmse/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-weekly-cir0ncdmse/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 10 February 2024 13:22:08 +0000 (0:00:00.053) 0:00:34.439 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1707571321.811783, "block_size": 4096, "blocks": 0, "ctime": 1707571321.811783, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 35393, "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": 1707571321.811783, "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-cir0ncdmse/tests/playbooks/tasks/assert_device_present.yml:5 Saturday 10 February 2024 13:22:08 +0000 (0:00:00.229) 0:00:34.669 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-weekly-cir0ncdmse/tests/playbooks/tasks/assert_profile_present.yml:3 Saturday 10 February 2024 13:22:08 +0000 (0:00:00.052) 0:00:34.722 ***** included: /WORKDIR/git-weekly-cir0ncdmse/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-weekly-cir0ncdmse/tests/playbooks/tasks/get_profile_stat.yml:3 Saturday 10 February 2024 13:22:08 +0000 (0:00:00.112) 0:00:34.834 ***** 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-cir0ncdmse/tests/playbooks/tasks/get_profile_stat.yml:9 Saturday 10 February 2024 13:22:08 +0000 (0:00:00.026) 0:00:34.861 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-weekly-cir0ncdmse/tests/playbooks/tasks/get_profile_stat.yml:17 Saturday 10 February 2024 13:22:08 +0000 (0:00:00.227) 0:00:35.088 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-weekly-cir0ncdmse/tests/playbooks/tasks/get_profile_stat.yml:25 Saturday 10 February 2024 13:22:08 +0000 (0:00:00.053) 0:00:35.142 ***** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022215", "end": "2024-02-10 13:22:09.047504", "rc": 0, "start": "2024-02-10 13:22:09.025289" } 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-cir0ncdmse/tests/playbooks/tasks/get_profile_stat.yml:35 Saturday 10 February 2024 13:22:09 +0000 (0:00:00.258) 0:00:35.401 ***** 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-cir0ncdmse/tests/playbooks/tasks/get_profile_stat.yml:49 Saturday 10 February 2024 13:22:09 +0000 (0:00:00.054) 0:00:35.455 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-weekly-cir0ncdmse/tests/playbooks/tasks/get_profile_stat.yml:56 Saturday 10 February 2024 13:22:09 +0000 (0:00:00.049) 0:00:35.505 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-weekly-cir0ncdmse/tests/playbooks/tasks/get_profile_stat.yml:62 Saturday 10 February 2024 13:22:09 +0000 (0:00:00.032) 0:00:35.537 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-weekly-cir0ncdmse/tests/playbooks/tasks/get_profile_stat.yml:69 Saturday 10 February 2024 13:22:09 +0000 (0:00:00.035) 0:00:35.573 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-weekly-cir0ncdmse/tests/playbooks/tasks/assert_profile_present.yml:5 Saturday 10 February 2024 13:22:09 +0000 (0:00:00.045) 0:00:35.619 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-weekly-cir0ncdmse/tests/playbooks/tasks/assert_profile_present.yml:10 Saturday 10 February 2024 13:22:09 +0000 (0:00:00.084) 0:00:35.703 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-weekly-cir0ncdmse/tests/playbooks/tasks/assert_profile_present.yml:15 Saturday 10 February 2024 13:22:09 +0000 (0:00:00.034) 0:00:35.737 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-weekly-cir0ncdmse/tests/playbooks/tasks/run_test.yml:42 Saturday 10 February 2024 13:22:09 +0000 (0:00:00.039) 0:00:35.777 ***** TASK [Success in test 'I can activate an existing profile'] ******************** task path: /WORKDIR/git-weekly-cir0ncdmse/tests/playbooks/tasks/run_test.yml:47 Saturday 10 February 2024 13:22:09 +0000 (0:00:00.101) 0:00:35.878 ***** ok: [sut] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-weekly-cir0ncdmse/tests/playbooks/tasks/run_test.yml:66 Saturday 10 February 2024 13:22:09 +0000 (0:00:00.100) 0:00:35.978 ***** included: /WORKDIR/git-weekly-cir0ncdmse/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-weekly-cir0ncdmse/tests/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 10 February 2024 13:22:09 +0000 (0:00:00.134) 0:00:36.113 ***** 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.071395", "end": "2024-02-10 13:22:10.070984", "rc": 1, "start": "2024-02-10 13:22:09.999589" } STDOUT: Connection 'statebr' (c1679ff1-d1fd-49dd-abe9-975f12d9c969) 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-cir0ncdmse/tests/playbooks/tests_states.yml:83 Saturday 10 February 2024 13:22:10 +0000 (0:00:00.295) 0:00:36.408 ***** included: /WORKDIR/git-weekly-cir0ncdmse/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-cir0ncdmse/tests/playbooks/tasks/run_test.yml:5 Saturday 10 February 2024 13:22:10 +0000 (0:00:00.062) 0:00:36.471 ***** ok: [sut] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-weekly-cir0ncdmse/tests/playbooks/tasks/run_test.yml:9 Saturday 10 February 2024 13:22:10 +0000 (0:00:00.043) 0:00:36.514 ***** 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-cir0ncdmse/tests/playbooks/tasks/run_test.yml:21 Saturday 10 February 2024 13:22:10 +0000 (0:00:00.071) 0:00:36.586 ***** included: /WORKDIR/git-weekly-cir0ncdmse/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-weekly-cir0ncdmse/tests/playbooks/tasks/show_interfaces.yml:3 Saturday 10 February 2024 13:22:10 +0000 (0:00:00.053) 0:00:36.639 ***** included: /WORKDIR/git-weekly-cir0ncdmse/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-weekly-cir0ncdmse/tests/playbooks/tasks/get_current_interfaces.yml:3 Saturday 10 February 2024 13:22:10 +0000 (0:00:00.093) 0:00:36.733 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003677", "end": "2024-02-10 13:22:10.656577", "rc": 0, "start": "2024-02-10 13:22:10.652900" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-weekly-cir0ncdmse/tests/playbooks/tasks/get_current_interfaces.yml:9 Saturday 10 February 2024 13:22:10 +0000 (0:00:00.258) 0:00:36.991 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-weekly-cir0ncdmse/tests/playbooks/tasks/show_interfaces.yml:5 Saturday 10 February 2024 13:22:10 +0000 (0:00:00.048) 0:00:37.040 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-weekly-cir0ncdmse/tests/playbooks/tasks/run_test.yml:24 Saturday 10 February 2024 13:22:10 +0000 (0:00:00.059) 0:00:37.099 ***** included: /WORKDIR/git-weekly-cir0ncdmse/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-weekly-cir0ncdmse/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-cir0ncdmse/tests/playbooks/tasks/create_bridge_profile.yml:3 Saturday 10 February 2024 13:22:10 +0000 (0:00:00.112) 0:00:37.212 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 10 February 2024 13:22:10 +0000 (0:00:00.064) 0:00:37.277 ***** included: /WORKDIR/git-weekly-cir0ncdmse/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-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 10 February 2024 13:22:11 +0000 (0:00:00.098) 0:00:37.375 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-weekly-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 10 February 2024 13:22:11 +0000 (0:00:00.065) 0:00:37.440 ***** 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-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 10 February 2024 13:22:11 +0000 (0:00:00.028) 0:00:37.468 ***** 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-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 10 February 2024 13:22:11 +0000 (0:00:00.024) 0:00:37.493 ***** 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-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 10 February 2024 13:22:13 +0000 (0:00:02.199) 0:00:39.693 ***** 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-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 10 February 2024 13:22:14 +0000 (0:00:00.935) 0:00:40.628 ***** ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-weekly-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 10 February 2024 13:22:14 +0000 (0:00:00.038) 0:00:40.667 ***** 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-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 10 February 2024 13:22:14 +0000 (0:00:00.028) 0:00:40.695 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 10 February 2024 13:22:14 +0000 (0:00:00.029) 0:00:40.725 ***** 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-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 10 February 2024 13:22:14 +0000 (0:00:00.050) 0:00:40.775 ***** 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-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 10 February 2024 13:22:14 +0000 (0:00:00.024) 0:00:40.800 ***** 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-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 10 February 2024 13:22:14 +0000 (0:00:00.026) 0:00:40.826 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 10 February 2024 13:22:14 +0000 (0:00:00.029) 0:00:40.856 ***** 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-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 10 February 2024 13:22:15 +0000 (0:00:00.581) 0:00:41.437 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 10 February 2024 13:22:15 +0000 (0:00:00.037) 0:00:41.475 ***** 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-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 10 February 2024 13:22:15 +0000 (0:00:00.024) 0:00:41.499 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 10 February 2024 13:22:15 +0000 (0:00:00.028) 0:00:41.528 ***** 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, fada169e-04bc-4265-b94c-69e5d8945a8d TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-weekly-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 10 February 2024 13:22:15 +0000 (0:00:00.431) 0:00:41.959 ***** 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-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 10 February 2024 13:22:15 +0000 (0:00:00.025) 0:00:41.985 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, fada169e-04bc-4265-b94c-69e5d8945a8d" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-weekly-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 10 February 2024 13:22:15 +0000 (0:00:00.034) 0:00:42.019 ***** 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, fada169e-04bc-4265-b94c-69e5d8945a8d\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, fada169e-04bc-4265-b94c-69e5d8945a8d" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-weekly-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 10 February 2024 13:22:15 +0000 (0:00:00.035) 0:00:42.055 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 10 February 2024 13:22:15 +0000 (0:00:00.055) 0:00:42.110 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-weekly-cir0ncdmse/tests/playbooks/tasks/create_bridge_profile.yml:14 Saturday 10 February 2024 13:22:16 +0000 (0:00:00.242) 0:00:42.353 ***** 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, fada169e-04bc-4265-b94c-69e5d8945a8d\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, fada169e-04bc-4265-b94c-69e5d8945a8d" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-cir0ncdmse/tests/playbooks/tasks/activate_profile.yml:3 Saturday 10 February 2024 13:22:16 +0000 (0:00:00.036) 0:00:42.390 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 10 February 2024 13:22:16 +0000 (0:00:00.069) 0:00:42.460 ***** included: /WORKDIR/git-weekly-cir0ncdmse/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-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 10 February 2024 13:22:16 +0000 (0:00:00.108) 0:00:42.568 ***** 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-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 10 February 2024 13:22:16 +0000 (0:00:00.032) 0:00:42.601 ***** 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-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 10 February 2024 13:22:16 +0000 (0:00:00.034) 0:00:42.635 ***** 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-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 10 February 2024 13:22:16 +0000 (0:00:00.049) 0:00:42.684 ***** 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-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 10 February 2024 13:22:18 +0000 (0:00:02.253) 0:00:44.938 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-weekly-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 10 February 2024 13:22:19 +0000 (0:00:00.957) 0:00:45.896 ***** ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-weekly-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 10 February 2024 13:22:19 +0000 (0:00:00.025) 0:00:45.921 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-weekly-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 10 February 2024 13:22:19 +0000 (0:00:00.022) 0:00:45.943 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 10 February 2024 13:22:19 +0000 (0:00:00.022) 0:00:45.966 ***** 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-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 10 February 2024 13:22:19 +0000 (0:00:00.045) 0:00:46.011 ***** 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-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 10 February 2024 13:22:19 +0000 (0:00:00.027) 0:00:46.039 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-weekly-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 10 February 2024 13:22:19 +0000 (0:00:00.025) 0:00:46.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-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 10 February 2024 13:22:19 +0000 (0:00:00.027) 0:00:46.091 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-weekly-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 10 February 2024 13:22:20 +0000 (0:00:00.581) 0:00:46.673 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 10 February 2024 13:22:20 +0000 (0:00:00.027) 0:00:46.700 ***** 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-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 10 February 2024 13:22:20 +0000 (0:00:00.022) 0:00:46.722 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 10 February 2024 13:22:20 +0000 (0:00:00.021) 0:00:46.744 ***** 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, fada169e-04bc-4265-b94c-69e5d8945a8d skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-weekly-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 10 February 2024 13:22:20 +0000 (0:00:00.363) 0:00:47.108 ***** 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-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 10 February 2024 13:22:20 +0000 (0:00:00.066) 0:00:47.174 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, fada169e-04bc-4265-b94c-69e5d8945a8d skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-weekly-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 10 February 2024 13:22:20 +0000 (0:00:00.026) 0:00:47.200 ***** 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, fada169e-04bc-4265-b94c-69e5d8945a8d skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, fada169e-04bc-4265-b94c-69e5d8945a8d skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-weekly-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 10 February 2024 13:22:20 +0000 (0:00:00.025) 0:00:47.226 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 10 February 2024 13:22:20 +0000 (0:00:00.024) 0:00:47.251 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-weekly-cir0ncdmse/tests/playbooks/tasks/run_test.yml:30 Saturday 10 February 2024 13:22:21 +0000 (0:00:00.231) 0:00:47.482 ***** included: /WORKDIR/git-weekly-cir0ncdmse/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-cir0ncdmse/tests/playbooks/tasks/remove_profile.yml:3 Saturday 10 February 2024 13:22:21 +0000 (0:00:00.073) 0:00:47.555 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 10 February 2024 13:22:21 +0000 (0:00:00.056) 0:00:47.612 ***** included: /WORKDIR/git-weekly-cir0ncdmse/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-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 10 February 2024 13:22:21 +0000 (0:00:00.066) 0:00:47.679 ***** 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-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 10 February 2024 13:22:21 +0000 (0:00:00.058) 0:00:47.737 ***** 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-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 10 February 2024 13:22:21 +0000 (0:00:00.027) 0:00:47.765 ***** 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-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 10 February 2024 13:22:21 +0000 (0:00:00.033) 0:00:47.798 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-weekly-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 10 February 2024 13:22:23 +0000 (0:00:02.231) 0:00:50.029 ***** 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-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 10 February 2024 13:22:24 +0000 (0:00:00.961) 0:00:50.990 ***** 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-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 10 February 2024 13:22:24 +0000 (0:00:00.038) 0:00:51.028 ***** 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-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 10 February 2024 13:22:24 +0000 (0:00:00.038) 0:00:51.067 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 10 February 2024 13:22:24 +0000 (0:00:00.025) 0:00:51.092 ***** 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-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 10 February 2024 13:22:24 +0000 (0:00:00.104) 0:00:51.197 ***** 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-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 10 February 2024 13:22:24 +0000 (0:00:00.024) 0:00:51.221 ***** 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-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 10 February 2024 13:22:24 +0000 (0:00:00.029) 0:00:51.250 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 10 February 2024 13:22:24 +0000 (0:00:00.041) 0:00:51.292 ***** 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-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 10 February 2024 13:22:25 +0000 (0:00:00.601) 0:00:51.893 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 10 February 2024 13:22:25 +0000 (0:00:00.034) 0:00:51.928 ***** 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-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 10 February 2024 13:22:25 +0000 (0:00:00.024) 0:00:51.952 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 10 February 2024 13:22:25 +0000 (0:00:00.023) 0:00:51.976 ***** 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-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 10 February 2024 13:22:26 +0000 (0:00:00.418) 0:00:52.394 ***** 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-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 10 February 2024 13:22:26 +0000 (0:00:00.029) 0:00:52.424 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-weekly-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 10 February 2024 13:22:26 +0000 (0:00:00.058) 0:00:52.483 ***** 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-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 10 February 2024 13:22:26 +0000 (0:00:00.052) 0:00:52.535 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 10 February 2024 13:22:26 +0000 (0:00:00.026) 0:00:52.562 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-weekly-cir0ncdmse/tests/playbooks/tasks/run_test.yml:36 Saturday 10 February 2024 13:22:26 +0000 (0:00:00.243) 0:00:52.805 ***** included: /WORKDIR/git-weekly-cir0ncdmse/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-weekly-cir0ncdmse/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-weekly-cir0ncdmse/tests/playbooks/tasks/assert_device_present.yml:3 Saturday 10 February 2024 13:22:26 +0000 (0:00:00.049) 0:00:52.855 ***** included: /WORKDIR/git-weekly-cir0ncdmse/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-weekly-cir0ncdmse/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 10 February 2024 13:22:26 +0000 (0:00:00.038) 0:00:52.894 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1707571335.5701764, "block_size": 4096, "blocks": 0, "ctime": 1707571335.5701764, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 35524, "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": 1707571335.5701764, "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-cir0ncdmse/tests/playbooks/tasks/assert_device_present.yml:5 Saturday 10 February 2024 13:22:26 +0000 (0:00:00.221) 0:00:53.115 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-weekly-cir0ncdmse/tests/playbooks/tasks/assert_profile_absent.yml:3 Saturday 10 February 2024 13:22:26 +0000 (0:00:00.027) 0:00:53.143 ***** included: /WORKDIR/git-weekly-cir0ncdmse/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-weekly-cir0ncdmse/tests/playbooks/tasks/get_profile_stat.yml:3 Saturday 10 February 2024 13:22:26 +0000 (0:00:00.078) 0:00:53.221 ***** 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-cir0ncdmse/tests/playbooks/tasks/get_profile_stat.yml:9 Saturday 10 February 2024 13:22:26 +0000 (0:00:00.050) 0:00:53.271 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-weekly-cir0ncdmse/tests/playbooks/tasks/get_profile_stat.yml:17 Saturday 10 February 2024 13:22:27 +0000 (0:00:00.243) 0:00:53.515 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-weekly-cir0ncdmse/tests/playbooks/tasks/get_profile_stat.yml:25 Saturday 10 February 2024 13:22:27 +0000 (0:00:00.031) 0:00:53.546 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022245", "end": "2024-02-10 13:22:27.482467", "rc": 1, "start": "2024-02-10 13:22:27.460222" } 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-cir0ncdmse/tests/playbooks/tasks/get_profile_stat.yml:35 Saturday 10 February 2024 13:22:27 +0000 (0:00:00.264) 0:00:53.810 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-weekly-cir0ncdmse/tests/playbooks/tasks/get_profile_stat.yml:49 Saturday 10 February 2024 13:22:27 +0000 (0:00:00.068) 0:00:53.878 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-weekly-cir0ncdmse/tests/playbooks/tasks/get_profile_stat.yml:56 Saturday 10 February 2024 13:22:27 +0000 (0:00:00.037) 0:00:53.916 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-weekly-cir0ncdmse/tests/playbooks/tasks/get_profile_stat.yml:62 Saturday 10 February 2024 13:22:27 +0000 (0:00:00.034) 0:00:53.950 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-weekly-cir0ncdmse/tests/playbooks/tasks/get_profile_stat.yml:69 Saturday 10 February 2024 13:22:27 +0000 (0:00:00.025) 0:00:53.976 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-weekly-cir0ncdmse/tests/playbooks/tasks/assert_profile_absent.yml:5 Saturday 10 February 2024 13:22:27 +0000 (0:00:00.030) 0:00:54.007 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-weekly-cir0ncdmse/tests/playbooks/tasks/run_test.yml:42 Saturday 10 February 2024 13:22:27 +0000 (0:00:00.032) 0:00:54.039 ***** TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /WORKDIR/git-weekly-cir0ncdmse/tests/playbooks/tasks/run_test.yml:47 Saturday 10 February 2024 13:22:27 +0000 (0:00:00.027) 0:00:54.067 ***** ok: [sut] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-weekly-cir0ncdmse/tests/playbooks/tasks/run_test.yml:66 Saturday 10 February 2024 13:22:27 +0000 (0:00:00.025) 0:00:54.093 ***** included: /WORKDIR/git-weekly-cir0ncdmse/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-weekly-cir0ncdmse/tests/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 10 February 2024 13:22:27 +0000 (0:00:00.046) 0:00:54.139 ***** 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.069306", "end": "2024-02-10 13:22:28.102168", "rc": 1, "start": "2024-02-10 13:22:28.032862" } STDOUT: Connection 'statebr' (fada169e-04bc-4265-b94c-69e5d8945a8d) 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-cir0ncdmse/tests/playbooks/tests_states.yml:103 Saturday 10 February 2024 13:22:28 +0000 (0:00:00.301) 0:00:54.440 ***** included: /WORKDIR/git-weekly-cir0ncdmse/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can take a profile down that is absent] ************************** task path: /WORKDIR/git-weekly-cir0ncdmse/tests/playbooks/tasks/run_test.yml:5 Saturday 10 February 2024 13:22:28 +0000 (0:00:00.058) 0:00:54.499 ***** ok: [sut] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-weekly-cir0ncdmse/tests/playbooks/tasks/run_test.yml:9 Saturday 10 February 2024 13:22:28 +0000 (0:00:00.045) 0:00:54.545 ***** 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-cir0ncdmse/tests/playbooks/tasks/run_test.yml:21 Saturday 10 February 2024 13:22:28 +0000 (0:00:00.058) 0:00:54.604 ***** included: /WORKDIR/git-weekly-cir0ncdmse/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-weekly-cir0ncdmse/tests/playbooks/tasks/show_interfaces.yml:3 Saturday 10 February 2024 13:22:28 +0000 (0:00:00.071) 0:00:54.675 ***** included: /WORKDIR/git-weekly-cir0ncdmse/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-weekly-cir0ncdmse/tests/playbooks/tasks/get_current_interfaces.yml:3 Saturday 10 February 2024 13:22:28 +0000 (0:00:00.042) 0:00:54.718 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.004652", "end": "2024-02-10 13:22:29.625242", "rc": 0, "start": "2024-02-10 13:22:28.620590" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-weekly-cir0ncdmse/tests/playbooks/tasks/get_current_interfaces.yml:9 Saturday 10 February 2024 13:22:29 +0000 (0:00:01.236) 0:00:55.955 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-weekly-cir0ncdmse/tests/playbooks/tasks/show_interfaces.yml:5 Saturday 10 February 2024 13:22:29 +0000 (0:00:00.026) 0:00:55.982 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-weekly-cir0ncdmse/tests/playbooks/tasks/run_test.yml:24 Saturday 10 February 2024 13:22:29 +0000 (0:00:00.031) 0:00:56.013 ***** included: /WORKDIR/git-weekly-cir0ncdmse/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-weekly-cir0ncdmse/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-weekly-cir0ncdmse/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-cir0ncdmse/tests/playbooks/tasks/create_bridge_profile.yml:3 Saturday 10 February 2024 13:22:29 +0000 (0:00:00.064) 0:00:56.077 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 10 February 2024 13:22:29 +0000 (0:00:00.063) 0:00:56.140 ***** included: /WORKDIR/git-weekly-cir0ncdmse/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-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 10 February 2024 13:22:29 +0000 (0:00:00.087) 0:00:56.227 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-weekly-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 10 February 2024 13:22:29 +0000 (0:00:00.029) 0:00:56.257 ***** 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-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 10 February 2024 13:22:29 +0000 (0:00:00.027) 0:00:56.284 ***** 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-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 10 February 2024 13:22:30 +0000 (0:00:00.023) 0:00:56.308 ***** 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-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 10 February 2024 13:22:32 +0000 (0:00:02.200) 0:00:58.509 ***** 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-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 10 February 2024 13:22:33 +0000 (0:00:00.921) 0:00:59.430 ***** 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-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 10 February 2024 13:22:33 +0000 (0:00:00.025) 0:00:59.455 ***** 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-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 10 February 2024 13:22:33 +0000 (0:00:00.021) 0:00:59.477 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 10 February 2024 13:22:33 +0000 (0:00:00.022) 0:00:59.500 ***** 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-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 10 February 2024 13:22:33 +0000 (0:00:00.045) 0:00:59.546 ***** 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-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 10 February 2024 13:22:33 +0000 (0:00:00.030) 0:00:59.576 ***** 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-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 10 February 2024 13:22:33 +0000 (0:00:00.040) 0:00:59.616 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 10 February 2024 13:22:33 +0000 (0:00:00.028) 0:00:59.644 ***** 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-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 10 February 2024 13:22:33 +0000 (0:00:00.551) 0:01:00.196 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 10 February 2024 13:22:33 +0000 (0:00:00.028) 0:01:00.225 ***** 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-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 10 February 2024 13:22:33 +0000 (0:00:00.022) 0:01:00.248 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 10 February 2024 13:22:33 +0000 (0:00:00.030) 0:01:00.278 ***** 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, 24648443-3aa4-4c2e-9254-c4bf39850d0e TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-weekly-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 10 February 2024 13:22:34 +0000 (0:00:00.448) 0:01:00.726 ***** 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-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 10 February 2024 13:22:34 +0000 (0:00:00.026) 0:01:00.752 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 24648443-3aa4-4c2e-9254-c4bf39850d0e" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-weekly-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 10 February 2024 13:22:34 +0000 (0:00:00.024) 0:01:00.777 ***** 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, 24648443-3aa4-4c2e-9254-c4bf39850d0e\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 24648443-3aa4-4c2e-9254-c4bf39850d0e" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-weekly-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 10 February 2024 13:22:34 +0000 (0:00:00.024) 0:01:00.802 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 10 February 2024 13:22:34 +0000 (0:00:00.022) 0:01:00.824 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-weekly-cir0ncdmse/tests/playbooks/tasks/create_bridge_profile.yml:14 Saturday 10 February 2024 13:22:34 +0000 (0:00:00.229) 0:01:01.053 ***** 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, 24648443-3aa4-4c2e-9254-c4bf39850d0e\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 24648443-3aa4-4c2e-9254-c4bf39850d0e" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-cir0ncdmse/tests/playbooks/tasks/activate_profile.yml:3 Saturday 10 February 2024 13:22:34 +0000 (0:00:00.071) 0:01:01.125 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 10 February 2024 13:22:34 +0000 (0:00:00.062) 0:01:01.187 ***** included: /WORKDIR/git-weekly-cir0ncdmse/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-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 10 February 2024 13:22:34 +0000 (0:00:00.052) 0:01:01.240 ***** 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-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 10 February 2024 13:22:34 +0000 (0:00:00.033) 0:01:01.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-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 10 February 2024 13:22:35 +0000 (0:00:00.037) 0:01:01.311 ***** 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-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 10 February 2024 13:22:35 +0000 (0:00:00.034) 0:01:01.345 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-weekly-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 10 February 2024 13:22:37 +0000 (0:00:02.252) 0:01:03.598 ***** 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-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 10 February 2024 13:22:38 +0000 (0:00:00.913) 0:01:04.512 ***** 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-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 10 February 2024 13:22:38 +0000 (0:00:00.027) 0:01:04.539 ***** 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-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 10 February 2024 13:22:38 +0000 (0:00:00.022) 0:01:04.561 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 10 February 2024 13:22:38 +0000 (0:00:00.044) 0:01:04.605 ***** 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-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 10 February 2024 13:22:38 +0000 (0:00:00.052) 0:01:04.657 ***** 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-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 10 February 2024 13:22:38 +0000 (0:00:00.025) 0:01:04.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-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 10 February 2024 13:22:38 +0000 (0:00:00.024) 0:01:04.707 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 10 February 2024 13:22:38 +0000 (0:00:00.031) 0:01:04.739 ***** 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-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 10 February 2024 13:22:39 +0000 (0:00:00.576) 0:01:05.316 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 10 February 2024 13:22:39 +0000 (0:00:00.028) 0:01:05.345 ***** 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-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 10 February 2024 13:22:39 +0000 (0:00:00.030) 0:01:05.375 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 10 February 2024 13:22:39 +0000 (0:00:00.036) 0:01:05.412 ***** 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, 24648443-3aa4-4c2e-9254-c4bf39850d0e skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-weekly-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 10 February 2024 13:22:39 +0000 (0:00:00.373) 0:01:05.785 ***** 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-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 10 February 2024 13:22:39 +0000 (0:00:00.023) 0:01:05.808 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 24648443-3aa4-4c2e-9254-c4bf39850d0e skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-weekly-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 10 February 2024 13:22:39 +0000 (0:00:00.025) 0:01:05.834 ***** 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, 24648443-3aa4-4c2e-9254-c4bf39850d0e skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 24648443-3aa4-4c2e-9254-c4bf39850d0e skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-weekly-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 10 February 2024 13:22:39 +0000 (0:00:00.031) 0:01:05.865 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 10 February 2024 13:22:39 +0000 (0:00:00.024) 0:01:05.889 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-cir0ncdmse/tests/playbooks/tasks/remove_profile.yml:3 Saturday 10 February 2024 13:22:39 +0000 (0:00:00.216) 0:01:06.106 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 10 February 2024 13:22:39 +0000 (0:00:00.041) 0:01:06.148 ***** included: /WORKDIR/git-weekly-cir0ncdmse/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-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 10 February 2024 13:22:39 +0000 (0:00:00.046) 0:01:06.194 ***** 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-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 10 February 2024 13:22:39 +0000 (0:00:00.041) 0:01:06.236 ***** 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-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 10 February 2024 13:22:39 +0000 (0:00:00.048) 0:01:06.284 ***** 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-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 10 February 2024 13:22:40 +0000 (0:00:00.030) 0:01:06.314 ***** 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-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 10 February 2024 13:22:42 +0000 (0:00:02.236) 0:01:08.550 ***** 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-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 10 February 2024 13:22:43 +0000 (0:00:00.925) 0:01:09.476 ***** 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-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 10 February 2024 13:22:43 +0000 (0:00:00.034) 0:01:09.510 ***** 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-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 10 February 2024 13:22:43 +0000 (0:00:00.025) 0:01:09.536 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 10 February 2024 13:22:43 +0000 (0:00:00.025) 0:01:09.562 ***** 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-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 10 February 2024 13:22:43 +0000 (0:00:00.082) 0:01:09.644 ***** 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-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 10 February 2024 13:22:43 +0000 (0:00:00.032) 0:01:09.677 ***** 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-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 10 February 2024 13:22:43 +0000 (0:00:00.027) 0:01:09.704 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 10 February 2024 13:22:43 +0000 (0:00:00.041) 0:01:09.746 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-weekly-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 10 February 2024 13:22:44 +0000 (0:00:00.599) 0:01:10.345 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 10 February 2024 13:22:44 +0000 (0:00:00.027) 0:01:10.372 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-weekly-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 10 February 2024 13:22:44 +0000 (0:00:00.022) 0:01:10.395 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 10 February 2024 13:22:44 +0000 (0:00:00.021) 0:01:10.416 ***** 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-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 10 February 2024 13:22:44 +0000 (0:00:00.407) 0:01:10.824 ***** 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-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 10 February 2024 13:22:44 +0000 (0:00:00.046) 0:01:10.871 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-weekly-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 10 February 2024 13:22:44 +0000 (0:00:00.087) 0:01:10.959 ***** 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-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 10 February 2024 13:22:44 +0000 (0:00:00.056) 0:01:11.015 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 10 February 2024 13:22:44 +0000 (0:00:00.026) 0:01:11.042 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-weekly-cir0ncdmse/tests/playbooks/tasks/run_test.yml:30 Saturday 10 February 2024 13:22:44 +0000 (0:00:00.219) 0:01:11.262 ***** included: /WORKDIR/git-weekly-cir0ncdmse/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-cir0ncdmse/tests/playbooks/tasks/remove+down_profile.yml:3 Saturday 10 February 2024 13:22:45 +0000 (0:00:00.059) 0:01:11.321 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 10 February 2024 13:22:45 +0000 (0:00:00.174) 0:01:11.496 ***** included: /WORKDIR/git-weekly-cir0ncdmse/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-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 10 February 2024 13:22:45 +0000 (0:00:00.052) 0:01:11.549 ***** 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-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 10 February 2024 13:22:45 +0000 (0:00:00.035) 0:01:11.584 ***** 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-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 10 February 2024 13:22:45 +0000 (0:00:00.036) 0:01:11.620 ***** 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-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 10 February 2024 13:22:45 +0000 (0:00:00.034) 0:01:11.654 ***** 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-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 10 February 2024 13:22:47 +0000 (0:00:02.223) 0:01:13.877 ***** 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-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 10 February 2024 13:22:48 +0000 (0:00:00.925) 0:01:14.802 ***** 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-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 10 February 2024 13:22:48 +0000 (0:00:00.026) 0:01:14.829 ***** 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-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 10 February 2024 13:22:48 +0000 (0:00:00.024) 0:01:14.853 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 10 February 2024 13:22:48 +0000 (0:00:00.023) 0:01:14.877 ***** 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-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 10 February 2024 13:22:48 +0000 (0:00:00.046) 0:01:14.923 ***** 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-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 10 February 2024 13:22:48 +0000 (0:00:00.023) 0:01:14.947 ***** 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-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 10 February 2024 13:22:48 +0000 (0:00:00.023) 0:01:14.971 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 10 February 2024 13:22:48 +0000 (0:00:00.027) 0:01:14.999 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-weekly-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 10 February 2024 13:22:49 +0000 (0:00:00.564) 0:01:15.563 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 10 February 2024 13:22:49 +0000 (0:00:00.057) 0:01:15.620 ***** 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-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 10 February 2024 13:22:49 +0000 (0:00:00.025) 0:01:15.646 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 10 February 2024 13:22:49 +0000 (0:00:00.030) 0:01:15.676 ***** 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-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 10 February 2024 13:22:49 +0000 (0:00:00.493) 0:01:16.169 ***** 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-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 10 February 2024 13:22:49 +0000 (0:00:00.046) 0:01:16.216 ***** 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-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 10 February 2024 13:22:49 +0000 (0:00:00.055) 0:01:16.272 ***** 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-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 10 February 2024 13:22:50 +0000 (0:00:00.039) 0:01:16.311 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 10 February 2024 13:22:50 +0000 (0:00:00.042) 0:01:16.354 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-weekly-cir0ncdmse/tests/playbooks/tasks/run_test.yml:36 Saturday 10 February 2024 13:22:50 +0000 (0:00:00.209) 0:01:16.563 ***** included: /WORKDIR/git-weekly-cir0ncdmse/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-weekly-cir0ncdmse/tests/playbooks/tasks/assert_profile_absent.yml:3 Saturday 10 February 2024 13:22:50 +0000 (0:00:00.052) 0:01:16.616 ***** included: /WORKDIR/git-weekly-cir0ncdmse/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-weekly-cir0ncdmse/tests/playbooks/tasks/get_profile_stat.yml:3 Saturday 10 February 2024 13:22:50 +0000 (0:00:00.045) 0:01:16.661 ***** 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-cir0ncdmse/tests/playbooks/tasks/get_profile_stat.yml:9 Saturday 10 February 2024 13:22:50 +0000 (0:00:00.048) 0:01:16.710 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-weekly-cir0ncdmse/tests/playbooks/tasks/get_profile_stat.yml:17 Saturday 10 February 2024 13:22:50 +0000 (0:00:00.251) 0:01:16.961 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-weekly-cir0ncdmse/tests/playbooks/tasks/get_profile_stat.yml:25 Saturday 10 February 2024 13:22:50 +0000 (0:00:00.030) 0:01:16.992 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021518", "end": "2024-02-10 13:22:50.899737", "rc": 1, "start": "2024-02-10 13:22:50.878219" } 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-cir0ncdmse/tests/playbooks/tasks/get_profile_stat.yml:35 Saturday 10 February 2024 13:22:50 +0000 (0:00:00.251) 0:01:17.243 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-weekly-cir0ncdmse/tests/playbooks/tasks/get_profile_stat.yml:49 Saturday 10 February 2024 13:22:50 +0000 (0:00:00.039) 0:01:17.282 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-weekly-cir0ncdmse/tests/playbooks/tasks/get_profile_stat.yml:56 Saturday 10 February 2024 13:22:51 +0000 (0:00:00.050) 0:01:17.333 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-weekly-cir0ncdmse/tests/playbooks/tasks/get_profile_stat.yml:62 Saturday 10 February 2024 13:22:51 +0000 (0:00:00.043) 0:01:17.376 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-weekly-cir0ncdmse/tests/playbooks/tasks/get_profile_stat.yml:69 Saturday 10 February 2024 13:22:51 +0000 (0:00:00.083) 0:01:17.460 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-weekly-cir0ncdmse/tests/playbooks/tasks/assert_profile_absent.yml:5 Saturday 10 February 2024 13:22:51 +0000 (0:00:00.031) 0:01:17.492 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-weekly-cir0ncdmse/tests/playbooks/tasks/run_test.yml:42 Saturday 10 February 2024 13:22:51 +0000 (0:00:00.043) 0:01:17.535 ***** included: /WORKDIR/git-weekly-cir0ncdmse/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-weekly-cir0ncdmse/tests/playbooks/tasks/assert_device_absent.yml:3 Saturday 10 February 2024 13:22:51 +0000 (0:00:00.076) 0:01:17.612 ***** included: /WORKDIR/git-weekly-cir0ncdmse/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-weekly-cir0ncdmse/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 10 February 2024 13:22:51 +0000 (0:00:00.072) 0:01:17.684 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-weekly-cir0ncdmse/tests/playbooks/tasks/assert_device_absent.yml:5 Saturday 10 February 2024 13:22:51 +0000 (0:00:00.257) 0:01:17.942 ***** 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-cir0ncdmse/tests/playbooks/tasks/run_test.yml:47 Saturday 10 February 2024 13:22:51 +0000 (0:00:00.037) 0:01:17.979 ***** ok: [sut] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-weekly-cir0ncdmse/tests/playbooks/tasks/run_test.yml:66 Saturday 10 February 2024 13:22:51 +0000 (0:00:00.083) 0:01:18.063 ***** included: /WORKDIR/git-weekly-cir0ncdmse/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-weekly-cir0ncdmse/tests/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 10 February 2024 13:22:51 +0000 (0:00:00.071) 0:01:18.135 ***** 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.041563", "end": "2024-02-10 13:22:52.074097", "rc": 1, "start": "2024-02-10 13:22:52.032534" } 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-cir0ncdmse/tests/playbooks/tests_states.yml:126 Saturday 10 February 2024 13:22:52 +0000 (0:00:00.268) 0:01:18.403 ***** included: /WORKDIR/git-weekly-cir0ncdmse/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-cir0ncdmse/tests/playbooks/tasks/run_test.yml:5 Saturday 10 February 2024 13:22:52 +0000 (0:00:00.050) 0:01:18.453 ***** 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-cir0ncdmse/tests/playbooks/tasks/run_test.yml:9 Saturday 10 February 2024 13:22:52 +0000 (0:00:00.050) 0:01:18.503 ***** 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-cir0ncdmse/tests/playbooks/tasks/run_test.yml:21 Saturday 10 February 2024 13:22:52 +0000 (0:00:00.050) 0:01:18.554 ***** included: /WORKDIR/git-weekly-cir0ncdmse/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-weekly-cir0ncdmse/tests/playbooks/tasks/show_interfaces.yml:3 Saturday 10 February 2024 13:22:52 +0000 (0:00:00.039) 0:01:18.593 ***** included: /WORKDIR/git-weekly-cir0ncdmse/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-weekly-cir0ncdmse/tests/playbooks/tasks/get_current_interfaces.yml:3 Saturday 10 February 2024 13:22:52 +0000 (0:00:00.044) 0:01:18.638 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.004709", "end": "2024-02-10 13:22:53.561322", "rc": 0, "start": "2024-02-10 13:22:52.556613" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-weekly-cir0ncdmse/tests/playbooks/tasks/get_current_interfaces.yml:9 Saturday 10 February 2024 13:22:53 +0000 (0:00:01.252) 0:01:19.890 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-weekly-cir0ncdmse/tests/playbooks/tasks/show_interfaces.yml:5 Saturday 10 February 2024 13:22:53 +0000 (0:00:00.025) 0:01:19.916 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-weekly-cir0ncdmse/tests/playbooks/tasks/run_test.yml:24 Saturday 10 February 2024 13:22:53 +0000 (0:00:00.024) 0:01:19.940 ***** included: /WORKDIR/git-weekly-cir0ncdmse/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-weekly-cir0ncdmse/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-weekly-cir0ncdmse/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-cir0ncdmse/tests/playbooks/tasks/create_bridge_profile.yml:3 Saturday 10 February 2024 13:22:53 +0000 (0:00:00.049) 0:01:19.990 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 10 February 2024 13:22:53 +0000 (0:00:00.041) 0:01:20.031 ***** included: /WORKDIR/git-weekly-cir0ncdmse/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-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 10 February 2024 13:22:53 +0000 (0:00:00.053) 0:01:20.084 ***** 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-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 10 February 2024 13:22:53 +0000 (0:00:00.038) 0:01:20.122 ***** 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-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 10 February 2024 13:22:53 +0000 (0:00:00.038) 0:01:20.161 ***** 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-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 10 February 2024 13:22:53 +0000 (0:00:00.041) 0:01:20.202 ***** 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-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 10 February 2024 13:22:56 +0000 (0:00:02.212) 0:01:22.415 ***** 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-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 10 February 2024 13:22:57 +0000 (0:00:00.908) 0:01:23.323 ***** 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-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 10 February 2024 13:22:57 +0000 (0:00:00.024) 0:01:23.348 ***** 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-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 10 February 2024 13:22:57 +0000 (0:00:00.024) 0:01:23.372 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 10 February 2024 13:22:57 +0000 (0:00:00.036) 0:01:23.409 ***** 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-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 10 February 2024 13:22:57 +0000 (0:00:00.049) 0:01:23.459 ***** 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-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 10 February 2024 13:22:57 +0000 (0:00:00.067) 0:01:23.526 ***** 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-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 10 February 2024 13:22:57 +0000 (0:00:00.038) 0:01:23.565 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 10 February 2024 13:22:57 +0000 (0:00:00.033) 0:01:23.598 ***** 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-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 10 February 2024 13:22:57 +0000 (0:00:00.567) 0:01:24.166 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 10 February 2024 13:22:57 +0000 (0:00:00.027) 0:01:24.193 ***** 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-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 10 February 2024 13:22:57 +0000 (0:00:00.025) 0:01:24.219 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 10 February 2024 13:22:57 +0000 (0:00:00.039) 0:01:24.258 ***** 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, 444d27d4-a578-4db4-bc8a-95ee513b8c50 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-weekly-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 10 February 2024 13:22:58 +0000 (0:00:00.447) 0:01:24.706 ***** 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-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 10 February 2024 13:22:58 +0000 (0:00:00.033) 0:01:24.739 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 444d27d4-a578-4db4-bc8a-95ee513b8c50" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-weekly-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 10 February 2024 13:22:58 +0000 (0:00:00.025) 0:01:24.765 ***** 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, 444d27d4-a578-4db4-bc8a-95ee513b8c50\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 444d27d4-a578-4db4-bc8a-95ee513b8c50" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-weekly-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 10 February 2024 13:22:58 +0000 (0:00:00.034) 0:01:24.799 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 10 February 2024 13:22:58 +0000 (0:00:00.029) 0:01:24.829 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-weekly-cir0ncdmse/tests/playbooks/tasks/create_bridge_profile.yml:14 Saturday 10 February 2024 13:22:58 +0000 (0:00:00.217) 0:01:25.047 ***** 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, 444d27d4-a578-4db4-bc8a-95ee513b8c50\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 444d27d4-a578-4db4-bc8a-95ee513b8c50" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-cir0ncdmse/tests/playbooks/tasks/activate_profile.yml:3 Saturday 10 February 2024 13:22:58 +0000 (0:00:00.037) 0:01:25.084 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 10 February 2024 13:22:58 +0000 (0:00:00.083) 0:01:25.167 ***** included: /WORKDIR/git-weekly-cir0ncdmse/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-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 10 February 2024 13:22:58 +0000 (0:00:00.047) 0:01:25.214 ***** 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-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 10 February 2024 13:22:58 +0000 (0:00:00.040) 0:01:25.255 ***** 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-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 10 February 2024 13:22:59 +0000 (0:00:00.039) 0:01:25.295 ***** 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-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 10 February 2024 13:22:59 +0000 (0:00:00.035) 0:01:25.331 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-weekly-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 10 February 2024 13:23:01 +0000 (0:00:02.288) 0:01:27.619 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-weekly-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 10 February 2024 13:23:02 +0000 (0:00:01.053) 0:01:28.672 ***** 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-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 10 February 2024 13:23:02 +0000 (0:00:00.057) 0:01:28.730 ***** 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-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 10 February 2024 13:23:02 +0000 (0:00:00.027) 0:01:28.758 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 10 February 2024 13:23:02 +0000 (0:00:00.036) 0:01:28.794 ***** 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-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 10 February 2024 13:23:02 +0000 (0:00:00.064) 0:01:28.859 ***** 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-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 10 February 2024 13:23:02 +0000 (0:00:00.031) 0:01:28.890 ***** 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-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 10 February 2024 13:23:02 +0000 (0:00:00.027) 0:01:28.918 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 10 February 2024 13:23:02 +0000 (0:00:00.027) 0:01:28.945 ***** 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-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 10 February 2024 13:23:03 +0000 (0:00:00.559) 0:01:29.504 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 10 February 2024 13:23:03 +0000 (0:00:00.028) 0:01:29.533 ***** 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-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 10 February 2024 13:23:03 +0000 (0:00:00.023) 0:01:29.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-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 10 February 2024 13:23:03 +0000 (0:00:00.060) 0:01:29.617 ***** 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, 444d27d4-a578-4db4-bc8a-95ee513b8c50 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-weekly-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 10 February 2024 13:23:03 +0000 (0:00:00.390) 0:01:30.008 ***** 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-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 10 February 2024 13:23:03 +0000 (0:00:00.042) 0:01:30.050 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 444d27d4-a578-4db4-bc8a-95ee513b8c50 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-weekly-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 10 February 2024 13:23:03 +0000 (0:00:00.056) 0:01:30.106 ***** 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, 444d27d4-a578-4db4-bc8a-95ee513b8c50 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 444d27d4-a578-4db4-bc8a-95ee513b8c50 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-weekly-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 10 February 2024 13:23:03 +0000 (0:00:00.080) 0:01:30.187 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 10 February 2024 13:23:03 +0000 (0:00:00.031) 0:01:30.218 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-cir0ncdmse/tests/playbooks/tasks/remove+down_profile.yml:3 Saturday 10 February 2024 13:23:04 +0000 (0:00:00.226) 0:01:30.445 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 10 February 2024 13:23:04 +0000 (0:00:00.089) 0:01:30.534 ***** included: /WORKDIR/git-weekly-cir0ncdmse/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-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 10 February 2024 13:23:04 +0000 (0:00:00.061) 0:01:30.596 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-weekly-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 10 February 2024 13:23:04 +0000 (0:00:00.061) 0:01:30.657 ***** 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-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 10 February 2024 13:23:04 +0000 (0:00:00.076) 0:01:30.734 ***** 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-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 10 February 2024 13:23:04 +0000 (0:00:00.063) 0:01:30.797 ***** 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-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 10 February 2024 13:23:06 +0000 (0:00:02.384) 0:01:33.182 ***** 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-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 10 February 2024 13:23:07 +0000 (0:00:00.989) 0:01:34.172 ***** 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-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 10 February 2024 13:23:07 +0000 (0:00:00.035) 0:01:34.207 ***** 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-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 10 February 2024 13:23:07 +0000 (0:00:00.052) 0:01:34.260 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 10 February 2024 13:23:08 +0000 (0:00:00.053) 0:01:34.314 ***** 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-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 10 February 2024 13:23:08 +0000 (0:00:00.084) 0:01:34.398 ***** 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-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 10 February 2024 13:23:08 +0000 (0:00:00.093) 0:01:34.492 ***** 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-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 10 February 2024 13:23:08 +0000 (0:00:00.066) 0:01:34.559 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 10 February 2024 13:23:08 +0000 (0:00:00.044) 0:01:34.603 ***** 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-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 10 February 2024 13:23:08 +0000 (0:00:00.643) 0:01:35.246 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 10 February 2024 13:23:08 +0000 (0:00:00.042) 0:01:35.288 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-weekly-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 10 February 2024 13:23:09 +0000 (0:00:00.034) 0:01:35.322 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 10 February 2024 13:23:09 +0000 (0:00:00.048) 0:01:35.371 ***** 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-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 10 February 2024 13:23:09 +0000 (0:00:00.621) 0:01:35.992 ***** 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-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 10 February 2024 13:23:09 +0000 (0:00:00.047) 0:01:36.040 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-weekly-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 10 February 2024 13:23:09 +0000 (0:00:00.044) 0:01:36.084 ***** 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-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 10 February 2024 13:23:09 +0000 (0:00:00.038) 0:01:36.122 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 10 February 2024 13:23:09 +0000 (0:00:00.040) 0:01:36.163 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-weekly-cir0ncdmse/tests/playbooks/tasks/run_test.yml:30 Saturday 10 February 2024 13:23:10 +0000 (0:00:00.211) 0:01:36.375 ***** included: /WORKDIR/git-weekly-cir0ncdmse/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-cir0ncdmse/tests/playbooks/tasks/remove+down_profile.yml:3 Saturday 10 February 2024 13:23:10 +0000 (0:00:00.073) 0:01:36.448 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 10 February 2024 13:23:10 +0000 (0:00:00.040) 0:01:36.488 ***** included: /WORKDIR/git-weekly-cir0ncdmse/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-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 10 February 2024 13:23:10 +0000 (0:00:00.044) 0:01:36.533 ***** 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-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 10 February 2024 13:23:10 +0000 (0:00:00.029) 0:01:36.563 ***** 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-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 10 February 2024 13:23:10 +0000 (0:00:00.024) 0:01:36.587 ***** 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-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 10 February 2024 13:23:10 +0000 (0:00:00.023) 0:01:36.610 ***** 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-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 10 February 2024 13:23:12 +0000 (0:00:02.272) 0:01:38.883 ***** 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-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 10 February 2024 13:23:13 +0000 (0:00:00.941) 0:01:39.824 ***** 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-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 10 February 2024 13:23:13 +0000 (0:00:00.037) 0:01:39.862 ***** 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-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 10 February 2024 13:23:13 +0000 (0:00:00.045) 0:01:39.908 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 10 February 2024 13:23:13 +0000 (0:00:00.038) 0:01:39.946 ***** 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-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 10 February 2024 13:23:13 +0000 (0:00:00.075) 0:01:40.022 ***** 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-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 10 February 2024 13:23:13 +0000 (0:00:00.034) 0:01:40.057 ***** 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-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 10 February 2024 13:23:13 +0000 (0:00:00.033) 0:01:40.090 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 10 February 2024 13:23:13 +0000 (0:00:00.052) 0:01:40.142 ***** 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-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 10 February 2024 13:23:14 +0000 (0:00:00.659) 0:01:40.801 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 10 February 2024 13:23:14 +0000 (0:00:00.035) 0:01:40.837 ***** 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-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 10 February 2024 13:23:14 +0000 (0:00:00.031) 0:01:40.869 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 10 February 2024 13:23:14 +0000 (0:00:00.049) 0:01:40.918 ***** 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-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 10 February 2024 13:23:15 +0000 (0:00:00.417) 0:01:41.336 ***** 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-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 10 February 2024 13:23:15 +0000 (0:00:00.026) 0:01:41.362 ***** 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-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 10 February 2024 13:23:15 +0000 (0:00:00.032) 0:01:41.394 ***** 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-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 10 February 2024 13:23:15 +0000 (0:00:00.030) 0:01:41.425 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 10 February 2024 13:23:15 +0000 (0:00:00.024) 0:01:41.449 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-weekly-cir0ncdmse/tests/playbooks/tasks/run_test.yml:36 Saturday 10 February 2024 13:23:15 +0000 (0:00:00.203) 0:01:41.652 ***** included: /WORKDIR/git-weekly-cir0ncdmse/tests/playbooks/tasks/assert_profile_absent.yml for sut included: /WORKDIR/git-weekly-cir0ncdmse/tests/playbooks/tasks/get_NetworkManager_NVR.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-weekly-cir0ncdmse/tests/playbooks/tasks/assert_profile_absent.yml:3 Saturday 10 February 2024 13:23:15 +0000 (0:00:00.054) 0:01:41.707 ***** included: /WORKDIR/git-weekly-cir0ncdmse/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-weekly-cir0ncdmse/tests/playbooks/tasks/get_profile_stat.yml:3 Saturday 10 February 2024 13:23:15 +0000 (0:00:00.089) 0:01:41.796 ***** 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-cir0ncdmse/tests/playbooks/tasks/get_profile_stat.yml:9 Saturday 10 February 2024 13:23:15 +0000 (0:00:00.029) 0:01:41.826 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-weekly-cir0ncdmse/tests/playbooks/tasks/get_profile_stat.yml:17 Saturday 10 February 2024 13:23:15 +0000 (0:00:00.227) 0:01:42.054 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-weekly-cir0ncdmse/tests/playbooks/tasks/get_profile_stat.yml:25 Saturday 10 February 2024 13:23:15 +0000 (0:00:00.026) 0:01:42.080 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021540", "end": "2024-02-10 13:23:15.986548", "rc": 1, "start": "2024-02-10 13:23:15.965008" } 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-cir0ncdmse/tests/playbooks/tasks/get_profile_stat.yml:35 Saturday 10 February 2024 13:23:16 +0000 (0:00:00.259) 0:01:42.339 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-weekly-cir0ncdmse/tests/playbooks/tasks/get_profile_stat.yml:49 Saturday 10 February 2024 13:23:16 +0000 (0:00:00.034) 0:01:42.374 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-weekly-cir0ncdmse/tests/playbooks/tasks/get_profile_stat.yml:56 Saturday 10 February 2024 13:23:16 +0000 (0:00:00.028) 0:01:42.402 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-weekly-cir0ncdmse/tests/playbooks/tasks/get_profile_stat.yml:62 Saturday 10 February 2024 13:23:16 +0000 (0:00:00.037) 0:01:42.439 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-weekly-cir0ncdmse/tests/playbooks/tasks/get_profile_stat.yml:69 Saturday 10 February 2024 13:23:16 +0000 (0:00:00.025) 0:01:42.464 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-weekly-cir0ncdmse/tests/playbooks/tasks/assert_profile_absent.yml:5 Saturday 10 February 2024 13:23:16 +0000 (0:00:00.026) 0:01:42.491 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /WORKDIR/git-weekly-cir0ncdmse/tests/playbooks/tasks/get_NetworkManager_NVR.yml:7 Saturday 10 February 2024 13:23:16 +0000 (0:00:00.031) 0:01:42.523 ***** ok: [sut] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.360092", "end": "2024-02-10 13:23:16.770844", "rc": 0, "start": "2024-02-10 13:23:16.410752" } STDOUT: NetworkManager-1.42.8-1.fc38 TASK [Store NetworkManager version] ******************************************** task path: /WORKDIR/git-weekly-cir0ncdmse/tests/playbooks/tasks/get_NetworkManager_NVR.yml:14 Saturday 10 February 2024 13:23:16 +0000 (0:00:00.580) 0:01:43.103 ***** ok: [sut] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.42.8-1.fc38" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /WORKDIR/git-weekly-cir0ncdmse/tests/playbooks/tasks/get_NetworkManager_NVR.yml:18 Saturday 10 February 2024 13:23:16 +0000 (0:00:00.068) 0:01:43.172 ***** ok: [sut] => { "networkmanager_nvr": "NetworkManager-1.42.8-1.fc38" } TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-weekly-cir0ncdmse/tests/playbooks/tasks/run_test.yml:42 Saturday 10 February 2024 13:23:16 +0000 (0:00:00.034) 0:01:43.207 ***** included: /WORKDIR/git-weekly-cir0ncdmse/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-weekly-cir0ncdmse/tests/playbooks/tasks/assert_device_absent.yml:3 Saturday 10 February 2024 13:23:16 +0000 (0:00:00.060) 0:01:43.267 ***** included: /WORKDIR/git-weekly-cir0ncdmse/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-weekly-cir0ncdmse/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 10 February 2024 13:23:17 +0000 (0:00:00.048) 0:01:43.315 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-weekly-cir0ncdmse/tests/playbooks/tasks/assert_device_absent.yml:5 Saturday 10 February 2024 13:23:17 +0000 (0:00:00.225) 0:01:43.540 ***** 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-cir0ncdmse/tests/playbooks/tasks/run_test.yml:47 Saturday 10 February 2024 13:23:17 +0000 (0:00:00.029) 0:01:43.570 ***** 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-cir0ncdmse/tests/playbooks/tasks/run_test.yml:66 Saturday 10 February 2024 13:23:17 +0000 (0:00:00.027) 0:01:43.598 ***** included: /WORKDIR/git-weekly-cir0ncdmse/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-weekly-cir0ncdmse/tests/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 10 February 2024 13:23:17 +0000 (0:00:00.051) 0:01:43.649 ***** 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.042459", "end": "2024-02-10 13:23:17.576309", "rc": 1, "start": "2024-02-10 13:23:17.533850" } 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 10 February 2024 13:23:17 +0000 (0:00:00.240) 0:01:43.890 ***** =============================================================================== linux-system-roles.network : Enable and start NetworkManager ------------ 3.07s /WORKDIR/git-weekly-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/main.yml:85 linux-system-roles.network : Check which services are running ----------- 2.38s /WORKDIR/git-weekly-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Enable and start NetworkManager ------------ 2.37s /WORKDIR/git-weekly-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/main.yml:85 linux-system-roles.network : Configure networking connection profiles --- 2.35s /WORKDIR/git-weekly-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Check which services are running ----------- 2.32s /WORKDIR/git-weekly-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.29s /WORKDIR/git-weekly-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.27s /WORKDIR/git-weekly-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.26s /WORKDIR/git-weekly-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.25s /WORKDIR/git-weekly-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.25s /WORKDIR/git-weekly-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.25s /WORKDIR/git-weekly-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.24s /WORKDIR/git-weekly-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.24s /WORKDIR/git-weekly-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.23s /WORKDIR/git-weekly-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.22s /WORKDIR/git-weekly-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.21s /WORKDIR/git-weekly-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.20s /WORKDIR/git-weekly-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.20s /WORKDIR/git-weekly-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Enable and start NetworkManager ------------ 1.87s /WORKDIR/git-weekly-cir0ncdmse/tests/roles/linux-system-roles.network/tasks/main.yml:85 linux-system-roles.network : Configure networking connection profiles --- 1.63s /WORKDIR/git-weekly-cir0ncdmse/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. ---^---^---^---^---^---