# 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_initscripts.yml ***************************************** 2 plays in /WORKDIR/git-weekly-ciit4iowef/tests/tests_states_initscripts.yml PLAY [Run playbook 'playbooks/tests_states.yml' with initscripts as provider] *** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-weekly-ciit4iowef/tests/tests_states_initscripts.yml:5 Saturday 20 January 2024 13:46:33 +0000 (0:00:00.013) 0:00:00.013 ****** ok: [sut] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-weekly-ciit4iowef/tests/tests_states_initscripts.yml:8 Saturday 20 January 2024 13:46:34 +0000 (0:00:00.665) 0:00:00.679 ****** included: /WORKDIR/git-weekly-ciit4iowef/tests/tasks/el_repo_setup.yml for sut TASK [Gather the minimum subset of ansible_facts required by the network role test] *** task path: /WORKDIR/git-weekly-ciit4iowef/tests/tasks/el_repo_setup.yml:3 Saturday 20 January 2024 13:46:34 +0000 (0:00:00.027) 0:00:00.706 ****** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/tasks/el_repo_setup.yml:19 Saturday 20 January 2024 13:46:34 +0000 (0:00:00.359) 0:00:01.066 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/tasks/el_repo_setup.yml:24 Saturday 20 January 2024 13:46:34 +0000 (0:00:00.284) 0:00:01.351 ****** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/tasks/el_repo_setup.yml:28 Saturday 20 January 2024 13:46:34 +0000 (0:00:00.027) 0:00:01.378 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/tasks/el_repo_setup.yml:53 Saturday 20 January 2024 13:46:34 +0000 (0:00:00.018) 0:00:01.397 ****** included: /WORKDIR/git-weekly-ciit4iowef/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 8] *********************************************************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/tasks/enable_epel.yml:8 Saturday 20 January 2024 13:46:34 +0000 (0:00:00.039) 0:00:01.437 ****** ok: [sut] => { "attempts": 1, "changed": false, "cmd": [ "rpm", "-iv", "https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm" ], "rc": 0 } STDOUT: skipped, since /etc/yum.repos.d/epel.repo exists TASK [Install yum-utils package] *********************************************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/tasks/enable_epel.yml:24 Saturday 20 January 2024 13:46:35 +0000 (0:00:00.266) 0:00:01.703 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/tasks/enable_epel.yml:30 Saturday 20 January 2024 13:46:35 +0000 (0:00:00.036) 0:00:01.739 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/tasks/enable_epel.yml:35 Saturday 20 January 2024 13:46:35 +0000 (0:00:00.028) 0:00:01.768 ****** ok: [sut] => { "changed": false, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:01.254409", "end": "2024-01-20 13:46:36.619696", "rc": 0, "start": "2024-01-20 13:46:35.365287" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/tasks/enable_epel.yml:40 Saturday 20 January 2024 13:46:36 +0000 (0:00:01.475) 0:00:03.243 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'initscripts'] *********************************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/tests_states_initscripts.yml:10 Saturday 20 January 2024 13:46:36 +0000 (0:00:00.024) 0:00:03.267 ****** ok: [sut] => { "ansible_facts": { "network_provider": "initscripts" }, "changed": false } META: ran handlers META: ran handlers PLAY [Play for testing states] ************************************************* TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tests_states.yml:3 Saturday 20 January 2024 13:46:36 +0000 (0:00:00.029) 0:00:03.297 ****** ok: [sut] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tests_states.yml:11 Saturday 20 January 2024 13:46:37 +0000 (0:00:00.559) 0:00:03.856 ****** ok: [sut] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tests_states.yml:22 Saturday 20 January 2024 13:46:37 +0000 (0:00:00.033) 0:00:03.890 ****** included: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile] ******************************************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/run_test.yml:5 Saturday 20 January 2024 13:46:37 +0000 (0:00:00.036) 0:00:03.926 ****** ok: [sut] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/run_test.yml:9 Saturday 20 January 2024 13:46:37 +0000 (0:00:00.025) 0:00:03.952 ****** 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": false, "what": "tasks/assert_device_present.yml" } ] } ok: [sut] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [sut] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/run_test.yml:21 Saturday 20 January 2024 13:46:37 +0000 (0:00:00.058) 0:00:04.010 ****** included: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/show_interfaces.yml:3 Saturday 20 January 2024 13:46:37 +0000 (0:00:00.025) 0:00:04.036 ****** included: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/get_current_interfaces.yml:3 Saturday 20 January 2024 13:46:37 +0000 (0:00:00.022) 0:00:04.058 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003779", "end": "2024-01-20 13:46:37.708980", "rc": 0, "start": "2024-01-20 13:46:37.705201" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/get_current_interfaces.yml:9 Saturday 20 January 2024 13:46:37 +0000 (0:00:00.287) 0:00:04.345 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/show_interfaces.yml:5 Saturday 20 January 2024 13:46:37 +0000 (0:00:00.048) 0:00:04.394 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/run_test.yml:24 Saturday 20 January 2024 13:46:37 +0000 (0:00:00.026) 0:00:04.421 ****** included: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/delete_interface.yml:3 Saturday 20 January 2024 13:46:37 +0000 (0:00:00.051) 0:00:04.472 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.008409", "end": "2024-01-20 13:46:38.109068", "rc": 1, "start": "2024-01-20 13:46:38.100659" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/assert_device_absent.yml:3 Saturday 20 January 2024 13:46:38 +0000 (0:00:00.272) 0:00:04.745 ****** included: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 20 January 2024 13:46:38 +0000 (0:00:00.043) 0:00:04.789 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/assert_device_absent.yml:5 Saturday 20 January 2024 13:46:38 +0000 (0:00:00.235) 0:00:05.025 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/run_test.yml:30 Saturday 20 January 2024 13:46:38 +0000 (0:00:00.103) 0:00:05.128 ****** included: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/create_bridge_profile.yml:3 Saturday 20 January 2024 13:46:38 +0000 (0:00:00.053) 0:00:05.181 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 20 January 2024 13:46:38 +0000 (0:00:00.118) 0:00:05.300 ****** included: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 20 January 2024 13:46:38 +0000 (0:00:00.202) 0:00:05.502 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 20 January 2024 13:46:38 +0000 (0:00:00.051) 0:00:05.553 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 20 January 2024 13:46:39 +0000 (0:00:00.053) 0:00:05.607 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 20 January 2024 13:46:39 +0000 (0:00:00.023) 0:00:05.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-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 20 January 2024 13:46:40 +0000 (0:00:01.791) 0:00:07.422 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 20 January 2024 13:46:42 +0000 (0:00:01.754) 0:00:09.177 ****** ok: [sut] => {} MSG: Using network provider: initscripts TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 20 January 2024 13:46:42 +0000 (0:00:00.043) 0:00:09.220 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 20 January 2024 13:46:42 +0000 (0:00:00.024) 0:00:09.245 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 20 January 2024 13:46:42 +0000 (0:00:00.041) 0:00:09.286 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 20 January 2024 13:46:42 +0000 (0:00:00.061) 0:00:09.347 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 20 January 2024 13:46:42 +0000 (0:00:00.031) 0:00:09.379 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 20 January 2024 13:46:42 +0000 (0:00:00.028) 0:00:09.408 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 20 January 2024 13:46:42 +0000 (0:00:00.025) 0:00:09.434 ****** 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 : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 20 January 2024 13:46:42 +0000 (0:00:00.022) 0:00:09.457 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 20 January 2024 13:46:42 +0000 (0:00:00.022) 0:00:09.480 ****** 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 : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 20 January 2024 13:46:43 +0000 (0:00:00.501) 0:00:09.981 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-18509v60nl2sf/tmpk0cicxl3" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 20 January 2024 13:46:43 +0000 (0:00:00.373) 0:00:10.354 ****** 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": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr' TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 20 January 2024 13:46:44 +0000 (0:00:00.804) 0:00:11.158 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 20 January 2024 13:46:44 +0000 (0:00:00.022) 0:00:11.181 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 20 January 2024 13:46:44 +0000 (0:00:00.022) 0:00:11.203 ****** 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": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 20 January 2024 13:46:44 +0000 (0:00:00.022) 0:00:11.226 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 20 January 2024 13:46:44 +0000 (0:00:00.021) 0:00:11.247 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/create_bridge_profile.yml:14 Saturday 20 January 2024 13:46:44 +0000 (0:00:00.261) 0:00:11.509 ****** 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": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/run_test.yml:36 Saturday 20 January 2024 13:46:44 +0000 (0:00:00.026) 0:00:11.536 ****** included: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/assert_profile_present.yml:3 Saturday 20 January 2024 13:46:44 +0000 (0:00:00.048) 0:00:11.584 ****** included: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/get_profile_stat.yml:3 Saturday 20 January 2024 13:46:45 +0000 (0:00:00.077) 0:00:11.662 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/get_profile_stat.yml:9 Saturday 20 January 2024 13:46:45 +0000 (0:00:00.026) 0:00:11.688 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1705758404.517613, "block_size": 4096, "blocks": 8, "ctime": 1705758404.517613, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 6273294, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1705758404.517613, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 127, "uid": 0, "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/get_profile_stat.yml:17 Saturday 20 January 2024 13:46:45 +0000 (0:00:00.257) 0:00:11.946 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/get_profile_stat.yml:25 Saturday 20 January 2024 13:46:45 +0000 (0:00:00.034) 0:00:11.981 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.023758", "end": "2024-01-20 13:46:45.602956", "rc": 1, "start": "2024-01-20 13:46:45.579198" } MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/get_profile_stat.yml:35 Saturday 20 January 2024 13:46:45 +0000 (0:00:00.243) 0:00:12.224 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/get_profile_stat.yml:49 Saturday 20 January 2024 13:46:45 +0000 (0:00:00.046) 0:00:12.271 ****** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003624", "end": "2024-01-20 13:46:45.885141", "rc": 0, "start": "2024-01-20 13:46:45.881517" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/get_profile_stat.yml:56 Saturday 20 January 2024 13:46:45 +0000 (0:00:00.247) 0:00:12.518 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/get_profile_stat.yml:62 Saturday 20 January 2024 13:46:45 +0000 (0:00:00.042) 0:00:12.561 ****** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003630", "end": "2024-01-20 13:46:46.150986", "rc": 0, "start": "2024-01-20 13:46:46.147356" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/get_profile_stat.yml:69 Saturday 20 January 2024 13:46:46 +0000 (0:00:00.223) 0:00:12.784 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/assert_profile_present.yml:5 Saturday 20 January 2024 13:46:46 +0000 (0:00:00.032) 0:00:12.817 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/assert_profile_present.yml:10 Saturday 20 January 2024 13:46:46 +0000 (0:00:00.034) 0:00:12.851 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/assert_profile_present.yml:15 Saturday 20 January 2024 13:46:46 +0000 (0:00:00.063) 0:00:12.914 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/run_test.yml:42 Saturday 20 January 2024 13:46:46 +0000 (0:00:00.046) 0:00:12.961 ****** skipping: [sut] => (item={'what': 'tasks/assert_device_present.yml', 'condition': False}) => { "ansible_loop_var": "item", "changed": false, "item": { "condition": false, "what": "tasks/assert_device_present.yml" }, "skip_reason": "Conditional result was False" } TASK [Success in test 'I can create a profile'] ******************************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/run_test.yml:47 Saturday 20 January 2024 13:46:46 +0000 (0:00:00.043) 0:00:13.005 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/run_test.yml:66 Saturday 20 January 2024 13:46:46 +0000 (0:00:00.026) 0:00:13.031 ****** included: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 20 January 2024 13:46:46 +0000 (0:00:00.095) 0:00:13.126 ****** 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.045174", "end": "2024-01-20 13:46:46.798487", "rc": 1, "start": "2024-01-20 13:46:46.753313" } 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-weekly-ciit4iowef/tests/playbooks/tests_states.yml:45 Saturday 20 January 2024 13:46:46 +0000 (0:00:00.297) 0:00:13.424 ****** included: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile without autoconnect] ************************ task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/run_test.yml:5 Saturday 20 January 2024 13:46:46 +0000 (0:00:00.070) 0:00:13.495 ****** ok: [sut] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/run_test.yml:9 Saturday 20 January 2024 13:46:46 +0000 (0:00:00.026) 0:00:13.521 ****** ok: [sut] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can create a profile without autoconnect" } ok: [sut] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/delete_interface.yml", "tasks/assert_device_absent.yml" ] } ok: [sut] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/create_bridge_profile_no_autoconnect.yml" ] } ok: [sut] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_absent.yml", "tasks/assert_profile_present.yml" ] } ok: [sut] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": "VARIABLE IS NOT DEFINED!: 'lsr_assert_when' is undefined" } ok: [sut] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [sut] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/run_test.yml:21 Saturday 20 January 2024 13:46:46 +0000 (0:00:00.050) 0:00:13.572 ****** included: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/show_interfaces.yml:3 Saturday 20 January 2024 13:46:47 +0000 (0:00:00.045) 0:00:13.618 ****** included: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/get_current_interfaces.yml:3 Saturday 20 January 2024 13:46:47 +0000 (0:00:00.037) 0:00:13.655 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003676", "end": "2024-01-20 13:46:47.305542", "rc": 0, "start": "2024-01-20 13:46:47.301866" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/get_current_interfaces.yml:9 Saturday 20 January 2024 13:46:47 +0000 (0:00:00.283) 0:00:13.939 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/show_interfaces.yml:5 Saturday 20 January 2024 13:46:47 +0000 (0:00:00.048) 0:00:13.987 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/run_test.yml:24 Saturday 20 January 2024 13:46:47 +0000 (0:00:00.065) 0:00:14.053 ****** included: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/delete_interface.yml:3 Saturday 20 January 2024 13:46:47 +0000 (0:00:00.084) 0:00:14.137 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.006888", "end": "2024-01-20 13:46:47.734650", "rc": 1, "start": "2024-01-20 13:46:47.727762" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/assert_device_absent.yml:3 Saturday 20 January 2024 13:46:47 +0000 (0:00:00.264) 0:00:14.402 ****** included: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 20 January 2024 13:46:47 +0000 (0:00:00.046) 0:00:14.449 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/assert_device_absent.yml:5 Saturday 20 January 2024 13:46:48 +0000 (0:00:00.320) 0:00:14.769 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/run_test.yml:30 Saturday 20 January 2024 13:46:48 +0000 (0:00:00.031) 0:00:14.801 ****** included: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Saturday 20 January 2024 13:46:48 +0000 (0:00:00.046) 0:00:14.847 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 20 January 2024 13:46:48 +0000 (0:00:00.047) 0:00:14.895 ****** included: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 20 January 2024 13:46:48 +0000 (0:00:00.078) 0:00:14.974 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 20 January 2024 13:46:48 +0000 (0:00:00.044) 0:00:15.019 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 20 January 2024 13:46:48 +0000 (0:00:00.045) 0:00:15.064 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 20 January 2024 13:46:48 +0000 (0:00:00.050) 0:00:15.114 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 20 January 2024 13:46:50 +0000 (0:00:01.607) 0:00:16.722 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 20 January 2024 13:46:51 +0000 (0:00:01.556) 0:00:18.278 ****** ok: [sut] => {} MSG: Using network provider: initscripts TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 20 January 2024 13:46:51 +0000 (0:00:00.023) 0:00:18.301 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 20 January 2024 13:46:51 +0000 (0:00:00.022) 0:00:18.324 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 20 January 2024 13:46:51 +0000 (0:00:00.022) 0:00:18.346 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 20 January 2024 13:46:51 +0000 (0:00:00.044) 0:00:18.391 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 20 January 2024 13:46:51 +0000 (0:00:00.022) 0:00:18.413 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 20 January 2024 13:46:51 +0000 (0:00:00.023) 0:00:18.437 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 20 January 2024 13:46:51 +0000 (0:00:00.025) 0:00:18.462 ****** 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 : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 20 January 2024 13:46:51 +0000 (0:00:00.023) 0:00:18.486 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 20 January 2024 13:46:51 +0000 (0:00:00.046) 0:00:18.533 ****** 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 : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 20 January 2024 13:46:52 +0000 (0:00:00.391) 0:00:18.925 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-18509v60nl2sf/tmpm1e6090n" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 20 January 2024 13:46:52 +0000 (0:00:00.394) 0:00:19.319 ****** 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": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr' TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 20 January 2024 13:46:53 +0000 (0:00:00.303) 0:00:19.623 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 20 January 2024 13:46:53 +0000 (0:00:00.022) 0:00:19.646 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 20 January 2024 13:46:53 +0000 (0:00:00.036) 0:00:19.682 ****** 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": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 20 January 2024 13:46:53 +0000 (0:00:00.049) 0:00:19.731 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 20 January 2024 13:46:53 +0000 (0:00:00.038) 0:00:19.770 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Saturday 20 January 2024 13:46:53 +0000 (0:00:00.242) 0:00:20.012 ****** 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": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/run_test.yml:36 Saturday 20 January 2024 13:46:53 +0000 (0:00:00.027) 0:00:20.040 ****** included: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/assert_device_absent.yml for sut included: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/assert_device_absent.yml:3 Saturday 20 January 2024 13:46:53 +0000 (0:00:00.090) 0:00:20.131 ****** included: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 20 January 2024 13:46:53 +0000 (0:00:00.071) 0:00:20.202 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/assert_device_absent.yml:5 Saturday 20 January 2024 13:46:53 +0000 (0:00:00.241) 0:00:20.444 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/assert_profile_present.yml:3 Saturday 20 January 2024 13:46:53 +0000 (0:00:00.026) 0:00:20.470 ****** included: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/get_profile_stat.yml:3 Saturday 20 January 2024 13:46:53 +0000 (0:00:00.040) 0:00:20.510 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/get_profile_stat.yml:9 Saturday 20 January 2024 13:46:53 +0000 (0:00:00.023) 0:00:20.534 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1705758413.0034, "block_size": 4096, "blocks": 8, "ctime": 1705758413.0034, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 6273294, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1705758413.0034, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 126, "uid": 0, "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/get_profile_stat.yml:17 Saturday 20 January 2024 13:46:54 +0000 (0:00:00.203) 0:00:20.737 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/get_profile_stat.yml:25 Saturday 20 January 2024 13:46:54 +0000 (0:00:00.025) 0:00:20.762 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022293", "end": "2024-01-20 13:46:54.367721", "rc": 1, "start": "2024-01-20 13:46:54.345428" } MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/get_profile_stat.yml:35 Saturday 20 January 2024 13:46:54 +0000 (0:00:00.232) 0:00:20.994 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/get_profile_stat.yml:49 Saturday 20 January 2024 13:46:54 +0000 (0:00:00.024) 0:00:21.019 ****** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003826", "end": "2024-01-20 13:46:54.612125", "rc": 0, "start": "2024-01-20 13:46:54.608299" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/get_profile_stat.yml:56 Saturday 20 January 2024 13:46:54 +0000 (0:00:00.221) 0:00:21.241 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/get_profile_stat.yml:62 Saturday 20 January 2024 13:46:54 +0000 (0:00:00.029) 0:00:21.270 ****** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003779", "end": "2024-01-20 13:46:54.862212", "rc": 0, "start": "2024-01-20 13:46:54.858433" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/get_profile_stat.yml:69 Saturday 20 January 2024 13:46:54 +0000 (0:00:00.214) 0:00:21.484 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/assert_profile_present.yml:5 Saturday 20 January 2024 13:46:54 +0000 (0:00:00.050) 0:00:21.535 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/assert_profile_present.yml:10 Saturday 20 January 2024 13:46:54 +0000 (0:00:00.024) 0:00:21.560 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/assert_profile_present.yml:15 Saturday 20 January 2024 13:46:54 +0000 (0:00:00.025) 0:00:21.586 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/run_test.yml:42 Saturday 20 January 2024 13:46:55 +0000 (0:00:00.027) 0:00:21.613 ****** TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/run_test.yml:47 Saturday 20 January 2024 13:46:55 +0000 (0:00:00.021) 0:00:21.635 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/run_test.yml:66 Saturday 20 January 2024 13:46:55 +0000 (0:00:00.029) 0:00:21.664 ****** included: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 20 January 2024 13:46:55 +0000 (0:00:00.049) 0:00:21.714 ****** 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.044655", "end": "2024-01-20 13:46:55.343725", "rc": 1, "start": "2024-01-20 13:46:55.299070" } 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-weekly-ciit4iowef/tests/playbooks/tests_states.yml:65 Saturday 20 January 2024 13:46:55 +0000 (0:00:00.251) 0:00:21.965 ****** included: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can activate an existing profile] ******************************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/run_test.yml:5 Saturday 20 January 2024 13:46:55 +0000 (0:00:00.037) 0:00:22.003 ****** ok: [sut] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/run_test.yml:9 Saturday 20 January 2024 13:46:55 +0000 (0:00:00.023) 0:00:22.027 ****** ok: [sut] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can activate an existing profile" } ok: [sut] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml" ] } ok: [sut] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/activate_profile.yml" ] } ok: [sut] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_present.yml", "tasks/assert_profile_present.yml" ] } ok: [sut] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": "VARIABLE IS NOT DEFINED!: 'lsr_assert_when' is undefined" } ok: [sut] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [sut] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/run_test.yml:21 Saturday 20 January 2024 13:46:55 +0000 (0:00:00.045) 0:00:22.072 ****** included: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/show_interfaces.yml:3 Saturday 20 January 2024 13:46:55 +0000 (0:00:00.039) 0:00:22.111 ****** included: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/get_current_interfaces.yml:3 Saturday 20 January 2024 13:46:55 +0000 (0:00:00.057) 0:00:22.169 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003834", "end": "2024-01-20 13:46:55.757440", "rc": 0, "start": "2024-01-20 13:46:55.753606" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/get_current_interfaces.yml:9 Saturday 20 January 2024 13:46:55 +0000 (0:00:00.214) 0:00:22.383 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/show_interfaces.yml:5 Saturday 20 January 2024 13:46:55 +0000 (0:00:00.028) 0:00:22.412 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/run_test.yml:24 Saturday 20 January 2024 13:46:55 +0000 (0:00:00.031) 0:00:22.443 ****** included: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/create_bridge_profile.yml:3 Saturday 20 January 2024 13:46:55 +0000 (0:00:00.056) 0:00:22.500 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 20 January 2024 13:46:55 +0000 (0:00:00.070) 0:00:22.570 ****** included: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 20 January 2024 13:46:56 +0000 (0:00:00.055) 0:00:22.625 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 20 January 2024 13:46:56 +0000 (0:00:00.037) 0:00:22.663 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 20 January 2024 13:46:56 +0000 (0:00:00.039) 0:00:22.702 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 20 January 2024 13:46:56 +0000 (0:00:00.025) 0:00:22.728 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 20 January 2024 13:46:57 +0000 (0:00:01.694) 0:00:24.422 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 20 January 2024 13:46:59 +0000 (0:00:01.587) 0:00:26.010 ****** ok: [sut] => {} MSG: Using network provider: initscripts TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 20 January 2024 13:46:59 +0000 (0:00:00.032) 0:00:26.043 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 20 January 2024 13:46:59 +0000 (0:00:00.032) 0:00:26.075 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 20 January 2024 13:46:59 +0000 (0:00:00.024) 0:00:26.099 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 20 January 2024 13:46:59 +0000 (0:00:00.084) 0:00:26.184 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 20 January 2024 13:46:59 +0000 (0:00:00.027) 0:00:26.211 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 20 January 2024 13:46:59 +0000 (0:00:00.025) 0:00:26.237 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 20 January 2024 13:46:59 +0000 (0:00:00.028) 0:00:26.265 ****** 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 : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 20 January 2024 13:46:59 +0000 (0:00:00.022) 0:00:26.288 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 20 January 2024 13:46:59 +0000 (0:00:00.022) 0:00:26.310 ****** 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 : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 20 January 2024 13:47:00 +0000 (0:00:00.352) 0:00:26.663 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-18509v60nl2sf/tmpehfva5xc" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 20 January 2024 13:47:00 +0000 (0:00:00.312) 0:00:26.976 ****** 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": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr' TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 20 January 2024 13:47:00 +0000 (0:00:00.328) 0:00:27.304 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 20 January 2024 13:47:00 +0000 (0:00:00.024) 0:00:27.328 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 20 January 2024 13:47:00 +0000 (0:00:00.034) 0:00:27.363 ****** 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": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 20 January 2024 13:47:00 +0000 (0:00:00.038) 0:00:27.401 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 20 January 2024 13:47:00 +0000 (0:00:00.023) 0:00:27.425 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/create_bridge_profile.yml:14 Saturday 20 January 2024 13:47:01 +0000 (0:00:00.232) 0:00:27.657 ****** 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": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [Test] ******************************************************************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/run_test.yml:30 Saturday 20 January 2024 13:47:01 +0000 (0:00:00.028) 0:00:27.686 ****** included: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/activate_profile.yml:3 Saturday 20 January 2024 13:47:01 +0000 (0:00:00.039) 0:00:27.725 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 20 January 2024 13:47:01 +0000 (0:00:00.042) 0:00:27.768 ****** included: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 20 January 2024 13:47:01 +0000 (0:00:00.042) 0:00:27.810 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 20 January 2024 13:47:01 +0000 (0:00:00.028) 0:00:27.839 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 20 January 2024 13:47:01 +0000 (0:00:00.022) 0:00:27.862 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 20 January 2024 13:47:01 +0000 (0:00:00.022) 0:00:27.884 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 20 January 2024 13:47:02 +0000 (0:00:01.649) 0:00:29.533 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 20 January 2024 13:47:04 +0000 (0:00:01.554) 0:00:31.088 ****** ok: [sut] => {} MSG: Using network provider: initscripts TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 20 January 2024 13:47:04 +0000 (0:00:00.027) 0:00:31.116 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 20 January 2024 13:47:04 +0000 (0:00:00.025) 0:00:31.141 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 20 January 2024 13:47:04 +0000 (0:00:00.022) 0:00:31.164 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 20 January 2024 13:47:04 +0000 (0:00:00.044) 0:00:31.209 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 20 January 2024 13:47:04 +0000 (0:00:00.022) 0:00:31.231 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 20 January 2024 13:47:04 +0000 (0:00:00.043) 0:00:31.275 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 20 January 2024 13:47:04 +0000 (0:00:00.026) 0:00:31.301 ****** 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 : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 20 January 2024 13:47:04 +0000 (0:00:00.021) 0:00:31.322 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 20 January 2024 13:47:04 +0000 (0:00:00.022) 0:00:31.345 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 20 January 2024 13:47:05 +0000 (0:00:00.351) 0:00:31.696 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-18509v60nl2sf/tmpvyccm7hv" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 20 January 2024 13:47:05 +0000 (0:00:00.309) 0:00:32.006 ****** changed: [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": "initscripts" } }, "changed": true } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active) [003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\n"' TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 20 January 2024 13:47:06 +0000 (0:00:00.584) 0:00:32.590 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 20 January 2024 13:47:06 +0000 (0:00:00.022) 0:00:32.613 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 20 January 2024 13:47:06 +0000 (0:00:00.022) 0:00:32.636 ****** 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": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)\n[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 20 January 2024 13:47:06 +0000 (0:00:00.023) 0:00:32.659 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 20 January 2024 13:47:06 +0000 (0:00:00.021) 0:00:32.681 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/run_test.yml:36 Saturday 20 January 2024 13:47:06 +0000 (0:00:00.227) 0:00:32.908 ****** included: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/assert_device_present.yml:3 Saturday 20 January 2024 13:47:06 +0000 (0:00:00.045) 0:00:32.954 ****** included: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 20 January 2024 13:47:06 +0000 (0:00:00.040) 0:00:32.994 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1705758425.870226, "block_size": 4096, "blocks": 0, "ctime": 1705758425.870226, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 37048, "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": 1705758425.870226, "nlink": 1, "path": "/sys/class/net/statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 0, "uid": 0, "wgrp": true, "woth": true, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true } } TASK [Assert that the interface is present - 'statebr'] ************************ task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/assert_device_present.yml:5 Saturday 20 January 2024 13:47:06 +0000 (0:00:00.208) 0:00:33.203 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/assert_profile_present.yml:3 Saturday 20 January 2024 13:47:06 +0000 (0:00:00.026) 0:00:33.229 ****** included: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/get_profile_stat.yml:3 Saturday 20 January 2024 13:47:06 +0000 (0:00:00.040) 0:00:33.269 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/get_profile_stat.yml:9 Saturday 20 January 2024 13:47:06 +0000 (0:00:00.030) 0:00:33.300 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1705758425.6830823, "block_size": 4096, "blocks": 8, "ctime": 1705758420.6792078, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 6273294, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1705758420.6792078, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 127, "uid": 0, "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/get_profile_stat.yml:17 Saturday 20 January 2024 13:47:06 +0000 (0:00:00.206) 0:00:33.507 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/get_profile_stat.yml:25 Saturday 20 January 2024 13:47:06 +0000 (0:00:00.028) 0:00:33.535 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.023315", "end": "2024-01-20 13:47:07.143765", "rc": 1, "start": "2024-01-20 13:47:07.120450" } MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/get_profile_stat.yml:35 Saturday 20 January 2024 13:47:07 +0000 (0:00:00.227) 0:00:33.762 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/get_profile_stat.yml:49 Saturday 20 January 2024 13:47:07 +0000 (0:00:00.023) 0:00:33.786 ****** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003714", "end": "2024-01-20 13:47:07.374455", "rc": 0, "start": "2024-01-20 13:47:07.370741" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/get_profile_stat.yml:56 Saturday 20 January 2024 13:47:07 +0000 (0:00:00.215) 0:00:34.001 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/get_profile_stat.yml:62 Saturday 20 January 2024 13:47:07 +0000 (0:00:00.030) 0:00:34.031 ****** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003703", "end": "2024-01-20 13:47:07.638475", "rc": 0, "start": "2024-01-20 13:47:07.634772" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/get_profile_stat.yml:69 Saturday 20 January 2024 13:47:07 +0000 (0:00:00.237) 0:00:34.269 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/assert_profile_present.yml:5 Saturday 20 January 2024 13:47:07 +0000 (0:00:00.036) 0:00:34.305 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/assert_profile_present.yml:10 Saturday 20 January 2024 13:47:07 +0000 (0:00:00.041) 0:00:34.347 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/assert_profile_present.yml:15 Saturday 20 January 2024 13:47:07 +0000 (0:00:00.037) 0:00:34.384 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/run_test.yml:42 Saturday 20 January 2024 13:47:07 +0000 (0:00:00.025) 0:00:34.410 ****** TASK [Success in test 'I can activate an existing profile'] ******************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/run_test.yml:47 Saturday 20 January 2024 13:47:07 +0000 (0:00:00.042) 0:00:34.453 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/run_test.yml:66 Saturday 20 January 2024 13:47:07 +0000 (0:00:00.034) 0:00:34.487 ****** included: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 20 January 2024 13:47:07 +0000 (0:00:00.064) 0:00:34.551 ****** ok: [sut] => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.064284", "end": "2024-01-20 13:47:08.221150", "rc": 0, "start": "2024-01-20 13:47:08.156866" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tests_states.yml:83 Saturday 20 January 2024 13:47:08 +0000 (0:00:00.290) 0:00:34.842 ****** included: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can remove an existing profile without taking it down] *********** task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/run_test.yml:5 Saturday 20 January 2024 13:47:08 +0000 (0:00:00.037) 0:00:34.880 ****** ok: [sut] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/run_test.yml:9 Saturday 20 January 2024 13:47:08 +0000 (0:00:00.050) 0:00:34.930 ****** ok: [sut] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can remove an existing profile without taking it down" } ok: [sut] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml", "tasks/activate_profile.yml" ] } ok: [sut] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove_profile.yml" ] } ok: [sut] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_present.yml", "tasks/assert_profile_absent.yml" ] } ok: [sut] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": "VARIABLE IS NOT DEFINED!: 'lsr_assert_when' is undefined" } ok: [sut] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [sut] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/run_test.yml:21 Saturday 20 January 2024 13:47:08 +0000 (0:00:00.064) 0:00:34.995 ****** included: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/show_interfaces.yml:3 Saturday 20 January 2024 13:47:08 +0000 (0:00:00.040) 0:00:35.036 ****** included: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/get_current_interfaces.yml:3 Saturday 20 January 2024 13:47:08 +0000 (0:00:00.040) 0:00:35.076 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003801", "end": "2024-01-20 13:47:08.665097", "rc": 0, "start": "2024-01-20 13:47:08.661296" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/get_current_interfaces.yml:9 Saturday 20 January 2024 13:47:08 +0000 (0:00:00.208) 0:00:35.284 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/show_interfaces.yml:5 Saturday 20 January 2024 13:47:08 +0000 (0:00:00.024) 0:00:35.309 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/run_test.yml:24 Saturday 20 January 2024 13:47:08 +0000 (0:00:00.027) 0:00:35.337 ****** included: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/create_bridge_profile.yml:3 Saturday 20 January 2024 13:47:08 +0000 (0:00:00.044) 0:00:35.381 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 20 January 2024 13:47:08 +0000 (0:00:00.038) 0:00:35.419 ****** included: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 20 January 2024 13:47:08 +0000 (0:00:00.043) 0:00:35.463 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 20 January 2024 13:47:08 +0000 (0:00:00.029) 0:00:35.492 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 20 January 2024 13:47:08 +0000 (0:00:00.058) 0:00:35.550 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 20 January 2024 13:47:09 +0000 (0:00:00.043) 0:00:35.594 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 20 January 2024 13:47:10 +0000 (0:00:01.690) 0:00:37.285 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 20 January 2024 13:47:12 +0000 (0:00:01.599) 0:00:38.885 ****** ok: [sut] => {} MSG: Using network provider: initscripts TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 20 January 2024 13:47:12 +0000 (0:00:00.025) 0:00:38.910 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 20 January 2024 13:47:12 +0000 (0:00:00.024) 0:00:38.935 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 20 January 2024 13:47:12 +0000 (0:00:00.023) 0:00:38.958 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 20 January 2024 13:47:12 +0000 (0:00:00.046) 0:00:39.005 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 20 January 2024 13:47:12 +0000 (0:00:00.022) 0:00:39.028 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 20 January 2024 13:47:12 +0000 (0:00:00.026) 0:00:39.054 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 20 January 2024 13:47:12 +0000 (0:00:00.026) 0:00:39.080 ****** 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 : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 20 January 2024 13:47:12 +0000 (0:00:00.022) 0:00:39.102 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 20 January 2024 13:47:12 +0000 (0:00:00.020) 0:00:39.123 ****** 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 : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 20 January 2024 13:47:12 +0000 (0:00:00.348) 0:00:39.471 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-18509v60nl2sf/tmpwfszkj7w" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 20 January 2024 13:47:13 +0000 (0:00:00.353) 0:00:39.824 ****** 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": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr' TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 20 January 2024 13:47:13 +0000 (0:00:00.353) 0:00:40.178 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 20 January 2024 13:47:13 +0000 (0:00:00.022) 0:00:40.200 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 20 January 2024 13:47:13 +0000 (0:00:00.023) 0:00:40.224 ****** 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": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 20 January 2024 13:47:13 +0000 (0:00:00.023) 0:00:40.247 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 20 January 2024 13:47:13 +0000 (0:00:00.022) 0:00:40.270 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/create_bridge_profile.yml:14 Saturday 20 January 2024 13:47:13 +0000 (0:00:00.211) 0:00:40.481 ****** 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": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/activate_profile.yml:3 Saturday 20 January 2024 13:47:13 +0000 (0:00:00.031) 0:00:40.512 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 20 January 2024 13:47:13 +0000 (0:00:00.055) 0:00:40.568 ****** included: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 20 January 2024 13:47:14 +0000 (0:00:00.068) 0:00:40.636 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 20 January 2024 13:47:14 +0000 (0:00:00.032) 0:00:40.668 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 20 January 2024 13:47:14 +0000 (0:00:00.025) 0:00:40.694 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 20 January 2024 13:47:14 +0000 (0:00:00.037) 0:00:40.731 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 20 January 2024 13:47:15 +0000 (0:00:01.605) 0:00:42.336 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 20 January 2024 13:47:17 +0000 (0:00:01.584) 0:00:43.921 ****** ok: [sut] => {} MSG: Using network provider: initscripts TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 20 January 2024 13:47:17 +0000 (0:00:00.024) 0:00:43.946 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 20 January 2024 13:47:17 +0000 (0:00:00.023) 0:00:43.969 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 20 January 2024 13:47:17 +0000 (0:00:00.022) 0:00:43.991 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 20 January 2024 13:47:17 +0000 (0:00:00.066) 0:00:44.058 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 20 January 2024 13:47:17 +0000 (0:00:00.023) 0:00:44.081 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 20 January 2024 13:47:17 +0000 (0:00:00.021) 0:00:44.103 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 20 January 2024 13:47:17 +0000 (0:00:00.026) 0:00:44.129 ****** 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 : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 20 January 2024 13:47:17 +0000 (0:00:00.025) 0:00:44.154 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 20 January 2024 13:47:17 +0000 (0:00:00.022) 0:00:44.177 ****** 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 : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 20 January 2024 13:47:17 +0000 (0:00:00.359) 0:00:44.536 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-18509v60nl2sf/tmp72g1x__a" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 20 January 2024 13:47:18 +0000 (0:00:00.307) 0:00:44.843 ****** changed: [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": "initscripts" } }, "changed": true } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active) [003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\n"' TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 20 January 2024 13:47:18 +0000 (0:00:00.611) 0:00:45.455 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 20 January 2024 13:47:18 +0000 (0:00:00.030) 0:00:45.485 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 20 January 2024 13:47:18 +0000 (0:00:00.057) 0:00:45.542 ****** 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": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)\n[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 20 January 2024 13:47:18 +0000 (0:00:00.026) 0:00:45.569 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 20 January 2024 13:47:19 +0000 (0:00:00.062) 0:00:45.631 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/run_test.yml:30 Saturday 20 January 2024 13:47:19 +0000 (0:00:00.218) 0:00:45.849 ****** included: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/remove_profile.yml:3 Saturday 20 January 2024 13:47:19 +0000 (0:00:00.046) 0:00:45.895 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 20 January 2024 13:47:19 +0000 (0:00:00.049) 0:00:45.945 ****** included: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 20 January 2024 13:47:19 +0000 (0:00:00.056) 0:00:46.001 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 20 January 2024 13:47:19 +0000 (0:00:00.045) 0:00:46.046 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 20 January 2024 13:47:19 +0000 (0:00:00.051) 0:00:46.098 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 20 January 2024 13:47:19 +0000 (0:00:00.048) 0:00:46.146 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 20 January 2024 13:47:21 +0000 (0:00:01.709) 0:00:47.856 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 20 January 2024 13:47:22 +0000 (0:00:01.579) 0:00:49.435 ****** ok: [sut] => {} MSG: Using network provider: initscripts TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 20 January 2024 13:47:22 +0000 (0:00:00.046) 0:00:49.481 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 20 January 2024 13:47:22 +0000 (0:00:00.023) 0:00:49.505 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 20 January 2024 13:47:22 +0000 (0:00:00.022) 0:00:49.528 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 20 January 2024 13:47:22 +0000 (0:00:00.048) 0:00:49.577 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 20 January 2024 13:47:23 +0000 (0:00:00.023) 0:00:49.601 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 20 January 2024 13:47:23 +0000 (0:00:00.035) 0:00:49.636 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 20 January 2024 13:47:23 +0000 (0:00:00.082) 0:00:49.719 ****** 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 : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 20 January 2024 13:47:23 +0000 (0:00:00.030) 0:00:49.750 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 20 January 2024 13:47:23 +0000 (0:00:00.027) 0:00:49.777 ****** 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 : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 20 January 2024 13:47:23 +0000 (0:00:00.401) 0:00:50.179 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-18509v60nl2sf/tmplspv97ke" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 20 January 2024 13:47:23 +0000 (0:00:00.407) 0:00:50.587 ****** 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": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr' TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 20 January 2024 13:47:24 +0000 (0:00:00.358) 0:00:50.946 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 20 January 2024 13:47:24 +0000 (0:00:00.045) 0:00:50.991 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 20 January 2024 13:47:24 +0000 (0:00:00.027) 0:00:51.018 ****** 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": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 20 January 2024 13:47:24 +0000 (0:00:00.024) 0:00:51.043 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 20 January 2024 13:47:24 +0000 (0:00:00.022) 0:00:51.065 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/run_test.yml:36 Saturday 20 January 2024 13:47:24 +0000 (0:00:00.207) 0:00:51.273 ****** included: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/assert_device_present.yml:3 Saturday 20 January 2024 13:47:24 +0000 (0:00:00.065) 0:00:51.338 ****** included: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 20 January 2024 13:47:24 +0000 (0:00:00.113) 0:00:51.452 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1705758438.7291505, "block_size": 4096, "blocks": 0, "ctime": 1705758438.7291505, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 37179, "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": 1705758438.7291505, "nlink": 1, "path": "/sys/class/net/statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 0, "uid": 0, "wgrp": true, "woth": true, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true } } TASK [Assert that the interface is present - 'statebr'] ************************ task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/assert_device_present.yml:5 Saturday 20 January 2024 13:47:25 +0000 (0:00:00.263) 0:00:51.716 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/assert_profile_absent.yml:3 Saturday 20 January 2024 13:47:25 +0000 (0:00:00.028) 0:00:51.744 ****** included: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/get_profile_stat.yml:3 Saturday 20 January 2024 13:47:25 +0000 (0:00:00.057) 0:00:51.802 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/get_profile_stat.yml:9 Saturday 20 January 2024 13:47:25 +0000 (0:00:00.056) 0:00:51.859 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/get_profile_stat.yml:17 Saturday 20 January 2024 13:47:25 +0000 (0:00:00.239) 0:00:52.098 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/get_profile_stat.yml:25 Saturday 20 January 2024 13:47:25 +0000 (0:00:00.033) 0:00:52.132 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022735", "end": "2024-01-20 13:47:25.759500", "rc": 1, "start": "2024-01-20 13:47:25.736765" } MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/get_profile_stat.yml:35 Saturday 20 January 2024 13:47:25 +0000 (0:00:00.261) 0:00:52.393 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/get_profile_stat.yml:49 Saturday 20 January 2024 13:47:25 +0000 (0:00:00.025) 0:00:52.419 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/get_profile_stat.yml:56 Saturday 20 January 2024 13:47:25 +0000 (0:00:00.031) 0:00:52.451 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/get_profile_stat.yml:62 Saturday 20 January 2024 13:47:25 +0000 (0:00:00.026) 0:00:52.477 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/get_profile_stat.yml:69 Saturday 20 January 2024 13:47:25 +0000 (0:00:00.032) 0:00:52.509 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/assert_profile_absent.yml:5 Saturday 20 January 2024 13:47:25 +0000 (0:00:00.037) 0:00:52.547 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/run_test.yml:42 Saturday 20 January 2024 13:47:25 +0000 (0:00:00.033) 0:00:52.581 ****** TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/run_test.yml:47 Saturday 20 January 2024 13:47:26 +0000 (0:00:00.114) 0:00:52.695 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/run_test.yml:66 Saturday 20 January 2024 13:47:26 +0000 (0:00:00.030) 0:00:52.726 ****** included: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 20 January 2024 13:47:26 +0000 (0:00:00.049) 0:00:52.776 ****** ok: [sut] => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.054220", "end": "2024-01-20 13:47:26.431063", "rc": 0, "start": "2024-01-20 13:47:26.376843" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tests_states.yml:103 Saturday 20 January 2024 13:47:26 +0000 (0:00:00.284) 0:00:53.060 ****** included: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can take a profile down that is absent] ************************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/run_test.yml:5 Saturday 20 January 2024 13:47:26 +0000 (0:00:00.038) 0:00:53.099 ****** ok: [sut] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/run_test.yml:9 Saturday 20 January 2024 13:47:26 +0000 (0:00:00.023) 0:00:53.123 ****** 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": false, "what": "tasks/assert_device_absent.yml" } ] } ok: [sut] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [sut] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/run_test.yml:21 Saturday 20 January 2024 13:47:26 +0000 (0:00:00.050) 0:00:53.173 ****** included: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/show_interfaces.yml:3 Saturday 20 January 2024 13:47:26 +0000 (0:00:00.040) 0:00:53.213 ****** included: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/get_current_interfaces.yml:3 Saturday 20 January 2024 13:47:26 +0000 (0:00:00.043) 0:00:53.256 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003880", "end": "2024-01-20 13:47:26.844017", "rc": 0, "start": "2024-01-20 13:47:26.840137" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/get_current_interfaces.yml:9 Saturday 20 January 2024 13:47:26 +0000 (0:00:00.213) 0:00:53.470 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/show_interfaces.yml:5 Saturday 20 January 2024 13:47:26 +0000 (0:00:00.025) 0:00:53.495 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/run_test.yml:24 Saturday 20 January 2024 13:47:26 +0000 (0:00:00.062) 0:00:53.558 ****** included: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/create_bridge_profile.yml:3 Saturday 20 January 2024 13:47:27 +0000 (0:00:00.051) 0:00:53.610 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 20 January 2024 13:47:27 +0000 (0:00:00.043) 0:00:53.653 ****** included: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 20 January 2024 13:47:27 +0000 (0:00:00.042) 0:00:53.696 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 20 January 2024 13:47:27 +0000 (0:00:00.030) 0:00:53.726 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 20 January 2024 13:47:27 +0000 (0:00:00.023) 0:00:53.750 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 20 January 2024 13:47:27 +0000 (0:00:00.022) 0:00:53.773 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 20 January 2024 13:47:28 +0000 (0:00:01.633) 0:00:55.406 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 20 January 2024 13:47:30 +0000 (0:00:01.563) 0:00:56.969 ****** ok: [sut] => {} MSG: Using network provider: initscripts TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 20 January 2024 13:47:30 +0000 (0:00:00.029) 0:00:56.999 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 20 January 2024 13:47:30 +0000 (0:00:00.028) 0:00:57.028 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 20 January 2024 13:47:30 +0000 (0:00:00.028) 0:00:57.056 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 20 January 2024 13:47:30 +0000 (0:00:00.057) 0:00:57.113 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 20 January 2024 13:47:30 +0000 (0:00:00.026) 0:00:57.139 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 20 January 2024 13:47:30 +0000 (0:00:00.025) 0:00:57.165 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 20 January 2024 13:47:30 +0000 (0:00:00.074) 0:00:57.240 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 20 January 2024 13:47:30 +0000 (0:00:00.040) 0:00:57.280 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 20 January 2024 13:47:30 +0000 (0:00:00.026) 0:00:57.306 ****** 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 : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 20 January 2024 13:47:31 +0000 (0:00:00.378) 0:00:57.684 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-18509v60nl2sf/tmp_vmmv3iz" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 20 January 2024 13:47:31 +0000 (0:00:00.372) 0:00:58.057 ****** 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": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr' TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 20 January 2024 13:47:31 +0000 (0:00:00.345) 0:00:58.403 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 20 January 2024 13:47:31 +0000 (0:00:00.035) 0:00:58.438 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 20 January 2024 13:47:31 +0000 (0:00:00.041) 0:00:58.480 ****** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 20 January 2024 13:47:31 +0000 (0:00:00.043) 0:00:58.523 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 20 January 2024 13:47:31 +0000 (0:00:00.033) 0:00:58.556 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/create_bridge_profile.yml:14 Saturday 20 January 2024 13:47:32 +0000 (0:00:00.223) 0:00:58.780 ****** 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": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/activate_profile.yml:3 Saturday 20 January 2024 13:47:32 +0000 (0:00:00.039) 0:00:58.820 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 20 January 2024 13:47:32 +0000 (0:00:00.042) 0:00:58.862 ****** included: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 20 January 2024 13:47:32 +0000 (0:00:00.113) 0:00:58.975 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 20 January 2024 13:47:32 +0000 (0:00:00.050) 0:00:59.026 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 20 January 2024 13:47:32 +0000 (0:00:00.037) 0:00:59.064 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 20 January 2024 13:47:32 +0000 (0:00:00.023) 0:00:59.087 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 20 January 2024 13:47:34 +0000 (0:00:01.654) 0:01:00.742 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 20 January 2024 13:47:35 +0000 (0:00:01.636) 0:01:02.379 ****** ok: [sut] => {} MSG: Using network provider: initscripts TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 20 January 2024 13:47:35 +0000 (0:00:00.039) 0:01:02.419 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 20 January 2024 13:47:35 +0000 (0:00:00.033) 0:01:02.452 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 20 January 2024 13:47:35 +0000 (0:00:00.022) 0:01:02.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-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 20 January 2024 13:47:35 +0000 (0:00:00.045) 0:01:02.520 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 20 January 2024 13:47:35 +0000 (0:00:00.024) 0:01:02.544 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 20 January 2024 13:47:35 +0000 (0:00:00.021) 0:01:02.566 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 20 January 2024 13:47:36 +0000 (0:00:00.027) 0:01:02.593 ****** 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 : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 20 January 2024 13:47:36 +0000 (0:00:00.022) 0:01:02.615 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 20 January 2024 13:47:36 +0000 (0:00:00.020) 0:01:02.636 ****** 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 : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 20 January 2024 13:47:36 +0000 (0:00:00.382) 0:01:03.018 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-18509v60nl2sf/tmpqkmmiyvx" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 20 January 2024 13:47:36 +0000 (0:00:00.354) 0:01:03.373 ****** changed: [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": "initscripts" } }, "changed": true } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active) [003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\n"' TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 20 January 2024 13:47:37 +0000 (0:00:00.573) 0:01:03.946 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 20 January 2024 13:47:37 +0000 (0:00:00.023) 0:01:03.969 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 20 January 2024 13:47:37 +0000 (0:00:00.023) 0:01:03.993 ****** 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": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)\n[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 20 January 2024 13:47:37 +0000 (0:00:00.025) 0:01:04.018 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 20 January 2024 13:47:37 +0000 (0:00:00.024) 0:01:04.043 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/remove_profile.yml:3 Saturday 20 January 2024 13:47:37 +0000 (0:00:00.199) 0:01:04.243 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 20 January 2024 13:47:37 +0000 (0:00:00.039) 0:01:04.282 ****** included: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 20 January 2024 13:47:37 +0000 (0:00:00.092) 0:01:04.374 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 20 January 2024 13:47:37 +0000 (0:00:00.033) 0:01:04.408 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 20 January 2024 13:47:37 +0000 (0:00:00.056) 0:01:04.464 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 20 January 2024 13:47:37 +0000 (0:00:00.024) 0:01:04.489 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 20 January 2024 13:47:39 +0000 (0:00:01.644) 0:01:06.133 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 20 January 2024 13:47:41 +0000 (0:00:01.578) 0:01:07.712 ****** ok: [sut] => {} MSG: Using network provider: initscripts TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 20 January 2024 13:47:41 +0000 (0:00:00.042) 0:01:07.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-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 20 January 2024 13:47:41 +0000 (0:00:00.027) 0:01:07.782 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 20 January 2024 13:47:41 +0000 (0:00:00.032) 0:01:07.815 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 20 January 2024 13:47:41 +0000 (0:00:00.050) 0:01:07.865 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 20 January 2024 13:47:41 +0000 (0:00:00.030) 0:01:07.896 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 20 January 2024 13:47:41 +0000 (0:00:00.028) 0:01:07.924 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 20 January 2024 13:47:41 +0000 (0:00:00.036) 0:01:07.960 ****** 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 : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 20 January 2024 13:47:41 +0000 (0:00:00.026) 0:01:07.987 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 20 January 2024 13:47:41 +0000 (0:00:00.025) 0:01:08.012 ****** 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 : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 20 January 2024 13:47:41 +0000 (0:00:00.385) 0:01:08.397 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-18509v60nl2sf/tmp72nin4h1" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 20 January 2024 13:47:42 +0000 (0:00:00.406) 0:01:08.804 ****** 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": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr' TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 20 January 2024 13:47:42 +0000 (0:00:00.312) 0:01:09.117 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 20 January 2024 13:47:42 +0000 (0:00:00.024) 0:01:09.141 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 20 January 2024 13:47:42 +0000 (0:00:00.023) 0:01:09.165 ****** 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": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 20 January 2024 13:47:42 +0000 (0:00:00.048) 0:01:09.213 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 20 January 2024 13:47:42 +0000 (0:00:00.023) 0:01:09.237 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/run_test.yml:30 Saturday 20 January 2024 13:47:42 +0000 (0:00:00.201) 0:01:09.439 ****** included: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/remove+down_profile.yml:3 Saturday 20 January 2024 13:47:42 +0000 (0:00:00.061) 0:01:09.500 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 20 January 2024 13:47:42 +0000 (0:00:00.046) 0:01:09.547 ****** included: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 20 January 2024 13:47:43 +0000 (0:00:00.052) 0:01:09.599 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 20 January 2024 13:47:43 +0000 (0:00:00.028) 0:01:09.628 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 20 January 2024 13:47:43 +0000 (0:00:00.035) 0:01:09.663 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 20 January 2024 13:47:43 +0000 (0:00:00.036) 0:01:09.699 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 20 January 2024 13:47:44 +0000 (0:00:01.584) 0:01:11.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 : Print network provider] ********************* task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 20 January 2024 13:47:46 +0000 (0:00:01.586) 0:01:12.871 ****** ok: [sut] => {} MSG: Using network provider: initscripts TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 20 January 2024 13:47:46 +0000 (0:00:00.035) 0:01:12.907 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 20 January 2024 13:47:46 +0000 (0:00:00.038) 0:01:12.945 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 20 January 2024 13:47:46 +0000 (0:00:00.030) 0:01:12.976 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 20 January 2024 13:47:46 +0000 (0:00:00.064) 0:01:13.040 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 20 January 2024 13:47:46 +0000 (0:00:00.070) 0:01:13.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-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 20 January 2024 13:47:46 +0000 (0:00:00.052) 0:01:13.163 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 20 January 2024 13:47:46 +0000 (0:00:00.099) 0:01:13.262 ****** 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 : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 20 January 2024 13:47:46 +0000 (0:00:00.110) 0:01:13.373 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 20 January 2024 13:47:46 +0000 (0:00:00.046) 0:01:13.419 ****** 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 : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 20 January 2024 13:47:47 +0000 (0:00:00.454) 0:01:13.873 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-18509v60nl2sf/tmpnh3u56jj" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 20 January 2024 13:47:47 +0000 (0:00:00.328) 0:01:14.202 ****** ok: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": false } STDERR: [003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist [004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present) TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 20 January 2024 13:47:47 +0000 (0:00:00.309) 0:01:14.512 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 20 January 2024 13:47:47 +0000 (0:00:00.037) 0:01:14.550 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist", "[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present)" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 20 January 2024 13:47:48 +0000 (0:00:00.046) 0:01:14.596 ****** 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": "initscripts" } }, "changed": false, "failed": false, "stderr": "[003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist\n[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present)\n", "stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist", "[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present)" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 20 January 2024 13:47:48 +0000 (0:00:00.058) 0:01:14.654 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 20 January 2024 13:47:48 +0000 (0:00:00.061) 0:01:14.715 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/run_test.yml:36 Saturday 20 January 2024 13:47:48 +0000 (0:00:00.224) 0:01:14.940 ****** included: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/assert_profile_absent.yml:3 Saturday 20 January 2024 13:47:48 +0000 (0:00:00.051) 0:01:14.992 ****** included: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/get_profile_stat.yml:3 Saturday 20 January 2024 13:47:48 +0000 (0:00:00.073) 0:01:15.066 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/get_profile_stat.yml:9 Saturday 20 January 2024 13:47:48 +0000 (0:00:00.031) 0:01:15.097 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/get_profile_stat.yml:17 Saturday 20 January 2024 13:47:48 +0000 (0:00:00.212) 0:01:15.310 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/get_profile_stat.yml:25 Saturday 20 January 2024 13:47:48 +0000 (0:00:00.023) 0:01:15.333 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.024242", "end": "2024-01-20 13:47:48.939218", "rc": 1, "start": "2024-01-20 13:47:48.914976" } MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/get_profile_stat.yml:35 Saturday 20 January 2024 13:47:48 +0000 (0:00:00.228) 0:01:15.562 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/get_profile_stat.yml:49 Saturday 20 January 2024 13:47:48 +0000 (0:00:00.024) 0:01:15.587 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/get_profile_stat.yml:56 Saturday 20 January 2024 13:47:49 +0000 (0:00:00.026) 0:01:15.613 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/get_profile_stat.yml:62 Saturday 20 January 2024 13:47:49 +0000 (0:00:00.030) 0:01:15.644 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/get_profile_stat.yml:69 Saturday 20 January 2024 13:47:49 +0000 (0:00:00.052) 0:01:15.696 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/assert_profile_absent.yml:5 Saturday 20 January 2024 13:47:49 +0000 (0:00:00.038) 0:01:15.735 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/run_test.yml:42 Saturday 20 January 2024 13:47:49 +0000 (0:00:00.031) 0:01:15.766 ****** skipping: [sut] => (item={'what': 'tasks/assert_device_absent.yml', 'condition': False}) => { "ansible_loop_var": "item", "changed": false, "item": { "condition": false, "what": "tasks/assert_device_absent.yml" }, "skip_reason": "Conditional result was False" } TASK [Success in test 'I can take a profile down that is absent'] ************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/run_test.yml:47 Saturday 20 January 2024 13:47:49 +0000 (0:00:00.029) 0:01:15.795 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/run_test.yml:66 Saturday 20 January 2024 13:47:49 +0000 (0:00:00.024) 0:01:15.820 ****** included: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 20 January 2024 13:47:49 +0000 (0:00:00.040) 0:01:15.860 ****** ok: [sut] => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.051567", "end": "2024-01-20 13:47:49.495317", "rc": 0, "start": "2024-01-20 13:47:49.443750" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tests_states.yml:126 Saturday 20 January 2024 13:47:49 +0000 (0:00:00.257) 0:01:16.118 ****** included: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I will not get an error when I try to remove an absent profile] **** task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/run_test.yml:5 Saturday 20 January 2024 13:47:49 +0000 (0:00:00.045) 0:01:16.163 ****** ok: [sut] => {} MSG: ########## I will not get an error when I try to remove an absent profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/run_test.yml:9 Saturday 20 January 2024 13:47:49 +0000 (0:00:00.024) 0:01:16.187 ****** 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": false, "what": "tasks/assert_device_absent.yml" } ] } ok: [sut] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [sut] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/run_test.yml:21 Saturday 20 January 2024 13:47:49 +0000 (0:00:00.049) 0:01:16.237 ****** included: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/show_interfaces.yml:3 Saturday 20 January 2024 13:47:49 +0000 (0:00:00.037) 0:01:16.275 ****** included: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/get_current_interfaces.yml:3 Saturday 20 January 2024 13:47:49 +0000 (0:00:00.036) 0:01:16.311 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003879", "end": "2024-01-20 13:47:49.905422", "rc": 0, "start": "2024-01-20 13:47:49.901543" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/get_current_interfaces.yml:9 Saturday 20 January 2024 13:47:49 +0000 (0:00:00.213) 0:01:16.525 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/show_interfaces.yml:5 Saturday 20 January 2024 13:47:49 +0000 (0:00:00.024) 0:01:16.549 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/run_test.yml:24 Saturday 20 January 2024 13:47:49 +0000 (0:00:00.022) 0:01:16.572 ****** included: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/create_bridge_profile.yml:3 Saturday 20 January 2024 13:47:50 +0000 (0:00:00.047) 0:01:16.619 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 20 January 2024 13:47:50 +0000 (0:00:00.086) 0:01:16.706 ****** included: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 20 January 2024 13:47:50 +0000 (0:00:00.074) 0:01:16.780 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 20 January 2024 13:47:50 +0000 (0:00:00.045) 0:01:16.826 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 20 January 2024 13:47:50 +0000 (0:00:00.058) 0:01:16.884 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 20 January 2024 13:47:50 +0000 (0:00:00.034) 0:01:16.919 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 20 January 2024 13:47:51 +0000 (0:00:01.642) 0:01:18.562 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 20 January 2024 13:47:53 +0000 (0:00:01.572) 0:01:20.134 ****** ok: [sut] => {} MSG: Using network provider: initscripts TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 20 January 2024 13:47:53 +0000 (0:00:00.023) 0:01:20.157 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 20 January 2024 13:47:53 +0000 (0:00:00.022) 0:01:20.180 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 20 January 2024 13:47:53 +0000 (0:00:00.022) 0:01:20.202 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 20 January 2024 13:47:53 +0000 (0:00:00.046) 0:01:20.249 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 20 January 2024 13:47:53 +0000 (0:00:00.023) 0:01:20.273 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 20 January 2024 13:47:53 +0000 (0:00:00.024) 0:01:20.297 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 20 January 2024 13:47:53 +0000 (0:00:00.026) 0:01:20.324 ****** 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 : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 20 January 2024 13:47:53 +0000 (0:00:00.025) 0:01:20.349 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 20 January 2024 13:47:53 +0000 (0:00:00.023) 0:01:20.373 ****** 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 : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 20 January 2024 13:47:54 +0000 (0:00:00.367) 0:01:20.740 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-18509v60nl2sf/tmpp0_endoe" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 20 January 2024 13:47:54 +0000 (0:00:00.316) 0:01:21.057 ****** 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": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr' TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 20 January 2024 13:47:54 +0000 (0:00:00.305) 0:01:21.363 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 20 January 2024 13:47:54 +0000 (0:00:00.023) 0:01:21.386 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 20 January 2024 13:47:54 +0000 (0:00:00.023) 0:01:21.409 ****** 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": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 20 January 2024 13:47:54 +0000 (0:00:00.024) 0:01:21.434 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 20 January 2024 13:47:54 +0000 (0:00:00.034) 0:01:21.468 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/create_bridge_profile.yml:14 Saturday 20 January 2024 13:47:55 +0000 (0:00:00.207) 0:01:21.676 ****** 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": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/activate_profile.yml:3 Saturday 20 January 2024 13:47:55 +0000 (0:00:00.033) 0:01:21.709 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 20 January 2024 13:47:55 +0000 (0:00:00.050) 0:01:21.760 ****** included: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 20 January 2024 13:47:55 +0000 (0:00:00.042) 0:01:21.803 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 20 January 2024 13:47:55 +0000 (0:00:00.028) 0:01:21.831 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 20 January 2024 13:47:55 +0000 (0:00:00.022) 0:01:21.853 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 20 January 2024 13:47:55 +0000 (0:00:00.047) 0:01:21.901 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 20 January 2024 13:47:56 +0000 (0:00:01.642) 0:01:23.543 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 20 January 2024 13:47:58 +0000 (0:00:01.570) 0:01:25.113 ****** ok: [sut] => {} MSG: Using network provider: initscripts TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 20 January 2024 13:47:58 +0000 (0:00:00.047) 0:01:25.161 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 20 January 2024 13:47:58 +0000 (0:00:00.025) 0:01:25.187 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 20 January 2024 13:47:58 +0000 (0:00:00.028) 0:01:25.215 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 20 January 2024 13:47:58 +0000 (0:00:00.047) 0:01:25.263 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 20 January 2024 13:47:58 +0000 (0:00:00.022) 0:01:25.286 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 20 January 2024 13:47:58 +0000 (0:00:00.021) 0:01:25.307 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 20 January 2024 13:47:58 +0000 (0:00:00.025) 0:01:25.333 ****** 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 : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 20 January 2024 13:47:58 +0000 (0:00:00.022) 0:01:25.356 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 20 January 2024 13:47:58 +0000 (0:00:00.021) 0:01:25.377 ****** 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 : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 20 January 2024 13:47:59 +0000 (0:00:00.355) 0:01:25.733 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-18509v60nl2sf/tmpm2vg6wmg" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 20 January 2024 13:47:59 +0000 (0:00:00.322) 0:01:26.055 ****** changed: [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": "initscripts" } }, "changed": true } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active) [003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\n"' TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 20 January 2024 13:48:00 +0000 (0:00:00.575) 0:01:26.631 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 20 January 2024 13:48:00 +0000 (0:00:00.052) 0:01:26.684 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 20 January 2024 13:48:00 +0000 (0:00:00.026) 0:01:26.710 ****** 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": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)\n[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 20 January 2024 13:48:00 +0000 (0:00:00.041) 0:01:26.752 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 20 January 2024 13:48:00 +0000 (0:00:00.024) 0:01:26.776 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/remove+down_profile.yml:3 Saturday 20 January 2024 13:48:00 +0000 (0:00:00.204) 0:01:26.980 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 20 January 2024 13:48:00 +0000 (0:00:00.041) 0:01:27.022 ****** included: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 20 January 2024 13:48:00 +0000 (0:00:00.044) 0:01:27.067 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 20 January 2024 13:48:00 +0000 (0:00:00.029) 0:01:27.096 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 20 January 2024 13:48:00 +0000 (0:00:00.021) 0:01:27.118 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 20 January 2024 13:48:00 +0000 (0:00:00.022) 0:01:27.140 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 20 January 2024 13:48:02 +0000 (0:00:01.659) 0:01:28.799 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 20 January 2024 13:48:03 +0000 (0:00:01.599) 0:01:30.399 ****** ok: [sut] => {} MSG: Using network provider: initscripts TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 20 January 2024 13:48:03 +0000 (0:00:00.037) 0:01:30.436 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 20 January 2024 13:48:03 +0000 (0:00:00.030) 0:01:30.466 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 20 January 2024 13:48:03 +0000 (0:00:00.040) 0:01:30.506 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 20 January 2024 13:48:04 +0000 (0:00:00.088) 0:01:30.595 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 20 January 2024 13:48:04 +0000 (0:00:00.022) 0:01:30.618 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 20 January 2024 13:48:04 +0000 (0:00:00.053) 0:01:30.671 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 20 January 2024 13:48:04 +0000 (0:00:00.029) 0:01:30.700 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 20 January 2024 13:48:04 +0000 (0:00:00.027) 0:01:30.728 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 20 January 2024 13:48:04 +0000 (0:00:00.025) 0:01:30.754 ****** 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 : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 20 January 2024 13:48:04 +0000 (0:00:00.379) 0:01:31.133 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-18509v60nl2sf/tmpomomxmkh" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 20 January 2024 13:48:04 +0000 (0:00:00.361) 0:01:31.495 ****** 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": "initscripts" } }, "changed": true } STDERR: [003] #0, state:down persistent_state:absent, 'statebr': down connection statebr skipped because not active [004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr' TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 20 January 2024 13:48:05 +0000 (0:00:00.317) 0:01:31.812 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 20 January 2024 13:48:05 +0000 (0:00:00.053) 0:01:31.865 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'statebr': down connection statebr skipped because not active", "[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 20 January 2024 13:48:05 +0000 (0:00:00.051) 0:01:31.917 ****** 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": "initscripts" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:down persistent_state:absent, 'statebr': down connection statebr skipped because not active\n[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'\n", "stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'statebr': down connection statebr skipped because not active", "[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 20 January 2024 13:48:05 +0000 (0:00:00.039) 0:01:31.957 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 20 January 2024 13:48:05 +0000 (0:00:00.030) 0:01:31.987 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/run_test.yml:30 Saturday 20 January 2024 13:48:05 +0000 (0:00:00.204) 0:01:32.191 ****** included: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/remove+down_profile.yml:3 Saturday 20 January 2024 13:48:05 +0000 (0:00:00.070) 0:01:32.262 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 20 January 2024 13:48:05 +0000 (0:00:00.037) 0:01:32.299 ****** included: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 20 January 2024 13:48:05 +0000 (0:00:00.042) 0:01:32.341 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 20 January 2024 13:48:05 +0000 (0:00:00.027) 0:01:32.369 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 20 January 2024 13:48:05 +0000 (0:00:00.023) 0:01:32.393 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 20 January 2024 13:48:05 +0000 (0:00:00.023) 0:01:32.416 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 20 January 2024 13:48:07 +0000 (0:00:01.718) 0:01:34.135 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 20 January 2024 13:48:09 +0000 (0:00:01.611) 0:01:35.746 ****** ok: [sut] => {} MSG: Using network provider: initscripts TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 20 January 2024 13:48:09 +0000 (0:00:00.027) 0:01:35.773 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 20 January 2024 13:48:09 +0000 (0:00:00.041) 0:01:35.815 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 20 January 2024 13:48:09 +0000 (0:00:00.048) 0:01:35.863 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 20 January 2024 13:48:09 +0000 (0:00:00.084) 0:01:35.948 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 20 January 2024 13:48:09 +0000 (0:00:00.032) 0:01:35.980 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 20 January 2024 13:48:09 +0000 (0:00:00.031) 0:01:36.012 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 20 January 2024 13:48:09 +0000 (0:00:00.027) 0:01:36.040 ****** 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 : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 20 January 2024 13:48:09 +0000 (0:00:00.022) 0:01:36.062 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 20 January 2024 13:48:09 +0000 (0:00:00.025) 0:01:36.088 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 20 January 2024 13:48:09 +0000 (0:00:00.385) 0:01:36.474 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-18509v60nl2sf/tmpjd82drfn" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 20 January 2024 13:48:10 +0000 (0:00:00.359) 0:01:36.834 ****** 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": "initscripts" } }, "changed": false } STDERR: [003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist [004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present) TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 20 January 2024 13:48:10 +0000 (0:00:00.336) 0:01:37.170 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 20 January 2024 13:48:10 +0000 (0:00:00.023) 0:01:37.194 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist", "[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present)" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 20 January 2024 13:48:10 +0000 (0:00:00.023) 0:01:37.218 ****** 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": "initscripts" } }, "changed": false, "failed": false, "stderr": "[003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist\n[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present)\n", "stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist", "[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present)" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 20 January 2024 13:48:10 +0000 (0:00:00.025) 0:01:37.244 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 20 January 2024 13:48:10 +0000 (0:00:00.027) 0:01:37.271 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/run_test.yml:36 Saturday 20 January 2024 13:48:10 +0000 (0:00:00.217) 0:01:37.489 ****** included: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/assert_profile_absent.yml for sut included: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/get_NetworkManager_NVR.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/assert_profile_absent.yml:3 Saturday 20 January 2024 13:48:10 +0000 (0:00:00.050) 0:01:37.539 ****** included: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/get_profile_stat.yml:3 Saturday 20 January 2024 13:48:10 +0000 (0:00:00.039) 0:01:37.578 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/get_profile_stat.yml:9 Saturday 20 January 2024 13:48:11 +0000 (0:00:00.022) 0:01:37.600 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/get_profile_stat.yml:17 Saturday 20 January 2024 13:48:11 +0000 (0:00:00.221) 0:01:37.822 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/get_profile_stat.yml:25 Saturday 20 January 2024 13:48:11 +0000 (0:00:00.024) 0:01:37.846 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022875", "end": "2024-01-20 13:48:11.453001", "rc": 1, "start": "2024-01-20 13:48:11.430126" } MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/get_profile_stat.yml:35 Saturday 20 January 2024 13:48:11 +0000 (0:00:00.226) 0:01:38.072 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/get_profile_stat.yml:49 Saturday 20 January 2024 13:48:11 +0000 (0:00:00.024) 0:01:38.097 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/get_profile_stat.yml:56 Saturday 20 January 2024 13:48:11 +0000 (0:00:00.023) 0:01:38.120 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/get_profile_stat.yml:62 Saturday 20 January 2024 13:48:11 +0000 (0:00:00.023) 0:01:38.144 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/get_profile_stat.yml:69 Saturday 20 January 2024 13:48:11 +0000 (0:00:00.023) 0:01:38.168 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/assert_profile_absent.yml:5 Saturday 20 January 2024 13:48:11 +0000 (0:00:00.023) 0:01:38.191 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/get_NetworkManager_NVR.yml:7 Saturday 20 January 2024 13:48:11 +0000 (0:00:00.025) 0:01:38.216 ****** ok: [sut] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:01.194454", "end": "2024-01-20 13:48:12.995609", "rc": 0, "start": "2024-01-20 13:48:11.801155" } STDOUT: NetworkManager-1.40.16-14.el8 TASK [Store NetworkManager version] ******************************************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/get_NetworkManager_NVR.yml:14 Saturday 20 January 2024 13:48:13 +0000 (0:00:01.405) 0:01:39.622 ****** ok: [sut] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.40.16-14.el8" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/get_NetworkManager_NVR.yml:18 Saturday 20 January 2024 13:48:13 +0000 (0:00:00.067) 0:01:39.689 ****** ok: [sut] => { "networkmanager_nvr": "NetworkManager-1.40.16-14.el8" } TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/run_test.yml:42 Saturday 20 January 2024 13:48:13 +0000 (0:00:00.037) 0:01:39.726 ****** skipping: [sut] => (item={'what': 'tasks/assert_device_absent.yml', 'condition': False}) => { "ansible_loop_var": "item", "changed": false, "item": { "condition": false, "what": "tasks/assert_device_absent.yml" }, "skip_reason": "Conditional result was False" } TASK [Success in test 'I will not get an error when I try to remove an absent profile'] *** task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/run_test.yml:47 Saturday 20 January 2024 13:48:13 +0000 (0:00:00.030) 0:01:39.757 ****** ok: [sut] => {} MSG: +++++ Success in test 'I will not get an error when I try to remove an absent profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/run_test.yml:66 Saturday 20 January 2024 13:48:13 +0000 (0:00:00.026) 0:01:39.783 ****** included: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 20 January 2024 13:48:13 +0000 (0:00:00.045) 0:01:39.829 ****** ok: [sut] => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.053936", "end": "2024-01-20 13:48:13.467448", "rc": 0, "start": "2024-01-20 13:48:13.413512" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=333 changed=13 unreachable=0 failed=0 skipped=226 rescued=0 ignored=10 Saturday 20 January 2024 13:48:13 +0000 (0:00:00.246) 0:01:40.075 ****** =============================================================================== linux-system-roles.network : Configure networking connection profiles --- 2.34s /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Configure networking connection profiles --- 2.14s /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Enable network service --------------------- 1.95s /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:105 linux-system-roles.network : Check which services are running ----------- 1.79s /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which packages are installed --------- 1.75s /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Ensure initscripts network file dependency is present --- 1.73s /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:113 linux-system-roles.network : Check which services are running ----------- 1.72s /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.71s /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.69s /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.69s /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.66s /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.65s /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.65s /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.64s /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.64s /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.64s /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which packages are installed --------- 1.64s /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which services are running ----------- 1.63s /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which packages are installed --------- 1.61s /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which services are running ----------- 1.61s /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- [WARNING]: Consider using the dnf module rather than running 'dnf'. If you need to use command because dnf is insufficient you can add 'warn: false' to this command task or set 'command_warnings=False' in ansible.cfg to get rid of this message. [WARNING]: Consider using the yum, dnf or zypper module rather than running 'rpm'. If you need to use command because yum, dnf or zypper is insufficient you can add 'warn: false' to this command task or set 'command_warnings=False' in ansible.cfg to get rid of this message. ---^---^---^---^---^---