# 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-cib6p8gnes/tests/tests_states_initscripts.yml PLAY [Run playbook 'playbooks/tests_states.yml' with initscripts as provider] *** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-weekly-cib6p8gnes/tests/tests_states_initscripts.yml:5 Saturday 20 January 2024 13:56:55 +0000 (0:00:00.011) 0:00:00.011 ****** ok: [sut] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-weekly-cib6p8gnes/tests/tests_states_initscripts.yml:8 Saturday 20 January 2024 13:56:56 +0000 (0:00:00.904) 0:00:00.915 ****** included: /WORKDIR/git-weekly-cib6p8gnes/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-cib6p8gnes/tests/tasks/el_repo_setup.yml:3 Saturday 20 January 2024 13:56:56 +0000 (0:00:00.024) 0:00:00.940 ****** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-weekly-cib6p8gnes/tests/tasks/el_repo_setup.yml:19 Saturday 20 January 2024 13:56:57 +0000 (0:00:00.227) 0:00:01.168 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-weekly-cib6p8gnes/tests/tasks/el_repo_setup.yml:24 Saturday 20 January 2024 13:56:57 +0000 (0:00:00.197) 0:00:01.365 ****** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-weekly-cib6p8gnes/tests/tasks/el_repo_setup.yml:28 Saturday 20 January 2024 13:56:57 +0000 (0:00:00.020) 0:00:01.386 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-weekly-cib6p8gnes/tests/tasks/el_repo_setup.yml:53 Saturday 20 January 2024 13:56:57 +0000 (0:00:00.017) 0:00:01.404 ****** included: /WORKDIR/git-weekly-cib6p8gnes/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 6] *********************************************************** task path: /WORKDIR/git-weekly-cib6p8gnes/tests/tasks/enable_epel.yml:8 Saturday 20 January 2024 13:56:57 +0000 (0:00:00.031) 0:00:01.435 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Install yum-utils package] *********************************************** task path: /WORKDIR/git-weekly-cib6p8gnes/tests/tasks/enable_epel.yml:24 Saturday 20 January 2024 13:56:57 +0000 (0:00:00.010) 0:00:01.446 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-weekly-cib6p8gnes/tests/tasks/enable_epel.yml:30 Saturday 20 January 2024 13:56:57 +0000 (0:00:00.012) 0:00:01.458 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-weekly-cib6p8gnes/tests/tasks/enable_epel.yml:35 Saturday 20 January 2024 13:56:57 +0000 (0:00:00.010) 0:00:01.469 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-weekly-cib6p8gnes/tests/tasks/enable_epel.yml:40 Saturday 20 January 2024 13:56:57 +0000 (0:00:00.010) 0:00:01.479 ****** ok: [sut] => { "changed": false, "checksum": "4bafddfe7badb0971135c888f25df1308b193622", "dest": "/etc/yum.repos.d/epel.repo", "gid": 0, "group": "root", "mode": "0644", "owner": "root", "path": "/etc/yum.repos.d/epel.repo", "secontext": "system_u:object_r:etc_t:s0", "size": 155, "state": "file", "uid": 0 } TASK [Set network provider to 'initscripts'] *********************************** task path: /WORKDIR/git-weekly-cib6p8gnes/tests/tests_states_initscripts.yml:10 Saturday 20 January 2024 13:56:57 +0000 (0:00:00.433) 0:00:01.912 ****** 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-cib6p8gnes/tests/playbooks/tests_states.yml:3 Saturday 20 January 2024 13:56:57 +0000 (0:00:00.011) 0:00:01.924 ****** ok: [sut] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-weekly-cib6p8gnes/tests/playbooks/tests_states.yml:11 Saturday 20 January 2024 13:56:58 +0000 (0:00:00.703) 0:00:02.627 ****** ok: [sut] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-weekly-cib6p8gnes/tests/playbooks/tests_states.yml:22 Saturday 20 January 2024 13:56:58 +0000 (0:00:00.012) 0:00:02.639 ****** included: /WORKDIR/git-weekly-cib6p8gnes/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile] ******************************************** task path: /WORKDIR/git-weekly-cib6p8gnes/tests/playbooks/tasks/run_test.yml:5 Saturday 20 January 2024 13:56:58 +0000 (0:00:00.018) 0:00:02.658 ****** ok: [sut] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-weekly-cib6p8gnes/tests/playbooks/tasks/run_test.yml:9 Saturday 20 January 2024 13:56:58 +0000 (0:00:00.011) 0:00:02.670 ****** 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-cib6p8gnes/tests/playbooks/tasks/run_test.yml:21 Saturday 20 January 2024 13:56:58 +0000 (0:00:00.035) 0:00:02.705 ****** included: /WORKDIR/git-weekly-cib6p8gnes/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-weekly-cib6p8gnes/tests/playbooks/tasks/show_interfaces.yml:3 Saturday 20 January 2024 13:56:58 +0000 (0:00:00.018) 0:00:02.724 ****** included: /WORKDIR/git-weekly-cib6p8gnes/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-weekly-cib6p8gnes/tests/playbooks/tasks/get_current_interfaces.yml:3 Saturday 20 January 2024 13:56:58 +0000 (0:00:00.014) 0:00:02.739 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003249", "end": "2024-01-20 13:56:58.727041", "rc": 0, "start": "2024-01-20 13:56:58.723792" } STDOUT: dummy0 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-weekly-cib6p8gnes/tests/playbooks/tasks/get_current_interfaces.yml:9 Saturday 20 January 2024 13:56:58 +0000 (0:00:00.191) 0:00:02.930 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "dummy0", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-weekly-cib6p8gnes/tests/playbooks/tasks/show_interfaces.yml:5 Saturday 20 January 2024 13:56:58 +0000 (0:00:00.013) 0:00:02.944 ****** ok: [sut] => {} MSG: current_interfaces: ['dummy0', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-weekly-cib6p8gnes/tests/playbooks/tasks/run_test.yml:24 Saturday 20 January 2024 13:56:58 +0000 (0:00:00.012) 0:00:02.956 ****** included: /WORKDIR/git-weekly-cib6p8gnes/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-weekly-cib6p8gnes/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-weekly-cib6p8gnes/tests/playbooks/tasks/delete_interface.yml:3 Saturday 20 January 2024 13:56:58 +0000 (0:00:00.023) 0:00:02.980 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.027513", "end": "2024-01-20 13:56:58.924227", "rc": 255, "start": "2024-01-20 13:56:58.896714" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-weekly-cib6p8gnes/tests/playbooks/tasks/assert_device_absent.yml:3 Saturday 20 January 2024 13:56:59 +0000 (0:00:00.147) 0:00:03.128 ****** included: /WORKDIR/git-weekly-cib6p8gnes/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-weekly-cib6p8gnes/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 20 January 2024 13:56:59 +0000 (0:00:00.017) 0:00:03.145 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-weekly-cib6p8gnes/tests/playbooks/tasks/assert_device_absent.yml:5 Saturday 20 January 2024 13:56:59 +0000 (0:00:00.123) 0:00:03.269 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-weekly-cib6p8gnes/tests/playbooks/tasks/run_test.yml:30 Saturday 20 January 2024 13:56:59 +0000 (0:00:00.014) 0:00:03.284 ****** included: /WORKDIR/git-weekly-cib6p8gnes/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-cib6p8gnes/tests/playbooks/tasks/create_bridge_profile.yml:3 Saturday 20 January 2024 13:56:59 +0000 (0:00:00.021) 0:00:03.305 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 20 January 2024 13:56:59 +0000 (0:00:00.035) 0:00:03.340 ****** included: /WORKDIR/git-weekly-cib6p8gnes/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-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 20 January 2024 13:56:59 +0000 (0:00:00.070) 0:00:03.411 ****** 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-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 20 January 2024 13:56:59 +0000 (0:00:00.013) 0:00:03.425 ****** 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-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 20 January 2024 13:56:59 +0000 (0:00:00.011) 0:00:03.436 ****** 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-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 20 January 2024 13:56:59 +0000 (0:00:00.011) 0:00:03.447 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-weekly-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 20 January 2024 13:57:01 +0000 (0:00:01.704) 0:00:05.152 ****** 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-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 20 January 2024 13:57:01 +0000 (0:00:00.698) 0:00:05.850 ****** 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-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 20 January 2024 13:57:01 +0000 (0:00:00.023) 0:00:05.873 ****** 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-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 20 January 2024 13:57:01 +0000 (0:00:00.020) 0:00:05.894 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 20 January 2024 13:57:01 +0000 (0:00:00.021) 0:00:05.915 ****** 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-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 20 January 2024 13:57:01 +0000 (0:00:00.041) 0:00:05.957 ****** 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-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 20 January 2024 13:57:01 +0000 (0:00:00.038) 0:00:05.995 ****** 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-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 20 January 2024 13:57:01 +0000 (0:00:00.021) 0:00:06.017 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 20 January 2024 13:57:01 +0000 (0:00:00.027) 0:00:06.044 ****** 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-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 20 January 2024 13:57:01 +0000 (0:00:00.021) 0:00:06.066 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 20 January 2024 13:57:02 +0000 (0:00:00.021) 0:00:06.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 : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-weekly-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 20 January 2024 13:57:02 +0000 (0:00:00.243) 0:00:06.331 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-150607tantk3i/tmpdx0kwslb" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 20 January 2024 13:57:02 +0000 (0:00:00.195) 0:00:06.526 ****** 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-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 20 January 2024 13:57:02 +0000 (0:00:00.343) 0:00:06.870 ****** 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-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 20 January 2024 13:57:02 +0000 (0:00:00.021) 0:00:06.892 ****** 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-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 20 January 2024 13:57:02 +0000 (0:00:00.024) 0:00:06.917 ****** 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-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 20 January 2024 13:57:02 +0000 (0:00:00.022) 0:00:06.940 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 20 January 2024 13:57:02 +0000 (0:00:00.021) 0:00:06.961 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-weekly-cib6p8gnes/tests/playbooks/tasks/create_bridge_profile.yml:14 Saturday 20 January 2024 13:57:03 +0000 (0:00:00.199) 0:00:07.161 ****** 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-cib6p8gnes/tests/playbooks/tasks/run_test.yml:36 Saturday 20 January 2024 13:57:03 +0000 (0:00:00.023) 0:00:07.185 ****** included: /WORKDIR/git-weekly-cib6p8gnes/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-weekly-cib6p8gnes/tests/playbooks/tasks/assert_profile_present.yml:3 Saturday 20 January 2024 13:57:03 +0000 (0:00:00.060) 0:00:07.245 ****** included: /WORKDIR/git-weekly-cib6p8gnes/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-weekly-cib6p8gnes/tests/playbooks/tasks/get_profile_stat.yml:3 Saturday 20 January 2024 13:57:03 +0000 (0:00:00.037) 0:00:07.283 ****** 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-cib6p8gnes/tests/playbooks/tasks/get_profile_stat.yml:9 Saturday 20 January 2024 13:57:03 +0000 (0:00:00.020) 0:00:07.304 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1705759022.6592324, "block_size": 4096, "blocks": 8, "ctime": 1705759022.6592324, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 3668, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1705759022.6592324, "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-cib6p8gnes/tests/playbooks/tasks/get_profile_stat.yml:17 Saturday 20 January 2024 13:57:03 +0000 (0:00:00.126) 0:00:07.430 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-weekly-cib6p8gnes/tests/playbooks/tasks/get_profile_stat.yml:25 Saturday 20 January 2024 13:57:03 +0000 (0:00:00.024) 0:00:07.455 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.005150", "end": "2024-01-20 13:57:03.377385", "rc": 1, "start": "2024-01-20 13:57:03.372235" } STDERR: /bin/sh: nmcli: command not found 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-cib6p8gnes/tests/playbooks/tasks/get_profile_stat.yml:35 Saturday 20 January 2024 13:57:03 +0000 (0:00:00.132) 0:00:07.587 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-weekly-cib6p8gnes/tests/playbooks/tasks/get_profile_stat.yml:49 Saturday 20 January 2024 13:57:03 +0000 (0:00:00.021) 0:00:07.609 ****** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003046", "end": "2024-01-20 13:57:03.531636", "rc": 0, "start": "2024-01-20 13:57:03.528590" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-weekly-cib6p8gnes/tests/playbooks/tasks/get_profile_stat.yml:56 Saturday 20 January 2024 13:57:03 +0000 (0:00:00.133) 0:00:07.742 ****** 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-cib6p8gnes/tests/playbooks/tasks/get_profile_stat.yml:62 Saturday 20 January 2024 13:57:03 +0000 (0:00:00.027) 0:00:07.770 ****** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003080", "end": "2024-01-20 13:57:03.696140", "rc": 0, "start": "2024-01-20 13:57:03.693060" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-weekly-cib6p8gnes/tests/playbooks/tasks/get_profile_stat.yml:69 Saturday 20 January 2024 13:57:03 +0000 (0:00:00.138) 0:00:07.908 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-weekly-cib6p8gnes/tests/playbooks/tasks/assert_profile_present.yml:5 Saturday 20 January 2024 13:57:03 +0000 (0:00:00.026) 0:00:07.934 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-weekly-cib6p8gnes/tests/playbooks/tasks/assert_profile_present.yml:10 Saturday 20 January 2024 13:57:03 +0000 (0:00:00.023) 0:00:07.957 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-weekly-cib6p8gnes/tests/playbooks/tasks/assert_profile_present.yml:15 Saturday 20 January 2024 13:57:03 +0000 (0:00:00.023) 0:00:07.981 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-weekly-cib6p8gnes/tests/playbooks/tasks/run_test.yml:42 Saturday 20 January 2024 13:57:03 +0000 (0:00:00.021) 0:00:08.003 ****** 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-cib6p8gnes/tests/playbooks/tasks/run_test.yml:47 Saturday 20 January 2024 13:57:03 +0000 (0:00:00.048) 0:00:08.052 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-weekly-cib6p8gnes/tests/playbooks/tasks/run_test.yml:66 Saturday 20 January 2024 13:57:03 +0000 (0:00:00.022) 0:00:08.075 ****** included: /WORKDIR/git-weekly-cib6p8gnes/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-weekly-cib6p8gnes/tests/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 20 January 2024 13:57:04 +0000 (0:00:00.039) 0:00:08.114 ****** 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.028305", "end": "2024-01-20 13:57:04.058884", "rc": 255, "start": "2024-01-20 13:57:04.030579" } STDERR: /bin/sh: nmcli: command not found /bin/sh: line 1: nmcli: command not found Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-weekly-cib6p8gnes/tests/playbooks/tests_states.yml:45 Saturday 20 January 2024 13:57:04 +0000 (0:00:00.154) 0:00:08.269 ****** included: /WORKDIR/git-weekly-cib6p8gnes/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile without autoconnect] ************************ task path: /WORKDIR/git-weekly-cib6p8gnes/tests/playbooks/tasks/run_test.yml:5 Saturday 20 January 2024 13:57:04 +0000 (0:00:00.035) 0:00:08.305 ****** ok: [sut] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-weekly-cib6p8gnes/tests/playbooks/tasks/run_test.yml:9 Saturday 20 January 2024 13:57:04 +0000 (0:00:00.022) 0:00:08.327 ****** 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-cib6p8gnes/tests/playbooks/tasks/run_test.yml:21 Saturday 20 January 2024 13:57:04 +0000 (0:00:00.044) 0:00:08.371 ****** included: /WORKDIR/git-weekly-cib6p8gnes/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-weekly-cib6p8gnes/tests/playbooks/tasks/show_interfaces.yml:3 Saturday 20 January 2024 13:57:04 +0000 (0:00:00.034) 0:00:08.405 ****** included: /WORKDIR/git-weekly-cib6p8gnes/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-weekly-cib6p8gnes/tests/playbooks/tasks/get_current_interfaces.yml:3 Saturday 20 January 2024 13:57:04 +0000 (0:00:00.033) 0:00:08.438 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003196", "end": "2024-01-20 13:57:04.358467", "rc": 0, "start": "2024-01-20 13:57:04.355271" } STDOUT: dummy0 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-weekly-cib6p8gnes/tests/playbooks/tasks/get_current_interfaces.yml:9 Saturday 20 January 2024 13:57:04 +0000 (0:00:00.129) 0:00:08.568 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "dummy0", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-weekly-cib6p8gnes/tests/playbooks/tasks/show_interfaces.yml:5 Saturday 20 January 2024 13:57:04 +0000 (0:00:00.022) 0:00:08.590 ****** ok: [sut] => {} MSG: current_interfaces: ['dummy0', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-weekly-cib6p8gnes/tests/playbooks/tasks/run_test.yml:24 Saturday 20 January 2024 13:57:04 +0000 (0:00:00.021) 0:00:08.612 ****** included: /WORKDIR/git-weekly-cib6p8gnes/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-weekly-cib6p8gnes/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-weekly-cib6p8gnes/tests/playbooks/tasks/delete_interface.yml:3 Saturday 20 January 2024 13:57:04 +0000 (0:00:00.065) 0:00:08.678 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.004650", "end": "2024-01-20 13:57:04.601341", "rc": 255, "start": "2024-01-20 13:57:04.596691" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-weekly-cib6p8gnes/tests/playbooks/tasks/assert_device_absent.yml:3 Saturday 20 January 2024 13:57:04 +0000 (0:00:00.132) 0:00:08.810 ****** included: /WORKDIR/git-weekly-cib6p8gnes/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-weekly-cib6p8gnes/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 20 January 2024 13:57:04 +0000 (0:00:00.035) 0:00:08.845 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-weekly-cib6p8gnes/tests/playbooks/tasks/assert_device_absent.yml:5 Saturday 20 January 2024 13:57:04 +0000 (0:00:00.126) 0:00:08.972 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-weekly-cib6p8gnes/tests/playbooks/tasks/run_test.yml:30 Saturday 20 January 2024 13:57:04 +0000 (0:00:00.024) 0:00:08.997 ****** included: /WORKDIR/git-weekly-cib6p8gnes/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-cib6p8gnes/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Saturday 20 January 2024 13:57:04 +0000 (0:00:00.038) 0:00:09.035 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 20 January 2024 13:57:04 +0000 (0:00:00.039) 0:00:09.075 ****** included: /WORKDIR/git-weekly-cib6p8gnes/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-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 20 January 2024 13:57:05 +0000 (0:00:00.038) 0:00:09.114 ****** 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-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 20 January 2024 13:57:05 +0000 (0:00:00.026) 0:00:09.140 ****** 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-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 20 January 2024 13:57:05 +0000 (0:00:00.021) 0:00:09.161 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-weekly-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 20 January 2024 13:57:05 +0000 (0:00:00.021) 0:00:09.183 ****** 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-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 20 January 2024 13:57:06 +0000 (0:00:01.444) 0:00:10.627 ****** 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-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 20 January 2024 13:57:07 +0000 (0:00:00.567) 0:00:11.194 ****** 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-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 20 January 2024 13:57:07 +0000 (0:00:00.022) 0:00:11.217 ****** 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-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 20 January 2024 13:57:07 +0000 (0:00:00.020) 0:00:11.238 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 20 January 2024 13:57:07 +0000 (0:00:00.021) 0:00:11.259 ****** 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-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 20 January 2024 13:57:07 +0000 (0:00:00.042) 0:00:11.302 ****** 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-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 20 January 2024 13:57:07 +0000 (0:00:00.021) 0:00:11.323 ****** 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-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 20 January 2024 13:57:07 +0000 (0:00:00.041) 0:00:11.365 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 20 January 2024 13:57:07 +0000 (0:00:00.026) 0:00:11.391 ****** 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-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 20 January 2024 13:57:07 +0000 (0:00:00.021) 0:00:11.413 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 20 January 2024 13:57:07 +0000 (0:00:00.021) 0:00:11.434 ****** 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-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 20 January 2024 13:57:07 +0000 (0:00:00.188) 0:00:11.623 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-150607tantk3i/tmp_ctgorqm" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 20 January 2024 13:57:07 +0000 (0:00:00.191) 0:00:11.814 ****** 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-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 20 January 2024 13:57:07 +0000 (0:00:00.230) 0:00:12.045 ****** 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-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 20 January 2024 13:57:07 +0000 (0:00:00.021) 0:00:12.066 ****** 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-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 20 January 2024 13:57:08 +0000 (0:00:00.022) 0:00:12.089 ****** 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-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 20 January 2024 13:57:08 +0000 (0:00:00.022) 0:00:12.111 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 20 January 2024 13:57:08 +0000 (0:00:00.021) 0:00:12.133 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-weekly-cib6p8gnes/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Saturday 20 January 2024 13:57:08 +0000 (0:00:00.124) 0:00:12.257 ****** 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-cib6p8gnes/tests/playbooks/tasks/run_test.yml:36 Saturday 20 January 2024 13:57:08 +0000 (0:00:00.023) 0:00:12.280 ****** included: /WORKDIR/git-weekly-cib6p8gnes/tests/playbooks/tasks/assert_device_absent.yml for sut included: /WORKDIR/git-weekly-cib6p8gnes/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-weekly-cib6p8gnes/tests/playbooks/tasks/assert_device_absent.yml:3 Saturday 20 January 2024 13:57:08 +0000 (0:00:00.045) 0:00:12.326 ****** included: /WORKDIR/git-weekly-cib6p8gnes/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-weekly-cib6p8gnes/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 20 January 2024 13:57:08 +0000 (0:00:00.060) 0:00:12.386 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-weekly-cib6p8gnes/tests/playbooks/tasks/assert_device_absent.yml:5 Saturday 20 January 2024 13:57:08 +0000 (0:00:00.131) 0:00:12.518 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-weekly-cib6p8gnes/tests/playbooks/tasks/assert_profile_present.yml:3 Saturday 20 January 2024 13:57:08 +0000 (0:00:00.025) 0:00:12.544 ****** included: /WORKDIR/git-weekly-cib6p8gnes/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-weekly-cib6p8gnes/tests/playbooks/tasks/get_profile_stat.yml:3 Saturday 20 January 2024 13:57:08 +0000 (0:00:00.036) 0:00:12.580 ****** 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-cib6p8gnes/tests/playbooks/tasks/get_profile_stat.yml:9 Saturday 20 January 2024 13:57:08 +0000 (0:00:00.021) 0:00:12.602 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1705759027.8338184, "block_size": 4096, "blocks": 8, "ctime": 1705759027.8338184, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 3668, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1705759027.8338184, "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-cib6p8gnes/tests/playbooks/tasks/get_profile_stat.yml:17 Saturday 20 January 2024 13:57:08 +0000 (0:00:00.126) 0:00:12.728 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-weekly-cib6p8gnes/tests/playbooks/tasks/get_profile_stat.yml:25 Saturday 20 January 2024 13:57:08 +0000 (0:00:00.021) 0:00:12.750 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.004819", "end": "2024-01-20 13:57:08.674356", "rc": 1, "start": "2024-01-20 13:57:08.669537" } STDERR: /bin/sh: nmcli: command not found 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-cib6p8gnes/tests/playbooks/tasks/get_profile_stat.yml:35 Saturday 20 January 2024 13:57:08 +0000 (0:00:00.131) 0:00:12.881 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-weekly-cib6p8gnes/tests/playbooks/tasks/get_profile_stat.yml:49 Saturday 20 January 2024 13:57:08 +0000 (0:00:00.022) 0:00:12.904 ****** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003152", "end": "2024-01-20 13:57:08.829659", "rc": 0, "start": "2024-01-20 13:57:08.826507" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-weekly-cib6p8gnes/tests/playbooks/tasks/get_profile_stat.yml:56 Saturday 20 January 2024 13:57:08 +0000 (0:00:00.134) 0:00:13.039 ****** 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-cib6p8gnes/tests/playbooks/tasks/get_profile_stat.yml:62 Saturday 20 January 2024 13:57:08 +0000 (0:00:00.026) 0:00:13.066 ****** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.002991", "end": "2024-01-20 13:57:08.989962", "rc": 0, "start": "2024-01-20 13:57:08.986971" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-weekly-cib6p8gnes/tests/playbooks/tasks/get_profile_stat.yml:69 Saturday 20 January 2024 13:57:09 +0000 (0:00:00.131) 0:00:13.198 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-weekly-cib6p8gnes/tests/playbooks/tasks/assert_profile_present.yml:5 Saturday 20 January 2024 13:57:09 +0000 (0:00:00.027) 0:00:13.225 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-weekly-cib6p8gnes/tests/playbooks/tasks/assert_profile_present.yml:10 Saturday 20 January 2024 13:57:09 +0000 (0:00:00.023) 0:00:13.248 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-weekly-cib6p8gnes/tests/playbooks/tasks/assert_profile_present.yml:15 Saturday 20 January 2024 13:57:09 +0000 (0:00:00.049) 0:00:13.297 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-weekly-cib6p8gnes/tests/playbooks/tasks/run_test.yml:42 Saturday 20 January 2024 13:57:09 +0000 (0:00:00.025) 0:00:13.323 ****** TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /WORKDIR/git-weekly-cib6p8gnes/tests/playbooks/tasks/run_test.yml:47 Saturday 20 January 2024 13:57:09 +0000 (0:00:00.020) 0:00:13.343 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-weekly-cib6p8gnes/tests/playbooks/tasks/run_test.yml:66 Saturday 20 January 2024 13:57:09 +0000 (0:00:00.022) 0:00:13.365 ****** included: /WORKDIR/git-weekly-cib6p8gnes/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-weekly-cib6p8gnes/tests/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 20 January 2024 13:57:09 +0000 (0:00:00.039) 0:00:13.405 ****** 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.013001", "end": "2024-01-20 13:57:09.337722", "rc": 255, "start": "2024-01-20 13:57:09.324721" } STDERR: /bin/sh: nmcli: command not found /bin/sh: line 1: nmcli: command not found Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-weekly-cib6p8gnes/tests/playbooks/tests_states.yml:65 Saturday 20 January 2024 13:57:09 +0000 (0:00:00.139) 0:00:13.545 ****** included: /WORKDIR/git-weekly-cib6p8gnes/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can activate an existing profile] ******************************** task path: /WORKDIR/git-weekly-cib6p8gnes/tests/playbooks/tasks/run_test.yml:5 Saturday 20 January 2024 13:57:09 +0000 (0:00:00.036) 0:00:13.582 ****** ok: [sut] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-weekly-cib6p8gnes/tests/playbooks/tasks/run_test.yml:9 Saturday 20 January 2024 13:57:09 +0000 (0:00:00.023) 0:00:13.605 ****** 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-cib6p8gnes/tests/playbooks/tasks/run_test.yml:21 Saturday 20 January 2024 13:57:09 +0000 (0:00:00.044) 0:00:13.650 ****** included: /WORKDIR/git-weekly-cib6p8gnes/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-weekly-cib6p8gnes/tests/playbooks/tasks/show_interfaces.yml:3 Saturday 20 January 2024 13:57:09 +0000 (0:00:00.033) 0:00:13.683 ****** included: /WORKDIR/git-weekly-cib6p8gnes/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-weekly-cib6p8gnes/tests/playbooks/tasks/get_current_interfaces.yml:3 Saturday 20 January 2024 13:57:09 +0000 (0:00:00.033) 0:00:13.717 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003216", "end": "2024-01-20 13:57:09.642021", "rc": 0, "start": "2024-01-20 13:57:09.638805" } STDOUT: dummy0 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-weekly-cib6p8gnes/tests/playbooks/tasks/get_current_interfaces.yml:9 Saturday 20 January 2024 13:57:09 +0000 (0:00:00.132) 0:00:13.849 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "dummy0", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-weekly-cib6p8gnes/tests/playbooks/tasks/show_interfaces.yml:5 Saturday 20 January 2024 13:57:09 +0000 (0:00:00.054) 0:00:13.904 ****** ok: [sut] => {} MSG: current_interfaces: ['dummy0', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-weekly-cib6p8gnes/tests/playbooks/tasks/run_test.yml:24 Saturday 20 January 2024 13:57:09 +0000 (0:00:00.022) 0:00:13.927 ****** included: /WORKDIR/git-weekly-cib6p8gnes/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-cib6p8gnes/tests/playbooks/tasks/create_bridge_profile.yml:3 Saturday 20 January 2024 13:57:09 +0000 (0:00:00.037) 0:00:13.965 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 20 January 2024 13:57:09 +0000 (0:00:00.036) 0:00:14.001 ****** included: /WORKDIR/git-weekly-cib6p8gnes/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-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 20 January 2024 13:57:09 +0000 (0:00:00.039) 0:00:14.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 : Check if system is ostree] ****************** task path: /WORKDIR/git-weekly-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 20 January 2024 13:57:09 +0000 (0:00:00.026) 0:00:14.067 ****** 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-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 20 January 2024 13:57:10 +0000 (0:00:00.020) 0:00:14.087 ****** 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-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 20 January 2024 13:57:10 +0000 (0:00:00.021) 0:00:14.108 ****** 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-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 20 January 2024 13:57:11 +0000 (0:00:01.418) 0:00:15.527 ****** 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-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 20 January 2024 13:57:12 +0000 (0:00:00.578) 0:00:16.106 ****** 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-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 20 January 2024 13:57:12 +0000 (0:00:00.022) 0:00:16.128 ****** 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-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 20 January 2024 13:57:12 +0000 (0:00:00.020) 0:00:16.149 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 20 January 2024 13:57:12 +0000 (0:00:00.021) 0:00:16.171 ****** 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-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 20 January 2024 13:57:12 +0000 (0:00:00.041) 0:00:16.213 ****** 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-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 20 January 2024 13:57:12 +0000 (0:00:00.020) 0:00:16.233 ****** 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-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 20 January 2024 13:57:12 +0000 (0:00:00.021) 0:00:16.254 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 20 January 2024 13:57:12 +0000 (0:00:00.023) 0:00:16.278 ****** 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-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 20 January 2024 13:57:12 +0000 (0:00:00.021) 0:00:16.299 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 20 January 2024 13:57:12 +0000 (0:00:00.020) 0:00:16.320 ****** 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-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 20 January 2024 13:57:12 +0000 (0:00:00.185) 0:00:16.505 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-150607tantk3i/tmpgx97plh6" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 20 January 2024 13:57:12 +0000 (0:00:00.212) 0:00:16.718 ****** 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-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 20 January 2024 13:57:12 +0000 (0:00:00.233) 0:00:16.952 ****** 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-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 20 January 2024 13:57:12 +0000 (0:00:00.021) 0:00:16.973 ****** 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-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 20 January 2024 13:57:12 +0000 (0:00:00.023) 0:00:16.996 ****** 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-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 20 January 2024 13:57:12 +0000 (0:00:00.024) 0:00:17.021 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 20 January 2024 13:57:12 +0000 (0:00:00.021) 0:00:17.042 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-weekly-cib6p8gnes/tests/playbooks/tasks/create_bridge_profile.yml:14 Saturday 20 January 2024 13:57:13 +0000 (0:00:00.123) 0:00:17.166 ****** 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-cib6p8gnes/tests/playbooks/tasks/run_test.yml:30 Saturday 20 January 2024 13:57:13 +0000 (0:00:00.023) 0:00:17.190 ****** included: /WORKDIR/git-weekly-cib6p8gnes/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-cib6p8gnes/tests/playbooks/tasks/activate_profile.yml:3 Saturday 20 January 2024 13:57:13 +0000 (0:00:00.037) 0:00:17.227 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 20 January 2024 13:57:13 +0000 (0:00:00.039) 0:00:17.267 ****** included: /WORKDIR/git-weekly-cib6p8gnes/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-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 20 January 2024 13:57:13 +0000 (0:00:00.039) 0:00:17.306 ****** 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-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 20 January 2024 13:57:13 +0000 (0:00:00.026) 0:00:17.332 ****** 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-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 20 January 2024 13:57:13 +0000 (0:00:00.020) 0:00:17.353 ****** 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-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 20 January 2024 13:57:13 +0000 (0:00:00.046) 0:00:17.400 ****** 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-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 20 January 2024 13:57:14 +0000 (0:00:01.404) 0:00:18.804 ****** 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-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 20 January 2024 13:57:15 +0000 (0:00:00.567) 0:00:19.372 ****** 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-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 20 January 2024 13:57:15 +0000 (0:00:00.022) 0:00:19.394 ****** 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-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 20 January 2024 13:57:15 +0000 (0:00:00.023) 0:00:19.418 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 20 January 2024 13:57:15 +0000 (0:00:00.021) 0:00:19.439 ****** 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-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 20 January 2024 13:57:15 +0000 (0:00:00.042) 0:00:19.482 ****** 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-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 20 January 2024 13:57:15 +0000 (0:00:00.041) 0:00:19.524 ****** 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-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 20 January 2024 13:57:15 +0000 (0:00:00.020) 0:00:19.544 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 20 January 2024 13:57:15 +0000 (0:00:00.024) 0:00:19.569 ****** 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-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 20 January 2024 13:57:15 +0000 (0:00:00.020) 0:00:19.590 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 20 January 2024 13:57:15 +0000 (0:00:00.019) 0:00:19.610 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-weekly-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 20 January 2024 13:57:15 +0000 (0:00:00.185) 0:00:19.795 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-150607tantk3i/tmpoaoop5np" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 20 January 2024 13:57:15 +0000 (0:00:00.186) 0:00:19.981 ****** 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='', err='' TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-weekly-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 20 January 2024 13:57:16 +0000 (0:00:00.356) 0:00:20.338 ****** 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-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 20 January 2024 13:57:16 +0000 (0:00:00.020) 0:00:20.358 ****** 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='', err=''" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-weekly-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 20 January 2024 13:57:16 +0000 (0:00:00.022) 0:00:20.380 ****** 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='', err=''\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='', err=''" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-weekly-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 20 January 2024 13:57:16 +0000 (0:00:00.022) 0:00:20.403 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 20 January 2024 13:57:16 +0000 (0:00:00.023) 0:00:20.426 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-weekly-cib6p8gnes/tests/playbooks/tasks/run_test.yml:36 Saturday 20 January 2024 13:57:16 +0000 (0:00:00.127) 0:00:20.553 ****** included: /WORKDIR/git-weekly-cib6p8gnes/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-weekly-cib6p8gnes/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-weekly-cib6p8gnes/tests/playbooks/tasks/assert_device_present.yml:3 Saturday 20 January 2024 13:57:16 +0000 (0:00:00.042) 0:00:20.596 ****** included: /WORKDIR/git-weekly-cib6p8gnes/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-weekly-cib6p8gnes/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 20 January 2024 13:57:16 +0000 (0:00:00.061) 0:00:20.658 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1705759036.058929, "block_size": 4096, "blocks": 0, "ctime": 1705759036.0549269, "dev": 0, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 6543, "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": 1705759036.0549269, "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-cib6p8gnes/tests/playbooks/tasks/assert_device_present.yml:5 Saturday 20 January 2024 13:57:16 +0000 (0:00:00.129) 0:00:20.787 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-weekly-cib6p8gnes/tests/playbooks/tasks/assert_profile_present.yml:3 Saturday 20 January 2024 13:57:16 +0000 (0:00:00.024) 0:00:20.812 ****** included: /WORKDIR/git-weekly-cib6p8gnes/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-weekly-cib6p8gnes/tests/playbooks/tasks/get_profile_stat.yml:3 Saturday 20 January 2024 13:57:16 +0000 (0:00:00.036) 0:00:20.849 ****** 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-cib6p8gnes/tests/playbooks/tasks/get_profile_stat.yml:9 Saturday 20 January 2024 13:57:16 +0000 (0:00:00.021) 0:00:20.870 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1705759034.2230115, "block_size": 4096, "blocks": 8, "ctime": 1705759032.7442725, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 3668, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1705759032.7442725, "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-cib6p8gnes/tests/playbooks/tasks/get_profile_stat.yml:17 Saturday 20 January 2024 13:57:16 +0000 (0:00:00.128) 0:00:20.998 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-weekly-cib6p8gnes/tests/playbooks/tasks/get_profile_stat.yml:25 Saturday 20 January 2024 13:57:16 +0000 (0:00:00.023) 0:00:21.022 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.004905", "end": "2024-01-20 13:57:16.951251", "rc": 1, "start": "2024-01-20 13:57:16.946346" } STDERR: /bin/sh: nmcli: command not found 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-cib6p8gnes/tests/playbooks/tasks/get_profile_stat.yml:35 Saturday 20 January 2024 13:57:17 +0000 (0:00:00.132) 0:00:21.154 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-weekly-cib6p8gnes/tests/playbooks/tasks/get_profile_stat.yml:49 Saturday 20 January 2024 13:57:17 +0000 (0:00:00.022) 0:00:21.177 ****** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003072", "end": "2024-01-20 13:57:17.108957", "rc": 0, "start": "2024-01-20 13:57:17.105885" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-weekly-cib6p8gnes/tests/playbooks/tasks/get_profile_stat.yml:56 Saturday 20 January 2024 13:57:17 +0000 (0:00:00.137) 0:00:21.314 ****** 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-cib6p8gnes/tests/playbooks/tasks/get_profile_stat.yml:62 Saturday 20 January 2024 13:57:17 +0000 (0:00:00.026) 0:00:21.341 ****** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003125", "end": "2024-01-20 13:57:17.274325", "rc": 0, "start": "2024-01-20 13:57:17.271200" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-weekly-cib6p8gnes/tests/playbooks/tasks/get_profile_stat.yml:69 Saturday 20 January 2024 13:57:17 +0000 (0:00:00.138) 0:00:21.480 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-weekly-cib6p8gnes/tests/playbooks/tasks/assert_profile_present.yml:5 Saturday 20 January 2024 13:57:17 +0000 (0:00:00.025) 0:00:21.505 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-weekly-cib6p8gnes/tests/playbooks/tasks/assert_profile_present.yml:10 Saturday 20 January 2024 13:57:17 +0000 (0:00:00.048) 0:00:21.553 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-weekly-cib6p8gnes/tests/playbooks/tasks/assert_profile_present.yml:15 Saturday 20 January 2024 13:57:17 +0000 (0:00:00.023) 0:00:21.577 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-weekly-cib6p8gnes/tests/playbooks/tasks/run_test.yml:42 Saturday 20 January 2024 13:57:17 +0000 (0:00:00.022) 0:00:21.599 ****** TASK [Success in test 'I can activate an existing profile'] ******************** task path: /WORKDIR/git-weekly-cib6p8gnes/tests/playbooks/tasks/run_test.yml:47 Saturday 20 January 2024 13:57:17 +0000 (0:00:00.019) 0:00:21.619 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-weekly-cib6p8gnes/tests/playbooks/tasks/run_test.yml:66 Saturday 20 January 2024 13:57:17 +0000 (0:00:00.021) 0:00:21.640 ****** included: /WORKDIR/git-weekly-cib6p8gnes/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-weekly-cib6p8gnes/tests/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 20 January 2024 13:57:17 +0000 (0:00:00.038) 0:00:21.679 ****** 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.017018", "end": "2024-01-20 13:57:17.619758", "rc": 0, "start": "2024-01-20 13:57:17.602740" } STDERR: /bin/sh: nmcli: command not found /bin/sh: line 1: nmcli: command not found TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-weekly-cib6p8gnes/tests/playbooks/tests_states.yml:83 Saturday 20 January 2024 13:57:17 +0000 (0:00:00.147) 0:00:21.827 ****** included: /WORKDIR/git-weekly-cib6p8gnes/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-cib6p8gnes/tests/playbooks/tasks/run_test.yml:5 Saturday 20 January 2024 13:57:17 +0000 (0:00:00.035) 0:00:21.862 ****** ok: [sut] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-weekly-cib6p8gnes/tests/playbooks/tasks/run_test.yml:9 Saturday 20 January 2024 13:57:17 +0000 (0:00:00.021) 0:00:21.883 ****** 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-cib6p8gnes/tests/playbooks/tasks/run_test.yml:21 Saturday 20 January 2024 13:57:17 +0000 (0:00:00.043) 0:00:21.927 ****** included: /WORKDIR/git-weekly-cib6p8gnes/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-weekly-cib6p8gnes/tests/playbooks/tasks/show_interfaces.yml:3 Saturday 20 January 2024 13:57:17 +0000 (0:00:00.033) 0:00:21.961 ****** included: /WORKDIR/git-weekly-cib6p8gnes/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-weekly-cib6p8gnes/tests/playbooks/tasks/get_current_interfaces.yml:3 Saturday 20 January 2024 13:57:17 +0000 (0:00:00.032) 0:00:21.994 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003087", "end": "2024-01-20 13:57:17.920308", "rc": 0, "start": "2024-01-20 13:57:17.917221" } STDOUT: dummy0 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-weekly-cib6p8gnes/tests/playbooks/tasks/get_current_interfaces.yml:9 Saturday 20 January 2024 13:57:18 +0000 (0:00:00.151) 0:00:22.146 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "dummy0", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-weekly-cib6p8gnes/tests/playbooks/tasks/show_interfaces.yml:5 Saturday 20 January 2024 13:57:18 +0000 (0:00:00.022) 0:00:22.169 ****** ok: [sut] => {} MSG: current_interfaces: ['dummy0', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-weekly-cib6p8gnes/tests/playbooks/tasks/run_test.yml:24 Saturday 20 January 2024 13:57:18 +0000 (0:00:00.021) 0:00:22.190 ****** included: /WORKDIR/git-weekly-cib6p8gnes/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-weekly-cib6p8gnes/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-cib6p8gnes/tests/playbooks/tasks/create_bridge_profile.yml:3 Saturday 20 January 2024 13:57:18 +0000 (0:00:00.040) 0:00:22.231 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 20 January 2024 13:57:18 +0000 (0:00:00.035) 0:00:22.266 ****** included: /WORKDIR/git-weekly-cib6p8gnes/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-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 20 January 2024 13:57:18 +0000 (0:00:00.039) 0:00:22.306 ****** 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-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 20 January 2024 13:57:18 +0000 (0:00:00.025) 0:00:22.331 ****** 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-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 20 January 2024 13:57:18 +0000 (0:00:00.020) 0:00:22.351 ****** 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-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 20 January 2024 13:57:18 +0000 (0:00:00.020) 0:00:22.371 ****** 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-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 20 January 2024 13:57:19 +0000 (0:00:01.484) 0:00:23.855 ****** 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-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 20 January 2024 13:57:20 +0000 (0:00:00.574) 0:00:24.430 ****** 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-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 20 January 2024 13:57:20 +0000 (0:00:00.022) 0:00:24.453 ****** 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-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 20 January 2024 13:57:20 +0000 (0:00:00.021) 0:00:24.474 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 20 January 2024 13:57:20 +0000 (0:00:00.021) 0:00:24.496 ****** 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-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 20 January 2024 13:57:20 +0000 (0:00:00.043) 0:00:24.539 ****** 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-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 20 January 2024 13:57:20 +0000 (0:00:00.021) 0:00:24.561 ****** 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-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 20 January 2024 13:57:20 +0000 (0:00:00.021) 0:00:24.582 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 20 January 2024 13:57:20 +0000 (0:00:00.024) 0:00:24.607 ****** 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-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 20 January 2024 13:57:20 +0000 (0:00:00.021) 0:00:24.628 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 20 January 2024 13:57:20 +0000 (0:00:00.020) 0:00:24.649 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-weekly-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 20 January 2024 13:57:20 +0000 (0:00:00.186) 0:00:24.836 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-150607tantk3i/tmpsfc8_clr" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 20 January 2024 13:57:20 +0000 (0:00:00.191) 0:00:25.027 ****** 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-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 20 January 2024 13:57:21 +0000 (0:00:00.240) 0:00:25.268 ****** 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-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 20 January 2024 13:57:21 +0000 (0:00:00.022) 0:00:25.290 ****** 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-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 20 January 2024 13:57:21 +0000 (0:00:00.023) 0:00:25.313 ****** 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-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 20 January 2024 13:57:21 +0000 (0:00:00.022) 0:00:25.335 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 20 January 2024 13:57:21 +0000 (0:00:00.022) 0:00:25.358 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-weekly-cib6p8gnes/tests/playbooks/tasks/create_bridge_profile.yml:14 Saturday 20 January 2024 13:57:21 +0000 (0:00:00.124) 0:00:25.483 ****** 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-cib6p8gnes/tests/playbooks/tasks/activate_profile.yml:3 Saturday 20 January 2024 13:57:21 +0000 (0:00:00.023) 0:00:25.506 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 20 January 2024 13:57:21 +0000 (0:00:00.035) 0:00:25.541 ****** included: /WORKDIR/git-weekly-cib6p8gnes/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-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 20 January 2024 13:57:21 +0000 (0:00:00.039) 0:00:25.581 ****** 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-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 20 January 2024 13:57:21 +0000 (0:00:00.025) 0:00:25.607 ****** 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-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 20 January 2024 13:57:21 +0000 (0:00:00.021) 0:00:25.628 ****** 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-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 20 January 2024 13:57:21 +0000 (0:00:00.022) 0:00:25.651 ****** 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-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 20 January 2024 13:57:23 +0000 (0:00:01.432) 0:00:27.083 ****** 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-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 20 January 2024 13:57:23 +0000 (0:00:00.569) 0:00:27.653 ****** 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-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 20 January 2024 13:57:23 +0000 (0:00:00.023) 0:00:27.677 ****** 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-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 20 January 2024 13:57:23 +0000 (0:00:00.021) 0:00:27.698 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 20 January 2024 13:57:23 +0000 (0:00:00.020) 0:00:27.719 ****** 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-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 20 January 2024 13:57:23 +0000 (0:00:00.041) 0:00:27.761 ****** 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-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 20 January 2024 13:57:23 +0000 (0:00:00.021) 0:00:27.782 ****** 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-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 20 January 2024 13:57:23 +0000 (0:00:00.021) 0:00:27.803 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 20 January 2024 13:57:23 +0000 (0:00:00.046) 0:00:27.850 ****** 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-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 20 January 2024 13:57:23 +0000 (0:00:00.021) 0:00:27.872 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 20 January 2024 13:57:23 +0000 (0:00:00.019) 0:00:27.892 ****** 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-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 20 January 2024 13:57:23 +0000 (0:00:00.183) 0:00:28.076 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-150607tantk3i/tmpi03eckio" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 20 January 2024 13:57:24 +0000 (0:00:00.196) 0:00:28.272 ****** 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='', err='' TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-weekly-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 20 January 2024 13:57:24 +0000 (0:00:00.351) 0:00:28.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-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 20 January 2024 13:57:24 +0000 (0:00:00.021) 0:00:28.645 ****** 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='', err=''" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-weekly-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 20 January 2024 13:57:24 +0000 (0:00:00.022) 0:00:28.667 ****** 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='', err=''\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='', err=''" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-weekly-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 20 January 2024 13:57:24 +0000 (0:00:00.022) 0:00:28.690 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 20 January 2024 13:57:24 +0000 (0:00:00.020) 0:00:28.710 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-weekly-cib6p8gnes/tests/playbooks/tasks/run_test.yml:30 Saturday 20 January 2024 13:57:24 +0000 (0:00:00.120) 0:00:28.831 ****** included: /WORKDIR/git-weekly-cib6p8gnes/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-cib6p8gnes/tests/playbooks/tasks/remove_profile.yml:3 Saturday 20 January 2024 13:57:24 +0000 (0:00:00.039) 0:00:28.871 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 20 January 2024 13:57:24 +0000 (0:00:00.060) 0:00:28.931 ****** included: /WORKDIR/git-weekly-cib6p8gnes/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-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 20 January 2024 13:57:24 +0000 (0:00:00.039) 0:00:28.971 ****** 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-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 20 January 2024 13:57:24 +0000 (0:00:00.025) 0:00:28.996 ****** 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-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 20 January 2024 13:57:24 +0000 (0:00:00.020) 0:00:29.017 ****** 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-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 20 January 2024 13:57:24 +0000 (0:00:00.020) 0:00:29.038 ****** 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-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 20 January 2024 13:57:26 +0000 (0:00:01.424) 0:00:30.462 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-weekly-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 20 January 2024 13:57:26 +0000 (0:00:00.586) 0:00:31.048 ****** 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-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 20 January 2024 13:57:26 +0000 (0:00:00.023) 0:00:31.072 ****** 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-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 20 January 2024 13:57:27 +0000 (0:00:00.021) 0:00:31.094 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 20 January 2024 13:57:27 +0000 (0:00:00.021) 0:00:31.115 ****** 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-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 20 January 2024 13:57:27 +0000 (0:00:00.041) 0:00:31.157 ****** 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-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 20 January 2024 13:57:27 +0000 (0:00:00.021) 0:00:31.179 ****** 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-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 20 January 2024 13:57:27 +0000 (0:00:00.021) 0:00:31.201 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 20 January 2024 13:57:27 +0000 (0:00:00.024) 0:00:31.225 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-weekly-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 20 January 2024 13:57:27 +0000 (0:00:00.021) 0:00:31.246 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 20 January 2024 13:57:27 +0000 (0:00:00.019) 0:00:31.266 ****** 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-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 20 January 2024 13:57:27 +0000 (0:00:00.185) 0:00:31.451 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-150607tantk3i/tmp_kkasc7w" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 20 January 2024 13:57:27 +0000 (0:00:00.190) 0:00:31.642 ****** 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-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 20 January 2024 13:57:27 +0000 (0:00:00.234) 0:00:31.877 ****** 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-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 20 January 2024 13:57:27 +0000 (0:00:00.020) 0:00:31.898 ****** 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-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 20 January 2024 13:57:27 +0000 (0:00:00.022) 0:00:31.921 ****** 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-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 20 January 2024 13:57:27 +0000 (0:00:00.022) 0:00:31.943 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 20 January 2024 13:57:27 +0000 (0:00:00.048) 0:00:31.992 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-weekly-cib6p8gnes/tests/playbooks/tasks/run_test.yml:36 Saturday 20 January 2024 13:57:28 +0000 (0:00:00.125) 0:00:32.117 ****** included: /WORKDIR/git-weekly-cib6p8gnes/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-weekly-cib6p8gnes/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-weekly-cib6p8gnes/tests/playbooks/tasks/assert_device_present.yml:3 Saturday 20 January 2024 13:57:28 +0000 (0:00:00.042) 0:00:32.160 ****** included: /WORKDIR/git-weekly-cib6p8gnes/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-weekly-cib6p8gnes/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 20 January 2024 13:57:28 +0000 (0:00:00.036) 0:00:32.197 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1705759044.3530738, "block_size": 4096, "blocks": 0, "ctime": 1705759044.3520734, "dev": 0, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 6543, "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": 1705759044.3520734, "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-cib6p8gnes/tests/playbooks/tasks/assert_device_present.yml:5 Saturday 20 January 2024 13:57:28 +0000 (0:00:00.131) 0:00:32.328 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-weekly-cib6p8gnes/tests/playbooks/tasks/assert_profile_absent.yml:3 Saturday 20 January 2024 13:57:28 +0000 (0:00:00.025) 0:00:32.354 ****** included: /WORKDIR/git-weekly-cib6p8gnes/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-weekly-cib6p8gnes/tests/playbooks/tasks/get_profile_stat.yml:3 Saturday 20 January 2024 13:57:28 +0000 (0:00:00.038) 0:00:32.392 ****** 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-cib6p8gnes/tests/playbooks/tasks/get_profile_stat.yml:9 Saturday 20 January 2024 13:57:28 +0000 (0:00:00.023) 0:00:32.416 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-weekly-cib6p8gnes/tests/playbooks/tasks/get_profile_stat.yml:17 Saturday 20 January 2024 13:57:28 +0000 (0:00:00.128) 0:00:32.545 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-weekly-cib6p8gnes/tests/playbooks/tasks/get_profile_stat.yml:25 Saturday 20 January 2024 13:57:28 +0000 (0:00:00.021) 0:00:32.567 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.005174", "end": "2024-01-20 13:57:28.503143", "rc": 1, "start": "2024-01-20 13:57:28.497969" } STDERR: /bin/sh: nmcli: command not found 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-cib6p8gnes/tests/playbooks/tasks/get_profile_stat.yml:35 Saturday 20 January 2024 13:57:28 +0000 (0:00:00.133) 0:00:32.700 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-weekly-cib6p8gnes/tests/playbooks/tasks/get_profile_stat.yml:49 Saturday 20 January 2024 13:57:28 +0000 (0:00:00.021) 0:00:32.722 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-weekly-cib6p8gnes/tests/playbooks/tasks/get_profile_stat.yml:56 Saturday 20 January 2024 13:57:28 +0000 (0:00:00.046) 0:00:32.769 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-weekly-cib6p8gnes/tests/playbooks/tasks/get_profile_stat.yml:62 Saturday 20 January 2024 13:57:28 +0000 (0:00:00.022) 0:00:32.792 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-weekly-cib6p8gnes/tests/playbooks/tasks/get_profile_stat.yml:69 Saturday 20 January 2024 13:57:28 +0000 (0:00:00.023) 0:00:32.815 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-weekly-cib6p8gnes/tests/playbooks/tasks/assert_profile_absent.yml:5 Saturday 20 January 2024 13:57:28 +0000 (0:00:00.023) 0:00:32.839 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-weekly-cib6p8gnes/tests/playbooks/tasks/run_test.yml:42 Saturday 20 January 2024 13:57:28 +0000 (0:00:00.023) 0:00:32.862 ****** TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /WORKDIR/git-weekly-cib6p8gnes/tests/playbooks/tasks/run_test.yml:47 Saturday 20 January 2024 13:57:28 +0000 (0:00:00.020) 0:00:32.882 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-weekly-cib6p8gnes/tests/playbooks/tasks/run_test.yml:66 Saturday 20 January 2024 13:57:28 +0000 (0:00:00.022) 0:00:32.904 ****** included: /WORKDIR/git-weekly-cib6p8gnes/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-weekly-cib6p8gnes/tests/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 20 January 2024 13:57:28 +0000 (0:00:00.042) 0:00:32.947 ****** 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.016756", "end": "2024-01-20 13:57:28.894810", "rc": 0, "start": "2024-01-20 13:57:28.878054" } STDERR: /bin/sh: nmcli: command not found /bin/sh: line 1: nmcli: command not found TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-weekly-cib6p8gnes/tests/playbooks/tests_states.yml:103 Saturday 20 January 2024 13:57:29 +0000 (0:00:00.154) 0:00:33.101 ****** included: /WORKDIR/git-weekly-cib6p8gnes/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can take a profile down that is absent] ************************** task path: /WORKDIR/git-weekly-cib6p8gnes/tests/playbooks/tasks/run_test.yml:5 Saturday 20 January 2024 13:57:29 +0000 (0:00:00.036) 0:00:33.138 ****** ok: [sut] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-weekly-cib6p8gnes/tests/playbooks/tasks/run_test.yml:9 Saturday 20 January 2024 13:57:29 +0000 (0:00:00.022) 0:00:33.161 ****** 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-cib6p8gnes/tests/playbooks/tasks/run_test.yml:21 Saturday 20 January 2024 13:57:29 +0000 (0:00:00.045) 0:00:33.207 ****** included: /WORKDIR/git-weekly-cib6p8gnes/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-weekly-cib6p8gnes/tests/playbooks/tasks/show_interfaces.yml:3 Saturday 20 January 2024 13:57:29 +0000 (0:00:00.033) 0:00:33.240 ****** included: /WORKDIR/git-weekly-cib6p8gnes/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-weekly-cib6p8gnes/tests/playbooks/tasks/get_current_interfaces.yml:3 Saturday 20 January 2024 13:57:29 +0000 (0:00:00.056) 0:00:33.297 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003244", "end": "2024-01-20 13:57:29.234811", "rc": 0, "start": "2024-01-20 13:57:29.231567" } STDOUT: dummy0 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-weekly-cib6p8gnes/tests/playbooks/tasks/get_current_interfaces.yml:9 Saturday 20 January 2024 13:57:29 +0000 (0:00:00.135) 0:00:33.433 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "dummy0", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-weekly-cib6p8gnes/tests/playbooks/tasks/show_interfaces.yml:5 Saturday 20 January 2024 13:57:29 +0000 (0:00:00.022) 0:00:33.455 ****** ok: [sut] => {} MSG: current_interfaces: ['dummy0', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-weekly-cib6p8gnes/tests/playbooks/tasks/run_test.yml:24 Saturday 20 January 2024 13:57:29 +0000 (0:00:00.021) 0:00:33.476 ****** included: /WORKDIR/git-weekly-cib6p8gnes/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-weekly-cib6p8gnes/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-weekly-cib6p8gnes/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-cib6p8gnes/tests/playbooks/tasks/create_bridge_profile.yml:3 Saturday 20 January 2024 13:57:29 +0000 (0:00:00.043) 0:00:33.520 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 20 January 2024 13:57:29 +0000 (0:00:00.035) 0:00:33.556 ****** included: /WORKDIR/git-weekly-cib6p8gnes/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-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 20 January 2024 13:57:29 +0000 (0:00:00.038) 0:00:33.595 ****** 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-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 20 January 2024 13:57:29 +0000 (0:00:00.026) 0:00:33.621 ****** 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-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 20 January 2024 13:57:29 +0000 (0:00:00.020) 0:00:33.642 ****** 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-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 20 January 2024 13:57:29 +0000 (0:00:00.020) 0:00:33.663 ****** 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-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 20 January 2024 13:57:31 +0000 (0:00:01.413) 0:00:35.077 ****** 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-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 20 January 2024 13:57:31 +0000 (0:00:00.569) 0:00:35.646 ****** 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-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 20 January 2024 13:57:31 +0000 (0:00:00.022) 0:00:35.668 ****** 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-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 20 January 2024 13:57:31 +0000 (0:00:00.021) 0:00:35.690 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 20 January 2024 13:57:31 +0000 (0:00:00.021) 0:00:35.711 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-weekly-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 20 January 2024 13:57:31 +0000 (0:00:00.043) 0:00:35.755 ****** 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-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 20 January 2024 13:57:31 +0000 (0:00:00.021) 0:00:35.776 ****** 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-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 20 January 2024 13:57:31 +0000 (0:00:00.020) 0:00:35.797 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 20 January 2024 13:57:31 +0000 (0:00:00.025) 0:00:35.823 ****** 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-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 20 January 2024 13:57:31 +0000 (0:00:00.021) 0:00:35.844 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 20 January 2024 13:57:31 +0000 (0:00:00.020) 0:00:35.865 ****** 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-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 20 January 2024 13:57:31 +0000 (0:00:00.185) 0:00:36.050 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-150607tantk3i/tmpfi23lu0l" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 20 January 2024 13:57:32 +0000 (0:00:00.188) 0:00:36.239 ****** 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-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 20 January 2024 13:57:32 +0000 (0:00:00.227) 0:00:36.467 ****** 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-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 20 January 2024 13:57:32 +0000 (0:00:00.021) 0:00:36.488 ****** 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-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 20 January 2024 13:57:32 +0000 (0:00:00.022) 0:00:36.511 ****** 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-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 20 January 2024 13:57:32 +0000 (0:00:00.021) 0:00:36.533 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 20 January 2024 13:57:32 +0000 (0:00:00.021) 0:00:36.554 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-weekly-cib6p8gnes/tests/playbooks/tasks/create_bridge_profile.yml:14 Saturday 20 January 2024 13:57:32 +0000 (0:00:00.122) 0:00:36.677 ****** 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-cib6p8gnes/tests/playbooks/tasks/activate_profile.yml:3 Saturday 20 January 2024 13:57:32 +0000 (0:00:00.021) 0:00:36.699 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 20 January 2024 13:57:32 +0000 (0:00:00.035) 0:00:36.734 ****** included: /WORKDIR/git-weekly-cib6p8gnes/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-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 20 January 2024 13:57:32 +0000 (0:00:00.038) 0:00:36.773 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-weekly-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 20 January 2024 13:57:32 +0000 (0:00:00.025) 0:00:36.798 ****** 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-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 20 January 2024 13:57:32 +0000 (0:00:00.020) 0:00:36.819 ****** 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-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 20 January 2024 13:57:32 +0000 (0:00:00.046) 0:00:36.866 ****** 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-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 20 January 2024 13:57:34 +0000 (0:00:01.400) 0:00:38.267 ****** 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-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 20 January 2024 13:57:34 +0000 (0:00:00.561) 0:00:38.828 ****** 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-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 20 January 2024 13:57:34 +0000 (0:00:00.022) 0:00:38.851 ****** 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-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 20 January 2024 13:57:34 +0000 (0:00:00.021) 0:00:38.872 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 20 January 2024 13:57:34 +0000 (0:00:00.021) 0:00:38.893 ****** 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-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 20 January 2024 13:57:34 +0000 (0:00:00.042) 0:00:38.936 ****** 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-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 20 January 2024 13:57:34 +0000 (0:00:00.042) 0:00:38.978 ****** 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-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 20 January 2024 13:57:34 +0000 (0:00:00.021) 0:00:38.999 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 20 January 2024 13:57:34 +0000 (0:00:00.024) 0:00:39.024 ****** 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-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 20 January 2024 13:57:34 +0000 (0:00:00.020) 0:00:39.045 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 20 January 2024 13:57:34 +0000 (0:00:00.021) 0:00:39.066 ****** 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-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 20 January 2024 13:57:35 +0000 (0:00:00.183) 0:00:39.250 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-150607tantk3i/tmp79343xe8" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 20 January 2024 13:57:35 +0000 (0:00:00.187) 0:00:39.437 ****** 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='', err='' TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-weekly-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 20 January 2024 13:57:35 +0000 (0:00:00.344) 0:00:39.782 ****** 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-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 20 January 2024 13:57:35 +0000 (0:00:00.021) 0:00:39.804 ****** 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='', err=''" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-weekly-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 20 January 2024 13:57:35 +0000 (0:00:00.022) 0:00:39.827 ****** 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='', err=''\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='', err=''" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-weekly-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 20 January 2024 13:57:35 +0000 (0:00:00.022) 0:00:39.849 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 20 January 2024 13:57:35 +0000 (0:00:00.021) 0:00:39.870 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-cib6p8gnes/tests/playbooks/tasks/remove_profile.yml:3 Saturday 20 January 2024 13:57:35 +0000 (0:00:00.121) 0:00:39.992 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 20 January 2024 13:57:35 +0000 (0:00:00.035) 0:00:40.027 ****** included: /WORKDIR/git-weekly-cib6p8gnes/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-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 20 January 2024 13:57:36 +0000 (0:00:00.065) 0:00:40.093 ****** 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-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 20 January 2024 13:57:36 +0000 (0:00:00.026) 0:00:40.119 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-weekly-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 20 January 2024 13:57:36 +0000 (0:00:00.021) 0:00:40.141 ****** 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-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 20 January 2024 13:57:36 +0000 (0:00:00.020) 0:00:40.162 ****** 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-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 20 January 2024 13:57:37 +0000 (0:00:01.395) 0:00:41.557 ****** 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-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 20 January 2024 13:57:38 +0000 (0:00:00.558) 0:00:42.116 ****** 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-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 20 January 2024 13:57:38 +0000 (0:00:00.042) 0:00:42.159 ****** 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-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 20 January 2024 13:57:38 +0000 (0:00:00.021) 0:00:42.180 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 20 January 2024 13:57:38 +0000 (0:00:00.021) 0:00:42.201 ****** 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-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 20 January 2024 13:57:38 +0000 (0:00:00.042) 0:00:42.244 ****** 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-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 20 January 2024 13:57:38 +0000 (0:00:00.020) 0:00:42.265 ****** 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-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 20 January 2024 13:57:38 +0000 (0:00:00.021) 0:00:42.286 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 20 January 2024 13:57:38 +0000 (0:00:00.025) 0:00:42.312 ****** 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-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 20 January 2024 13:57:38 +0000 (0:00:00.021) 0:00:42.333 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 20 January 2024 13:57:38 +0000 (0:00:00.021) 0:00:42.355 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-weekly-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 20 January 2024 13:57:38 +0000 (0:00:00.185) 0:00:42.540 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-150607tantk3i/tmp2rxqto51" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 20 January 2024 13:57:38 +0000 (0:00:00.188) 0:00:42.729 ****** 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-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 20 January 2024 13:57:38 +0000 (0:00:00.231) 0:00:42.960 ****** 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-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 20 January 2024 13:57:38 +0000 (0:00:00.021) 0:00:42.982 ****** 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-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 20 January 2024 13:57:38 +0000 (0:00:00.022) 0:00:43.004 ****** 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-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 20 January 2024 13:57:38 +0000 (0:00:00.022) 0:00:43.027 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 20 January 2024 13:57:38 +0000 (0:00:00.021) 0:00:43.049 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-weekly-cib6p8gnes/tests/playbooks/tasks/run_test.yml:30 Saturday 20 January 2024 13:57:39 +0000 (0:00:00.132) 0:00:43.182 ****** included: /WORKDIR/git-weekly-cib6p8gnes/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-cib6p8gnes/tests/playbooks/tasks/remove+down_profile.yml:3 Saturday 20 January 2024 13:57:39 +0000 (0:00:00.041) 0:00:43.223 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 20 January 2024 13:57:39 +0000 (0:00:00.040) 0:00:43.264 ****** included: /WORKDIR/git-weekly-cib6p8gnes/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-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 20 January 2024 13:57:39 +0000 (0:00:00.040) 0:00:43.304 ****** 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-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 20 January 2024 13:57:39 +0000 (0:00:00.027) 0:00:43.332 ****** 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-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 20 January 2024 13:57:39 +0000 (0:00:00.021) 0:00:43.353 ****** 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-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 20 January 2024 13:57:39 +0000 (0:00:00.023) 0:00:43.376 ****** 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-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 20 January 2024 13:57:40 +0000 (0:00:01.399) 0:00:44.776 ****** 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-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 20 January 2024 13:57:41 +0000 (0:00:00.584) 0:00:45.361 ****** 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-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 20 January 2024 13:57:41 +0000 (0:00:00.023) 0:00:45.384 ****** 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-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 20 January 2024 13:57:41 +0000 (0:00:00.021) 0:00:45.406 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 20 January 2024 13:57:41 +0000 (0:00:00.022) 0:00:45.428 ****** 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-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 20 January 2024 13:57:41 +0000 (0:00:00.041) 0:00:45.469 ****** 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-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 20 January 2024 13:57:41 +0000 (0:00:00.021) 0:00:45.491 ****** 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-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 20 January 2024 13:57:41 +0000 (0:00:00.021) 0:00:45.513 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 20 January 2024 13:57:41 +0000 (0:00:00.025) 0:00:45.538 ****** 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-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 20 January 2024 13:57:41 +0000 (0:00:00.022) 0:00:45.560 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 20 January 2024 13:57:41 +0000 (0:00:00.021) 0:00:45.581 ****** 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-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 20 January 2024 13:57:41 +0000 (0:00:00.184) 0:00:45.766 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-150607tantk3i/tmp4sr6hb0g" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 20 January 2024 13:57:41 +0000 (0:00:00.213) 0:00:45.980 ****** 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-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 20 January 2024 13:57:42 +0000 (0:00:00.231) 0:00:46.211 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-weekly-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 20 January 2024 13:57:42 +0000 (0:00:00.021) 0:00:46.232 ****** 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-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 20 January 2024 13:57:42 +0000 (0:00:00.022) 0:00:46.255 ****** 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-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 20 January 2024 13:57:42 +0000 (0:00:00.022) 0:00:46.278 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 20 January 2024 13:57:42 +0000 (0:00:00.027) 0:00:46.305 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-weekly-cib6p8gnes/tests/playbooks/tasks/run_test.yml:36 Saturday 20 January 2024 13:57:42 +0000 (0:00:00.126) 0:00:46.432 ****** included: /WORKDIR/git-weekly-cib6p8gnes/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-weekly-cib6p8gnes/tests/playbooks/tasks/assert_profile_absent.yml:3 Saturday 20 January 2024 13:57:42 +0000 (0:00:00.041) 0:00:46.473 ****** included: /WORKDIR/git-weekly-cib6p8gnes/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-weekly-cib6p8gnes/tests/playbooks/tasks/get_profile_stat.yml:3 Saturday 20 January 2024 13:57:42 +0000 (0:00:00.036) 0:00:46.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-cib6p8gnes/tests/playbooks/tasks/get_profile_stat.yml:9 Saturday 20 January 2024 13:57:42 +0000 (0:00:00.021) 0:00:46.531 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-weekly-cib6p8gnes/tests/playbooks/tasks/get_profile_stat.yml:17 Saturday 20 January 2024 13:57:42 +0000 (0:00:00.124) 0:00:46.655 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-weekly-cib6p8gnes/tests/playbooks/tasks/get_profile_stat.yml:25 Saturday 20 January 2024 13:57:42 +0000 (0:00:00.021) 0:00:46.676 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.005106", "end": "2024-01-20 13:57:42.616800", "rc": 1, "start": "2024-01-20 13:57:42.611694" } STDERR: /bin/sh: nmcli: command not found 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-cib6p8gnes/tests/playbooks/tasks/get_profile_stat.yml:35 Saturday 20 January 2024 13:57:42 +0000 (0:00:00.130) 0:00:46.806 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-weekly-cib6p8gnes/tests/playbooks/tasks/get_profile_stat.yml:49 Saturday 20 January 2024 13:57:42 +0000 (0:00:00.021) 0:00:46.828 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-weekly-cib6p8gnes/tests/playbooks/tasks/get_profile_stat.yml:56 Saturday 20 January 2024 13:57:42 +0000 (0:00:00.045) 0:00:46.873 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-weekly-cib6p8gnes/tests/playbooks/tasks/get_profile_stat.yml:62 Saturday 20 January 2024 13:57:42 +0000 (0:00:00.022) 0:00:46.896 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-weekly-cib6p8gnes/tests/playbooks/tasks/get_profile_stat.yml:69 Saturday 20 January 2024 13:57:42 +0000 (0:00:00.023) 0:00:46.920 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-weekly-cib6p8gnes/tests/playbooks/tasks/assert_profile_absent.yml:5 Saturday 20 January 2024 13:57:42 +0000 (0:00:00.023) 0:00:46.943 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-weekly-cib6p8gnes/tests/playbooks/tasks/run_test.yml:42 Saturday 20 January 2024 13:57:42 +0000 (0:00:00.023) 0:00:46.966 ****** 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-cib6p8gnes/tests/playbooks/tasks/run_test.yml:47 Saturday 20 January 2024 13:57:42 +0000 (0:00:00.024) 0:00:46.991 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-weekly-cib6p8gnes/tests/playbooks/tasks/run_test.yml:66 Saturday 20 January 2024 13:57:42 +0000 (0:00:00.021) 0:00:47.013 ****** included: /WORKDIR/git-weekly-cib6p8gnes/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-weekly-cib6p8gnes/tests/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 20 January 2024 13:57:42 +0000 (0:00:00.041) 0:00:47.054 ****** 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.017519", "end": "2024-01-20 13:57:43.007837", "rc": 0, "start": "2024-01-20 13:57:42.990318" } STDERR: /bin/sh: nmcli: command not found /bin/sh: line 1: nmcli: command not found TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-weekly-cib6p8gnes/tests/playbooks/tests_states.yml:126 Saturday 20 January 2024 13:57:43 +0000 (0:00:00.149) 0:00:47.203 ****** included: /WORKDIR/git-weekly-cib6p8gnes/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-cib6p8gnes/tests/playbooks/tasks/run_test.yml:5 Saturday 20 January 2024 13:57:43 +0000 (0:00:00.036) 0:00:47.239 ****** 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-cib6p8gnes/tests/playbooks/tasks/run_test.yml:9 Saturday 20 January 2024 13:57:43 +0000 (0:00:00.022) 0:00:47.262 ****** 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-cib6p8gnes/tests/playbooks/tasks/run_test.yml:21 Saturday 20 January 2024 13:57:43 +0000 (0:00:00.045) 0:00:47.307 ****** included: /WORKDIR/git-weekly-cib6p8gnes/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-weekly-cib6p8gnes/tests/playbooks/tasks/show_interfaces.yml:3 Saturday 20 January 2024 13:57:43 +0000 (0:00:00.037) 0:00:47.344 ****** included: /WORKDIR/git-weekly-cib6p8gnes/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-weekly-cib6p8gnes/tests/playbooks/tasks/get_current_interfaces.yml:3 Saturday 20 January 2024 13:57:43 +0000 (0:00:00.058) 0:00:47.403 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003264", "end": "2024-01-20 13:57:43.343654", "rc": 0, "start": "2024-01-20 13:57:43.340390" } STDOUT: dummy0 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-weekly-cib6p8gnes/tests/playbooks/tasks/get_current_interfaces.yml:9 Saturday 20 January 2024 13:57:43 +0000 (0:00:00.131) 0:00:47.534 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "dummy0", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-weekly-cib6p8gnes/tests/playbooks/tasks/show_interfaces.yml:5 Saturday 20 January 2024 13:57:43 +0000 (0:00:00.022) 0:00:47.557 ****** ok: [sut] => {} MSG: current_interfaces: ['dummy0', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-weekly-cib6p8gnes/tests/playbooks/tasks/run_test.yml:24 Saturday 20 January 2024 13:57:43 +0000 (0:00:00.021) 0:00:47.578 ****** included: /WORKDIR/git-weekly-cib6p8gnes/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-weekly-cib6p8gnes/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-weekly-cib6p8gnes/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-cib6p8gnes/tests/playbooks/tasks/create_bridge_profile.yml:3 Saturday 20 January 2024 13:57:43 +0000 (0:00:00.044) 0:00:47.623 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 20 January 2024 13:57:43 +0000 (0:00:00.036) 0:00:47.659 ****** included: /WORKDIR/git-weekly-cib6p8gnes/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-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 20 January 2024 13:57:43 +0000 (0:00:00.039) 0:00:47.698 ****** 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-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 20 January 2024 13:57:43 +0000 (0:00:00.026) 0:00:47.725 ****** 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-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 20 January 2024 13:57:43 +0000 (0:00:00.021) 0:00:47.746 ****** 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-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 20 January 2024 13:57:43 +0000 (0:00:00.021) 0:00:47.768 ****** 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-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 20 January 2024 13:57:45 +0000 (0:00:01.399) 0:00:49.167 ****** 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-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 20 January 2024 13:57:45 +0000 (0:00:00.566) 0:00:49.734 ****** 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-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 20 January 2024 13:57:45 +0000 (0:00:00.022) 0:00:49.756 ****** 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-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 20 January 2024 13:57:45 +0000 (0:00:00.021) 0:00:49.778 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 20 January 2024 13:57:45 +0000 (0:00:00.022) 0:00:49.800 ****** 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-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 20 January 2024 13:57:45 +0000 (0:00:00.043) 0:00:49.844 ****** 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-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 20 January 2024 13:57:45 +0000 (0:00:00.021) 0:00:49.866 ****** 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-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 20 January 2024 13:57:45 +0000 (0:00:00.021) 0:00:49.887 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 20 January 2024 13:57:45 +0000 (0:00:00.024) 0:00:49.912 ****** 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-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 20 January 2024 13:57:45 +0000 (0:00:00.021) 0:00:49.934 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 20 January 2024 13:57:45 +0000 (0:00:00.021) 0:00:49.955 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-weekly-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 20 January 2024 13:57:46 +0000 (0:00:00.194) 0:00:50.149 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-150607tantk3i/tmpibu6suzv" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 20 January 2024 13:57:46 +0000 (0:00:00.190) 0:00:50.339 ****** 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-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 20 January 2024 13:57:46 +0000 (0:00:00.233) 0:00:50.573 ****** 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-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 20 January 2024 13:57:46 +0000 (0:00:00.021) 0:00:50.594 ****** 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-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 20 January 2024 13:57:46 +0000 (0:00:00.022) 0:00:50.617 ****** 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-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 20 January 2024 13:57:46 +0000 (0:00:00.022) 0:00:50.639 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 20 January 2024 13:57:46 +0000 (0:00:00.021) 0:00:50.661 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-weekly-cib6p8gnes/tests/playbooks/tasks/create_bridge_profile.yml:14 Saturday 20 January 2024 13:57:46 +0000 (0:00:00.128) 0:00:50.789 ****** 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-cib6p8gnes/tests/playbooks/tasks/activate_profile.yml:3 Saturday 20 January 2024 13:57:46 +0000 (0:00:00.023) 0:00:50.813 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 20 January 2024 13:57:46 +0000 (0:00:00.036) 0:00:50.850 ****** included: /WORKDIR/git-weekly-cib6p8gnes/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-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 20 January 2024 13:57:46 +0000 (0:00:00.039) 0:00:50.889 ****** 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-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 20 January 2024 13:57:46 +0000 (0:00:00.025) 0:00:50.915 ****** 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-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 20 January 2024 13:57:46 +0000 (0:00:00.020) 0:00:50.936 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-weekly-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 20 January 2024 13:57:46 +0000 (0:00:00.047) 0:00:50.984 ****** 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-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 20 January 2024 13:57:48 +0000 (0:00:01.414) 0:00:52.398 ****** 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-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 20 January 2024 13:57:48 +0000 (0:00:00.570) 0:00:52.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-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 20 January 2024 13:57:48 +0000 (0:00:00.022) 0:00:52.991 ****** 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-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 20 January 2024 13:57:48 +0000 (0:00:00.021) 0:00:53.013 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 20 January 2024 13:57:48 +0000 (0:00:00.022) 0:00:53.035 ****** 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-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 20 January 2024 13:57:49 +0000 (0:00:00.043) 0:00:53.079 ****** 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-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 20 January 2024 13:57:49 +0000 (0:00:00.043) 0:00:53.122 ****** 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-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 20 January 2024 13:57:49 +0000 (0:00:00.021) 0:00:53.144 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 20 January 2024 13:57:49 +0000 (0:00:00.024) 0:00:53.169 ****** 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-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 20 January 2024 13:57:49 +0000 (0:00:00.021) 0:00:53.190 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 20 January 2024 13:57:49 +0000 (0:00:00.019) 0:00:53.210 ****** 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-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 20 January 2024 13:57:49 +0000 (0:00:00.184) 0:00:53.395 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-150607tantk3i/tmpl7z32xx3" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 20 January 2024 13:57:49 +0000 (0:00:00.192) 0:00:53.587 ****** 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='', err='' TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-weekly-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 20 January 2024 13:57:49 +0000 (0:00:00.340) 0:00:53.928 ****** 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-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 20 January 2024 13:57:49 +0000 (0:00:00.021) 0:00:53.949 ****** 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='', err=''" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-weekly-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 20 January 2024 13:57:49 +0000 (0:00:00.022) 0:00:53.972 ****** 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='', err=''\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='', err=''" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-weekly-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 20 January 2024 13:57:49 +0000 (0:00:00.023) 0:00:53.995 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 20 January 2024 13:57:49 +0000 (0:00:00.021) 0:00:54.016 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-cib6p8gnes/tests/playbooks/tasks/remove+down_profile.yml:3 Saturday 20 January 2024 13:57:50 +0000 (0:00:00.124) 0:00:54.141 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 20 January 2024 13:57:50 +0000 (0:00:00.037) 0:00:54.178 ****** included: /WORKDIR/git-weekly-cib6p8gnes/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-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 20 January 2024 13:57:50 +0000 (0:00:00.063) 0:00:54.242 ****** 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-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 20 January 2024 13:57:50 +0000 (0:00:00.027) 0:00:54.269 ****** 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-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 20 January 2024 13:57:50 +0000 (0:00:00.021) 0:00:54.290 ****** 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-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 20 January 2024 13:57:50 +0000 (0:00:00.021) 0:00:54.312 ****** 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-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 20 January 2024 13:57:51 +0000 (0:00:01.426) 0:00:55.739 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-weekly-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 20 January 2024 13:57:52 +0000 (0:00:00.583) 0:00:56.322 ****** 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-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 20 January 2024 13:57:52 +0000 (0:00:00.022) 0:00:56.345 ****** 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-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 20 January 2024 13:57:52 +0000 (0:00:00.021) 0:00:56.366 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 20 January 2024 13:57:52 +0000 (0:00:00.020) 0:00:56.387 ****** 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-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 20 January 2024 13:57:52 +0000 (0:00:00.042) 0:00:56.430 ****** 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-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 20 January 2024 13:57:52 +0000 (0:00:00.021) 0:00:56.452 ****** 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-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 20 January 2024 13:57:52 +0000 (0:00:00.020) 0:00:56.472 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 20 January 2024 13:57:52 +0000 (0:00:00.024) 0:00:56.497 ****** 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-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 20 January 2024 13:57:52 +0000 (0:00:00.021) 0:00:56.518 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 20 January 2024 13:57:52 +0000 (0:00:00.021) 0:00:56.539 ****** 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-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 20 January 2024 13:57:52 +0000 (0:00:00.187) 0:00:56.726 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-150607tantk3i/tmpj6xvmd65" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 20 January 2024 13:57:52 +0000 (0:00:00.192) 0:00:56.918 ****** 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-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 20 January 2024 13:57:53 +0000 (0:00:00.244) 0:00:57.163 ****** 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-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 20 January 2024 13:57:53 +0000 (0:00:00.022) 0:00:57.185 ****** 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-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 20 January 2024 13:57:53 +0000 (0:00:00.023) 0:00:57.209 ****** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "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-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 20 January 2024 13:57:53 +0000 (0:00:00.024) 0:00:57.233 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 20 January 2024 13:57:53 +0000 (0:00:00.047) 0:00:57.280 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-weekly-cib6p8gnes/tests/playbooks/tasks/run_test.yml:30 Saturday 20 January 2024 13:57:53 +0000 (0:00:00.129) 0:00:57.409 ****** included: /WORKDIR/git-weekly-cib6p8gnes/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-cib6p8gnes/tests/playbooks/tasks/remove+down_profile.yml:3 Saturday 20 January 2024 13:57:53 +0000 (0:00:00.039) 0:00:57.449 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 20 January 2024 13:57:53 +0000 (0:00:00.035) 0:00:57.484 ****** included: /WORKDIR/git-weekly-cib6p8gnes/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-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 20 January 2024 13:57:53 +0000 (0:00:00.039) 0:00:57.524 ****** 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-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 20 January 2024 13:57:53 +0000 (0:00:00.027) 0:00:57.551 ****** 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-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 20 January 2024 13:57:53 +0000 (0:00:00.021) 0:00:57.573 ****** 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-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 20 January 2024 13:57:53 +0000 (0:00:00.022) 0:00:57.596 ****** 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-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 20 January 2024 13:57:54 +0000 (0:00:01.436) 0:00:59.032 ****** 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-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 20 January 2024 13:57:55 +0000 (0:00:00.569) 0:00:59.601 ****** 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-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 20 January 2024 13:57:55 +0000 (0:00:00.023) 0:00:59.625 ****** 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-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 20 January 2024 13:57:55 +0000 (0:00:00.022) 0:00:59.647 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 20 January 2024 13:57:55 +0000 (0:00:00.021) 0:00:59.669 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-weekly-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 20 January 2024 13:57:55 +0000 (0:00:00.044) 0:00:59.713 ****** 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-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 20 January 2024 13:57:55 +0000 (0:00:00.021) 0:00:59.734 ****** 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-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 20 January 2024 13:57:55 +0000 (0:00:00.021) 0:00:59.756 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 20 January 2024 13:57:55 +0000 (0:00:00.025) 0:00:59.781 ****** 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-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 20 January 2024 13:57:55 +0000 (0:00:00.022) 0:00:59.804 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 20 January 2024 13:57:55 +0000 (0:00:00.023) 0:00:59.827 ****** 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-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 20 January 2024 13:57:55 +0000 (0:00:00.190) 0:01:00.017 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-150607tantk3i/tmpeijcv0id" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 20 January 2024 13:57:56 +0000 (0:00:00.218) 0:01:00.236 ****** 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-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 20 January 2024 13:57:56 +0000 (0:00:00.231) 0:01:00.468 ****** 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-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 20 January 2024 13:57:56 +0000 (0:00:00.022) 0:01:00.490 ****** 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-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 20 January 2024 13:57:56 +0000 (0:00:00.024) 0:01:00.515 ****** 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-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 20 January 2024 13:57:56 +0000 (0:00:00.023) 0:01:00.539 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 20 January 2024 13:57:56 +0000 (0:00:00.023) 0:01:00.563 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-weekly-cib6p8gnes/tests/playbooks/tasks/run_test.yml:36 Saturday 20 January 2024 13:57:56 +0000 (0:00:00.123) 0:01:00.686 ****** included: /WORKDIR/git-weekly-cib6p8gnes/tests/playbooks/tasks/assert_profile_absent.yml for sut included: /WORKDIR/git-weekly-cib6p8gnes/tests/playbooks/tasks/get_NetworkManager_NVR.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-weekly-cib6p8gnes/tests/playbooks/tasks/assert_profile_absent.yml:3 Saturday 20 January 2024 13:57:56 +0000 (0:00:00.043) 0:01:00.730 ****** included: /WORKDIR/git-weekly-cib6p8gnes/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-weekly-cib6p8gnes/tests/playbooks/tasks/get_profile_stat.yml:3 Saturday 20 January 2024 13:57:56 +0000 (0:00:00.036) 0:01:00.766 ****** 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-cib6p8gnes/tests/playbooks/tasks/get_profile_stat.yml:9 Saturday 20 January 2024 13:57:56 +0000 (0:00:00.021) 0:01:00.787 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-weekly-cib6p8gnes/tests/playbooks/tasks/get_profile_stat.yml:17 Saturday 20 January 2024 13:57:56 +0000 (0:00:00.127) 0:01:00.914 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-weekly-cib6p8gnes/tests/playbooks/tasks/get_profile_stat.yml:25 Saturday 20 January 2024 13:57:56 +0000 (0:00:00.020) 0:01:00.935 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.005223", "end": "2024-01-20 13:57:56.884237", "rc": 1, "start": "2024-01-20 13:57:56.879014" } STDERR: /bin/sh: nmcli: command not found 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-cib6p8gnes/tests/playbooks/tasks/get_profile_stat.yml:35 Saturday 20 January 2024 13:57:56 +0000 (0:00:00.133) 0:01:01.069 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-weekly-cib6p8gnes/tests/playbooks/tasks/get_profile_stat.yml:49 Saturday 20 January 2024 13:57:57 +0000 (0:00:00.022) 0:01:01.091 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-weekly-cib6p8gnes/tests/playbooks/tasks/get_profile_stat.yml:56 Saturday 20 January 2024 13:57:57 +0000 (0:00:00.045) 0:01:01.137 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-weekly-cib6p8gnes/tests/playbooks/tasks/get_profile_stat.yml:62 Saturday 20 January 2024 13:57:57 +0000 (0:00:00.022) 0:01:01.160 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-weekly-cib6p8gnes/tests/playbooks/tasks/get_profile_stat.yml:69 Saturday 20 January 2024 13:57:57 +0000 (0:00:00.022) 0:01:01.182 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-weekly-cib6p8gnes/tests/playbooks/tasks/assert_profile_absent.yml:5 Saturday 20 January 2024 13:57:57 +0000 (0:00:00.023) 0:01:01.206 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /WORKDIR/git-weekly-cib6p8gnes/tests/playbooks/tasks/get_NetworkManager_NVR.yml:7 Saturday 20 January 2024 13:57:57 +0000 (0:00:00.023) 0:01:01.230 ****** ok: [sut] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.369450", "end": "2024-01-20 13:57:57.541718", "rc": 0, "start": "2024-01-20 13:57:57.172268" } TASK [Store NetworkManager version] ******************************************** task path: /WORKDIR/git-weekly-cib6p8gnes/tests/playbooks/tasks/get_NetworkManager_NVR.yml:14 Saturday 20 January 2024 13:57:57 +0000 (0:00:00.497) 0:01:01.727 ****** ok: [sut] => { "ansible_facts": { "networkmanager_nvr": "" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /WORKDIR/git-weekly-cib6p8gnes/tests/playbooks/tasks/get_NetworkManager_NVR.yml:18 Saturday 20 January 2024 13:57:57 +0000 (0:00:00.022) 0:01:01.749 ****** ok: [sut] => { "networkmanager_nvr": "" } TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-weekly-cib6p8gnes/tests/playbooks/tasks/run_test.yml:42 Saturday 20 January 2024 13:57:57 +0000 (0:00:00.021) 0:01:01.771 ****** 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-cib6p8gnes/tests/playbooks/tasks/run_test.yml:47 Saturday 20 January 2024 13:57:57 +0000 (0:00:00.026) 0:01:01.797 ****** 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-cib6p8gnes/tests/playbooks/tasks/run_test.yml:66 Saturday 20 January 2024 13:57:57 +0000 (0:00:00.020) 0:01:01.818 ****** included: /WORKDIR/git-weekly-cib6p8gnes/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-weekly-cib6p8gnes/tests/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 20 January 2024 13:57:57 +0000 (0:00:00.039) 0:01:01.858 ****** 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.023258", "end": "2024-01-20 13:57:57.829773", "rc": 0, "start": "2024-01-20 13:57:57.806515" } STDERR: /bin/sh: nmcli: command not found /bin/sh: line 1: nmcli: command not found META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=332 changed=13 unreachable=0 failed=0 skipped=227 rescued=0 ignored=10 Saturday 20 January 2024 13:57:57 +0000 (0:00:00.148) 0:01:02.006 ****** =============================================================================== linux-system-roles.network : Check which services are running ----------- 1.70s /WORKDIR/git-weekly-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.48s /WORKDIR/git-weekly-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.44s /WORKDIR/git-weekly-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.44s /WORKDIR/git-weekly-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.43s /WORKDIR/git-weekly-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.43s /WORKDIR/git-weekly-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.42s /WORKDIR/git-weekly-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.42s /WORKDIR/git-weekly-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.41s /WORKDIR/git-weekly-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.41s /WORKDIR/git-weekly-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.40s /WORKDIR/git-weekly-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.40s /WORKDIR/git-weekly-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.40s /WORKDIR/git-weekly-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.40s /WORKDIR/git-weekly-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.40s /WORKDIR/git-weekly-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Configure networking connection profiles --- 1.39s /WORKDIR/git-weekly-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Configure networking connection profiles --- 1.28s /WORKDIR/git-weekly-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Enable network service --------------------- 0.99s /WORKDIR/git-weekly-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/main.yml:105 linux-system-roles.network : Ensure initscripts network file dependency is present --- 0.98s /WORKDIR/git-weekly-cib6p8gnes/tests/roles/linux-system-roles.network/tasks/main.yml:113 Gathering Facts --------------------------------------------------------- 0.90s /WORKDIR/git-weekly-cib6p8gnes/tests/tests_states_initscripts.yml:5 ----------- ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- [WARNING]: Consider using the yum, dnf or zypper module rather than running 'rpm'. If you need to use command because yum, dnf or zypper is insufficient you can add 'warn: false' to this command task or set 'command_warnings=False' in ansible.cfg to get rid of this message. ---^---^---^---^---^---