# 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-civz88ixoa/tests/tests_states_initscripts.yml PLAY [Run playbook 'playbooks/tests_states.yml' with initscripts as provider] *** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-weekly-civz88ixoa/tests/tests_states_initscripts.yml:5 Saturday 06 January 2024 14:09:36 +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-civz88ixoa/tests/tests_states_initscripts.yml:8 Saturday 06 January 2024 14:09:37 +0000 (0:00:00.917) 0:00:00.929 ****** included: /WORKDIR/git-weekly-civz88ixoa/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-civz88ixoa/tests/tasks/el_repo_setup.yml:3 Saturday 06 January 2024 14:09:37 +0000 (0:00:00.023) 0:00:00.953 ****** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-weekly-civz88ixoa/tests/tasks/el_repo_setup.yml:19 Saturday 06 January 2024 14:09:37 +0000 (0:00:00.243) 0:00:01.197 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-weekly-civz88ixoa/tests/tasks/el_repo_setup.yml:24 Saturday 06 January 2024 14:09:37 +0000 (0:00:00.187) 0:00:01.384 ****** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-weekly-civz88ixoa/tests/tasks/el_repo_setup.yml:28 Saturday 06 January 2024 14:09:37 +0000 (0:00:00.021) 0:00:01.406 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-weekly-civz88ixoa/tests/tasks/el_repo_setup.yml:53 Saturday 06 January 2024 14:09:37 +0000 (0:00:00.017) 0:00:01.423 ****** included: /WORKDIR/git-weekly-civz88ixoa/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 6] *********************************************************** task path: /WORKDIR/git-weekly-civz88ixoa/tests/tasks/enable_epel.yml:8 Saturday 06 January 2024 14:09:37 +0000 (0:00:00.033) 0:00:01.456 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Install yum-utils package] *********************************************** task path: /WORKDIR/git-weekly-civz88ixoa/tests/tasks/enable_epel.yml:24 Saturday 06 January 2024 14:09:37 +0000 (0:00:00.011) 0:00:01.468 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-weekly-civz88ixoa/tests/tasks/enable_epel.yml:30 Saturday 06 January 2024 14:09:37 +0000 (0:00:00.010) 0:00:01.478 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-weekly-civz88ixoa/tests/tasks/enable_epel.yml:35 Saturday 06 January 2024 14:09:37 +0000 (0:00:00.010) 0:00:01.489 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-weekly-civz88ixoa/tests/tasks/enable_epel.yml:40 Saturday 06 January 2024 14:09:37 +0000 (0:00:00.010) 0:00:01.499 ****** 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-civz88ixoa/tests/tests_states_initscripts.yml:10 Saturday 06 January 2024 14:09:38 +0000 (0:00:00.444) 0:00:01.944 ****** 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-civz88ixoa/tests/playbooks/tests_states.yml:3 Saturday 06 January 2024 14:09:38 +0000 (0:00:00.011) 0:00:01.956 ****** ok: [sut] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tests_states.yml:11 Saturday 06 January 2024 14:09:38 +0000 (0:00:00.717) 0:00:02.673 ****** ok: [sut] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tests_states.yml:22 Saturday 06 January 2024 14:09:38 +0000 (0:00:00.011) 0:00:02.685 ****** included: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile] ******************************************** task path: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/run_test.yml:5 Saturday 06 January 2024 14:09:38 +0000 (0:00:00.018) 0:00:02.704 ****** ok: [sut] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/run_test.yml:9 Saturday 06 January 2024 14:09:38 +0000 (0:00:00.012) 0:00:02.717 ****** ok: [sut] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can create a profile" } ok: [sut] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/delete_interface.yml", "tasks/assert_device_absent.yml" ] } ok: [sut] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/create_bridge_profile.yml" ] } ok: [sut] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_present.yml" ] } ok: [sut] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": [ { "condition": 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-civz88ixoa/tests/playbooks/tasks/run_test.yml:21 Saturday 06 January 2024 14:09:38 +0000 (0:00:00.035) 0:00:02.753 ****** included: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/show_interfaces.yml:3 Saturday 06 January 2024 14:09:38 +0000 (0:00:00.016) 0:00:02.770 ****** included: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/get_current_interfaces.yml:3 Saturday 06 January 2024 14:09:39 +0000 (0:00:00.015) 0:00:02.785 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003489", "end": "2024-01-06 14:09:39.173047", "rc": 0, "start": "2024-01-06 14:09:39.169558" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/get_current_interfaces.yml:9 Saturday 06 January 2024 14:09:39 +0000 (0:00:00.188) 0:00:02.974 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/show_interfaces.yml:5 Saturday 06 January 2024 14:09:39 +0000 (0:00:00.013) 0:00:02.987 ****** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/run_test.yml:24 Saturday 06 January 2024 14:09:39 +0000 (0:00:00.011) 0:00:02.999 ****** included: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/delete_interface.yml:3 Saturday 06 January 2024 14:09:39 +0000 (0:00:00.021) 0:00:03.021 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.031323", "end": "2024-01-06 14:09:39.372445", "rc": 255, "start": "2024-01-06 14:09:39.341122" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/assert_device_absent.yml:3 Saturday 06 January 2024 14:09:39 +0000 (0:00:00.151) 0:00:03.172 ****** included: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 06 January 2024 14:09:39 +0000 (0:00:00.017) 0:00:03.189 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/assert_device_absent.yml:5 Saturday 06 January 2024 14:09:39 +0000 (0:00:00.120) 0:00:03.310 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/run_test.yml:30 Saturday 06 January 2024 14:09:39 +0000 (0:00:00.014) 0:00:03.324 ****** included: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/create_bridge_profile.yml:3 Saturday 06 January 2024 14:09:39 +0000 (0:00:00.019) 0:00:03.344 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 06 January 2024 14:09:39 +0000 (0:00:00.033) 0:00:03.377 ****** included: /WORKDIR/git-weekly-civz88ixoa/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-civz88ixoa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 06 January 2024 14:09:39 +0000 (0:00:00.069) 0:00:03.447 ****** 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-civz88ixoa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 06 January 2024 14:09:39 +0000 (0:00:00.012) 0:00:03.460 ****** 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-civz88ixoa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 06 January 2024 14:09:39 +0000 (0:00:00.010) 0:00:03.470 ****** 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-civz88ixoa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 06 January 2024 14:09:39 +0000 (0:00:00.010) 0:00:03.481 ****** 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-civz88ixoa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 06 January 2024 14:09:41 +0000 (0:00:01.934) 0:00:05.416 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-weekly-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 06 January 2024 14:09:42 +0000 (0:00:00.716) 0:00:06.132 ****** 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-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 06 January 2024 14:09:42 +0000 (0:00:00.022) 0:00:06.155 ****** 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-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 06 January 2024 14:09:42 +0000 (0:00:00.021) 0:00:06.176 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 06 January 2024 14:09:42 +0000 (0:00:00.034) 0:00:06.210 ****** 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-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 06 January 2024 14:09:42 +0000 (0:00:00.042) 0:00:06.252 ****** 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-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 06 January 2024 14:09:42 +0000 (0:00:00.020) 0:00:06.273 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-weekly-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 06 January 2024 14:09:42 +0000 (0:00:00.019) 0:00:06.293 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 06 January 2024 14:09:42 +0000 (0:00:00.023) 0:00:06.316 ****** 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-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 06 January 2024 14:09:42 +0000 (0:00:00.020) 0:00:06.337 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 06 January 2024 14:09:42 +0000 (0:00:00.019) 0:00:06.356 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-weekly-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 06 January 2024 14:09:42 +0000 (0:00:00.275) 0:00:06.631 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-15008as1wd0ki/tmp1o033uyq" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 06 January 2024 14:09:43 +0000 (0:00:00.198) 0:00:06.829 ****** 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-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 06 January 2024 14:09:43 +0000 (0:00:00.359) 0:00:07.189 ****** 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-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 06 January 2024 14:09:43 +0000 (0:00:00.021) 0:00:07.210 ****** 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-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 06 January 2024 14:09:43 +0000 (0:00:00.022) 0:00:07.233 ****** 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-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 06 January 2024 14:09:43 +0000 (0:00:00.022) 0:00:07.255 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 06 January 2024 14:09:43 +0000 (0:00:00.021) 0:00:07.277 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/create_bridge_profile.yml:14 Saturday 06 January 2024 14:09:43 +0000 (0:00:00.221) 0:00:07.498 ****** 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-civz88ixoa/tests/playbooks/tasks/run_test.yml:36 Saturday 06 January 2024 14:09:43 +0000 (0:00:00.023) 0:00:07.522 ****** included: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/assert_profile_present.yml:3 Saturday 06 January 2024 14:09:43 +0000 (0:00:00.038) 0:00:07.561 ****** included: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/get_profile_stat.yml:3 Saturday 06 January 2024 14:09:43 +0000 (0:00:00.036) 0:00:07.597 ****** 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-civz88ixoa/tests/playbooks/tasks/get_profile_stat.yml:9 Saturday 06 January 2024 14:09:43 +0000 (0:00:00.022) 0:00:07.620 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1704550183.376246, "block_size": 4096, "blocks": 8, "ctime": 1704550183.376246, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 18846, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1704550183.376246, "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-civz88ixoa/tests/playbooks/tasks/get_profile_stat.yml:17 Saturday 06 January 2024 14:09:43 +0000 (0:00:00.134) 0:00:07.754 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/get_profile_stat.yml:25 Saturday 06 January 2024 14:09:44 +0000 (0:00:00.023) 0:00:07.778 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.006982", "end": "2024-01-06 14:09:44.107861", "rc": 1, "start": "2024-01-06 14:09:44.100879" } STDERR: Error: Object 'connection' is unknown, try 'nmcli help'. 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-civz88ixoa/tests/playbooks/tasks/get_profile_stat.yml:35 Saturday 06 January 2024 14:09:44 +0000 (0:00:00.139) 0:00:07.917 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/get_profile_stat.yml:49 Saturday 06 January 2024 14:09:44 +0000 (0:00:00.023) 0:00:07.941 ****** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003337", "end": "2024-01-06 14:09:44.273430", "rc": 0, "start": "2024-01-06 14:09:44.270093" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/get_profile_stat.yml:56 Saturday 06 January 2024 14:09:44 +0000 (0:00:00.142) 0:00:08.083 ****** 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-civz88ixoa/tests/playbooks/tasks/get_profile_stat.yml:62 Saturday 06 January 2024 14:09:44 +0000 (0:00:00.027) 0:00:08.111 ****** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003318", "end": "2024-01-06 14:09:44.438084", "rc": 0, "start": "2024-01-06 14:09:44.434766" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/get_profile_stat.yml:69 Saturday 06 January 2024 14:09:44 +0000 (0:00:00.137) 0:00:08.249 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/assert_profile_present.yml:5 Saturday 06 January 2024 14:09:44 +0000 (0:00:00.027) 0:00:08.276 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/assert_profile_present.yml:10 Saturday 06 January 2024 14:09:44 +0000 (0:00:00.067) 0:00:08.344 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/assert_profile_present.yml:15 Saturday 06 January 2024 14:09:44 +0000 (0:00:00.024) 0:00:08.369 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/run_test.yml:42 Saturday 06 January 2024 14:09:44 +0000 (0:00:00.021) 0:00:08.390 ****** 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-civz88ixoa/tests/playbooks/tasks/run_test.yml:47 Saturday 06 January 2024 14:09:44 +0000 (0:00:00.025) 0:00:08.415 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/run_test.yml:66 Saturday 06 January 2024 14:09:44 +0000 (0:00:00.020) 0:00:08.436 ****** included: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 06 January 2024 14:09:44 +0000 (0:00:00.038) 0:00:08.475 ****** 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.043205", "end": "2024-01-06 14:09:44.838168", "rc": 255, "start": "2024-01-06 14:09:44.794963" } STDERR: Error: Can't obtain connections: settings services are not running. Error: Can't obtain connections: settings services are not running. Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tests_states.yml:45 Saturday 06 January 2024 14:09:44 +0000 (0:00:00.171) 0:00:08.646 ****** included: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile without autoconnect] ************************ task path: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/run_test.yml:5 Saturday 06 January 2024 14:09:44 +0000 (0:00:00.035) 0:00:08.682 ****** ok: [sut] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/run_test.yml:9 Saturday 06 January 2024 14:09:44 +0000 (0:00:00.021) 0:00:08.703 ****** 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-civz88ixoa/tests/playbooks/tasks/run_test.yml:21 Saturday 06 January 2024 14:09:44 +0000 (0:00:00.045) 0:00:08.749 ****** included: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/show_interfaces.yml:3 Saturday 06 January 2024 14:09:45 +0000 (0:00:00.034) 0:00:08.783 ****** included: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/get_current_interfaces.yml:3 Saturday 06 January 2024 14:09:45 +0000 (0:00:00.033) 0:00:08.816 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003517", "end": "2024-01-06 14:09:45.139236", "rc": 0, "start": "2024-01-06 14:09:45.135719" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/get_current_interfaces.yml:9 Saturday 06 January 2024 14:09:45 +0000 (0:00:00.132) 0:00:08.948 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/show_interfaces.yml:5 Saturday 06 January 2024 14:09:45 +0000 (0:00:00.023) 0:00:08.972 ****** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/run_test.yml:24 Saturday 06 January 2024 14:09:45 +0000 (0:00:00.023) 0:00:08.995 ****** included: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/delete_interface.yml:3 Saturday 06 January 2024 14:09:45 +0000 (0:00:00.041) 0:00:09.036 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.012453", "end": "2024-01-06 14:09:45.370820", "rc": 255, "start": "2024-01-06 14:09:45.358367" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/assert_device_absent.yml:3 Saturday 06 January 2024 14:09:45 +0000 (0:00:00.143) 0:00:09.180 ****** included: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 06 January 2024 14:09:45 +0000 (0:00:00.034) 0:00:09.215 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/assert_device_absent.yml:5 Saturday 06 January 2024 14:09:45 +0000 (0:00:00.133) 0:00:09.348 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/run_test.yml:30 Saturday 06 January 2024 14:09:45 +0000 (0:00:00.023) 0:00:09.372 ****** included: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Saturday 06 January 2024 14:09:45 +0000 (0:00:00.038) 0:00:09.411 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 06 January 2024 14:09:45 +0000 (0:00:00.040) 0:00:09.451 ****** included: /WORKDIR/git-weekly-civz88ixoa/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-civz88ixoa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 06 January 2024 14:09:45 +0000 (0:00:00.060) 0:00:09.511 ****** 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-civz88ixoa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 06 January 2024 14:09:45 +0000 (0:00:00.026) 0:00:09.537 ****** 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-civz88ixoa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 06 January 2024 14:09:45 +0000 (0:00:00.021) 0:00:09.558 ****** 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-civz88ixoa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 06 January 2024 14:09:45 +0000 (0:00:00.022) 0:00:09.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 : Check which packages are installed] ********* task path: /WORKDIR/git-weekly-civz88ixoa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 06 January 2024 14:09:47 +0000 (0:00:01.639) 0:00:11.221 ****** 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-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 06 January 2024 14:09:48 +0000 (0:00:00.602) 0:00:11.823 ****** 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-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 06 January 2024 14:09:48 +0000 (0:00:00.022) 0:00:11.846 ****** 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-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 06 January 2024 14:09:48 +0000 (0:00:00.021) 0:00:11.867 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 06 January 2024 14:09:48 +0000 (0:00:00.020) 0:00:11.888 ****** 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-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 06 January 2024 14:09:48 +0000 (0:00:00.042) 0:00:11.930 ****** 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-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 06 January 2024 14:09:48 +0000 (0:00:00.021) 0:00:11.951 ****** 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-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 06 January 2024 14:09:48 +0000 (0:00:00.019) 0:00:11.971 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 06 January 2024 14:09:48 +0000 (0:00:00.024) 0:00:11.995 ****** 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-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 06 January 2024 14:09:48 +0000 (0:00:00.021) 0:00:12.016 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 06 January 2024 14:09:48 +0000 (0:00:00.019) 0:00:12.036 ****** 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-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 06 January 2024 14:09:48 +0000 (0:00:00.189) 0:00:12.225 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-15008as1wd0ki/tmpdwhevmll" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 06 January 2024 14:09:48 +0000 (0:00:00.196) 0:00:12.421 ****** 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-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 06 January 2024 14:09:48 +0000 (0:00:00.236) 0:00:12.658 ****** 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-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 06 January 2024 14:09:48 +0000 (0:00:00.020) 0:00:12.678 ****** 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-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 06 January 2024 14:09:48 +0000 (0:00:00.022) 0:00:12.701 ****** 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-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 06 January 2024 14:09:48 +0000 (0:00:00.022) 0:00:12.723 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 06 January 2024 14:09:48 +0000 (0:00:00.043) 0:00:12.767 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Saturday 06 January 2024 14:09:49 +0000 (0:00:00.127) 0:00:12.895 ****** 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-civz88ixoa/tests/playbooks/tasks/run_test.yml:36 Saturday 06 January 2024 14:09:49 +0000 (0:00:00.023) 0:00:12.918 ****** included: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/assert_device_absent.yml for sut included: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/assert_device_absent.yml:3 Saturday 06 January 2024 14:09:49 +0000 (0:00:00.043) 0:00:12.961 ****** included: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 06 January 2024 14:09:49 +0000 (0:00:00.035) 0:00:12.997 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/assert_device_absent.yml:5 Saturday 06 January 2024 14:09:49 +0000 (0:00:00.127) 0:00:13.124 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/assert_profile_present.yml:3 Saturday 06 January 2024 14:09:49 +0000 (0:00:00.023) 0:00:13.148 ****** included: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/get_profile_stat.yml:3 Saturday 06 January 2024 14:09:49 +0000 (0:00:00.035) 0:00:13.183 ****** 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-civz88ixoa/tests/playbooks/tasks/get_profile_stat.yml:9 Saturday 06 January 2024 14:09:49 +0000 (0:00:00.020) 0:00:13.204 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1704550188.846246, "block_size": 4096, "blocks": 8, "ctime": 1704550188.846246, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 18846, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1704550188.846246, "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-civz88ixoa/tests/playbooks/tasks/get_profile_stat.yml:17 Saturday 06 January 2024 14:09:49 +0000 (0:00:00.129) 0:00:13.334 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/get_profile_stat.yml:25 Saturday 06 January 2024 14:09:49 +0000 (0:00:00.021) 0:00:13.355 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.007124", "end": "2024-01-06 14:09:49.682823", "rc": 1, "start": "2024-01-06 14:09:49.675699" } STDERR: Error: Object 'connection' is unknown, try 'nmcli help'. 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-civz88ixoa/tests/playbooks/tasks/get_profile_stat.yml:35 Saturday 06 January 2024 14:09:49 +0000 (0:00:00.135) 0:00:13.491 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/get_profile_stat.yml:49 Saturday 06 January 2024 14:09:49 +0000 (0:00:00.045) 0:00:13.537 ****** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003362", "end": "2024-01-06 14:09:49.864619", "rc": 0, "start": "2024-01-06 14:09:49.861257" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/get_profile_stat.yml:56 Saturday 06 January 2024 14:09:49 +0000 (0:00:00.138) 0:00:13.676 ****** 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-civz88ixoa/tests/playbooks/tasks/get_profile_stat.yml:62 Saturday 06 January 2024 14:09:49 +0000 (0:00:00.027) 0:00:13.703 ****** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003354", "end": "2024-01-06 14:09:50.034203", "rc": 0, "start": "2024-01-06 14:09:50.030849" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/get_profile_stat.yml:69 Saturday 06 January 2024 14:09:50 +0000 (0:00:00.142) 0:00:13.846 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/assert_profile_present.yml:5 Saturday 06 January 2024 14:09:50 +0000 (0:00:00.025) 0:00:13.871 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/assert_profile_present.yml:10 Saturday 06 January 2024 14:09:50 +0000 (0:00:00.023) 0:00:13.894 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/assert_profile_present.yml:15 Saturday 06 January 2024 14:09:50 +0000 (0:00:00.022) 0:00:13.917 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/run_test.yml:42 Saturday 06 January 2024 14:09:50 +0000 (0:00:00.023) 0:00:13.940 ****** TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/run_test.yml:47 Saturday 06 January 2024 14:09:50 +0000 (0:00:00.019) 0:00:13.960 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/run_test.yml:66 Saturday 06 January 2024 14:09:50 +0000 (0:00:00.021) 0:00:13.982 ****** included: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 06 January 2024 14:09:50 +0000 (0:00:00.039) 0:00:14.021 ****** 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.029073", "end": "2024-01-06 14:09:50.371784", "rc": 255, "start": "2024-01-06 14:09:50.342711" } STDERR: Error: Can't obtain connections: settings services are not running. Error: Can't obtain connections: settings services are not running. Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tests_states.yml:65 Saturday 06 January 2024 14:09:50 +0000 (0:00:00.159) 0:00:14.181 ****** included: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can activate an existing profile] ******************************** task path: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/run_test.yml:5 Saturday 06 January 2024 14:09:50 +0000 (0:00:00.035) 0:00:14.217 ****** ok: [sut] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/run_test.yml:9 Saturday 06 January 2024 14:09:50 +0000 (0:00:00.052) 0:00:14.269 ****** 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-civz88ixoa/tests/playbooks/tasks/run_test.yml:21 Saturday 06 January 2024 14:09:50 +0000 (0:00:00.046) 0:00:14.316 ****** included: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/show_interfaces.yml:3 Saturday 06 January 2024 14:09:50 +0000 (0:00:00.036) 0:00:14.352 ****** included: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/get_current_interfaces.yml:3 Saturday 06 January 2024 14:09:50 +0000 (0:00:00.033) 0:00:14.385 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003549", "end": "2024-01-06 14:09:50.713260", "rc": 0, "start": "2024-01-06 14:09:50.709711" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/get_current_interfaces.yml:9 Saturday 06 January 2024 14:09:50 +0000 (0:00:00.138) 0:00:14.524 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/show_interfaces.yml:5 Saturday 06 January 2024 14:09:50 +0000 (0:00:00.022) 0:00:14.546 ****** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/run_test.yml:24 Saturday 06 January 2024 14:09:50 +0000 (0:00:00.020) 0:00:14.567 ****** included: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/create_bridge_profile.yml:3 Saturday 06 January 2024 14:09:50 +0000 (0:00:00.039) 0:00:14.607 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 06 January 2024 14:09:50 +0000 (0:00:00.035) 0:00:14.643 ****** included: /WORKDIR/git-weekly-civz88ixoa/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-civz88ixoa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 06 January 2024 14:09:50 +0000 (0:00:00.038) 0:00:14.681 ****** 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-civz88ixoa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 06 January 2024 14:09:50 +0000 (0:00:00.025) 0:00:14.707 ****** 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-civz88ixoa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 06 January 2024 14:09:50 +0000 (0:00:00.020) 0:00:14.728 ****** 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-civz88ixoa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 06 January 2024 14:09:50 +0000 (0:00:00.046) 0:00:14.774 ****** 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-civz88ixoa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 06 January 2024 14:09:52 +0000 (0:00:01.601) 0:00:16.375 ****** 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-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 06 January 2024 14:09:53 +0000 (0:00:00.581) 0:00:16.956 ****** 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-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 06 January 2024 14:09:53 +0000 (0:00:00.022) 0:00:16.979 ****** 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-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 06 January 2024 14:09:53 +0000 (0:00:00.021) 0:00:17.001 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 06 January 2024 14:09:53 +0000 (0:00:00.021) 0:00:17.022 ****** 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-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 06 January 2024 14:09:53 +0000 (0:00:00.086) 0:00:17.108 ****** 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-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 06 January 2024 14:09:53 +0000 (0:00:00.021) 0:00:17.130 ****** 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-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 06 January 2024 14:09:53 +0000 (0:00:00.019) 0:00:17.149 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 06 January 2024 14:09:53 +0000 (0:00:00.024) 0:00:17.174 ****** 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-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 06 January 2024 14:09:53 +0000 (0:00:00.021) 0:00:17.195 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 06 January 2024 14:09:53 +0000 (0:00:00.020) 0:00:17.215 ****** 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-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 06 January 2024 14:09:53 +0000 (0:00:00.188) 0:00:17.403 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-15008as1wd0ki/tmp9tyq390u" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 06 January 2024 14:09:53 +0000 (0:00:00.191) 0:00:17.595 ****** 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-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 06 January 2024 14:09:54 +0000 (0:00:00.235) 0:00:17.831 ****** 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-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 06 January 2024 14:09:54 +0000 (0:00:00.020) 0:00:17.852 ****** 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-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 06 January 2024 14:09:54 +0000 (0:00:00.022) 0:00:17.874 ****** 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-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 06 January 2024 14:09:54 +0000 (0:00:00.021) 0:00:17.896 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 06 January 2024 14:09:54 +0000 (0:00:00.021) 0:00:17.917 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/create_bridge_profile.yml:14 Saturday 06 January 2024 14:09:54 +0000 (0:00:00.126) 0:00:18.044 ****** 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-civz88ixoa/tests/playbooks/tasks/run_test.yml:30 Saturday 06 January 2024 14:09:54 +0000 (0:00:00.046) 0:00:18.090 ****** included: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/activate_profile.yml:3 Saturday 06 January 2024 14:09:54 +0000 (0:00:00.037) 0:00:18.127 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 06 January 2024 14:09:54 +0000 (0:00:00.038) 0:00:18.166 ****** included: /WORKDIR/git-weekly-civz88ixoa/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-civz88ixoa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 06 January 2024 14:09:54 +0000 (0:00:00.038) 0:00:18.205 ****** 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-civz88ixoa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 06 January 2024 14:09:54 +0000 (0:00:00.024) 0:00:18.230 ****** 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-civz88ixoa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 06 January 2024 14:09:54 +0000 (0:00:00.020) 0:00:18.250 ****** 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-civz88ixoa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 06 January 2024 14:09:54 +0000 (0:00:00.020) 0:00:18.271 ****** 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-civz88ixoa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 06 January 2024 14:09:56 +0000 (0:00:01.570) 0:00:19.841 ****** 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-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 06 January 2024 14:09:56 +0000 (0:00:00.594) 0:00:20.435 ****** ok: [sut] => {} MSG: Using network provider: initscripts TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-weekly-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 06 January 2024 14:09:56 +0000 (0:00:00.022) 0:00:20.458 ****** 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-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 06 January 2024 14:09:56 +0000 (0:00:00.020) 0:00:20.478 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 06 January 2024 14:09:56 +0000 (0:00:00.020) 0:00:20.498 ****** 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-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 06 January 2024 14:09:56 +0000 (0:00:00.042) 0:00:20.541 ****** 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-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 06 January 2024 14:09:56 +0000 (0:00:00.020) 0:00:20.562 ****** 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-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 06 January 2024 14:09:56 +0000 (0:00:00.021) 0:00:20.583 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 06 January 2024 14:09:56 +0000 (0:00:00.023) 0:00:20.606 ****** 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-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 06 January 2024 14:09:56 +0000 (0:00:00.020) 0:00:20.626 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 06 January 2024 14:09:56 +0000 (0:00:00.020) 0:00:20.646 ****** 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-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 06 January 2024 14:09:57 +0000 (0:00:00.188) 0:00:20.835 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-15008as1wd0ki/tmpucxs6hkd" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 06 January 2024 14:09:57 +0000 (0:00:00.219) 0:00:21.055 ****** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active) [003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err='' TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-weekly-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 06 January 2024 14:09:57 +0000 (0:00:00.370) 0:00:21.426 ****** 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-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 06 January 2024 14:09:57 +0000 (0:00:00.021) 0:00:21.447 ****** 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-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 06 January 2024 14:09:57 +0000 (0:00:00.023) 0:00:21.471 ****** 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-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 06 January 2024 14:09:57 +0000 (0:00:00.024) 0:00:21.495 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 06 January 2024 14:09:57 +0000 (0:00:00.022) 0:00:21.518 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/run_test.yml:36 Saturday 06 January 2024 14:09:57 +0000 (0:00:00.137) 0:00:21.655 ****** included: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/assert_device_present.yml:3 Saturday 06 January 2024 14:09:57 +0000 (0:00:00.043) 0:00:21.698 ****** included: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 06 January 2024 14:09:57 +0000 (0:00:00.035) 0:00:21.733 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1704550197.536246, "block_size": 4096, "blocks": 0, "ctime": 1704550197.531246, "dev": 0, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 6461, "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": 1704550197.531246, "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-civz88ixoa/tests/playbooks/tasks/assert_device_present.yml:5 Saturday 06 January 2024 14:09:58 +0000 (0:00:00.132) 0:00:21.866 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/assert_profile_present.yml:3 Saturday 06 January 2024 14:09:58 +0000 (0:00:00.024) 0:00:21.890 ****** included: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/get_profile_stat.yml:3 Saturday 06 January 2024 14:09:58 +0000 (0:00:00.036) 0:00:21.927 ****** 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-civz88ixoa/tests/playbooks/tasks/get_profile_stat.yml:9 Saturday 06 January 2024 14:09:58 +0000 (0:00:00.047) 0:00:21.975 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1704550195.611246, "block_size": 4096, "blocks": 8, "ctime": 1704550194.019246, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 18846, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1704550194.019246, "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-civz88ixoa/tests/playbooks/tasks/get_profile_stat.yml:17 Saturday 06 January 2024 14:09:58 +0000 (0:00:00.132) 0:00:22.108 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/get_profile_stat.yml:25 Saturday 06 January 2024 14:09:58 +0000 (0:00:00.023) 0:00:22.131 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.006886", "end": "2024-01-06 14:09:58.460321", "rc": 1, "start": "2024-01-06 14:09:58.453435" } STDERR: Error: Object 'connection' is unknown, try 'nmcli help'. 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-civz88ixoa/tests/playbooks/tasks/get_profile_stat.yml:35 Saturday 06 January 2024 14:09:58 +0000 (0:00:00.137) 0:00:22.269 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/get_profile_stat.yml:49 Saturday 06 January 2024 14:09:58 +0000 (0:00:00.022) 0:00:22.292 ****** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003343", "end": "2024-01-06 14:09:58.619333", "rc": 0, "start": "2024-01-06 14:09:58.615990" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/get_profile_stat.yml:56 Saturday 06 January 2024 14:09:58 +0000 (0:00:00.137) 0:00:22.430 ****** 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-civz88ixoa/tests/playbooks/tasks/get_profile_stat.yml:62 Saturday 06 January 2024 14:09:58 +0000 (0:00:00.027) 0:00:22.457 ****** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003356", "end": "2024-01-06 14:09:58.784967", "rc": 0, "start": "2024-01-06 14:09:58.781611" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/get_profile_stat.yml:69 Saturday 06 January 2024 14:09:58 +0000 (0:00:00.138) 0:00:22.596 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/assert_profile_present.yml:5 Saturday 06 January 2024 14:09:58 +0000 (0:00:00.025) 0:00:22.621 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/assert_profile_present.yml:10 Saturday 06 January 2024 14:09:58 +0000 (0:00:00.023) 0:00:22.645 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/assert_profile_present.yml:15 Saturday 06 January 2024 14:09:58 +0000 (0:00:00.023) 0:00:22.668 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/run_test.yml:42 Saturday 06 January 2024 14:09:58 +0000 (0:00:00.021) 0:00:22.690 ****** TASK [Success in test 'I can activate an existing profile'] ******************** task path: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/run_test.yml:47 Saturday 06 January 2024 14:09:58 +0000 (0:00:00.019) 0:00:22.709 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/run_test.yml:66 Saturday 06 January 2024 14:09:58 +0000 (0:00:00.021) 0:00:22.730 ****** included: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 06 January 2024 14:09:59 +0000 (0:00:00.062) 0:00:22.793 ****** 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.032099", "end": "2024-01-06 14:09:59.149379", "rc": 0, "start": "2024-01-06 14:09:59.117280" } STDERR: Error: Can't obtain connections: settings services are not running. Error: Can't obtain connections: settings services are not running. TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tests_states.yml:83 Saturday 06 January 2024 14:09:59 +0000 (0:00:00.169) 0:00:22.963 ****** included: /WORKDIR/git-weekly-civz88ixoa/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-civz88ixoa/tests/playbooks/tasks/run_test.yml:5 Saturday 06 January 2024 14:09:59 +0000 (0:00:00.037) 0:00:23.001 ****** ok: [sut] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/run_test.yml:9 Saturday 06 January 2024 14:09:59 +0000 (0:00:00.022) 0:00:23.024 ****** 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-civz88ixoa/tests/playbooks/tasks/run_test.yml:21 Saturday 06 January 2024 14:09:59 +0000 (0:00:00.044) 0:00:23.069 ****** included: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/show_interfaces.yml:3 Saturday 06 January 2024 14:09:59 +0000 (0:00:00.033) 0:00:23.102 ****** included: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/get_current_interfaces.yml:3 Saturday 06 January 2024 14:09:59 +0000 (0:00:00.032) 0:00:23.135 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003581", "end": "2024-01-06 14:09:59.461114", "rc": 0, "start": "2024-01-06 14:09:59.457533" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/get_current_interfaces.yml:9 Saturday 06 January 2024 14:09:59 +0000 (0:00:00.135) 0:00:23.271 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/show_interfaces.yml:5 Saturday 06 January 2024 14:09:59 +0000 (0:00:00.022) 0:00:23.293 ****** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/run_test.yml:24 Saturday 06 January 2024 14:09:59 +0000 (0:00:00.021) 0:00:23.315 ****** included: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/create_bridge_profile.yml:3 Saturday 06 January 2024 14:09:59 +0000 (0:00:00.040) 0:00:23.355 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 06 January 2024 14:09:59 +0000 (0:00:00.067) 0:00:23.423 ****** included: /WORKDIR/git-weekly-civz88ixoa/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-civz88ixoa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 06 January 2024 14:09:59 +0000 (0:00:00.040) 0:00:23.464 ****** 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-civz88ixoa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 06 January 2024 14:09:59 +0000 (0:00:00.031) 0:00:23.495 ****** 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-civz88ixoa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 06 January 2024 14:09:59 +0000 (0:00:00.022) 0:00:23.517 ****** 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-civz88ixoa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 06 January 2024 14:09:59 +0000 (0:00:00.021) 0:00:23.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 : Check which packages are installed] ********* task path: /WORKDIR/git-weekly-civz88ixoa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 06 January 2024 14:10:01 +0000 (0:00:01.682) 0:00:25.221 ****** 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-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 06 January 2024 14:10:02 +0000 (0:00:00.677) 0:00:25.898 ****** 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-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 06 January 2024 14:10:02 +0000 (0:00:00.026) 0:00:25.924 ****** 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-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 06 January 2024 14:10:02 +0000 (0:00:00.021) 0:00:25.946 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 06 January 2024 14:10:02 +0000 (0:00:00.020) 0:00:25.967 ****** 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-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 06 January 2024 14:10:02 +0000 (0:00:00.042) 0:00:26.009 ****** 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-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 06 January 2024 14:10:02 +0000 (0:00:00.019) 0:00:26.029 ****** 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-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 06 January 2024 14:10:02 +0000 (0:00:00.019) 0:00:26.049 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 06 January 2024 14:10:02 +0000 (0:00:00.025) 0:00:26.074 ****** 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-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 06 January 2024 14:10:02 +0000 (0:00:00.022) 0:00:26.096 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 06 January 2024 14:10:02 +0000 (0:00:00.021) 0:00:26.117 ****** 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-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 06 January 2024 14:10:02 +0000 (0:00:00.206) 0:00:26.324 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-15008as1wd0ki/tmp0koaayow" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 06 January 2024 14:10:02 +0000 (0:00:00.204) 0:00:26.528 ****** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "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-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 06 January 2024 14:10:03 +0000 (0:00:00.282) 0:00:26.811 ****** 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-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 06 January 2024 14:10:03 +0000 (0:00:00.046) 0:00:26.857 ****** 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-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 06 January 2024 14:10:03 +0000 (0:00:00.022) 0:00:26.880 ****** 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-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 06 January 2024 14:10:03 +0000 (0:00:00.022) 0:00:26.902 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 06 January 2024 14:10:03 +0000 (0:00:00.021) 0:00:26.923 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/create_bridge_profile.yml:14 Saturday 06 January 2024 14:10:03 +0000 (0:00:00.128) 0:00:27.052 ****** 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-civz88ixoa/tests/playbooks/tasks/activate_profile.yml:3 Saturday 06 January 2024 14:10:03 +0000 (0:00:00.023) 0:00:27.075 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 06 January 2024 14:10:03 +0000 (0:00:00.034) 0:00:27.110 ****** included: /WORKDIR/git-weekly-civz88ixoa/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-civz88ixoa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 06 January 2024 14:10:03 +0000 (0:00:00.038) 0:00:27.148 ****** 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-civz88ixoa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 06 January 2024 14:10:03 +0000 (0:00:00.025) 0:00:27.174 ****** 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-civz88ixoa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 06 January 2024 14:10:03 +0000 (0:00:00.021) 0:00:27.195 ****** 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-civz88ixoa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 06 January 2024 14:10:03 +0000 (0:00:00.020) 0:00:27.215 ****** 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-civz88ixoa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 06 January 2024 14:10:05 +0000 (0:00:01.744) 0:00:28.960 ****** 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-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 06 January 2024 14:10:05 +0000 (0:00:00.593) 0:00:29.553 ****** 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-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 06 January 2024 14:10:05 +0000 (0:00:00.023) 0:00:29.577 ****** 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-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 06 January 2024 14:10:05 +0000 (0:00:00.021) 0:00:29.598 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 06 January 2024 14:10:05 +0000 (0:00:00.020) 0:00:29.619 ****** 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-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 06 January 2024 14:10:05 +0000 (0:00:00.043) 0:00:29.662 ****** 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-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 06 January 2024 14:10:05 +0000 (0:00:00.020) 0:00:29.683 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-weekly-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 06 January 2024 14:10:05 +0000 (0:00:00.021) 0:00:29.704 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 06 January 2024 14:10:05 +0000 (0:00:00.024) 0:00:29.728 ****** 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-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 06 January 2024 14:10:05 +0000 (0:00:00.045) 0:00:29.774 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 06 January 2024 14:10:06 +0000 (0:00:00.021) 0:00:29.796 ****** 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-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 06 January 2024 14:10:06 +0000 (0:00:00.196) 0:00:29.992 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-15008as1wd0ki/tmpoc3441f5" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 06 January 2024 14:10:06 +0000 (0:00:00.204) 0:00:30.196 ****** 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-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 06 January 2024 14:10:06 +0000 (0:00:00.389) 0:00:30.586 ****** 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-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 06 January 2024 14:10:06 +0000 (0:00:00.021) 0:00:30.607 ****** 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-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 06 January 2024 14:10:06 +0000 (0:00:00.023) 0:00:30.630 ****** 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-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 06 January 2024 14:10:06 +0000 (0:00:00.022) 0:00:30.652 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 06 January 2024 14:10:06 +0000 (0:00:00.021) 0:00:30.674 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/run_test.yml:30 Saturday 06 January 2024 14:10:07 +0000 (0:00:00.135) 0:00:30.809 ****** included: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/remove_profile.yml:3 Saturday 06 January 2024 14:10:07 +0000 (0:00:00.039) 0:00:30.849 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 06 January 2024 14:10:07 +0000 (0:00:00.069) 0:00:30.918 ****** included: /WORKDIR/git-weekly-civz88ixoa/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-civz88ixoa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 06 January 2024 14:10:07 +0000 (0:00:00.039) 0:00:30.958 ****** 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-civz88ixoa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 06 January 2024 14:10:07 +0000 (0:00:00.026) 0:00:30.984 ****** 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-civz88ixoa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 06 January 2024 14:10:07 +0000 (0:00:00.020) 0:00:31.005 ****** 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-civz88ixoa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 06 January 2024 14:10:07 +0000 (0:00:00.020) 0:00:31.026 ****** 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-civz88ixoa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 06 January 2024 14:10:08 +0000 (0:00:01.674) 0:00:32.700 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-weekly-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 06 January 2024 14:10:09 +0000 (0:00:00.604) 0:00:33.305 ****** 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-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 06 January 2024 14:10:09 +0000 (0:00:00.022) 0:00:33.327 ****** 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-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 06 January 2024 14:10:09 +0000 (0:00:00.021) 0:00:33.349 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 06 January 2024 14:10:09 +0000 (0:00:00.021) 0:00:33.370 ****** 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-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 06 January 2024 14:10:09 +0000 (0:00:00.045) 0:00:33.416 ****** 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-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 06 January 2024 14:10:09 +0000 (0:00:00.021) 0:00:33.437 ****** 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-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 06 January 2024 14:10:09 +0000 (0:00:00.021) 0:00:33.459 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 06 January 2024 14:10:09 +0000 (0:00:00.026) 0:00:33.485 ****** 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-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 06 January 2024 14:10:09 +0000 (0:00:00.022) 0:00:33.508 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 06 January 2024 14:10:09 +0000 (0:00:00.020) 0:00:33.528 ****** 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-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 06 January 2024 14:10:09 +0000 (0:00:00.193) 0:00:33.722 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-15008as1wd0ki/tmprk79_4ed" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 06 January 2024 14:10:10 +0000 (0:00:00.194) 0:00:33.917 ****** 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-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 06 January 2024 14:10:10 +0000 (0:00:00.238) 0:00:34.156 ****** 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-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 06 January 2024 14:10:10 +0000 (0:00:00.021) 0:00:34.177 ****** 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-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 06 January 2024 14:10:10 +0000 (0:00:00.047) 0:00:34.225 ****** 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-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 06 January 2024 14:10:10 +0000 (0:00:00.022) 0:00:34.247 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 06 January 2024 14:10:10 +0000 (0:00:00.020) 0:00:34.267 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/run_test.yml:36 Saturday 06 January 2024 14:10:10 +0000 (0:00:00.124) 0:00:34.392 ****** included: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/assert_device_present.yml:3 Saturday 06 January 2024 14:10:10 +0000 (0:00:00.043) 0:00:34.436 ****** included: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 06 January 2024 14:10:10 +0000 (0:00:00.035) 0:00:34.471 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1704550206.687246, "block_size": 4096, "blocks": 0, "ctime": 1704550206.686246, "dev": 0, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 6461, "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": 1704550206.686246, "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-civz88ixoa/tests/playbooks/tasks/assert_device_present.yml:5 Saturday 06 January 2024 14:10:10 +0000 (0:00:00.132) 0:00:34.604 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/assert_profile_absent.yml:3 Saturday 06 January 2024 14:10:10 +0000 (0:00:00.024) 0:00:34.628 ****** included: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/get_profile_stat.yml:3 Saturday 06 January 2024 14:10:10 +0000 (0:00:00.035) 0:00:34.664 ****** 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-civz88ixoa/tests/playbooks/tasks/get_profile_stat.yml:9 Saturday 06 January 2024 14:10:10 +0000 (0:00:00.022) 0:00:34.686 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/get_profile_stat.yml:17 Saturday 06 January 2024 14:10:11 +0000 (0:00:00.131) 0:00:34.818 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/get_profile_stat.yml:25 Saturday 06 January 2024 14:10:11 +0000 (0:00:00.021) 0:00:34.839 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.006974", "end": "2024-01-06 14:10:11.168786", "rc": 1, "start": "2024-01-06 14:10:11.161812" } STDERR: Error: Object 'connection' is unknown, try 'nmcli help'. 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-civz88ixoa/tests/playbooks/tasks/get_profile_stat.yml:35 Saturday 06 January 2024 14:10:11 +0000 (0:00:00.138) 0:00:34.977 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/get_profile_stat.yml:49 Saturday 06 January 2024 14:10:11 +0000 (0:00:00.045) 0:00:35.023 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/get_profile_stat.yml:56 Saturday 06 January 2024 14:10:11 +0000 (0:00:00.022) 0:00:35.045 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/get_profile_stat.yml:62 Saturday 06 January 2024 14:10:11 +0000 (0:00:00.021) 0:00:35.067 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/get_profile_stat.yml:69 Saturday 06 January 2024 14:10:11 +0000 (0:00:00.023) 0:00:35.091 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/assert_profile_absent.yml:5 Saturday 06 January 2024 14:10:11 +0000 (0:00:00.023) 0:00:35.114 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/run_test.yml:42 Saturday 06 January 2024 14:10:11 +0000 (0:00:00.025) 0:00:35.139 ****** TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/run_test.yml:47 Saturday 06 January 2024 14:10:11 +0000 (0:00:00.020) 0:00:35.160 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/run_test.yml:66 Saturday 06 January 2024 14:10:11 +0000 (0:00:00.022) 0:00:35.182 ****** included: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 06 January 2024 14:10:11 +0000 (0:00:00.038) 0:00:35.221 ****** 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.045781", "end": "2024-01-06 14:10:11.591454", "rc": 0, "start": "2024-01-06 14:10:11.545673" } STDERR: Error: Can't obtain connections: settings services are not running. Error: Can't obtain connections: settings services are not running. TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tests_states.yml:103 Saturday 06 January 2024 14:10:11 +0000 (0:00:00.184) 0:00:35.405 ****** included: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can take a profile down that is absent] ************************** task path: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/run_test.yml:5 Saturday 06 January 2024 14:10:11 +0000 (0:00:00.036) 0:00:35.442 ****** ok: [sut] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/run_test.yml:9 Saturday 06 January 2024 14:10:11 +0000 (0:00:00.021) 0:00:35.463 ****** 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-civz88ixoa/tests/playbooks/tasks/run_test.yml:21 Saturday 06 January 2024 14:10:11 +0000 (0:00:00.046) 0:00:35.510 ****** included: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/show_interfaces.yml:3 Saturday 06 January 2024 14:10:11 +0000 (0:00:00.062) 0:00:35.572 ****** included: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/get_current_interfaces.yml:3 Saturday 06 January 2024 14:10:11 +0000 (0:00:00.033) 0:00:35.606 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003459", "end": "2024-01-06 14:10:11.931857", "rc": 0, "start": "2024-01-06 14:10:11.928398" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/get_current_interfaces.yml:9 Saturday 06 January 2024 14:10:11 +0000 (0:00:00.134) 0:00:35.740 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/show_interfaces.yml:5 Saturday 06 January 2024 14:10:11 +0000 (0:00:00.022) 0:00:35.763 ****** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/run_test.yml:24 Saturday 06 January 2024 14:10:12 +0000 (0:00:00.021) 0:00:35.784 ****** included: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/create_bridge_profile.yml:3 Saturday 06 January 2024 14:10:12 +0000 (0:00:00.043) 0:00:35.828 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 06 January 2024 14:10:12 +0000 (0:00:00.035) 0:00:35.863 ****** included: /WORKDIR/git-weekly-civz88ixoa/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-civz88ixoa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 06 January 2024 14:10:12 +0000 (0:00:00.038) 0:00:35.902 ****** 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-civz88ixoa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 06 January 2024 14:10:12 +0000 (0:00:00.024) 0:00:35.926 ****** 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-civz88ixoa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 06 January 2024 14:10:12 +0000 (0:00:00.020) 0:00:35.947 ****** 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-civz88ixoa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 06 January 2024 14:10:12 +0000 (0:00:00.020) 0:00:35.968 ****** 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-civz88ixoa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 06 January 2024 14:10:13 +0000 (0:00:01.667) 0:00:37.635 ****** 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-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 06 January 2024 14:10:14 +0000 (0:00:00.588) 0:00:38.223 ****** 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-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 06 January 2024 14:10:14 +0000 (0:00:00.022) 0:00:38.245 ****** 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-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 06 January 2024 14:10:14 +0000 (0:00:00.021) 0:00:38.267 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 06 January 2024 14:10:14 +0000 (0:00:00.019) 0:00:38.287 ****** 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-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 06 January 2024 14:10:14 +0000 (0:00:00.042) 0:00:38.329 ****** 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-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 06 January 2024 14:10:14 +0000 (0:00:00.021) 0:00:38.351 ****** 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-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 06 January 2024 14:10:14 +0000 (0:00:00.041) 0:00:38.392 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 06 January 2024 14:10:14 +0000 (0:00:00.024) 0:00:38.417 ****** 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-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 06 January 2024 14:10:14 +0000 (0:00:00.020) 0:00:38.438 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 06 January 2024 14:10:14 +0000 (0:00:00.019) 0:00:38.458 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-weekly-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 06 January 2024 14:10:14 +0000 (0:00:00.194) 0:00:38.653 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-15008as1wd0ki/tmpq3s9pjjn" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 06 January 2024 14:10:15 +0000 (0:00:00.196) 0:00:38.849 ****** 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-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 06 January 2024 14:10:15 +0000 (0:00:00.253) 0:00:39.103 ****** 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-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 06 January 2024 14:10:15 +0000 (0:00:00.021) 0:00:39.124 ****** 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-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 06 January 2024 14:10:15 +0000 (0:00:00.022) 0:00:39.147 ****** 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-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 06 January 2024 14:10:15 +0000 (0:00:00.021) 0:00:39.169 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 06 January 2024 14:10:15 +0000 (0:00:00.020) 0:00:39.190 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/create_bridge_profile.yml:14 Saturday 06 January 2024 14:10:15 +0000 (0:00:00.130) 0:00:39.320 ****** 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-civz88ixoa/tests/playbooks/tasks/activate_profile.yml:3 Saturday 06 January 2024 14:10:15 +0000 (0:00:00.021) 0:00:39.342 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 06 January 2024 14:10:15 +0000 (0:00:00.061) 0:00:39.404 ****** included: /WORKDIR/git-weekly-civz88ixoa/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-civz88ixoa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 06 January 2024 14:10:15 +0000 (0:00:00.038) 0:00:39.443 ****** 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-civz88ixoa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 06 January 2024 14:10:15 +0000 (0:00:00.026) 0:00:39.469 ****** 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-civz88ixoa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 06 January 2024 14:10:15 +0000 (0:00:00.020) 0:00:39.490 ****** 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-civz88ixoa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 06 January 2024 14:10:15 +0000 (0:00:00.021) 0:00:39.511 ****** 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-civz88ixoa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 06 January 2024 14:10:17 +0000 (0:00:01.633) 0:00:41.144 ****** 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-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 06 January 2024 14:10:17 +0000 (0:00:00.606) 0:00:41.751 ****** 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-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 06 January 2024 14:10:17 +0000 (0:00:00.022) 0:00:41.773 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-weekly-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 06 January 2024 14:10:18 +0000 (0:00:00.021) 0:00:41.795 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 06 January 2024 14:10:18 +0000 (0:00:00.020) 0:00:41.816 ****** 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-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 06 January 2024 14:10:18 +0000 (0:00:00.043) 0:00:41.859 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-weekly-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 06 January 2024 14:10:18 +0000 (0:00:00.022) 0:00:41.881 ****** 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-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 06 January 2024 14:10:18 +0000 (0:00:00.021) 0:00:41.903 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 06 January 2024 14:10:18 +0000 (0:00:00.024) 0:00:41.928 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-weekly-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 06 January 2024 14:10:18 +0000 (0:00:00.021) 0:00:41.949 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 06 January 2024 14:10:18 +0000 (0:00:00.019) 0:00:41.969 ****** 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-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 06 January 2024 14:10:18 +0000 (0:00:00.187) 0:00:42.156 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-15008as1wd0ki/tmpcdp7k7m3" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 06 January 2024 14:10:18 +0000 (0:00:00.194) 0:00:42.350 ****** 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-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 06 January 2024 14:10:18 +0000 (0:00:00.352) 0:00:42.703 ****** 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-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 06 January 2024 14:10:18 +0000 (0:00:00.020) 0:00:42.724 ****** 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-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 06 January 2024 14:10:18 +0000 (0:00:00.045) 0:00:42.769 ****** 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-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 06 January 2024 14:10:19 +0000 (0:00:00.023) 0:00:42.792 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 06 January 2024 14:10:19 +0000 (0:00:00.020) 0:00:42.813 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/remove_profile.yml:3 Saturday 06 January 2024 14:10:19 +0000 (0:00:00.125) 0:00:42.939 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 06 January 2024 14:10:19 +0000 (0:00:00.038) 0:00:42.977 ****** included: /WORKDIR/git-weekly-civz88ixoa/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-civz88ixoa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 06 January 2024 14:10:19 +0000 (0:00:00.039) 0:00:43.017 ****** 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-civz88ixoa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 06 January 2024 14:10:19 +0000 (0:00:00.026) 0:00:43.043 ****** 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-civz88ixoa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 06 January 2024 14:10:19 +0000 (0:00:00.020) 0:00:43.064 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-weekly-civz88ixoa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 06 January 2024 14:10:19 +0000 (0:00:00.021) 0:00:43.086 ****** 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-civz88ixoa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 06 January 2024 14:10:20 +0000 (0:00:01.632) 0:00:44.718 ****** 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-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 06 January 2024 14:10:21 +0000 (0:00:00.576) 0:00:45.295 ****** 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-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 06 January 2024 14:10:21 +0000 (0:00:00.022) 0:00:45.317 ****** 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-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 06 January 2024 14:10:21 +0000 (0:00:00.021) 0:00:45.338 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 06 January 2024 14:10:21 +0000 (0:00:00.021) 0:00:45.360 ****** 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-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 06 January 2024 14:10:21 +0000 (0:00:00.043) 0:00:45.403 ****** 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-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 06 January 2024 14:10:21 +0000 (0:00:00.021) 0:00:45.425 ****** 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-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 06 January 2024 14:10:21 +0000 (0:00:00.020) 0:00:45.446 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 06 January 2024 14:10:21 +0000 (0:00:00.024) 0:00:45.470 ****** 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-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 06 January 2024 14:10:21 +0000 (0:00:00.020) 0:00:45.491 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 06 January 2024 14:10:21 +0000 (0:00:00.021) 0:00:45.512 ****** 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-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 06 January 2024 14:10:21 +0000 (0:00:00.213) 0:00:45.726 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-15008as1wd0ki/tmptcd_navg" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 06 January 2024 14:10:22 +0000 (0:00:00.195) 0:00:45.921 ****** 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-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 06 January 2024 14:10:22 +0000 (0:00:00.236) 0:00:46.158 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-weekly-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 06 January 2024 14:10:22 +0000 (0:00:00.021) 0:00:46.179 ****** 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-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 06 January 2024 14:10:22 +0000 (0:00:00.022) 0:00:46.201 ****** 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-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 06 January 2024 14:10:22 +0000 (0:00:00.022) 0:00:46.223 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 06 January 2024 14:10:22 +0000 (0:00:00.021) 0:00:46.244 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/run_test.yml:30 Saturday 06 January 2024 14:10:22 +0000 (0:00:00.127) 0:00:46.372 ****** included: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/remove+down_profile.yml:3 Saturday 06 January 2024 14:10:22 +0000 (0:00:00.037) 0:00:46.410 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 06 January 2024 14:10:22 +0000 (0:00:00.039) 0:00:46.449 ****** included: /WORKDIR/git-weekly-civz88ixoa/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-civz88ixoa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 06 January 2024 14:10:22 +0000 (0:00:00.038) 0:00:46.487 ****** 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-civz88ixoa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 06 January 2024 14:10:22 +0000 (0:00:00.025) 0:00:46.513 ****** 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-civz88ixoa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 06 January 2024 14:10:22 +0000 (0:00:00.045) 0:00:46.559 ****** 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-civz88ixoa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 06 January 2024 14:10:22 +0000 (0:00:00.021) 0:00:46.580 ****** 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-civz88ixoa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 06 January 2024 14:10:24 +0000 (0:00:01.598) 0:00:48.179 ****** 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-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 06 January 2024 14:10:24 +0000 (0:00:00.584) 0:00:48.763 ****** 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-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 06 January 2024 14:10:25 +0000 (0:00:00.022) 0:00:48.786 ****** 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-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 06 January 2024 14:10:25 +0000 (0:00:00.041) 0:00:48.828 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 06 January 2024 14:10:25 +0000 (0:00:00.021) 0:00:48.849 ****** 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-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 06 January 2024 14:10:25 +0000 (0:00:00.042) 0:00:48.892 ****** 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-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 06 January 2024 14:10:25 +0000 (0:00:00.021) 0:00:48.913 ****** 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-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 06 January 2024 14:10:25 +0000 (0:00:00.021) 0:00:48.934 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 06 January 2024 14:10:25 +0000 (0:00:00.026) 0:00:48.961 ****** 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-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 06 January 2024 14:10:25 +0000 (0:00:00.022) 0:00:48.983 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 06 January 2024 14:10:25 +0000 (0:00:00.023) 0:00:49.006 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-weekly-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 06 January 2024 14:10:25 +0000 (0:00:00.196) 0:00:49.203 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-15008as1wd0ki/tmpvq1r08sq" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 06 January 2024 14:10:25 +0000 (0:00:00.199) 0:00:49.402 ****** 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-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 06 January 2024 14:10:25 +0000 (0:00:00.237) 0:00:49.639 ****** 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-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 06 January 2024 14:10:25 +0000 (0:00:00.021) 0:00:49.661 ****** 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-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 06 January 2024 14:10:25 +0000 (0:00:00.022) 0:00:49.683 ****** 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-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 06 January 2024 14:10:25 +0000 (0:00:00.021) 0:00:49.705 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 06 January 2024 14:10:25 +0000 (0:00:00.021) 0:00:49.726 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/run_test.yml:36 Saturday 06 January 2024 14:10:26 +0000 (0:00:00.156) 0:00:49.883 ****** included: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/assert_profile_absent.yml:3 Saturday 06 January 2024 14:10:26 +0000 (0:00:00.041) 0:00:49.924 ****** included: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/get_profile_stat.yml:3 Saturday 06 January 2024 14:10:26 +0000 (0:00:00.037) 0:00:49.962 ****** 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-civz88ixoa/tests/playbooks/tasks/get_profile_stat.yml:9 Saturday 06 January 2024 14:10:26 +0000 (0:00:00.021) 0:00:49.983 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/get_profile_stat.yml:17 Saturday 06 January 2024 14:10:26 +0000 (0:00:00.132) 0:00:50.115 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/get_profile_stat.yml:25 Saturday 06 January 2024 14:10:26 +0000 (0:00:00.022) 0:00:50.138 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.006963", "end": "2024-01-06 14:10:26.468294", "rc": 1, "start": "2024-01-06 14:10:26.461331" } STDERR: Error: Object 'connection' is unknown, try 'nmcli help'. 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-civz88ixoa/tests/playbooks/tasks/get_profile_stat.yml:35 Saturday 06 January 2024 14:10:26 +0000 (0:00:00.138) 0:00:50.276 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/get_profile_stat.yml:49 Saturday 06 January 2024 14:10:26 +0000 (0:00:00.023) 0:00:50.300 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/get_profile_stat.yml:56 Saturday 06 January 2024 14:10:26 +0000 (0:00:00.026) 0:00:50.327 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/get_profile_stat.yml:62 Saturday 06 January 2024 14:10:26 +0000 (0:00:00.023) 0:00:50.350 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/get_profile_stat.yml:69 Saturday 06 January 2024 14:10:26 +0000 (0:00:00.021) 0:00:50.372 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/assert_profile_absent.yml:5 Saturday 06 January 2024 14:10:26 +0000 (0:00:00.022) 0:00:50.395 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/run_test.yml:42 Saturday 06 January 2024 14:10:26 +0000 (0:00:00.022) 0:00:50.417 ****** 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-civz88ixoa/tests/playbooks/tasks/run_test.yml:47 Saturday 06 January 2024 14:10:26 +0000 (0:00:00.026) 0:00:50.444 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/run_test.yml:66 Saturday 06 January 2024 14:10:26 +0000 (0:00:00.045) 0:00:50.490 ****** included: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 06 January 2024 14:10:26 +0000 (0:00:00.038) 0:00:50.529 ****** 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.041679", "end": "2024-01-06 14:10:26.895495", "rc": 0, "start": "2024-01-06 14:10:26.853816" } STDERR: Error: Can't obtain connections: settings services are not running. Error: Can't obtain connections: settings services are not running. TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tests_states.yml:126 Saturday 06 January 2024 14:10:26 +0000 (0:00:00.181) 0:00:50.710 ****** included: /WORKDIR/git-weekly-civz88ixoa/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-civz88ixoa/tests/playbooks/tasks/run_test.yml:5 Saturday 06 January 2024 14:10:26 +0000 (0:00:00.037) 0:00:50.748 ****** 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-civz88ixoa/tests/playbooks/tasks/run_test.yml:9 Saturday 06 January 2024 14:10:26 +0000 (0:00:00.022) 0:00:50.771 ****** 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-civz88ixoa/tests/playbooks/tasks/run_test.yml:21 Saturday 06 January 2024 14:10:27 +0000 (0:00:00.046) 0:00:50.817 ****** included: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/show_interfaces.yml:3 Saturday 06 January 2024 14:10:27 +0000 (0:00:00.034) 0:00:50.852 ****** included: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/get_current_interfaces.yml:3 Saturday 06 January 2024 14:10:27 +0000 (0:00:00.034) 0:00:50.887 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003571", "end": "2024-01-06 14:10:27.215484", "rc": 0, "start": "2024-01-06 14:10:27.211913" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/get_current_interfaces.yml:9 Saturday 06 January 2024 14:10:27 +0000 (0:00:00.137) 0:00:51.024 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/show_interfaces.yml:5 Saturday 06 January 2024 14:10:27 +0000 (0:00:00.022) 0:00:51.046 ****** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/run_test.yml:24 Saturday 06 January 2024 14:10:27 +0000 (0:00:00.020) 0:00:51.066 ****** included: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/create_bridge_profile.yml:3 Saturday 06 January 2024 14:10:27 +0000 (0:00:00.068) 0:00:51.134 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 06 January 2024 14:10:27 +0000 (0:00:00.035) 0:00:51.170 ****** included: /WORKDIR/git-weekly-civz88ixoa/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-civz88ixoa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 06 January 2024 14:10:27 +0000 (0:00:00.039) 0:00:51.209 ****** 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-civz88ixoa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 06 January 2024 14:10:27 +0000 (0:00:00.025) 0:00:51.234 ****** 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-civz88ixoa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 06 January 2024 14:10:27 +0000 (0:00:00.021) 0:00:51.256 ****** 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-civz88ixoa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 06 January 2024 14:10:27 +0000 (0:00:00.020) 0:00:51.276 ****** 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-civz88ixoa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 06 January 2024 14:10:29 +0000 (0:00:01.608) 0:00:52.885 ****** 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-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 06 January 2024 14:10:29 +0000 (0:00:00.611) 0:00:53.497 ****** 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-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 06 January 2024 14:10:29 +0000 (0:00:00.023) 0:00:53.520 ****** 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-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 06 January 2024 14:10:29 +0000 (0:00:00.021) 0:00:53.542 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 06 January 2024 14:10:29 +0000 (0:00:00.022) 0:00:53.564 ****** 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-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 06 January 2024 14:10:29 +0000 (0:00:00.043) 0:00:53.608 ****** 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-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 06 January 2024 14:10:29 +0000 (0:00:00.021) 0:00:53.629 ****** 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-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 06 January 2024 14:10:29 +0000 (0:00:00.022) 0:00:53.651 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 06 January 2024 14:10:29 +0000 (0:00:00.025) 0:00:53.676 ****** 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-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 06 January 2024 14:10:29 +0000 (0:00:00.022) 0:00:53.699 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 06 January 2024 14:10:29 +0000 (0:00:00.022) 0:00:53.721 ****** 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-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 06 January 2024 14:10:30 +0000 (0:00:00.193) 0:00:53.914 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-15008as1wd0ki/tmpd2j1u6sq" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 06 January 2024 14:10:30 +0000 (0:00:00.198) 0:00:54.112 ****** 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-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 06 January 2024 14:10:30 +0000 (0:00:00.289) 0:00:54.401 ****** 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-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 06 January 2024 14:10:30 +0000 (0:00:00.022) 0:00:54.424 ****** 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-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 06 January 2024 14:10:30 +0000 (0:00:00.022) 0:00:54.447 ****** 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-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 06 January 2024 14:10:30 +0000 (0:00:00.022) 0:00:54.469 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 06 January 2024 14:10:30 +0000 (0:00:00.020) 0:00:54.490 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/create_bridge_profile.yml:14 Saturday 06 January 2024 14:10:30 +0000 (0:00:00.126) 0:00:54.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 [Include network role] **************************************************** task path: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/activate_profile.yml:3 Saturday 06 January 2024 14:10:30 +0000 (0:00:00.022) 0:00:54.640 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 06 January 2024 14:10:30 +0000 (0:00:00.035) 0:00:54.675 ****** included: /WORKDIR/git-weekly-civz88ixoa/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-civz88ixoa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 06 January 2024 14:10:30 +0000 (0:00:00.038) 0:00:54.714 ****** 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-civz88ixoa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 06 January 2024 14:10:30 +0000 (0:00:00.025) 0:00:54.740 ****** 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-civz88ixoa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 06 January 2024 14:10:30 +0000 (0:00:00.021) 0:00:54.761 ****** 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-civz88ixoa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 06 January 2024 14:10:31 +0000 (0:00:00.022) 0:00:54.783 ****** 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-civz88ixoa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 06 January 2024 14:10:32 +0000 (0:00:01.577) 0:00:56.361 ****** 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-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 06 January 2024 14:10:33 +0000 (0:00:00.577) 0:00:56.938 ****** 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-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 06 January 2024 14:10:33 +0000 (0:00:00.023) 0:00:56.961 ****** 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-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 06 January 2024 14:10:33 +0000 (0:00:00.020) 0:00:56.982 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 06 January 2024 14:10:33 +0000 (0:00:00.021) 0:00:57.003 ****** 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-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 06 January 2024 14:10:33 +0000 (0:00:00.043) 0:00:57.047 ****** 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-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 06 January 2024 14:10:33 +0000 (0:00:00.021) 0:00:57.068 ****** 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-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 06 January 2024 14:10:33 +0000 (0:00:00.022) 0:00:57.090 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 06 January 2024 14:10:33 +0000 (0:00:00.025) 0:00:57.115 ****** 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-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 06 January 2024 14:10:33 +0000 (0:00:00.044) 0:00:57.160 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 06 January 2024 14:10:33 +0000 (0:00:00.025) 0:00:57.185 ****** 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-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 06 January 2024 14:10:33 +0000 (0:00:00.188) 0:00:57.373 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-15008as1wd0ki/tmp0s7314xr" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 06 January 2024 14:10:33 +0000 (0:00:00.190) 0:00:57.564 ****** 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-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 06 January 2024 14:10:34 +0000 (0:00:00.349) 0:00:57.913 ****** 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-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 06 January 2024 14:10:34 +0000 (0:00:00.022) 0:00:57.935 ****** 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-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 06 January 2024 14:10:34 +0000 (0:00:00.023) 0:00:57.958 ****** 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-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 06 January 2024 14:10:34 +0000 (0:00:00.022) 0:00:57.980 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 06 January 2024 14:10:34 +0000 (0:00:00.021) 0:00:58.002 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/remove+down_profile.yml:3 Saturday 06 January 2024 14:10:34 +0000 (0:00:00.137) 0:00:58.139 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 06 January 2024 14:10:34 +0000 (0:00:00.035) 0:00:58.175 ****** included: /WORKDIR/git-weekly-civz88ixoa/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-civz88ixoa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 06 January 2024 14:10:34 +0000 (0:00:00.039) 0:00:58.214 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-weekly-civz88ixoa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 06 January 2024 14:10:34 +0000 (0:00:00.086) 0:00:58.301 ****** 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-civz88ixoa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 06 January 2024 14:10:34 +0000 (0:00:00.022) 0:00:58.323 ****** 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-civz88ixoa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 06 January 2024 14:10:34 +0000 (0:00:00.020) 0:00:58.344 ****** 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-civz88ixoa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 06 January 2024 14:10:36 +0000 (0:00:01.566) 0:00:59.910 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-weekly-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 06 January 2024 14:10:36 +0000 (0:00:00.586) 0:01:00.496 ****** 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-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 06 January 2024 14:10:36 +0000 (0:00:00.048) 0:01:00.545 ****** 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-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 06 January 2024 14:10:36 +0000 (0:00:00.021) 0:01:00.566 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 06 January 2024 14:10:36 +0000 (0:00:00.021) 0:01:00.588 ****** 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-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 06 January 2024 14:10:36 +0000 (0:00:00.042) 0:01:00.631 ****** 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-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 06 January 2024 14:10:36 +0000 (0:00:00.021) 0:01:00.653 ****** 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-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 06 January 2024 14:10:36 +0000 (0:00:00.021) 0:01:00.674 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 06 January 2024 14:10:36 +0000 (0:00:00.023) 0:01:00.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 : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-weekly-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 06 January 2024 14:10:36 +0000 (0:00:00.021) 0:01:00.719 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 06 January 2024 14:10:36 +0000 (0:00:00.021) 0:01:00.741 ****** 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-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 06 January 2024 14:10:37 +0000 (0:00:00.192) 0:01:00.933 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-15008as1wd0ki/tmpgxg5s6sr" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 06 January 2024 14:10:37 +0000 (0:00:00.196) 0:01:01.129 ****** 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-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 06 January 2024 14:10:37 +0000 (0:00:00.247) 0:01:01.377 ****** 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-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 06 January 2024 14:10:37 +0000 (0:00:00.022) 0:01:01.399 ****** 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-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 06 January 2024 14:10:37 +0000 (0:00:00.022) 0:01:01.422 ****** 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-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 06 January 2024 14:10:37 +0000 (0:00:00.023) 0:01:01.445 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 06 January 2024 14:10:37 +0000 (0:00:00.021) 0:01:01.466 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/run_test.yml:30 Saturday 06 January 2024 14:10:37 +0000 (0:00:00.131) 0:01:01.598 ****** included: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/remove+down_profile.yml:3 Saturday 06 January 2024 14:10:37 +0000 (0:00:00.038) 0:01:01.637 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 06 January 2024 14:10:37 +0000 (0:00:00.034) 0:01:01.671 ****** included: /WORKDIR/git-weekly-civz88ixoa/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-civz88ixoa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 06 January 2024 14:10:37 +0000 (0:00:00.038) 0:01:01.710 ****** 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-civz88ixoa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 06 January 2024 14:10:37 +0000 (0:00:00.025) 0:01:01.736 ****** 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-civz88ixoa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 06 January 2024 14:10:37 +0000 (0:00:00.020) 0:01:01.757 ****** 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-civz88ixoa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 06 January 2024 14:10:38 +0000 (0:00:00.021) 0:01:01.778 ****** 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-civz88ixoa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 06 January 2024 14:10:39 +0000 (0:00:01.599) 0:01:03.377 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-weekly-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 06 January 2024 14:10:40 +0000 (0:00:00.573) 0:01:03.951 ****** 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-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 06 January 2024 14:10:40 +0000 (0:00:00.021) 0:01:03.973 ****** 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-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 06 January 2024 14:10:40 +0000 (0:00:00.021) 0:01:03.995 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 06 January 2024 14:10:40 +0000 (0:00:00.020) 0:01:04.016 ****** 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-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 06 January 2024 14:10:40 +0000 (0:00:00.042) 0:01:04.058 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-weekly-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 06 January 2024 14:10:40 +0000 (0:00:00.022) 0:01:04.080 ****** 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-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 06 January 2024 14:10:40 +0000 (0:00:00.021) 0:01:04.102 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 06 January 2024 14:10:40 +0000 (0:00:00.024) 0:01:04.127 ****** 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-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 06 January 2024 14:10:40 +0000 (0:00:00.021) 0:01:04.148 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 06 January 2024 14:10:40 +0000 (0:00:00.019) 0:01:04.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 : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-weekly-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 06 January 2024 14:10:40 +0000 (0:00:00.187) 0:01:04.355 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-15008as1wd0ki/tmpl5usbz3e" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 06 January 2024 14:10:40 +0000 (0:00:00.193) 0:01:04.548 ****** 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-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 06 January 2024 14:10:41 +0000 (0:00:00.235) 0:01:04.783 ****** 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-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 06 January 2024 14:10:41 +0000 (0:00:00.023) 0:01:04.807 ****** 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-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 06 January 2024 14:10:41 +0000 (0:00:00.026) 0:01:04.833 ****** 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-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 06 January 2024 14:10:41 +0000 (0:00:00.023) 0:01:04.857 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 06 January 2024 14:10:41 +0000 (0:00:00.021) 0:01:04.879 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/run_test.yml:36 Saturday 06 January 2024 14:10:41 +0000 (0:00:00.133) 0:01:05.012 ****** included: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/assert_profile_absent.yml for sut included: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/get_NetworkManager_NVR.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/assert_profile_absent.yml:3 Saturday 06 January 2024 14:10:41 +0000 (0:00:00.046) 0:01:05.059 ****** included: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/get_profile_stat.yml:3 Saturday 06 January 2024 14:10:41 +0000 (0:00:00.038) 0:01:05.097 ****** 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-civz88ixoa/tests/playbooks/tasks/get_profile_stat.yml:9 Saturday 06 January 2024 14:10:41 +0000 (0:00:00.023) 0:01:05.121 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/get_profile_stat.yml:17 Saturday 06 January 2024 14:10:41 +0000 (0:00:00.131) 0:01:05.252 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/get_profile_stat.yml:25 Saturday 06 January 2024 14:10:41 +0000 (0:00:00.021) 0:01:05.273 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.007065", "end": "2024-01-06 14:10:41.603983", "rc": 1, "start": "2024-01-06 14:10:41.596918" } STDERR: Error: Object 'connection' is unknown, try 'nmcli help'. 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-civz88ixoa/tests/playbooks/tasks/get_profile_stat.yml:35 Saturday 06 January 2024 14:10:41 +0000 (0:00:00.168) 0:01:05.442 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/get_profile_stat.yml:49 Saturday 06 January 2024 14:10:41 +0000 (0:00:00.022) 0:01:05.465 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/get_profile_stat.yml:56 Saturday 06 January 2024 14:10:41 +0000 (0:00:00.024) 0:01:05.489 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/get_profile_stat.yml:62 Saturday 06 January 2024 14:10:41 +0000 (0:00:00.023) 0:01:05.512 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/get_profile_stat.yml:69 Saturday 06 January 2024 14:10:41 +0000 (0:00:00.026) 0:01:05.538 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/assert_profile_absent.yml:5 Saturday 06 January 2024 14:10:41 +0000 (0:00:00.022) 0:01:05.561 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/get_NetworkManager_NVR.yml:7 Saturday 06 January 2024 14:10:41 +0000 (0:00:00.023) 0:01:05.584 ****** ok: [sut] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.384588", "end": "2024-01-06 14:10:42.292433", "rc": 0, "start": "2024-01-06 14:10:41.907845" } STDOUT: NetworkManager-0.8.1-113.el6 TASK [Store NetworkManager version] ******************************************** task path: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/get_NetworkManager_NVR.yml:14 Saturday 06 January 2024 14:10:42 +0000 (0:00:00.517) 0:01:06.102 ****** ok: [sut] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-0.8.1-113.el6" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/get_NetworkManager_NVR.yml:18 Saturday 06 January 2024 14:10:42 +0000 (0:00:00.023) 0:01:06.125 ****** ok: [sut] => { "networkmanager_nvr": "NetworkManager-0.8.1-113.el6" } TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/run_test.yml:42 Saturday 06 January 2024 14:10:42 +0000 (0:00:00.022) 0:01:06.148 ****** 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-civz88ixoa/tests/playbooks/tasks/run_test.yml:47 Saturday 06 January 2024 14:10:42 +0000 (0:00:00.023) 0:01:06.172 ****** 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-civz88ixoa/tests/playbooks/tasks/run_test.yml:66 Saturday 06 January 2024 14:10:42 +0000 (0:00:00.022) 0:01:06.194 ****** included: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 06 January 2024 14:10:42 +0000 (0:00:00.040) 0:01:06.234 ****** 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.035580", "end": "2024-01-06 14:10:42.606472", "rc": 0, "start": "2024-01-06 14:10:42.570892" } STDERR: Error: Can't obtain connections: settings services are not running. Error: Can't obtain connections: settings services are not running. META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=332 changed=13 unreachable=0 failed=0 skipped=227 rescued=0 ignored=10 Saturday 06 January 2024 14:10:42 +0000 (0:00:00.171) 0:01:06.406 ****** =============================================================================== linux-system-roles.network : Check which services are running ----------- 1.93s /WORKDIR/git-weekly-civz88ixoa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.74s /WORKDIR/git-weekly-civz88ixoa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.68s /WORKDIR/git-weekly-civz88ixoa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.67s /WORKDIR/git-weekly-civz88ixoa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.67s /WORKDIR/git-weekly-civz88ixoa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.64s /WORKDIR/git-weekly-civz88ixoa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.63s /WORKDIR/git-weekly-civz88ixoa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.63s /WORKDIR/git-weekly-civz88ixoa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.61s /WORKDIR/git-weekly-civz88ixoa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.60s /WORKDIR/git-weekly-civz88ixoa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.60s /WORKDIR/git-weekly-civz88ixoa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.60s /WORKDIR/git-weekly-civz88ixoa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.58s /WORKDIR/git-weekly-civz88ixoa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.57s /WORKDIR/git-weekly-civz88ixoa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.57s /WORKDIR/git-weekly-civz88ixoa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Configure networking connection profiles --- 1.46s /WORKDIR/git-weekly-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Configure networking connection profiles --- 1.42s /WORKDIR/git-weekly-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Enable network service --------------------- 1.06s /WORKDIR/git-weekly-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:105 linux-system-roles.network : Ensure initscripts network file dependency is present --- 0.99s /WORKDIR/git-weekly-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:113 Gathering Facts --------------------------------------------------------- 0.92s /WORKDIR/git-weekly-civz88ixoa/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. ---^---^---^---^---^---