# 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-ci_fixd1czykz9/tests/tests_states_nm.yml PLAY [Run playbook 'playbooks/tests_states.yml' with nm as provider] *********** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-ci_fixd1czykz9/tests/tests_states_nm.yml:6 Friday 26 January 2024 21:29:45 +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-ci_fixd1czykz9/tests/tests_states_nm.yml:9 Friday 26 January 2024 21:29:46 +0000 (0:00:00.893) 0:00:00.906 ******** included: /WORKDIR/git-ci_fixd1czykz9/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-ci_fixd1czykz9/tests/tasks/el_repo_setup.yml:3 Friday 26 January 2024 21:29:46 +0000 (0:00:00.182) 0:00:01.089 ******** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-ci_fixd1czykz9/tests/tasks/el_repo_setup.yml:19 Friday 26 January 2024 21:29:46 +0000 (0:00:00.562) 0:00:01.651 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-ci_fixd1czykz9/tests/tasks/el_repo_setup.yml:24 Friday 26 January 2024 21:29:47 +0000 (0:00:00.557) 0:00:02.209 ******** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-ci_fixd1czykz9/tests/tasks/el_repo_setup.yml:28 Friday 26 January 2024 21:29:47 +0000 (0:00:00.031) 0:00:02.241 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-ci_fixd1czykz9/tests/tasks/el_repo_setup.yml:53 Friday 26 January 2024 21:29:47 +0000 (0:00:00.029) 0:00:02.270 ******** included: /WORKDIR/git-ci_fixd1czykz9/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 9] *********************************************************** task path: /WORKDIR/git-ci_fixd1czykz9/tests/tasks/enable_epel.yml:8 Friday 26 January 2024 21:29:47 +0000 (0:00:00.094) 0:00:02.364 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Install yum-utils package] *********************************************** task path: /WORKDIR/git-ci_fixd1czykz9/tests/tasks/enable_epel.yml:24 Friday 26 January 2024 21:29:47 +0000 (0:00:00.013) 0:00:02.377 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-ci_fixd1czykz9/tests/tasks/enable_epel.yml:30 Friday 26 January 2024 21:29:47 +0000 (0:00:00.013) 0:00:02.391 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-ci_fixd1czykz9/tests/tasks/enable_epel.yml:35 Friday 26 January 2024 21:29:47 +0000 (0:00:00.011) 0:00:02.403 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-ci_fixd1czykz9/tests/tasks/enable_epel.yml:40 Friday 26 January 2024 21:29:47 +0000 (0:00:00.037) 0:00:02.440 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /WORKDIR/git-ci_fixd1czykz9/tests/tests_states_nm.yml:11 Friday 26 January 2024 21:29:47 +0000 (0:00:00.028) 0:00:02.468 ******** 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-ci_fixd1czykz9/tests/playbooks/tests_states.yml:3 Friday 26 January 2024 21:29:47 +0000 (0:00:00.091) 0:00:02.559 ******** ok: [sut] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-ci_fixd1czykz9/tests/playbooks/tests_states.yml:11 Friday 26 January 2024 21:29:48 +0000 (0:00:00.662) 0:00:03.221 ******** ok: [sut] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-ci_fixd1czykz9/tests/playbooks/tests_states.yml:22 Friday 26 January 2024 21:29:48 +0000 (0:00:00.027) 0:00:03.249 ******** included: /WORKDIR/git-ci_fixd1czykz9/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile] ******************************************** task path: /WORKDIR/git-ci_fixd1czykz9/tests/playbooks/tasks/run_test.yml:5 Friday 26 January 2024 21:29:48 +0000 (0:00:00.053) 0:00:03.302 ******** ok: [sut] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-ci_fixd1czykz9/tests/playbooks/tasks/run_test.yml:9 Friday 26 January 2024 21:29:48 +0000 (0:00:00.015) 0:00:03.317 ******** 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-ci_fixd1czykz9/tests/playbooks/tasks/run_test.yml:21 Friday 26 January 2024 21:29:48 +0000 (0:00:00.079) 0:00:03.397 ******** included: /WORKDIR/git-ci_fixd1czykz9/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ci_fixd1czykz9/tests/playbooks/tasks/show_interfaces.yml:3 Friday 26 January 2024 21:29:48 +0000 (0:00:00.054) 0:00:03.452 ******** included: /WORKDIR/git-ci_fixd1czykz9/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ci_fixd1czykz9/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 26 January 2024 21:29:48 +0000 (0:00:00.019) 0:00:03.471 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003189", "end": "2024-01-26 21:29:48.888207", "rc": 0, "start": "2024-01-26 21:29:48.885018" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ci_fixd1czykz9/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 26 January 2024 21:29:48 +0000 (0:00:00.302) 0:00:03.773 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ci_fixd1czykz9/tests/playbooks/tasks/show_interfaces.yml:5 Friday 26 January 2024 21:29:48 +0000 (0:00:00.012) 0:00:03.786 ******** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-ci_fixd1czykz9/tests/playbooks/tasks/run_test.yml:24 Friday 26 January 2024 21:29:49 +0000 (0:00:00.071) 0:00:03.858 ******** included: /WORKDIR/git-ci_fixd1czykz9/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-ci_fixd1czykz9/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-ci_fixd1czykz9/tests/playbooks/tasks/delete_interface.yml:3 Friday 26 January 2024 21:29:49 +0000 (0:00:00.078) 0:00:03.936 ******** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.007365", "end": "2024-01-26 21:29:49.441420", "rc": 1, "start": "2024-01-26 21:29:49.434055" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-ci_fixd1czykz9/tests/playbooks/tasks/assert_device_absent.yml:3 Friday 26 January 2024 21:29:49 +0000 (0:00:00.352) 0:00:04.288 ******** included: /WORKDIR/git-ci_fixd1czykz9/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-ci_fixd1czykz9/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 26 January 2024 21:29:49 +0000 (0:00:00.037) 0:00:04.325 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-ci_fixd1czykz9/tests/playbooks/tasks/assert_device_absent.yml:5 Friday 26 January 2024 21:29:49 +0000 (0:00:00.201) 0:00:04.527 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-ci_fixd1czykz9/tests/playbooks/tasks/run_test.yml:30 Friday 26 January 2024 21:29:49 +0000 (0:00:00.020) 0:00:04.548 ******** included: /WORKDIR/git-ci_fixd1czykz9/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-ci_fixd1czykz9/tests/playbooks/tasks/create_bridge_profile.yml:3 Friday 26 January 2024 21:29:49 +0000 (0:00:00.032) 0:00:04.580 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 26 January 2024 21:29:49 +0000 (0:00:00.035) 0:00:04.616 ******** included: /WORKDIR/git-ci_fixd1czykz9/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-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 26 January 2024 21:29:49 +0000 (0:00:00.126) 0:00:04.742 ******** 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-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 26 January 2024 21:29:50 +0000 (0:00:00.108) 0:00:04.851 ******** 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-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 26 January 2024 21:29:50 +0000 (0:00:00.044) 0:00:04.895 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 26 January 2024 21:29:50 +0000 (0:00:00.015) 0:00:04.910 ******** 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-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 26 January 2024 21:29:51 +0000 (0:00:01.661) 0:00:06.571 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 26 January 2024 21:29:53 +0000 (0:00:01.321) 0:00:07.893 ******** 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-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 26 January 2024 21:29:53 +0000 (0:00:00.049) 0:00:07.943 ******** 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-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 26 January 2024 21:29:53 +0000 (0:00:00.056) 0:00:08.000 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 26 January 2024 21:29:53 +0000 (0:00:00.027) 0:00:08.028 ******** 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-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/main.yml:40 Friday 26 January 2024 21:29:53 +0000 (0:00:00.068) 0:00:08.097 ******** 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-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/main.yml:55 Friday 26 January 2024 21:29:53 +0000 (0:00:00.028) 0:00:08.125 ******** 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-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/main.yml:71 Friday 26 January 2024 21:29:53 +0000 (0:00:00.043) 0:00:08.169 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/main.yml:85 Friday 26 January 2024 21:29:53 +0000 (0:00:00.034) 0:00:08.203 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/main.yml:96 Friday 26 January 2024 21:29:54 +0000 (0:00:00.697) 0:00:08.901 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/main.yml:105 Friday 26 January 2024 21:29:54 +0000 (0:00:00.034) 0:00:08.935 ******** 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-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/main.yml:113 Friday 26 January 2024 21:29:54 +0000 (0:00:00.043) 0:00:08.979 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/main.yml:122 Friday 26 January 2024 21:29:54 +0000 (0:00:00.034) 0:00:09.014 ******** 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, c0825331-c9ba-4292-9daf-a955010c645d TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/main.yml:134 Friday 26 January 2024 21:29:54 +0000 (0:00:00.765) 0:00:09.779 ******** 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-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/main.yml:140 Friday 26 January 2024 21:29:55 +0000 (0:00:00.065) 0:00:09.845 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, c0825331-c9ba-4292-9daf-a955010c645d" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/main.yml:144 Friday 26 January 2024 21:29:55 +0000 (0:00:00.064) 0:00:09.910 ******** 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, c0825331-c9ba-4292-9daf-a955010c645d\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, c0825331-c9ba-4292-9daf-a955010c645d" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/main.yml:149 Friday 26 January 2024 21:29:55 +0000 (0:00:00.047) 0:00:09.958 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/main.yml:155 Friday 26 January 2024 21:29:55 +0000 (0:00:00.044) 0:00:10.002 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-ci_fixd1czykz9/tests/playbooks/tasks/create_bridge_profile.yml:14 Friday 26 January 2024 21:29:55 +0000 (0:00:00.483) 0:00:10.485 ******** 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, c0825331-c9ba-4292-9daf-a955010c645d\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, c0825331-c9ba-4292-9daf-a955010c645d" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-ci_fixd1czykz9/tests/playbooks/tasks/run_test.yml:36 Friday 26 January 2024 21:29:55 +0000 (0:00:00.125) 0:00:10.611 ******** included: /WORKDIR/git-ci_fixd1czykz9/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-ci_fixd1czykz9/tests/playbooks/tasks/assert_profile_present.yml:3 Friday 26 January 2024 21:29:55 +0000 (0:00:00.050) 0:00:10.661 ******** included: /WORKDIR/git-ci_fixd1czykz9/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-ci_fixd1czykz9/tests/playbooks/tasks/get_profile_stat.yml:3 Friday 26 January 2024 21:29:55 +0000 (0:00:00.093) 0:00:10.755 ******** 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-ci_fixd1czykz9/tests/playbooks/tasks/get_profile_stat.yml:9 Friday 26 January 2024 21:29:55 +0000 (0:00:00.041) 0:00:10.796 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-ci_fixd1czykz9/tests/playbooks/tasks/get_profile_stat.yml:17 Friday 26 January 2024 21:29:56 +0000 (0:00:00.199) 0:00:10.996 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-ci_fixd1czykz9/tests/playbooks/tasks/get_profile_stat.yml:25 Friday 26 January 2024 21:29:56 +0000 (0:00:00.039) 0:00:11.036 ******** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021617", "end": "2024-01-26 21:29:56.442321", "rc": 0, "start": "2024-01-26 21:29:56.420704" } 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-ci_fixd1czykz9/tests/playbooks/tasks/get_profile_stat.yml:35 Friday 26 January 2024 21:29:56 +0000 (0:00:00.292) 0:00:11.328 ******** 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-ci_fixd1czykz9/tests/playbooks/tasks/get_profile_stat.yml:49 Friday 26 January 2024 21:29:56 +0000 (0:00:00.053) 0:00:11.382 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-ci_fixd1czykz9/tests/playbooks/tasks/get_profile_stat.yml:56 Friday 26 January 2024 21:29:56 +0000 (0:00:00.039) 0:00:11.421 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-ci_fixd1czykz9/tests/playbooks/tasks/get_profile_stat.yml:62 Friday 26 January 2024 21:29:56 +0000 (0:00:00.042) 0:00:11.464 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-ci_fixd1czykz9/tests/playbooks/tasks/get_profile_stat.yml:69 Friday 26 January 2024 21:29:56 +0000 (0:00:00.117) 0:00:11.581 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-ci_fixd1czykz9/tests/playbooks/tasks/assert_profile_present.yml:5 Friday 26 January 2024 21:29:56 +0000 (0:00:00.041) 0:00:11.622 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-ci_fixd1czykz9/tests/playbooks/tasks/assert_profile_present.yml:10 Friday 26 January 2024 21:29:56 +0000 (0:00:00.032) 0:00:11.654 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-ci_fixd1czykz9/tests/playbooks/tasks/assert_profile_present.yml:15 Friday 26 January 2024 21:29:56 +0000 (0:00:00.060) 0:00:11.715 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-ci_fixd1czykz9/tests/playbooks/tasks/run_test.yml:42 Friday 26 January 2024 21:29:56 +0000 (0:00:00.101) 0:00:11.816 ******** included: /WORKDIR/git-ci_fixd1czykz9/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-ci_fixd1czykz9/tests/playbooks/tasks/assert_device_present.yml:3 Friday 26 January 2024 21:29:57 +0000 (0:00:00.085) 0:00:11.902 ******** included: /WORKDIR/git-ci_fixd1czykz9/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-ci_fixd1czykz9/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 26 January 2024 21:29:57 +0000 (0:00:00.249) 0:00:12.151 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1706304594.850189, "block_size": 4096, "blocks": 0, "ctime": 1706304594.850189, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 29782, "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": 1706304594.850189, "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-ci_fixd1czykz9/tests/playbooks/tasks/assert_device_present.yml:5 Friday 26 January 2024 21:29:57 +0000 (0:00:00.576) 0:00:12.728 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can create a profile'] ******************************** task path: /WORKDIR/git-ci_fixd1czykz9/tests/playbooks/tasks/run_test.yml:47 Friday 26 January 2024 21:29:57 +0000 (0:00:00.076) 0:00:12.805 ******** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-ci_fixd1czykz9/tests/playbooks/tasks/run_test.yml:66 Friday 26 January 2024 21:29:58 +0000 (0:00:00.109) 0:00:12.914 ******** included: /WORKDIR/git-ci_fixd1czykz9/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-ci_fixd1czykz9/tests/playbooks/tasks/cleanup_profile+device.yml:3 Friday 26 January 2024 21:29:58 +0000 (0:00:00.098) 0:00:13.013 ******** 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.063726", "end": "2024-01-26 21:29:58.465542", "rc": 1, "start": "2024-01-26 21:29:58.401816" } STDOUT: Connection 'statebr' (c0825331-c9ba-4292-9daf-a955010c645d) successfully deleted. STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-ci_fixd1czykz9/tests/playbooks/tests_states.yml:45 Friday 26 January 2024 21:29:58 +0000 (0:00:00.411) 0:00:13.424 ******** included: /WORKDIR/git-ci_fixd1czykz9/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile without autoconnect] ************************ task path: /WORKDIR/git-ci_fixd1czykz9/tests/playbooks/tasks/run_test.yml:5 Friday 26 January 2024 21:29:58 +0000 (0:00:00.088) 0:00:13.513 ******** ok: [sut] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-ci_fixd1czykz9/tests/playbooks/tasks/run_test.yml:9 Friday 26 January 2024 21:29:58 +0000 (0:00:00.071) 0:00:13.584 ******** 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-ci_fixd1czykz9/tests/playbooks/tasks/run_test.yml:21 Friday 26 January 2024 21:29:58 +0000 (0:00:00.107) 0:00:13.691 ******** included: /WORKDIR/git-ci_fixd1czykz9/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ci_fixd1czykz9/tests/playbooks/tasks/show_interfaces.yml:3 Friday 26 January 2024 21:29:58 +0000 (0:00:00.087) 0:00:13.779 ******** included: /WORKDIR/git-ci_fixd1czykz9/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ci_fixd1czykz9/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 26 January 2024 21:29:59 +0000 (0:00:00.049) 0:00:13.828 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003219", "end": "2024-01-26 21:29:59.239636", "rc": 0, "start": "2024-01-26 21:29:59.236417" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ci_fixd1czykz9/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 26 January 2024 21:29:59 +0000 (0:00:00.265) 0:00:14.094 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ci_fixd1czykz9/tests/playbooks/tasks/show_interfaces.yml:5 Friday 26 January 2024 21:29:59 +0000 (0:00:00.025) 0:00:14.119 ******** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-ci_fixd1czykz9/tests/playbooks/tasks/run_test.yml:24 Friday 26 January 2024 21:29:59 +0000 (0:00:00.021) 0:00:14.141 ******** included: /WORKDIR/git-ci_fixd1czykz9/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-ci_fixd1czykz9/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-ci_fixd1czykz9/tests/playbooks/tasks/delete_interface.yml:3 Friday 26 January 2024 21:29:59 +0000 (0:00:00.084) 0:00:14.226 ******** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.005978", "end": "2024-01-26 21:29:59.621870", "rc": 1, "start": "2024-01-26 21:29:59.615892" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-ci_fixd1czykz9/tests/playbooks/tasks/assert_device_absent.yml:3 Friday 26 January 2024 21:29:59 +0000 (0:00:00.274) 0:00:14.500 ******** included: /WORKDIR/git-ci_fixd1czykz9/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-ci_fixd1czykz9/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 26 January 2024 21:29:59 +0000 (0:00:00.083) 0:00:14.584 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-ci_fixd1czykz9/tests/playbooks/tasks/assert_device_absent.yml:5 Friday 26 January 2024 21:30:00 +0000 (0:00:00.258) 0:00:14.842 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-ci_fixd1czykz9/tests/playbooks/tasks/run_test.yml:30 Friday 26 January 2024 21:30:00 +0000 (0:00:00.042) 0:00:14.884 ******** included: /WORKDIR/git-ci_fixd1czykz9/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-ci_fixd1czykz9/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Friday 26 January 2024 21:30:00 +0000 (0:00:00.091) 0:00:14.975 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 26 January 2024 21:30:00 +0000 (0:00:00.061) 0:00:15.037 ******** included: /WORKDIR/git-ci_fixd1czykz9/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-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 26 January 2024 21:30:00 +0000 (0:00:00.059) 0:00:15.097 ******** 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-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 26 January 2024 21:30:00 +0000 (0:00:00.029) 0:00:15.126 ******** 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-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 26 January 2024 21:30:00 +0000 (0:00:00.036) 0:00:15.163 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 26 January 2024 21:30:00 +0000 (0:00:00.052) 0:00:15.216 ******** 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-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 26 January 2024 21:30:02 +0000 (0:00:01.609) 0:00:16.826 ******** 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-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 26 January 2024 21:30:03 +0000 (0:00:01.117) 0:00:17.943 ******** 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-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 26 January 2024 21:30:03 +0000 (0:00:00.066) 0:00:18.009 ******** 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-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 26 January 2024 21:30:03 +0000 (0:00:00.062) 0:00:18.072 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 26 January 2024 21:30:03 +0000 (0:00:00.078) 0:00:18.151 ******** 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-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/main.yml:40 Friday 26 January 2024 21:30:03 +0000 (0:00:00.075) 0:00:18.226 ******** 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-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/main.yml:55 Friday 26 January 2024 21:30:03 +0000 (0:00:00.101) 0:00:18.328 ******** 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-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/main.yml:71 Friday 26 January 2024 21:30:03 +0000 (0:00:00.063) 0:00:18.391 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/main.yml:85 Friday 26 January 2024 21:30:03 +0000 (0:00:00.051) 0:00:18.442 ******** 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-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/main.yml:96 Friday 26 January 2024 21:30:04 +0000 (0:00:00.456) 0:00:18.899 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/main.yml:105 Friday 26 January 2024 21:30:04 +0000 (0:00:00.029) 0:00:18.929 ******** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/main.yml:113 Friday 26 January 2024 21:30:04 +0000 (0:00:00.042) 0:00:18.972 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/main.yml:122 Friday 26 January 2024 21:30:04 +0000 (0:00:00.110) 0:00:19.082 ******** 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, c6c62861-0519-4934-bde9-d9d2167ad307 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/main.yml:134 Friday 26 January 2024 21:30:04 +0000 (0:00:00.462) 0:00:19.545 ******** 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-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/main.yml:140 Friday 26 January 2024 21:30:04 +0000 (0:00:00.037) 0:00:19.583 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, c6c62861-0519-4934-bde9-d9d2167ad307" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/main.yml:144 Friday 26 January 2024 21:30:04 +0000 (0:00:00.046) 0:00:19.629 ******** 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, c6c62861-0519-4934-bde9-d9d2167ad307\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, c6c62861-0519-4934-bde9-d9d2167ad307" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/main.yml:149 Friday 26 January 2024 21:30:04 +0000 (0:00:00.029) 0:00:19.658 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/main.yml:155 Friday 26 January 2024 21:30:04 +0000 (0:00:00.039) 0:00:19.697 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-ci_fixd1czykz9/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Friday 26 January 2024 21:30:05 +0000 (0:00:00.279) 0:00:19.977 ******** 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, c6c62861-0519-4934-bde9-d9d2167ad307\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, c6c62861-0519-4934-bde9-d9d2167ad307" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-ci_fixd1czykz9/tests/playbooks/tasks/run_test.yml:36 Friday 26 January 2024 21:30:05 +0000 (0:00:00.034) 0:00:20.011 ******** included: /WORKDIR/git-ci_fixd1czykz9/tests/playbooks/tasks/assert_device_absent.yml for sut included: /WORKDIR/git-ci_fixd1czykz9/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-ci_fixd1czykz9/tests/playbooks/tasks/assert_device_absent.yml:3 Friday 26 January 2024 21:30:05 +0000 (0:00:00.054) 0:00:20.066 ******** included: /WORKDIR/git-ci_fixd1czykz9/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-ci_fixd1czykz9/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 26 January 2024 21:30:05 +0000 (0:00:00.050) 0:00:20.117 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-ci_fixd1czykz9/tests/playbooks/tasks/assert_device_absent.yml:5 Friday 26 January 2024 21:30:05 +0000 (0:00:00.249) 0:00:20.366 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-ci_fixd1czykz9/tests/playbooks/tasks/assert_profile_present.yml:3 Friday 26 January 2024 21:30:05 +0000 (0:00:00.050) 0:00:20.416 ******** included: /WORKDIR/git-ci_fixd1czykz9/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-ci_fixd1czykz9/tests/playbooks/tasks/get_profile_stat.yml:3 Friday 26 January 2024 21:30:05 +0000 (0:00:00.082) 0:00:20.499 ******** 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-ci_fixd1czykz9/tests/playbooks/tasks/get_profile_stat.yml:9 Friday 26 January 2024 21:30:05 +0000 (0:00:00.060) 0:00:20.560 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-ci_fixd1czykz9/tests/playbooks/tasks/get_profile_stat.yml:17 Friday 26 January 2024 21:30:05 +0000 (0:00:00.203) 0:00:20.763 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-ci_fixd1czykz9/tests/playbooks/tasks/get_profile_stat.yml:25 Friday 26 January 2024 21:30:05 +0000 (0:00:00.021) 0:00:20.785 ******** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021046", "end": "2024-01-26 21:30:06.154653", "rc": 0, "start": "2024-01-26 21:30:06.133607" } 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-ci_fixd1czykz9/tests/playbooks/tasks/get_profile_stat.yml:35 Friday 26 January 2024 21:30:06 +0000 (0:00:00.233) 0:00:21.018 ******** 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-ci_fixd1czykz9/tests/playbooks/tasks/get_profile_stat.yml:49 Friday 26 January 2024 21:30:06 +0000 (0:00:00.049) 0:00:21.068 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-ci_fixd1czykz9/tests/playbooks/tasks/get_profile_stat.yml:56 Friday 26 January 2024 21:30:06 +0000 (0:00:00.083) 0:00:21.151 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-ci_fixd1czykz9/tests/playbooks/tasks/get_profile_stat.yml:62 Friday 26 January 2024 21:30:06 +0000 (0:00:00.030) 0:00:21.181 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-ci_fixd1czykz9/tests/playbooks/tasks/get_profile_stat.yml:69 Friday 26 January 2024 21:30:06 +0000 (0:00:00.101) 0:00:21.282 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-ci_fixd1czykz9/tests/playbooks/tasks/assert_profile_present.yml:5 Friday 26 January 2024 21:30:06 +0000 (0:00:00.090) 0:00:21.373 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-ci_fixd1czykz9/tests/playbooks/tasks/assert_profile_present.yml:10 Friday 26 January 2024 21:30:06 +0000 (0:00:00.073) 0:00:21.447 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-ci_fixd1czykz9/tests/playbooks/tasks/assert_profile_present.yml:15 Friday 26 January 2024 21:30:06 +0000 (0:00:00.053) 0:00:21.500 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-ci_fixd1czykz9/tests/playbooks/tasks/run_test.yml:42 Friday 26 January 2024 21:30:06 +0000 (0:00:00.041) 0:00:21.542 ******** TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /WORKDIR/git-ci_fixd1czykz9/tests/playbooks/tasks/run_test.yml:47 Friday 26 January 2024 21:30:06 +0000 (0:00:00.039) 0:00:21.581 ******** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-ci_fixd1czykz9/tests/playbooks/tasks/run_test.yml:66 Friday 26 January 2024 21:30:06 +0000 (0:00:00.061) 0:00:21.643 ******** included: /WORKDIR/git-ci_fixd1czykz9/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-ci_fixd1czykz9/tests/playbooks/tasks/cleanup_profile+device.yml:3 Friday 26 January 2024 21:30:06 +0000 (0:00:00.044) 0:00:21.688 ******** 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.041083", "end": "2024-01-26 21:30:07.145223", "rc": 1, "start": "2024-01-26 21:30:07.104140" } STDOUT: Connection 'statebr' (c6c62861-0519-4934-bde9-d9d2167ad307) successfully deleted. STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-ci_fixd1czykz9/tests/playbooks/tests_states.yml:65 Friday 26 January 2024 21:30:07 +0000 (0:00:00.572) 0:00:22.261 ******** included: /WORKDIR/git-ci_fixd1czykz9/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can activate an existing profile] ******************************** task path: /WORKDIR/git-ci_fixd1czykz9/tests/playbooks/tasks/run_test.yml:5 Friday 26 January 2024 21:30:07 +0000 (0:00:00.060) 0:00:22.322 ******** ok: [sut] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-ci_fixd1czykz9/tests/playbooks/tasks/run_test.yml:9 Friday 26 January 2024 21:30:07 +0000 (0:00:00.046) 0:00:22.368 ******** 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-ci_fixd1czykz9/tests/playbooks/tasks/run_test.yml:21 Friday 26 January 2024 21:30:07 +0000 (0:00:00.082) 0:00:22.450 ******** included: /WORKDIR/git-ci_fixd1czykz9/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ci_fixd1czykz9/tests/playbooks/tasks/show_interfaces.yml:3 Friday 26 January 2024 21:30:07 +0000 (0:00:00.071) 0:00:22.522 ******** included: /WORKDIR/git-ci_fixd1czykz9/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ci_fixd1czykz9/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 26 January 2024 21:30:07 +0000 (0:00:00.067) 0:00:22.589 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003294", "end": "2024-01-26 21:30:07.978444", "rc": 0, "start": "2024-01-26 21:30:07.975150" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ci_fixd1czykz9/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 26 January 2024 21:30:08 +0000 (0:00:00.286) 0:00:22.875 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ci_fixd1czykz9/tests/playbooks/tasks/show_interfaces.yml:5 Friday 26 January 2024 21:30:08 +0000 (0:00:00.094) 0:00:22.970 ******** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-ci_fixd1czykz9/tests/playbooks/tasks/run_test.yml:24 Friday 26 January 2024 21:30:08 +0000 (0:00:00.061) 0:00:23.032 ******** included: /WORKDIR/git-ci_fixd1czykz9/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-ci_fixd1czykz9/tests/playbooks/tasks/create_bridge_profile.yml:3 Friday 26 January 2024 21:30:08 +0000 (0:00:00.072) 0:00:23.105 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 26 January 2024 21:30:08 +0000 (0:00:00.092) 0:00:23.197 ******** included: /WORKDIR/git-ci_fixd1czykz9/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-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 26 January 2024 21:30:08 +0000 (0:00:00.073) 0:00:23.270 ******** 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-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 26 January 2024 21:30:08 +0000 (0:00:00.064) 0:00:23.335 ******** 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-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 26 January 2024 21:30:08 +0000 (0:00:00.033) 0:00:23.369 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 26 January 2024 21:30:08 +0000 (0:00:00.023) 0:00:23.392 ******** 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-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 26 January 2024 21:30:10 +0000 (0:00:01.572) 0:00:24.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-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 26 January 2024 21:30:11 +0000 (0:00:01.062) 0:00:26.026 ******** 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-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 26 January 2024 21:30:11 +0000 (0:00:00.024) 0:00:26.051 ******** 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-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 26 January 2024 21:30:11 +0000 (0:00:00.036) 0:00:26.088 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 26 January 2024 21:30:11 +0000 (0:00:00.045) 0:00:26.133 ******** 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-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/main.yml:40 Friday 26 January 2024 21:30:11 +0000 (0:00:00.185) 0:00:26.319 ******** 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-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/main.yml:55 Friday 26 January 2024 21:30:11 +0000 (0:00:00.039) 0:00:26.359 ******** 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-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/main.yml:71 Friday 26 January 2024 21:30:11 +0000 (0:00:00.031) 0:00:26.390 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/main.yml:85 Friday 26 January 2024 21:30:11 +0000 (0:00:00.033) 0:00:26.423 ******** 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-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/main.yml:96 Friday 26 January 2024 21:30:11 +0000 (0:00:00.365) 0:00:26.789 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/main.yml:105 Friday 26 January 2024 21:30:12 +0000 (0:00:00.035) 0:00:26.825 ******** 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-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/main.yml:113 Friday 26 January 2024 21:30:12 +0000 (0:00:00.023) 0:00:26.849 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/main.yml:122 Friday 26 January 2024 21:30:12 +0000 (0:00:00.034) 0:00:26.884 ******** 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, c8d9033d-8f89-489e-adb0-6cb0f3f6eccc TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/main.yml:134 Friday 26 January 2024 21:30:12 +0000 (0:00:00.556) 0:00:27.440 ******** 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-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/main.yml:140 Friday 26 January 2024 21:30:12 +0000 (0:00:00.036) 0:00:27.476 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, c8d9033d-8f89-489e-adb0-6cb0f3f6eccc" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/main.yml:144 Friday 26 January 2024 21:30:12 +0000 (0:00:00.042) 0:00:27.519 ******** 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, c8d9033d-8f89-489e-adb0-6cb0f3f6eccc\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, c8d9033d-8f89-489e-adb0-6cb0f3f6eccc" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/main.yml:149 Friday 26 January 2024 21:30:12 +0000 (0:00:00.047) 0:00:27.567 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/main.yml:155 Friday 26 January 2024 21:30:12 +0000 (0:00:00.030) 0:00:27.597 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-ci_fixd1czykz9/tests/playbooks/tasks/create_bridge_profile.yml:14 Friday 26 January 2024 21:30:13 +0000 (0:00:00.259) 0:00:27.856 ******** 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, c8d9033d-8f89-489e-adb0-6cb0f3f6eccc\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, c8d9033d-8f89-489e-adb0-6cb0f3f6eccc" ] } } TASK [Test] ******************************************************************** task path: /WORKDIR/git-ci_fixd1czykz9/tests/playbooks/tasks/run_test.yml:30 Friday 26 January 2024 21:30:13 +0000 (0:00:00.040) 0:00:27.896 ******** included: /WORKDIR/git-ci_fixd1czykz9/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-ci_fixd1czykz9/tests/playbooks/tasks/activate_profile.yml:3 Friday 26 January 2024 21:30:13 +0000 (0:00:00.129) 0:00:28.026 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 26 January 2024 21:30:13 +0000 (0:00:00.058) 0:00:28.085 ******** included: /WORKDIR/git-ci_fixd1czykz9/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-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 26 January 2024 21:30:13 +0000 (0:00:00.077) 0:00:28.163 ******** 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-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 26 January 2024 21:30:13 +0000 (0:00:00.061) 0:00:28.224 ******** 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-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 26 January 2024 21:30:13 +0000 (0:00:00.099) 0:00:28.324 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 26 January 2024 21:30:13 +0000 (0:00:00.031) 0:00:28.356 ******** 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-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 26 January 2024 21:30:14 +0000 (0:00:01.464) 0:00:29.820 ******** 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-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 26 January 2024 21:30:15 +0000 (0:00:00.989) 0:00:30.810 ******** 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-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 26 January 2024 21:30:16 +0000 (0:00:00.027) 0:00:30.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-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 26 January 2024 21:30:16 +0000 (0:00:00.024) 0:00:30.863 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 26 January 2024 21:30:16 +0000 (0:00:00.031) 0:00:30.894 ******** 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-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/main.yml:40 Friday 26 January 2024 21:30:16 +0000 (0:00:00.044) 0:00:30.938 ******** 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-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/main.yml:55 Friday 26 January 2024 21:30:16 +0000 (0:00:00.102) 0:00:31.041 ******** 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-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/main.yml:71 Friday 26 January 2024 21:30:16 +0000 (0:00:00.045) 0:00:31.086 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/main.yml:85 Friday 26 January 2024 21:30:16 +0000 (0:00:00.050) 0:00:31.137 ******** 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-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/main.yml:96 Friday 26 January 2024 21:30:16 +0000 (0:00:00.452) 0:00:31.590 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/main.yml:105 Friday 26 January 2024 21:30:16 +0000 (0:00:00.064) 0:00:31.654 ******** 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-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/main.yml:113 Friday 26 January 2024 21:30:16 +0000 (0:00:00.065) 0:00:31.719 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/main.yml:122 Friday 26 January 2024 21:30:16 +0000 (0:00:00.041) 0:00:31.761 ******** 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, c8d9033d-8f89-489e-adb0-6cb0f3f6eccc skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/main.yml:134 Friday 26 January 2024 21:30:17 +0000 (0:00:00.449) 0:00:32.211 ******** 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-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/main.yml:140 Friday 26 January 2024 21:30:17 +0000 (0:00:00.066) 0:00:32.278 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, c8d9033d-8f89-489e-adb0-6cb0f3f6eccc skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/main.yml:144 Friday 26 January 2024 21:30:17 +0000 (0:00:00.040) 0:00:32.318 ******** 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, c8d9033d-8f89-489e-adb0-6cb0f3f6eccc skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, c8d9033d-8f89-489e-adb0-6cb0f3f6eccc skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/main.yml:149 Friday 26 January 2024 21:30:17 +0000 (0:00:00.030) 0:00:32.348 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/main.yml:155 Friday 26 January 2024 21:30:17 +0000 (0:00:00.028) 0:00:32.376 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-ci_fixd1czykz9/tests/playbooks/tasks/run_test.yml:36 Friday 26 January 2024 21:30:17 +0000 (0:00:00.214) 0:00:32.591 ******** included: /WORKDIR/git-ci_fixd1czykz9/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-ci_fixd1czykz9/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-ci_fixd1czykz9/tests/playbooks/tasks/assert_device_present.yml:3 Friday 26 January 2024 21:30:17 +0000 (0:00:00.091) 0:00:32.683 ******** included: /WORKDIR/git-ci_fixd1czykz9/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-ci_fixd1czykz9/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 26 January 2024 21:30:17 +0000 (0:00:00.065) 0:00:32.748 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1706304612.5208838, "block_size": 4096, "blocks": 0, "ctime": 1706304612.5208838, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 29913, "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": 1706304612.5208838, "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-ci_fixd1czykz9/tests/playbooks/tasks/assert_device_present.yml:5 Friday 26 January 2024 21:30:18 +0000 (0:00:00.306) 0:00:33.054 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-ci_fixd1czykz9/tests/playbooks/tasks/assert_profile_present.yml:3 Friday 26 January 2024 21:30:18 +0000 (0:00:00.048) 0:00:33.102 ******** included: /WORKDIR/git-ci_fixd1czykz9/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-ci_fixd1czykz9/tests/playbooks/tasks/get_profile_stat.yml:3 Friday 26 January 2024 21:30:18 +0000 (0:00:00.090) 0:00:33.193 ******** 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-ci_fixd1czykz9/tests/playbooks/tasks/get_profile_stat.yml:9 Friday 26 January 2024 21:30:18 +0000 (0:00:00.050) 0:00:33.243 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-ci_fixd1czykz9/tests/playbooks/tasks/get_profile_stat.yml:17 Friday 26 January 2024 21:30:18 +0000 (0:00:00.228) 0:00:33.471 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-ci_fixd1czykz9/tests/playbooks/tasks/get_profile_stat.yml:25 Friday 26 January 2024 21:30:18 +0000 (0:00:00.058) 0:00:33.530 ******** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021608", "end": "2024-01-26 21:30:18.951744", "rc": 0, "start": "2024-01-26 21:30:18.930136" } 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-ci_fixd1czykz9/tests/playbooks/tasks/get_profile_stat.yml:35 Friday 26 January 2024 21:30:19 +0000 (0:00:00.354) 0:00:33.884 ******** 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-ci_fixd1czykz9/tests/playbooks/tasks/get_profile_stat.yml:49 Friday 26 January 2024 21:30:19 +0000 (0:00:00.063) 0:00:33.948 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-ci_fixd1czykz9/tests/playbooks/tasks/get_profile_stat.yml:56 Friday 26 January 2024 21:30:19 +0000 (0:00:00.068) 0:00:34.016 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-ci_fixd1czykz9/tests/playbooks/tasks/get_profile_stat.yml:62 Friday 26 January 2024 21:30:19 +0000 (0:00:00.112) 0:00:34.129 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-ci_fixd1czykz9/tests/playbooks/tasks/get_profile_stat.yml:69 Friday 26 January 2024 21:30:19 +0000 (0:00:00.098) 0:00:34.227 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-ci_fixd1czykz9/tests/playbooks/tasks/assert_profile_present.yml:5 Friday 26 January 2024 21:30:19 +0000 (0:00:00.037) 0:00:34.264 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-ci_fixd1czykz9/tests/playbooks/tasks/assert_profile_present.yml:10 Friday 26 January 2024 21:30:19 +0000 (0:00:00.066) 0:00:34.331 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-ci_fixd1czykz9/tests/playbooks/tasks/assert_profile_present.yml:15 Friday 26 January 2024 21:30:19 +0000 (0:00:00.031) 0:00:34.362 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-ci_fixd1czykz9/tests/playbooks/tasks/run_test.yml:42 Friday 26 January 2024 21:30:19 +0000 (0:00:00.121) 0:00:34.484 ******** TASK [Success in test 'I can activate an existing profile'] ******************** task path: /WORKDIR/git-ci_fixd1czykz9/tests/playbooks/tasks/run_test.yml:47 Friday 26 January 2024 21:30:19 +0000 (0:00:00.057) 0:00:34.541 ******** ok: [sut] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-ci_fixd1czykz9/tests/playbooks/tasks/run_test.yml:66 Friday 26 January 2024 21:30:19 +0000 (0:00:00.126) 0:00:34.668 ******** included: /WORKDIR/git-ci_fixd1czykz9/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-ci_fixd1czykz9/tests/playbooks/tasks/cleanup_profile+device.yml:3 Friday 26 January 2024 21:30:19 +0000 (0:00:00.087) 0:00:34.755 ******** 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.069758", "end": "2024-01-26 21:30:20.207103", "rc": 1, "start": "2024-01-26 21:30:20.137345" } STDOUT: Connection 'statebr' (c8d9033d-8f89-489e-adb0-6cb0f3f6eccc) successfully deleted. STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-ci_fixd1czykz9/tests/playbooks/tests_states.yml:83 Friday 26 January 2024 21:30:20 +0000 (0:00:00.326) 0:00:35.082 ******** included: /WORKDIR/git-ci_fixd1czykz9/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can remove an existing profile without taking it down] *********** task path: /WORKDIR/git-ci_fixd1czykz9/tests/playbooks/tasks/run_test.yml:5 Friday 26 January 2024 21:30:20 +0000 (0:00:00.056) 0:00:35.139 ******** ok: [sut] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-ci_fixd1czykz9/tests/playbooks/tasks/run_test.yml:9 Friday 26 January 2024 21:30:20 +0000 (0:00:00.063) 0:00:35.202 ******** 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-ci_fixd1czykz9/tests/playbooks/tasks/run_test.yml:21 Friday 26 January 2024 21:30:20 +0000 (0:00:00.106) 0:00:35.309 ******** included: /WORKDIR/git-ci_fixd1czykz9/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ci_fixd1czykz9/tests/playbooks/tasks/show_interfaces.yml:3 Friday 26 January 2024 21:30:20 +0000 (0:00:00.054) 0:00:35.364 ******** included: /WORKDIR/git-ci_fixd1czykz9/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ci_fixd1czykz9/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 26 January 2024 21:30:20 +0000 (0:00:00.039) 0:00:35.403 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003309", "end": "2024-01-26 21:30:20.759726", "rc": 0, "start": "2024-01-26 21:30:20.756417" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ci_fixd1czykz9/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 26 January 2024 21:30:20 +0000 (0:00:00.209) 0:00:35.613 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ci_fixd1czykz9/tests/playbooks/tasks/show_interfaces.yml:5 Friday 26 January 2024 21:30:20 +0000 (0:00:00.029) 0:00:35.642 ******** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-ci_fixd1czykz9/tests/playbooks/tasks/run_test.yml:24 Friday 26 January 2024 21:30:20 +0000 (0:00:00.034) 0:00:35.677 ******** included: /WORKDIR/git-ci_fixd1czykz9/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-ci_fixd1czykz9/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-ci_fixd1czykz9/tests/playbooks/tasks/create_bridge_profile.yml:3 Friday 26 January 2024 21:30:20 +0000 (0:00:00.077) 0:00:35.755 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 26 January 2024 21:30:20 +0000 (0:00:00.052) 0:00:35.807 ******** included: /WORKDIR/git-ci_fixd1czykz9/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-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 26 January 2024 21:30:21 +0000 (0:00:00.047) 0:00:35.855 ******** 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-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 26 January 2024 21:30:21 +0000 (0:00:00.039) 0:00:35.894 ******** 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-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 26 January 2024 21:30:21 +0000 (0:00:00.024) 0:00:35.919 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 26 January 2024 21:30:21 +0000 (0:00:00.023) 0:00:35.942 ******** 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-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 26 January 2024 21:30:22 +0000 (0:00:01.443) 0:00:37.385 ******** 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-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 26 January 2024 21:30:23 +0000 (0:00:01.037) 0:00:38.423 ******** 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-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 26 January 2024 21:30:23 +0000 (0:00:00.044) 0:00:38.468 ******** 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-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 26 January 2024 21:30:23 +0000 (0:00:00.095) 0:00:38.563 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 26 January 2024 21:30:23 +0000 (0:00:00.052) 0:00:38.616 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/main.yml:40 Friday 26 January 2024 21:30:23 +0000 (0:00:00.067) 0:00:38.683 ******** 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-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/main.yml:55 Friday 26 January 2024 21:30:23 +0000 (0:00:00.056) 0:00:38.740 ******** 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-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/main.yml:71 Friday 26 January 2024 21:30:23 +0000 (0:00:00.049) 0:00:38.790 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/main.yml:85 Friday 26 January 2024 21:30:24 +0000 (0:00:00.062) 0:00:38.852 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/main.yml:96 Friday 26 January 2024 21:30:24 +0000 (0:00:00.471) 0:00:39.323 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/main.yml:105 Friday 26 January 2024 21:30:24 +0000 (0:00:00.042) 0:00:39.366 ******** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/main.yml:113 Friday 26 January 2024 21:30:24 +0000 (0:00:00.029) 0:00:39.395 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/main.yml:122 Friday 26 January 2024 21:30:24 +0000 (0:00:00.116) 0:00:39.511 ******** 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, c8cedb06-b0ac-41ec-9828-ba1ec734db71 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/main.yml:134 Friday 26 January 2024 21:30:25 +0000 (0:00:00.486) 0:00:39.998 ******** 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-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/main.yml:140 Friday 26 January 2024 21:30:25 +0000 (0:00:00.057) 0:00:40.055 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, c8cedb06-b0ac-41ec-9828-ba1ec734db71" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/main.yml:144 Friday 26 January 2024 21:30:25 +0000 (0:00:00.114) 0:00:40.170 ******** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, c8cedb06-b0ac-41ec-9828-ba1ec734db71\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, c8cedb06-b0ac-41ec-9828-ba1ec734db71" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/main.yml:149 Friday 26 January 2024 21:30:25 +0000 (0:00:00.065) 0:00:40.235 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/main.yml:155 Friday 26 January 2024 21:30:25 +0000 (0:00:00.066) 0:00:40.302 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-ci_fixd1czykz9/tests/playbooks/tasks/create_bridge_profile.yml:14 Friday 26 January 2024 21:30:25 +0000 (0:00:00.208) 0:00:40.510 ******** 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, c8cedb06-b0ac-41ec-9828-ba1ec734db71\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, c8cedb06-b0ac-41ec-9828-ba1ec734db71" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-ci_fixd1czykz9/tests/playbooks/tasks/activate_profile.yml:3 Friday 26 January 2024 21:30:25 +0000 (0:00:00.032) 0:00:40.543 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 26 January 2024 21:30:25 +0000 (0:00:00.084) 0:00:40.627 ******** included: /WORKDIR/git-ci_fixd1czykz9/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-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 26 January 2024 21:30:25 +0000 (0:00:00.065) 0:00:40.693 ******** 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-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 26 January 2024 21:30:25 +0000 (0:00:00.052) 0:00:40.745 ******** 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-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 26 January 2024 21:30:25 +0000 (0:00:00.065) 0:00:40.810 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 26 January 2024 21:30:26 +0000 (0:00:00.035) 0:00:40.846 ******** 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-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 26 January 2024 21:30:27 +0000 (0:00:01.481) 0:00:42.328 ******** 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-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 26 January 2024 21:30:28 +0000 (0:00:01.047) 0:00:43.375 ******** 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-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 26 January 2024 21:30:28 +0000 (0:00:00.034) 0:00:43.410 ******** 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-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 26 January 2024 21:30:28 +0000 (0:00:00.049) 0:00:43.459 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 26 January 2024 21:30:28 +0000 (0:00:00.061) 0:00:43.521 ******** 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-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/main.yml:40 Friday 26 January 2024 21:30:28 +0000 (0:00:00.052) 0:00:43.573 ******** 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-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/main.yml:55 Friday 26 January 2024 21:30:28 +0000 (0:00:00.030) 0:00:43.604 ******** 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-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/main.yml:71 Friday 26 January 2024 21:30:28 +0000 (0:00:00.034) 0:00:43.639 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/main.yml:85 Friday 26 January 2024 21:30:28 +0000 (0:00:00.036) 0:00:43.676 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/main.yml:96 Friday 26 January 2024 21:30:29 +0000 (0:00:00.370) 0:00:44.046 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/main.yml:105 Friday 26 January 2024 21:30:29 +0000 (0:00:00.040) 0:00:44.087 ******** 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-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/main.yml:113 Friday 26 January 2024 21:30:29 +0000 (0:00:00.030) 0:00:44.117 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/main.yml:122 Friday 26 January 2024 21:30:29 +0000 (0:00:00.026) 0:00:44.144 ******** 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, c8cedb06-b0ac-41ec-9828-ba1ec734db71 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/main.yml:134 Friday 26 January 2024 21:30:29 +0000 (0:00:00.378) 0:00:44.522 ******** 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-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/main.yml:140 Friday 26 January 2024 21:30:29 +0000 (0:00:00.052) 0:00:44.575 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, c8cedb06-b0ac-41ec-9828-ba1ec734db71 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/main.yml:144 Friday 26 January 2024 21:30:29 +0000 (0:00:00.093) 0:00:44.668 ******** 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, c8cedb06-b0ac-41ec-9828-ba1ec734db71 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, c8cedb06-b0ac-41ec-9828-ba1ec734db71 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/main.yml:149 Friday 26 January 2024 21:30:29 +0000 (0:00:00.025) 0:00:44.693 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/main.yml:155 Friday 26 January 2024 21:30:29 +0000 (0:00:00.044) 0:00:44.738 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-ci_fixd1czykz9/tests/playbooks/tasks/run_test.yml:30 Friday 26 January 2024 21:30:30 +0000 (0:00:00.217) 0:00:44.955 ******** included: /WORKDIR/git-ci_fixd1czykz9/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-ci_fixd1czykz9/tests/playbooks/tasks/remove_profile.yml:3 Friday 26 January 2024 21:30:30 +0000 (0:00:00.101) 0:00:45.057 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 26 January 2024 21:30:30 +0000 (0:00:00.098) 0:00:45.155 ******** included: /WORKDIR/git-ci_fixd1czykz9/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-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 26 January 2024 21:30:30 +0000 (0:00:00.057) 0:00:45.212 ******** 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-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 26 January 2024 21:30:30 +0000 (0:00:00.058) 0:00:45.271 ******** 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-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 26 January 2024 21:30:30 +0000 (0:00:00.027) 0:00:45.299 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 26 January 2024 21:30:30 +0000 (0:00:00.041) 0:00:45.341 ******** 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-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 26 January 2024 21:30:31 +0000 (0:00:01.477) 0:00:46.818 ******** 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-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 26 January 2024 21:30:33 +0000 (0:00:01.021) 0:00:47.839 ******** 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-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 26 January 2024 21:30:33 +0000 (0:00:00.034) 0:00:47.874 ******** 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-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 26 January 2024 21:30:33 +0000 (0:00:00.162) 0:00:48.036 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 26 January 2024 21:30:33 +0000 (0:00:00.048) 0:00:48.085 ******** 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-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/main.yml:40 Friday 26 January 2024 21:30:33 +0000 (0:00:00.096) 0:00:48.182 ******** 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-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/main.yml:55 Friday 26 January 2024 21:30:33 +0000 (0:00:00.053) 0:00:48.235 ******** 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-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/main.yml:71 Friday 26 January 2024 21:30:33 +0000 (0:00:00.038) 0:00:48.274 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/main.yml:85 Friday 26 January 2024 21:30:33 +0000 (0:00:00.031) 0:00:48.305 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/main.yml:96 Friday 26 January 2024 21:30:33 +0000 (0:00:00.448) 0:00:48.754 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/main.yml:105 Friday 26 January 2024 21:30:33 +0000 (0:00:00.059) 0:00:48.813 ******** 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-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/main.yml:113 Friday 26 January 2024 21:30:34 +0000 (0:00:00.037) 0:00:48.850 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/main.yml:122 Friday 26 January 2024 21:30:34 +0000 (0:00:00.038) 0:00:48.889 ******** 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-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/main.yml:134 Friday 26 January 2024 21:30:34 +0000 (0:00:00.436) 0:00:49.325 ******** 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-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/main.yml:140 Friday 26 January 2024 21:30:34 +0000 (0:00:00.025) 0:00:49.350 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/main.yml:144 Friday 26 January 2024 21:30:34 +0000 (0:00:00.049) 0:00:49.400 ******** 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-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/main.yml:149 Friday 26 January 2024 21:30:34 +0000 (0:00:00.068) 0:00:49.469 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/main.yml:155 Friday 26 January 2024 21:30:34 +0000 (0:00:00.023) 0:00:49.493 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-ci_fixd1czykz9/tests/playbooks/tasks/run_test.yml:36 Friday 26 January 2024 21:30:34 +0000 (0:00:00.214) 0:00:49.707 ******** included: /WORKDIR/git-ci_fixd1czykz9/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-ci_fixd1czykz9/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-ci_fixd1czykz9/tests/playbooks/tasks/assert_device_present.yml:3 Friday 26 January 2024 21:30:34 +0000 (0:00:00.095) 0:00:49.803 ******** included: /WORKDIR/git-ci_fixd1czykz9/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-ci_fixd1czykz9/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 26 January 2024 21:30:35 +0000 (0:00:00.066) 0:00:49.870 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1706304625.0655239, "block_size": 4096, "blocks": 0, "ctime": 1706304625.0655239, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 30044, "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": 1706304625.0655239, "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-ci_fixd1czykz9/tests/playbooks/tasks/assert_device_present.yml:5 Friday 26 January 2024 21:30:35 +0000 (0:00:00.236) 0:00:50.106 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-ci_fixd1czykz9/tests/playbooks/tasks/assert_profile_absent.yml:3 Friday 26 January 2024 21:30:35 +0000 (0:00:00.027) 0:00:50.133 ******** included: /WORKDIR/git-ci_fixd1czykz9/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-ci_fixd1czykz9/tests/playbooks/tasks/get_profile_stat.yml:3 Friday 26 January 2024 21:30:35 +0000 (0:00:00.096) 0:00:50.230 ******** 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-ci_fixd1czykz9/tests/playbooks/tasks/get_profile_stat.yml:9 Friday 26 January 2024 21:30:35 +0000 (0:00:00.038) 0:00:50.268 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-ci_fixd1czykz9/tests/playbooks/tasks/get_profile_stat.yml:17 Friday 26 January 2024 21:30:35 +0000 (0:00:00.230) 0:00:50.499 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-ci_fixd1czykz9/tests/playbooks/tasks/get_profile_stat.yml:25 Friday 26 January 2024 21:30:35 +0000 (0:00:00.054) 0:00:50.554 ******** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021641", "end": "2024-01-26 21:30:35.922116", "rc": 1, "start": "2024-01-26 21:30:35.900475" } 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-ci_fixd1czykz9/tests/playbooks/tasks/get_profile_stat.yml:35 Friday 26 January 2024 21:30:35 +0000 (0:00:00.243) 0:00:50.797 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-ci_fixd1czykz9/tests/playbooks/tasks/get_profile_stat.yml:49 Friday 26 January 2024 21:30:36 +0000 (0:00:00.125) 0:00:50.923 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-ci_fixd1czykz9/tests/playbooks/tasks/get_profile_stat.yml:56 Friday 26 January 2024 21:30:36 +0000 (0:00:00.059) 0:00:50.983 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-ci_fixd1czykz9/tests/playbooks/tasks/get_profile_stat.yml:62 Friday 26 January 2024 21:30:36 +0000 (0:00:00.027) 0:00:51.010 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-ci_fixd1czykz9/tests/playbooks/tasks/get_profile_stat.yml:69 Friday 26 January 2024 21:30:36 +0000 (0:00:00.063) 0:00:51.074 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-ci_fixd1czykz9/tests/playbooks/tasks/assert_profile_absent.yml:5 Friday 26 January 2024 21:30:36 +0000 (0:00:00.072) 0:00:51.147 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-ci_fixd1czykz9/tests/playbooks/tasks/run_test.yml:42 Friday 26 January 2024 21:30:36 +0000 (0:00:00.029) 0:00:51.176 ******** TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /WORKDIR/git-ci_fixd1czykz9/tests/playbooks/tasks/run_test.yml:47 Friday 26 January 2024 21:30:36 +0000 (0:00:00.030) 0:00:51.207 ******** ok: [sut] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-ci_fixd1czykz9/tests/playbooks/tasks/run_test.yml:66 Friday 26 January 2024 21:30:36 +0000 (0:00:00.032) 0:00:51.240 ******** included: /WORKDIR/git-ci_fixd1czykz9/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-ci_fixd1czykz9/tests/playbooks/tasks/cleanup_profile+device.yml:3 Friday 26 January 2024 21:30:36 +0000 (0:00:00.044) 0:00:51.284 ******** 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.063964", "end": "2024-01-26 21:30:36.753466", "rc": 1, "start": "2024-01-26 21:30:36.689502" } STDOUT: Connection 'statebr' (c8cedb06-b0ac-41ec-9828-ba1ec734db71) successfully deleted. STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-ci_fixd1czykz9/tests/playbooks/tests_states.yml:103 Friday 26 January 2024 21:30:36 +0000 (0:00:00.349) 0:00:51.633 ******** included: /WORKDIR/git-ci_fixd1czykz9/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can take a profile down that is absent] ************************** task path: /WORKDIR/git-ci_fixd1czykz9/tests/playbooks/tasks/run_test.yml:5 Friday 26 January 2024 21:30:36 +0000 (0:00:00.052) 0:00:51.686 ******** ok: [sut] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-ci_fixd1czykz9/tests/playbooks/tasks/run_test.yml:9 Friday 26 January 2024 21:30:36 +0000 (0:00:00.025) 0:00:51.711 ******** 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-ci_fixd1czykz9/tests/playbooks/tasks/run_test.yml:21 Friday 26 January 2024 21:30:36 +0000 (0:00:00.073) 0:00:51.784 ******** included: /WORKDIR/git-ci_fixd1czykz9/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ci_fixd1czykz9/tests/playbooks/tasks/show_interfaces.yml:3 Friday 26 January 2024 21:30:37 +0000 (0:00:00.062) 0:00:51.846 ******** included: /WORKDIR/git-ci_fixd1czykz9/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ci_fixd1czykz9/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 26 January 2024 21:30:37 +0000 (0:00:00.082) 0:00:51.928 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003210", "end": "2024-01-26 21:30:37.336637", "rc": 0, "start": "2024-01-26 21:30:37.333427" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ci_fixd1czykz9/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 26 January 2024 21:30:37 +0000 (0:00:00.287) 0:00:52.216 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ci_fixd1czykz9/tests/playbooks/tasks/show_interfaces.yml:5 Friday 26 January 2024 21:30:37 +0000 (0:00:00.033) 0:00:52.250 ******** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-ci_fixd1czykz9/tests/playbooks/tasks/run_test.yml:24 Friday 26 January 2024 21:30:37 +0000 (0:00:00.065) 0:00:52.315 ******** included: /WORKDIR/git-ci_fixd1czykz9/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-ci_fixd1czykz9/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-ci_fixd1czykz9/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-ci_fixd1czykz9/tests/playbooks/tasks/create_bridge_profile.yml:3 Friday 26 January 2024 21:30:37 +0000 (0:00:00.127) 0:00:52.443 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 26 January 2024 21:30:37 +0000 (0:00:00.047) 0:00:52.490 ******** included: /WORKDIR/git-ci_fixd1czykz9/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-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 26 January 2024 21:30:37 +0000 (0:00:00.057) 0:00:52.547 ******** 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-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 26 January 2024 21:30:37 +0000 (0:00:00.029) 0:00:52.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-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 26 January 2024 21:30:37 +0000 (0:00:00.028) 0:00:52.605 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 26 January 2024 21:30:37 +0000 (0:00:00.024) 0:00:52.630 ******** 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-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 26 January 2024 21:30:39 +0000 (0:00:01.504) 0:00:54.134 ******** 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-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 26 January 2024 21:30:40 +0000 (0:00:01.072) 0:00:55.207 ******** 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-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 26 January 2024 21:30:40 +0000 (0:00:00.152) 0:00:55.359 ******** 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-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 26 January 2024 21:30:40 +0000 (0:00:00.065) 0:00:55.425 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 26 January 2024 21:30:40 +0000 (0:00:00.049) 0:00:55.475 ******** 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-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/main.yml:40 Friday 26 January 2024 21:30:40 +0000 (0:00:00.090) 0:00:55.565 ******** 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-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/main.yml:55 Friday 26 January 2024 21:30:40 +0000 (0:00:00.037) 0:00:55.603 ******** 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-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/main.yml:71 Friday 26 January 2024 21:30:40 +0000 (0:00:00.049) 0:00:55.652 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/main.yml:85 Friday 26 January 2024 21:30:40 +0000 (0:00:00.045) 0:00:55.698 ******** 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-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/main.yml:96 Friday 26 January 2024 21:30:41 +0000 (0:00:00.453) 0:00:56.151 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/main.yml:105 Friday 26 January 2024 21:30:41 +0000 (0:00:00.045) 0:00:56.197 ******** 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-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/main.yml:113 Friday 26 January 2024 21:30:41 +0000 (0:00:00.025) 0:00:56.222 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/main.yml:122 Friday 26 January 2024 21:30:41 +0000 (0:00:00.027) 0:00:56.250 ******** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add connection statebr, a58c05e0-052b-402a-9ea3-c2b71bae43f1 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/main.yml:134 Friday 26 January 2024 21:30:41 +0000 (0:00:00.442) 0:00:56.693 ******** 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-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/main.yml:140 Friday 26 January 2024 21:30:41 +0000 (0:00:00.052) 0:00:56.745 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, a58c05e0-052b-402a-9ea3-c2b71bae43f1" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/main.yml:144 Friday 26 January 2024 21:30:41 +0000 (0:00:00.042) 0:00:56.787 ******** 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, a58c05e0-052b-402a-9ea3-c2b71bae43f1\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, a58c05e0-052b-402a-9ea3-c2b71bae43f1" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/main.yml:149 Friday 26 January 2024 21:30:42 +0000 (0:00:00.071) 0:00:56.859 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/main.yml:155 Friday 26 January 2024 21:30:42 +0000 (0:00:00.030) 0:00:56.890 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-ci_fixd1czykz9/tests/playbooks/tasks/create_bridge_profile.yml:14 Friday 26 January 2024 21:30:42 +0000 (0:00:00.256) 0:00:57.146 ******** 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, a58c05e0-052b-402a-9ea3-c2b71bae43f1\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, a58c05e0-052b-402a-9ea3-c2b71bae43f1" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-ci_fixd1czykz9/tests/playbooks/tasks/activate_profile.yml:3 Friday 26 January 2024 21:30:42 +0000 (0:00:00.035) 0:00:57.182 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 26 January 2024 21:30:42 +0000 (0:00:00.060) 0:00:57.242 ******** included: /WORKDIR/git-ci_fixd1czykz9/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-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 26 January 2024 21:30:42 +0000 (0:00:00.051) 0:00:57.294 ******** 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-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 26 January 2024 21:30:42 +0000 (0:00:00.032) 0:00:57.326 ******** 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-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 26 January 2024 21:30:42 +0000 (0:00:00.045) 0:00:57.371 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 26 January 2024 21:30:42 +0000 (0:00:00.074) 0:00:57.445 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 26 January 2024 21:30:44 +0000 (0:00:01.425) 0:00:58.871 ******** 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-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 26 January 2024 21:30:45 +0000 (0:00:01.093) 0:00:59.964 ******** 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-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 26 January 2024 21:30:45 +0000 (0:00:00.035) 0:01:00.000 ******** 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-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 26 January 2024 21:30:45 +0000 (0:00:00.035) 0:01:00.035 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 26 January 2024 21:30:45 +0000 (0:00:00.030) 0:01:00.066 ******** 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-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/main.yml:40 Friday 26 January 2024 21:30:45 +0000 (0:00:00.046) 0:01:00.112 ******** 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-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/main.yml:55 Friday 26 January 2024 21:30:45 +0000 (0:00:00.034) 0:01:00.146 ******** 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-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/main.yml:71 Friday 26 January 2024 21:30:45 +0000 (0:00:00.037) 0:01:00.184 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/main.yml:85 Friday 26 January 2024 21:30:45 +0000 (0:00:00.071) 0:01:00.256 ******** 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-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/main.yml:96 Friday 26 January 2024 21:30:45 +0000 (0:00:00.420) 0:01:00.676 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/main.yml:105 Friday 26 January 2024 21:30:45 +0000 (0:00:00.068) 0:01:00.745 ******** 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-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/main.yml:113 Friday 26 January 2024 21:30:45 +0000 (0:00:00.051) 0:01:00.796 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/main.yml:122 Friday 26 January 2024 21:30:46 +0000 (0:00:00.079) 0:01:00.876 ******** 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, a58c05e0-052b-402a-9ea3-c2b71bae43f1 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/main.yml:134 Friday 26 January 2024 21:30:46 +0000 (0:00:00.416) 0:01:01.292 ******** 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-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/main.yml:140 Friday 26 January 2024 21:30:46 +0000 (0:00:00.060) 0:01:01.352 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, a58c05e0-052b-402a-9ea3-c2b71bae43f1 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/main.yml:144 Friday 26 January 2024 21:30:46 +0000 (0:00:00.052) 0:01:01.405 ******** 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, a58c05e0-052b-402a-9ea3-c2b71bae43f1 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, a58c05e0-052b-402a-9ea3-c2b71bae43f1 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/main.yml:149 Friday 26 January 2024 21:30:46 +0000 (0:00:00.068) 0:01:01.474 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/main.yml:155 Friday 26 January 2024 21:30:46 +0000 (0:00:00.087) 0:01:01.561 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-ci_fixd1czykz9/tests/playbooks/tasks/remove_profile.yml:3 Friday 26 January 2024 21:30:46 +0000 (0:00:00.248) 0:01:01.810 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 26 January 2024 21:30:47 +0000 (0:00:00.135) 0:01:01.945 ******** included: /WORKDIR/git-ci_fixd1czykz9/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-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 26 January 2024 21:30:47 +0000 (0:00:00.093) 0:01:02.039 ******** 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-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 26 January 2024 21:30:47 +0000 (0:00:00.084) 0:01:02.124 ******** 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-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 26 January 2024 21:30:47 +0000 (0:00:00.042) 0:01:02.166 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 26 January 2024 21:30:47 +0000 (0:00:00.023) 0:01:02.189 ******** 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-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 26 January 2024 21:30:48 +0000 (0:00:01.435) 0:01:03.625 ******** 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-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 26 January 2024 21:30:49 +0000 (0:00:01.105) 0:01:04.730 ******** 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-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 26 January 2024 21:30:49 +0000 (0:00:00.024) 0:01:04.754 ******** 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-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 26 January 2024 21:30:49 +0000 (0:00:00.035) 0:01:04.790 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 26 January 2024 21:30:49 +0000 (0:00:00.031) 0:01:04.822 ******** 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-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/main.yml:40 Friday 26 January 2024 21:30:50 +0000 (0:00:00.061) 0:01:04.884 ******** 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-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/main.yml:55 Friday 26 January 2024 21:30:50 +0000 (0:00:00.037) 0:01:04.921 ******** 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-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/main.yml:71 Friday 26 January 2024 21:30:50 +0000 (0:00:00.032) 0:01:04.954 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/main.yml:85 Friday 26 January 2024 21:30:50 +0000 (0:00:00.039) 0:01:04.994 ******** 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-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/main.yml:96 Friday 26 January 2024 21:30:50 +0000 (0:00:00.444) 0:01:05.438 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/main.yml:105 Friday 26 January 2024 21:30:50 +0000 (0:00:00.106) 0:01:05.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 : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/main.yml:113 Friday 26 January 2024 21:30:50 +0000 (0:00:00.100) 0:01:05.645 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/main.yml:122 Friday 26 January 2024 21:30:50 +0000 (0:00:00.057) 0:01:05.703 ******** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/main.yml:134 Friday 26 January 2024 21:30:51 +0000 (0:00:00.494) 0:01:06.197 ******** 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-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/main.yml:140 Friday 26 January 2024 21:30:51 +0000 (0:00:00.027) 0:01:06.225 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/main.yml:144 Friday 26 January 2024 21:30:51 +0000 (0:00:00.036) 0:01:06.261 ******** 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-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/main.yml:149 Friday 26 January 2024 21:30:51 +0000 (0:00:00.043) 0:01:06.305 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/main.yml:155 Friday 26 January 2024 21:30:51 +0000 (0:00:00.034) 0:01:06.340 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-ci_fixd1czykz9/tests/playbooks/tasks/run_test.yml:30 Friday 26 January 2024 21:30:51 +0000 (0:00:00.300) 0:01:06.640 ******** included: /WORKDIR/git-ci_fixd1czykz9/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-ci_fixd1czykz9/tests/playbooks/tasks/remove+down_profile.yml:3 Friday 26 January 2024 21:30:51 +0000 (0:00:00.086) 0:01:06.727 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 26 January 2024 21:30:51 +0000 (0:00:00.058) 0:01:06.785 ******** included: /WORKDIR/git-ci_fixd1czykz9/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-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 26 January 2024 21:30:52 +0000 (0:00:00.054) 0:01:06.840 ******** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 26 January 2024 21:30:52 +0000 (0:00:00.055) 0:01:06.895 ******** 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-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 26 January 2024 21:30:52 +0000 (0:00:00.037) 0:01:06.933 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 26 January 2024 21:30:52 +0000 (0:00:00.025) 0:01:06.959 ******** 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-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 26 January 2024 21:30:53 +0000 (0:00:01.440) 0:01:08.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-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 26 January 2024 21:30:54 +0000 (0:00:01.119) 0:01:09.519 ******** 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-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 26 January 2024 21:30:54 +0000 (0:00:00.064) 0:01:09.584 ******** 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-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 26 January 2024 21:30:54 +0000 (0:00:00.040) 0:01:09.625 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 26 January 2024 21:30:54 +0000 (0:00:00.023) 0:01:09.648 ******** 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-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/main.yml:40 Friday 26 January 2024 21:30:54 +0000 (0:00:00.073) 0:01:09.721 ******** 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-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/main.yml:55 Friday 26 January 2024 21:30:54 +0000 (0:00:00.026) 0:01:09.748 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/main.yml:71 Friday 26 January 2024 21:30:54 +0000 (0:00:00.024) 0:01:09.773 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/main.yml:85 Friday 26 January 2024 21:30:54 +0000 (0:00:00.030) 0:01:09.803 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/main.yml:96 Friday 26 January 2024 21:30:55 +0000 (0:00:00.361) 0:01:10.165 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/main.yml:105 Friday 26 January 2024 21:30:55 +0000 (0:00:00.026) 0:01:10.192 ******** 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-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/main.yml:113 Friday 26 January 2024 21:30:55 +0000 (0:00:00.039) 0:01:10.232 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/main.yml:122 Friday 26 January 2024 21:30:55 +0000 (0:00:00.040) 0:01:10.272 ******** 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-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/main.yml:134 Friday 26 January 2024 21:30:56 +0000 (0:00:00.570) 0:01:10.843 ******** 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-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/main.yml:140 Friday 26 January 2024 21:30:56 +0000 (0:00:00.033) 0:01:10.877 ******** 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-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/main.yml:144 Friday 26 January 2024 21:30:56 +0000 (0:00:00.026) 0:01:10.903 ******** 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-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/main.yml:149 Friday 26 January 2024 21:30:56 +0000 (0:00:00.025) 0:01:10.928 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/main.yml:155 Friday 26 January 2024 21:30:56 +0000 (0:00:00.106) 0:01:11.035 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-ci_fixd1czykz9/tests/playbooks/tasks/run_test.yml:36 Friday 26 January 2024 21:30:56 +0000 (0:00:00.226) 0:01:11.261 ******** included: /WORKDIR/git-ci_fixd1czykz9/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-ci_fixd1czykz9/tests/playbooks/tasks/assert_profile_absent.yml:3 Friday 26 January 2024 21:30:56 +0000 (0:00:00.063) 0:01:11.324 ******** included: /WORKDIR/git-ci_fixd1czykz9/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-ci_fixd1czykz9/tests/playbooks/tasks/get_profile_stat.yml:3 Friday 26 January 2024 21:30:56 +0000 (0:00:00.063) 0:01:11.387 ******** 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-ci_fixd1czykz9/tests/playbooks/tasks/get_profile_stat.yml:9 Friday 26 January 2024 21:30:56 +0000 (0:00:00.033) 0:01:11.420 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-ci_fixd1czykz9/tests/playbooks/tasks/get_profile_stat.yml:17 Friday 26 January 2024 21:30:56 +0000 (0:00:00.221) 0:01:11.642 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-ci_fixd1czykz9/tests/playbooks/tasks/get_profile_stat.yml:25 Friday 26 January 2024 21:30:56 +0000 (0:00:00.077) 0:01:11.720 ******** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.019804", "end": "2024-01-26 21:30:57.117572", "rc": 1, "start": "2024-01-26 21:30:57.097768" } 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-ci_fixd1czykz9/tests/playbooks/tasks/get_profile_stat.yml:35 Friday 26 January 2024 21:30:57 +0000 (0:00:00.257) 0:01:11.977 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-ci_fixd1czykz9/tests/playbooks/tasks/get_profile_stat.yml:49 Friday 26 January 2024 21:30:57 +0000 (0:00:00.065) 0:01:12.042 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-ci_fixd1czykz9/tests/playbooks/tasks/get_profile_stat.yml:56 Friday 26 January 2024 21:30:57 +0000 (0:00:00.080) 0:01:12.123 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-ci_fixd1czykz9/tests/playbooks/tasks/get_profile_stat.yml:62 Friday 26 January 2024 21:30:57 +0000 (0:00:00.119) 0:01:12.243 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-ci_fixd1czykz9/tests/playbooks/tasks/get_profile_stat.yml:69 Friday 26 January 2024 21:30:57 +0000 (0:00:00.068) 0:01:12.312 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-ci_fixd1czykz9/tests/playbooks/tasks/assert_profile_absent.yml:5 Friday 26 January 2024 21:30:57 +0000 (0:00:00.046) 0:01:12.358 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-ci_fixd1czykz9/tests/playbooks/tasks/run_test.yml:42 Friday 26 January 2024 21:30:57 +0000 (0:00:00.027) 0:01:12.386 ******** included: /WORKDIR/git-ci_fixd1czykz9/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-ci_fixd1czykz9/tests/playbooks/tasks/assert_device_absent.yml:3 Friday 26 January 2024 21:30:57 +0000 (0:00:00.109) 0:01:12.495 ******** included: /WORKDIR/git-ci_fixd1czykz9/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-ci_fixd1czykz9/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 26 January 2024 21:30:57 +0000 (0:00:00.083) 0:01:12.579 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-ci_fixd1czykz9/tests/playbooks/tasks/assert_device_absent.yml:5 Friday 26 January 2024 21:30:58 +0000 (0:00:00.268) 0:01:12.847 ******** 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-ci_fixd1czykz9/tests/playbooks/tasks/run_test.yml:47 Friday 26 January 2024 21:30:58 +0000 (0:00:00.047) 0:01:12.895 ******** ok: [sut] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-ci_fixd1czykz9/tests/playbooks/tasks/run_test.yml:66 Friday 26 January 2024 21:30:58 +0000 (0:00:00.079) 0:01:12.975 ******** included: /WORKDIR/git-ci_fixd1czykz9/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-ci_fixd1czykz9/tests/playbooks/tasks/cleanup_profile+device.yml:3 Friday 26 January 2024 21:30:58 +0000 (0:00:00.050) 0:01:13.025 ******** 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.039016", "end": "2024-01-26 21:30:58.407319", "rc": 1, "start": "2024-01-26 21:30:58.368303" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-ci_fixd1czykz9/tests/playbooks/tests_states.yml:126 Friday 26 January 2024 21:30:58 +0000 (0:00:00.235) 0:01:13.261 ******** included: /WORKDIR/git-ci_fixd1czykz9/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-ci_fixd1czykz9/tests/playbooks/tasks/run_test.yml:5 Friday 26 January 2024 21:30:58 +0000 (0:00:00.077) 0:01:13.338 ******** ok: [sut] => {} MSG: ########## I will not get an error when I try to remove an absent profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-ci_fixd1czykz9/tests/playbooks/tasks/run_test.yml:9 Friday 26 January 2024 21:30:58 +0000 (0:00:00.069) 0:01:13.407 ******** 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-ci_fixd1czykz9/tests/playbooks/tasks/run_test.yml:21 Friday 26 January 2024 21:30:58 +0000 (0:00:00.158) 0:01:13.565 ******** included: /WORKDIR/git-ci_fixd1czykz9/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ci_fixd1czykz9/tests/playbooks/tasks/show_interfaces.yml:3 Friday 26 January 2024 21:30:58 +0000 (0:00:00.050) 0:01:13.616 ******** included: /WORKDIR/git-ci_fixd1czykz9/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ci_fixd1czykz9/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 26 January 2024 21:30:58 +0000 (0:00:00.112) 0:01:13.728 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003201", "end": "2024-01-26 21:30:59.082643", "rc": 0, "start": "2024-01-26 21:30:59.079442" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ci_fixd1czykz9/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 26 January 2024 21:30:59 +0000 (0:00:00.222) 0:01:13.951 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ci_fixd1czykz9/tests/playbooks/tasks/show_interfaces.yml:5 Friday 26 January 2024 21:30:59 +0000 (0:00:00.044) 0:01:13.996 ******** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-ci_fixd1czykz9/tests/playbooks/tasks/run_test.yml:24 Friday 26 January 2024 21:30:59 +0000 (0:00:00.055) 0:01:14.051 ******** included: /WORKDIR/git-ci_fixd1czykz9/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-ci_fixd1czykz9/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-ci_fixd1czykz9/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-ci_fixd1czykz9/tests/playbooks/tasks/create_bridge_profile.yml:3 Friday 26 January 2024 21:30:59 +0000 (0:00:00.075) 0:01:14.127 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 26 January 2024 21:30:59 +0000 (0:00:00.065) 0:01:14.192 ******** included: /WORKDIR/git-ci_fixd1czykz9/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-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 26 January 2024 21:30:59 +0000 (0:00:00.059) 0:01:14.252 ******** 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-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 26 January 2024 21:30:59 +0000 (0:00:00.036) 0:01:14.288 ******** 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-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 26 January 2024 21:30:59 +0000 (0:00:00.029) 0:01:14.318 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 26 January 2024 21:30:59 +0000 (0:00:00.023) 0:01:14.341 ******** 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-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 26 January 2024 21:31:01 +0000 (0:00:01.535) 0:01:15.876 ******** 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-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 26 January 2024 21:31:02 +0000 (0:00:01.023) 0:01:16.900 ******** 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-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 26 January 2024 21:31:02 +0000 (0:00:00.037) 0:01:16.938 ******** 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-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 26 January 2024 21:31:02 +0000 (0:00:00.031) 0:01:16.970 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 26 January 2024 21:31:02 +0000 (0:00:00.023) 0:01:16.994 ******** 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-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/main.yml:40 Friday 26 January 2024 21:31:02 +0000 (0:00:00.083) 0:01:17.077 ******** 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-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/main.yml:55 Friday 26 January 2024 21:31:02 +0000 (0:00:00.034) 0:01:17.111 ******** 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-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/main.yml:71 Friday 26 January 2024 21:31:02 +0000 (0:00:00.060) 0:01:17.172 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/main.yml:85 Friday 26 January 2024 21:31:02 +0000 (0:00:00.059) 0:01:17.232 ******** 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-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/main.yml:96 Friday 26 January 2024 21:31:02 +0000 (0:00:00.375) 0:01:17.607 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/main.yml:105 Friday 26 January 2024 21:31:02 +0000 (0:00:00.026) 0:01:17.634 ******** 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-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/main.yml:113 Friday 26 January 2024 21:31:02 +0000 (0:00:00.024) 0:01:17.658 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/main.yml:122 Friday 26 January 2024 21:31:02 +0000 (0:00:00.051) 0:01:17.709 ******** 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, 3b72c7d9-3d50-4220-91af-734e4e57103e TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/main.yml:134 Friday 26 January 2024 21:31:03 +0000 (0:00:00.524) 0:01:18.234 ******** 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-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/main.yml:140 Friday 26 January 2024 21:31:03 +0000 (0:00:00.022) 0:01:18.257 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 3b72c7d9-3d50-4220-91af-734e4e57103e" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/main.yml:144 Friday 26 January 2024 21:31:03 +0000 (0:00:00.040) 0:01:18.298 ******** 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, 3b72c7d9-3d50-4220-91af-734e4e57103e\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 3b72c7d9-3d50-4220-91af-734e4e57103e" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/main.yml:149 Friday 26 January 2024 21:31:03 +0000 (0:00:00.054) 0:01:18.352 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/main.yml:155 Friday 26 January 2024 21:31:03 +0000 (0:00:00.050) 0:01:18.403 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-ci_fixd1czykz9/tests/playbooks/tasks/create_bridge_profile.yml:14 Friday 26 January 2024 21:31:03 +0000 (0:00:00.257) 0:01:18.661 ******** 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, 3b72c7d9-3d50-4220-91af-734e4e57103e\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 3b72c7d9-3d50-4220-91af-734e4e57103e" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-ci_fixd1czykz9/tests/playbooks/tasks/activate_profile.yml:3 Friday 26 January 2024 21:31:03 +0000 (0:00:00.034) 0:01:18.695 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 26 January 2024 21:31:03 +0000 (0:00:00.074) 0:01:18.770 ******** included: /WORKDIR/git-ci_fixd1czykz9/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-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 26 January 2024 21:31:04 +0000 (0:00:00.092) 0:01:18.862 ******** 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-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 26 January 2024 21:31:04 +0000 (0:00:00.072) 0:01:18.934 ******** 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-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 26 January 2024 21:31:04 +0000 (0:00:00.040) 0:01:18.975 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 26 January 2024 21:31:04 +0000 (0:00:00.031) 0:01:19.006 ******** 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-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 26 January 2024 21:31:05 +0000 (0:00:01.498) 0:01:20.505 ******** 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-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 26 January 2024 21:31:06 +0000 (0:00:01.050) 0:01:21.555 ******** 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-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 26 January 2024 21:31:06 +0000 (0:00:00.046) 0:01:21.601 ******** 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-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 26 January 2024 21:31:06 +0000 (0:00:00.051) 0:01:21.653 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 26 January 2024 21:31:06 +0000 (0:00:00.058) 0:01:21.711 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/main.yml:40 Friday 26 January 2024 21:31:06 +0000 (0:00:00.085) 0:01:21.797 ******** 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-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/main.yml:55 Friday 26 January 2024 21:31:07 +0000 (0:00:00.045) 0:01:21.842 ******** 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-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/main.yml:71 Friday 26 January 2024 21:31:07 +0000 (0:00:00.047) 0:01:21.890 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/main.yml:85 Friday 26 January 2024 21:31:07 +0000 (0:00:00.068) 0:01:21.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 : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/main.yml:96 Friday 26 January 2024 21:31:07 +0000 (0:00:00.534) 0:01:22.493 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/main.yml:105 Friday 26 January 2024 21:31:07 +0000 (0:00:00.069) 0:01:22.562 ******** 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-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/main.yml:113 Friday 26 January 2024 21:31:07 +0000 (0:00:00.040) 0:01:22.603 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/main.yml:122 Friday 26 January 2024 21:31:07 +0000 (0:00:00.076) 0:01:22.680 ******** 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, 3b72c7d9-3d50-4220-91af-734e4e57103e skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/main.yml:134 Friday 26 January 2024 21:31:08 +0000 (0:00:00.404) 0:01:23.084 ******** 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-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/main.yml:140 Friday 26 January 2024 21:31:08 +0000 (0:00:00.020) 0:01:23.105 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 3b72c7d9-3d50-4220-91af-734e4e57103e skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/main.yml:144 Friday 26 January 2024 21:31:08 +0000 (0:00:00.021) 0:01:23.127 ******** 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, 3b72c7d9-3d50-4220-91af-734e4e57103e skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 3b72c7d9-3d50-4220-91af-734e4e57103e skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/main.yml:149 Friday 26 January 2024 21:31:08 +0000 (0:00:00.023) 0:01:23.150 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/main.yml:155 Friday 26 January 2024 21:31:08 +0000 (0:00:00.020) 0:01:23.170 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-ci_fixd1czykz9/tests/playbooks/tasks/remove+down_profile.yml:3 Friday 26 January 2024 21:31:08 +0000 (0:00:00.214) 0:01:23.385 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 26 January 2024 21:31:08 +0000 (0:00:00.054) 0:01:23.440 ******** included: /WORKDIR/git-ci_fixd1czykz9/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-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 26 January 2024 21:31:08 +0000 (0:00:00.060) 0:01:23.501 ******** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 26 January 2024 21:31:08 +0000 (0:00:00.080) 0:01:23.581 ******** 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-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 26 January 2024 21:31:08 +0000 (0:00:00.028) 0:01:23.610 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 26 January 2024 21:31:08 +0000 (0:00:00.060) 0:01:23.670 ******** 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-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 26 January 2024 21:31:10 +0000 (0:00:01.520) 0:01:25.191 ******** 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-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 26 January 2024 21:31:11 +0000 (0:00:01.046) 0:01:26.237 ******** 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-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 26 January 2024 21:31:11 +0000 (0:00:00.032) 0:01:26.270 ******** 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-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 26 January 2024 21:31:11 +0000 (0:00:00.029) 0:01:26.300 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 26 January 2024 21:31:11 +0000 (0:00:00.040) 0:01:26.340 ******** 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-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/main.yml:40 Friday 26 January 2024 21:31:11 +0000 (0:00:00.077) 0:01:26.418 ******** 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-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/main.yml:55 Friday 26 January 2024 21:31:11 +0000 (0:00:00.032) 0:01:26.450 ******** 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-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/main.yml:71 Friday 26 January 2024 21:31:11 +0000 (0:00:00.052) 0:01:26.503 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/main.yml:85 Friday 26 January 2024 21:31:11 +0000 (0:00:00.038) 0:01:26.542 ******** 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-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/main.yml:96 Friday 26 January 2024 21:31:12 +0000 (0:00:00.437) 0:01:26.980 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/main.yml:105 Friday 26 January 2024 21:31:12 +0000 (0:00:00.034) 0:01:27.014 ******** 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-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/main.yml:113 Friday 26 January 2024 21:31:12 +0000 (0:00:00.093) 0:01:27.107 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/main.yml:122 Friday 26 January 2024 21:31:12 +0000 (0:00:00.031) 0:01:27.138 ******** 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-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/main.yml:134 Friday 26 January 2024 21:31:12 +0000 (0:00:00.465) 0:01:27.604 ******** 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-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/main.yml:140 Friday 26 January 2024 21:31:12 +0000 (0:00:00.050) 0:01:27.655 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/main.yml:144 Friday 26 January 2024 21:31:12 +0000 (0:00:00.032) 0:01:27.688 ******** 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-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/main.yml:149 Friday 26 January 2024 21:31:12 +0000 (0:00:00.029) 0:01:27.717 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/main.yml:155 Friday 26 January 2024 21:31:12 +0000 (0:00:00.041) 0:01:27.759 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-ci_fixd1czykz9/tests/playbooks/tasks/run_test.yml:30 Friday 26 January 2024 21:31:13 +0000 (0:00:00.236) 0:01:27.995 ******** included: /WORKDIR/git-ci_fixd1czykz9/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-ci_fixd1czykz9/tests/playbooks/tasks/remove+down_profile.yml:3 Friday 26 January 2024 21:31:13 +0000 (0:00:00.060) 0:01:28.056 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 26 January 2024 21:31:13 +0000 (0:00:00.058) 0:01:28.115 ******** included: /WORKDIR/git-ci_fixd1czykz9/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-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 26 January 2024 21:31:13 +0000 (0:00:00.051) 0:01:28.166 ******** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 26 January 2024 21:31:13 +0000 (0:00:00.028) 0:01:28.195 ******** 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-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 26 January 2024 21:31:13 +0000 (0:00:00.053) 0:01:28.249 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 26 January 2024 21:31:13 +0000 (0:00:00.035) 0:01:28.284 ******** 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-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 26 January 2024 21:31:14 +0000 (0:00:01.533) 0:01:29.818 ******** 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-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 26 January 2024 21:31:16 +0000 (0:00:01.035) 0:01:30.854 ******** 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-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 26 January 2024 21:31:16 +0000 (0:00:00.022) 0:01:30.877 ******** 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-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 26 January 2024 21:31:16 +0000 (0:00:00.023) 0:01:30.900 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 26 January 2024 21:31:16 +0000 (0:00:00.021) 0:01:30.922 ******** 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-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/main.yml:40 Friday 26 January 2024 21:31:16 +0000 (0:00:00.048) 0:01:30.970 ******** 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-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/main.yml:55 Friday 26 January 2024 21:31:16 +0000 (0:00:00.023) 0:01:30.994 ******** 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-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/main.yml:71 Friday 26 January 2024 21:31:16 +0000 (0:00:00.038) 0:01:31.032 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/main.yml:85 Friday 26 January 2024 21:31:16 +0000 (0:00:00.065) 0:01:31.097 ******** 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-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/main.yml:96 Friday 26 January 2024 21:31:16 +0000 (0:00:00.365) 0:01:31.462 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/main.yml:105 Friday 26 January 2024 21:31:16 +0000 (0:00:00.026) 0:01:31.489 ******** 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-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/main.yml:113 Friday 26 January 2024 21:31:16 +0000 (0:00:00.033) 0:01:31.522 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/main.yml:122 Friday 26 January 2024 21:31:16 +0000 (0:00:00.036) 0:01:31.559 ******** 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-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/main.yml:134 Friday 26 January 2024 21:31:17 +0000 (0:00:00.389) 0:01:31.949 ******** 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-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/main.yml:140 Friday 26 January 2024 21:31:17 +0000 (0:00:00.028) 0:01:31.977 ******** 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-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/main.yml:144 Friday 26 January 2024 21:31:17 +0000 (0:00:00.035) 0:01:32.012 ******** 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-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/main.yml:149 Friday 26 January 2024 21:31:17 +0000 (0:00:00.037) 0:01:32.050 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/main.yml:155 Friday 26 January 2024 21:31:17 +0000 (0:00:00.048) 0:01:32.099 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-ci_fixd1czykz9/tests/playbooks/tasks/run_test.yml:36 Friday 26 January 2024 21:31:17 +0000 (0:00:00.201) 0:01:32.300 ******** included: /WORKDIR/git-ci_fixd1czykz9/tests/playbooks/tasks/assert_profile_absent.yml for sut included: /WORKDIR/git-ci_fixd1czykz9/tests/playbooks/tasks/get_NetworkManager_NVR.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-ci_fixd1czykz9/tests/playbooks/tasks/assert_profile_absent.yml:3 Friday 26 January 2024 21:31:17 +0000 (0:00:00.047) 0:01:32.348 ******** included: /WORKDIR/git-ci_fixd1czykz9/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-ci_fixd1czykz9/tests/playbooks/tasks/get_profile_stat.yml:3 Friday 26 January 2024 21:31:17 +0000 (0:00:00.038) 0:01:32.386 ******** 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-ci_fixd1czykz9/tests/playbooks/tasks/get_profile_stat.yml:9 Friday 26 January 2024 21:31:17 +0000 (0:00:00.068) 0:01:32.455 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-ci_fixd1czykz9/tests/playbooks/tasks/get_profile_stat.yml:17 Friday 26 January 2024 21:31:17 +0000 (0:00:00.204) 0:01:32.659 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-ci_fixd1czykz9/tests/playbooks/tasks/get_profile_stat.yml:25 Friday 26 January 2024 21:31:17 +0000 (0:00:00.025) 0:01:32.684 ******** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020805", "end": "2024-01-26 21:31:18.052949", "rc": 1, "start": "2024-01-26 21:31:18.032144" } 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-ci_fixd1czykz9/tests/playbooks/tasks/get_profile_stat.yml:35 Friday 26 January 2024 21:31:18 +0000 (0:00:00.221) 0:01:32.906 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-ci_fixd1czykz9/tests/playbooks/tasks/get_profile_stat.yml:49 Friday 26 January 2024 21:31:18 +0000 (0:00:00.023) 0:01:32.930 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-ci_fixd1czykz9/tests/playbooks/tasks/get_profile_stat.yml:56 Friday 26 January 2024 21:31:18 +0000 (0:00:00.046) 0:01:32.976 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-ci_fixd1czykz9/tests/playbooks/tasks/get_profile_stat.yml:62 Friday 26 January 2024 21:31:18 +0000 (0:00:00.030) 0:01:33.006 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-ci_fixd1czykz9/tests/playbooks/tasks/get_profile_stat.yml:69 Friday 26 January 2024 21:31:18 +0000 (0:00:00.028) 0:01:33.035 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-ci_fixd1czykz9/tests/playbooks/tasks/assert_profile_absent.yml:5 Friday 26 January 2024 21:31:18 +0000 (0:00:00.029) 0:01:33.064 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /WORKDIR/git-ci_fixd1czykz9/tests/playbooks/tasks/get_NetworkManager_NVR.yml:7 Friday 26 January 2024 21:31:18 +0000 (0:00:00.038) 0:01:33.102 ******** ok: [sut] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.589597", "end": "2024-01-26 21:31:19.045980", "rc": 0, "start": "2024-01-26 21:31:18.456383" } STDOUT: NetworkManager-1.45.10-1.el9 TASK [Store NetworkManager version] ******************************************** task path: /WORKDIR/git-ci_fixd1czykz9/tests/playbooks/tasks/get_NetworkManager_NVR.yml:14 Friday 26 January 2024 21:31:19 +0000 (0:00:00.798) 0:01:33.901 ******** ok: [sut] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.45.10-1.el9" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /WORKDIR/git-ci_fixd1czykz9/tests/playbooks/tasks/get_NetworkManager_NVR.yml:18 Friday 26 January 2024 21:31:19 +0000 (0:00:00.022) 0:01:33.923 ******** ok: [sut] => { "networkmanager_nvr": "NetworkManager-1.45.10-1.el9" } TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-ci_fixd1czykz9/tests/playbooks/tasks/run_test.yml:42 Friday 26 January 2024 21:31:19 +0000 (0:00:00.024) 0:01:33.948 ******** included: /WORKDIR/git-ci_fixd1czykz9/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-ci_fixd1czykz9/tests/playbooks/tasks/assert_device_absent.yml:3 Friday 26 January 2024 21:31:19 +0000 (0:00:00.072) 0:01:34.020 ******** included: /WORKDIR/git-ci_fixd1czykz9/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-ci_fixd1czykz9/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 26 January 2024 21:31:19 +0000 (0:00:00.038) 0:01:34.059 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-ci_fixd1czykz9/tests/playbooks/tasks/assert_device_absent.yml:5 Friday 26 January 2024 21:31:19 +0000 (0:00:00.218) 0:01:34.278 ******** 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-ci_fixd1czykz9/tests/playbooks/tasks/run_test.yml:47 Friday 26 January 2024 21:31:19 +0000 (0:00:00.029) 0:01:34.308 ******** 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-ci_fixd1czykz9/tests/playbooks/tasks/run_test.yml:66 Friday 26 January 2024 21:31:19 +0000 (0:00:00.034) 0:01:34.342 ******** included: /WORKDIR/git-ci_fixd1czykz9/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-ci_fixd1czykz9/tests/playbooks/tasks/cleanup_profile+device.yml:3 Friday 26 January 2024 21:31:19 +0000 (0:00:00.057) 0:01:34.399 ******** 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.041189", "end": "2024-01-26 21:31:19.792855", "rc": 1, "start": "2024-01-26 21:31:19.751666" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. Cannot find device "statebr" MSG: non-zero return code ...ignoring META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=316 changed=10 unreachable=0 failed=0 skipped=252 rescued=0 ignored=11 Friday 26 January 2024 21:31:19 +0000 (0:00:00.250) 0:01:34.650 ******** =============================================================================== linux-system-roles.network : Configure networking connection profiles --- 2.78s /WORKDIR/git-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Enable and start NetworkManager ------------ 2.36s /WORKDIR/git-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/main.yml:85 linux-system-roles.network : Enable and start NetworkManager ------------ 1.78s /WORKDIR/git-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/main.yml:85 linux-system-roles.network : Check which services are running ----------- 1.66s /WORKDIR/git-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Configure networking connection profiles --- 1.65s /WORKDIR/git-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Check which services are running ----------- 1.61s /WORKDIR/git-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.57s /WORKDIR/git-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.54s /WORKDIR/git-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.53s /WORKDIR/git-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.52s /WORKDIR/git-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.50s /WORKDIR/git-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.50s /WORKDIR/git-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.48s /WORKDIR/git-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.48s /WORKDIR/git-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Re-test connectivity ----------------------- 1.47s /WORKDIR/git-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/main.yml:155 linux-system-roles.network : Check which services are running ----------- 1.46s /WORKDIR/git-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.44s /WORKDIR/git-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.44s /WORKDIR/git-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.44s /WORKDIR/git-ci_fixd1czykz9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Configure networking connection profiles --- 1.43s /WORKDIR/git-ci_fixd1czykz9/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. ---^---^---^---^---^---