# 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-route_typet3mjxmqa/tests/tests_states_initscripts.yml PLAY [Run playbook 'playbooks/tests_states.yml' with initscripts as provider] *** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-route_typet3mjxmqa/tests/tests_states_initscripts.yml:4 Friday 29 December 2023 15:14:42 +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-route_typet3mjxmqa/tests/tests_states_initscripts.yml:8 Friday 29 December 2023 15:14:43 +0000 (0:00:00.903) 0:00:00.914 ******* included: /WORKDIR/git-route_typet3mjxmqa/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-route_typet3mjxmqa/tests/tasks/el_repo_setup.yml:3 Friday 29 December 2023 15:14:43 +0000 (0:00:00.024) 0:00:00.939 ******* ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-route_typet3mjxmqa/tests/tasks/el_repo_setup.yml:19 Friday 29 December 2023 15:14:44 +0000 (0:00:00.255) 0:00:01.194 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-route_typet3mjxmqa/tests/tasks/el_repo_setup.yml:24 Friday 29 December 2023 15:14:44 +0000 (0:00:00.193) 0:00:01.388 ******* ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-route_typet3mjxmqa/tests/tasks/el_repo_setup.yml:28 Friday 29 December 2023 15:14:44 +0000 (0:00:00.020) 0:00:01.408 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-route_typet3mjxmqa/tests/tasks/el_repo_setup.yml:53 Friday 29 December 2023 15:14:44 +0000 (0:00:00.016) 0:00:01.425 ******* included: /WORKDIR/git-route_typet3mjxmqa/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 6] *********************************************************** task path: /WORKDIR/git-route_typet3mjxmqa/tests/tasks/enable_epel.yml:8 Friday 29 December 2023 15:14:44 +0000 (0:00:00.033) 0:00:01.459 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Install yum-utils package] *********************************************** task path: /WORKDIR/git-route_typet3mjxmqa/tests/tasks/enable_epel.yml:24 Friday 29 December 2023 15:14:44 +0000 (0:00:00.011) 0:00:01.470 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-route_typet3mjxmqa/tests/tasks/enable_epel.yml:30 Friday 29 December 2023 15:14:44 +0000 (0:00:00.010) 0:00:01.481 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-route_typet3mjxmqa/tests/tasks/enable_epel.yml:35 Friday 29 December 2023 15:14:44 +0000 (0:00:00.010) 0:00:01.491 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-route_typet3mjxmqa/tests/tasks/enable_epel.yml:40 Friday 29 December 2023 15:14:44 +0000 (0:00:00.010) 0:00:01.501 ******* 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-route_typet3mjxmqa/tests/tests_states_initscripts.yml:10 Friday 29 December 2023 15:14:44 +0000 (0:00:00.452) 0:00:01.954 ******* 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-route_typet3mjxmqa/tests/playbooks/tests_states.yml:3 Friday 29 December 2023 15:14:44 +0000 (0:00:00.012) 0:00:01.966 ******* ok: [sut] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-route_typet3mjxmqa/tests/playbooks/tests_states.yml:11 Friday 29 December 2023 15:14:45 +0000 (0:00:00.728) 0:00:02.695 ******* ok: [sut] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-route_typet3mjxmqa/tests/playbooks/tests_states.yml:22 Friday 29 December 2023 15:14:45 +0000 (0:00:00.011) 0:00:02.707 ******* included: /WORKDIR/git-route_typet3mjxmqa/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile] ******************************************** task path: /WORKDIR/git-route_typet3mjxmqa/tests/playbooks/tasks/run_test.yml:5 Friday 29 December 2023 15:14:45 +0000 (0:00:00.019) 0:00:02.726 ******* ok: [sut] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_typet3mjxmqa/tests/playbooks/tasks/run_test.yml:9 Friday 29 December 2023 15:14:45 +0000 (0:00:00.013) 0:00:02.739 ******* 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-route_typet3mjxmqa/tests/playbooks/tasks/run_test.yml:21 Friday 29 December 2023 15:14:45 +0000 (0:00:00.038) 0:00:02.778 ******* included: /WORKDIR/git-route_typet3mjxmqa/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typet3mjxmqa/tests/playbooks/tasks/show_interfaces.yml:3 Friday 29 December 2023 15:14:45 +0000 (0:00:00.016) 0:00:02.795 ******* included: /WORKDIR/git-route_typet3mjxmqa/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typet3mjxmqa/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 29 December 2023 15:14:45 +0000 (0:00:00.014) 0:00:02.810 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003442", "end": "2023-12-29 15:14:45.960758", "rc": 0, "start": "2023-12-29 15:14:45.957316" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typet3mjxmqa/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 29 December 2023 15:14:45 +0000 (0:00:00.196) 0:00:03.006 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typet3mjxmqa/tests/playbooks/tasks/show_interfaces.yml:5 Friday 29 December 2023 15:14:45 +0000 (0:00:00.012) 0:00:03.018 ******* ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typet3mjxmqa/tests/playbooks/tasks/run_test.yml:24 Friday 29 December 2023 15:14:45 +0000 (0:00:00.011) 0:00:03.030 ******* included: /WORKDIR/git-route_typet3mjxmqa/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-route_typet3mjxmqa/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-route_typet3mjxmqa/tests/playbooks/tasks/delete_interface.yml:3 Friday 29 December 2023 15:14:45 +0000 (0:00:00.023) 0:00:03.053 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.033036", "end": "2023-12-29 15:14:46.166674", "rc": 255, "start": "2023-12-29 15:14:46.133638" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typet3mjxmqa/tests/playbooks/tasks/assert_device_absent.yml:3 Friday 29 December 2023 15:14:46 +0000 (0:00:00.157) 0:00:03.211 ******* included: /WORKDIR/git-route_typet3mjxmqa/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typet3mjxmqa/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 29 December 2023 15:14:46 +0000 (0:00:00.017) 0:00:03.228 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_typet3mjxmqa/tests/playbooks/tasks/assert_device_absent.yml:5 Friday 29 December 2023 15:14:46 +0000 (0:00:00.128) 0:00:03.356 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_typet3mjxmqa/tests/playbooks/tasks/run_test.yml:30 Friday 29 December 2023 15:14:46 +0000 (0:00:00.014) 0:00:03.371 ******* included: /WORKDIR/git-route_typet3mjxmqa/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typet3mjxmqa/tests/playbooks/tasks/create_bridge_profile.yml:3 Friday 29 December 2023 15:14:46 +0000 (0:00:00.021) 0:00:03.392 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 29 December 2023 15:14:46 +0000 (0:00:00.034) 0:00:03.427 ******* included: /WORKDIR/git-route_typet3mjxmqa/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-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 29 December 2023 15:14:46 +0000 (0:00:00.071) 0:00:03.499 ******* 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-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 29 December 2023 15:14:46 +0000 (0:00:00.013) 0:00:03.512 ******* 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-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 29 December 2023 15:14:46 +0000 (0:00:00.012) 0:00:03.524 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 29 December 2023 15:14:46 +0000 (0:00:00.010) 0:00:03.535 ******* 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-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 29 December 2023 15:14:48 +0000 (0:00:01.793) 0:00:05.329 ******* 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-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 29 December 2023 15:14:48 +0000 (0:00:00.736) 0:00:06.065 ******* 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-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 29 December 2023 15:14:48 +0000 (0:00:00.022) 0:00:06.088 ******* 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-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 29 December 2023 15:14:48 +0000 (0:00:00.021) 0:00:06.109 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 29 December 2023 15:14:48 +0000 (0:00:00.019) 0:00:06.129 ******* 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-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/main.yml:40 Friday 29 December 2023 15:14:49 +0000 (0:00:00.059) 0:00:06.188 ******* 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-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/main.yml:55 Friday 29 December 2023 15:14:49 +0000 (0:00:00.020) 0:00:06.208 ******* 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-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/main.yml:71 Friday 29 December 2023 15:14:49 +0000 (0:00:00.019) 0:00:06.228 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/main.yml:85 Friday 29 December 2023 15:14:49 +0000 (0:00:00.025) 0:00:06.254 ******* 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-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/main.yml:96 Friday 29 December 2023 15:14:49 +0000 (0:00:00.020) 0:00:06.275 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/main.yml:105 Friday 29 December 2023 15:14:49 +0000 (0:00:00.019) 0:00:06.294 ******* 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-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/main.yml:113 Friday 29 December 2023 15:14:49 +0000 (0:00:00.288) 0:00:06.583 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-15017kcgs0fvb/tmpx6k0o1ee" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/main.yml:122 Friday 29 December 2023 15:14:49 +0000 (0:00:00.215) 0:00:06.799 ******* 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-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/main.yml:134 Friday 29 December 2023 15:14:50 +0000 (0:00:00.383) 0:00:07.182 ******* 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-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/main.yml:140 Friday 29 December 2023 15:14:50 +0000 (0:00:00.021) 0:00:07.203 ******* 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-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/main.yml:144 Friday 29 December 2023 15:14:50 +0000 (0:00:00.021) 0:00:07.225 ******* 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-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/main.yml:149 Friday 29 December 2023 15:14:50 +0000 (0:00:00.023) 0:00:07.249 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/main.yml:155 Friday 29 December 2023 15:14:50 +0000 (0:00:00.022) 0:00:07.272 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typet3mjxmqa/tests/playbooks/tasks/create_bridge_profile.yml:14 Friday 29 December 2023 15:14:50 +0000 (0:00:00.208) 0:00:07.480 ******* ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_typet3mjxmqa/tests/playbooks/tasks/run_test.yml:36 Friday 29 December 2023 15:14:50 +0000 (0:00:00.047) 0:00:07.527 ******* included: /WORKDIR/git-route_typet3mjxmqa/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typet3mjxmqa/tests/playbooks/tasks/assert_profile_present.yml:3 Friday 29 December 2023 15:14:50 +0000 (0:00:00.042) 0:00:07.570 ******* included: /WORKDIR/git-route_typet3mjxmqa/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typet3mjxmqa/tests/playbooks/tasks/get_profile_stat.yml:3 Friday 29 December 2023 15:14:50 +0000 (0:00:00.037) 0:00:07.607 ******* 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-route_typet3mjxmqa/tests/playbooks/tasks/get_profile_stat.yml:9 Friday 29 December 2023 15:14:50 +0000 (0:00:00.020) 0:00:07.628 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1703862890.1253285, "block_size": 4096, "blocks": 8, "ctime": 1703862890.1253285, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 18845, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1703862890.1253285, "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-route_typet3mjxmqa/tests/playbooks/tasks/get_profile_stat.yml:17 Friday 29 December 2023 15:14:50 +0000 (0:00:00.136) 0:00:07.764 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typet3mjxmqa/tests/playbooks/tasks/get_profile_stat.yml:25 Friday 29 December 2023 15:14:50 +0000 (0:00:00.023) 0:00:07.788 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.005418", "end": "2023-12-29 15:14:50.877245", "rc": 1, "start": "2023-12-29 15:14:50.871827" } STDERR: /bin/sh: nmcli: command not found MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-route_typet3mjxmqa/tests/playbooks/tasks/get_profile_stat.yml:35 Friday 29 December 2023 15:14:50 +0000 (0:00:00.144) 0:00:07.933 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_typet3mjxmqa/tests/playbooks/tasks/get_profile_stat.yml:49 Friday 29 December 2023 15:14:50 +0000 (0:00:00.022) 0:00:07.956 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003279", "end": "2023-12-29 15:14:51.044202", "rc": 0, "start": "2023-12-29 15:14:51.040923" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_typet3mjxmqa/tests/playbooks/tasks/get_profile_stat.yml:56 Friday 29 December 2023 15:14:50 +0000 (0:00:00.146) 0:00:08.102 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_typet3mjxmqa/tests/playbooks/tasks/get_profile_stat.yml:62 Friday 29 December 2023 15:14:50 +0000 (0:00:00.025) 0:00:08.127 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003326", "end": "2023-12-29 15:14:51.212447", "rc": 0, "start": "2023-12-29 15:14:51.209121" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_typet3mjxmqa/tests/playbooks/tasks/get_profile_stat.yml:69 Friday 29 December 2023 15:14:51 +0000 (0:00:00.142) 0:00:08.270 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-route_typet3mjxmqa/tests/playbooks/tasks/assert_profile_present.yml:5 Friday 29 December 2023 15:14:51 +0000 (0:00:00.024) 0:00:08.295 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-route_typet3mjxmqa/tests/playbooks/tasks/assert_profile_present.yml:10 Friday 29 December 2023 15:14:51 +0000 (0:00:00.024) 0:00:08.319 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-route_typet3mjxmqa/tests/playbooks/tasks/assert_profile_present.yml:15 Friday 29 December 2023 15:14:51 +0000 (0:00:00.054) 0:00:08.373 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typet3mjxmqa/tests/playbooks/tasks/run_test.yml:42 Friday 29 December 2023 15:14:51 +0000 (0:00:00.023) 0:00:08.397 ******* 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-route_typet3mjxmqa/tests/playbooks/tasks/run_test.yml:47 Friday 29 December 2023 15:14:51 +0000 (0:00:00.025) 0:00:08.422 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_typet3mjxmqa/tests/playbooks/tasks/run_test.yml:66 Friday 29 December 2023 15:14:51 +0000 (0:00:00.023) 0:00:08.446 ******* included: /WORKDIR/git-route_typet3mjxmqa/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_typet3mjxmqa/tests/playbooks/tasks/cleanup_profile+device.yml:3 Friday 29 December 2023 15:14:51 +0000 (0:00:00.043) 0:00:08.489 ******* 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.015380", "end": "2023-12-29 15:14:51.583861", "rc": 255, "start": "2023-12-29 15:14:51.568481" } STDERR: /bin/sh: nmcli: command not found /bin/sh: line 1: nmcli: command not found Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-route_typet3mjxmqa/tests/playbooks/tests_states.yml:45 Friday 29 December 2023 15:14:51 +0000 (0:00:00.151) 0:00:08.640 ******* included: /WORKDIR/git-route_typet3mjxmqa/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile without autoconnect] ************************ task path: /WORKDIR/git-route_typet3mjxmqa/tests/playbooks/tasks/run_test.yml:5 Friday 29 December 2023 15:14:51 +0000 (0:00:00.039) 0:00:08.679 ******* ok: [sut] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_typet3mjxmqa/tests/playbooks/tasks/run_test.yml:9 Friday 29 December 2023 15:14:51 +0000 (0:00:00.022) 0:00:08.701 ******* 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-route_typet3mjxmqa/tests/playbooks/tasks/run_test.yml:21 Friday 29 December 2023 15:14:51 +0000 (0:00:00.045) 0:00:08.747 ******* included: /WORKDIR/git-route_typet3mjxmqa/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typet3mjxmqa/tests/playbooks/tasks/show_interfaces.yml:3 Friday 29 December 2023 15:14:51 +0000 (0:00:00.036) 0:00:08.783 ******* included: /WORKDIR/git-route_typet3mjxmqa/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typet3mjxmqa/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 29 December 2023 15:14:51 +0000 (0:00:00.032) 0:00:08.815 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003431", "end": "2023-12-29 15:14:51.900439", "rc": 0, "start": "2023-12-29 15:14:51.897008" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typet3mjxmqa/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 29 December 2023 15:14:51 +0000 (0:00:00.142) 0:00:08.958 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typet3mjxmqa/tests/playbooks/tasks/show_interfaces.yml:5 Friday 29 December 2023 15:14:51 +0000 (0:00:00.023) 0:00:08.982 ******* ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typet3mjxmqa/tests/playbooks/tasks/run_test.yml:24 Friday 29 December 2023 15:14:51 +0000 (0:00:00.046) 0:00:09.028 ******* included: /WORKDIR/git-route_typet3mjxmqa/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-route_typet3mjxmqa/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-route_typet3mjxmqa/tests/playbooks/tasks/delete_interface.yml:3 Friday 29 December 2023 15:14:51 +0000 (0:00:00.042) 0:00:09.071 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.004880", "end": "2023-12-29 15:14:52.155553", "rc": 255, "start": "2023-12-29 15:14:52.150673" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typet3mjxmqa/tests/playbooks/tasks/assert_device_absent.yml:3 Friday 29 December 2023 15:14:52 +0000 (0:00:00.140) 0:00:09.211 ******* included: /WORKDIR/git-route_typet3mjxmqa/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typet3mjxmqa/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 29 December 2023 15:14:52 +0000 (0:00:00.036) 0:00:09.247 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_typet3mjxmqa/tests/playbooks/tasks/assert_device_absent.yml:5 Friday 29 December 2023 15:14:52 +0000 (0:00:00.139) 0:00:09.387 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_typet3mjxmqa/tests/playbooks/tasks/run_test.yml:30 Friday 29 December 2023 15:14:52 +0000 (0:00:00.022) 0:00:09.410 ******* included: /WORKDIR/git-route_typet3mjxmqa/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typet3mjxmqa/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Friday 29 December 2023 15:14:52 +0000 (0:00:00.039) 0:00:09.449 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 29 December 2023 15:14:52 +0000 (0:00:00.042) 0:00:09.492 ******* included: /WORKDIR/git-route_typet3mjxmqa/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-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 29 December 2023 15:14:52 +0000 (0:00:00.038) 0:00:09.530 ******* 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-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 29 December 2023 15:14:52 +0000 (0:00:00.026) 0:00:09.557 ******* 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-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 29 December 2023 15:14:52 +0000 (0:00:00.021) 0:00:09.578 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 29 December 2023 15:14:52 +0000 (0:00:00.045) 0:00:09.624 ******* 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-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 29 December 2023 15:14:54 +0000 (0:00:01.556) 0:00:11.180 ******* 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-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 29 December 2023 15:14:54 +0000 (0:00:00.610) 0:00:11.791 ******* 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-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 29 December 2023 15:14:54 +0000 (0:00:00.023) 0:00:11.814 ******* 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-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 29 December 2023 15:14:54 +0000 (0:00:00.022) 0:00:11.837 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 29 December 2023 15:14:54 +0000 (0:00:00.025) 0:00:11.863 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/main.yml:40 Friday 29 December 2023 15:14:54 +0000 (0:00:00.066) 0:00:11.929 ******* 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-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/main.yml:55 Friday 29 December 2023 15:14:54 +0000 (0:00:00.022) 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-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/main.yml:71 Friday 29 December 2023 15:14:54 +0000 (0:00:00.023) 0:00:11.975 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/main.yml:85 Friday 29 December 2023 15:14:54 +0000 (0:00:00.025) 0:00:12.000 ******* 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-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/main.yml:96 Friday 29 December 2023 15:14:54 +0000 (0:00:00.020) 0:00:12.021 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/main.yml:105 Friday 29 December 2023 15:14:54 +0000 (0:00:00.021) 0:00:12.042 ******* 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-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/main.yml:113 Friday 29 December 2023 15:14:55 +0000 (0:00:00.196) 0:00:12.239 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-15017kcgs0fvb/tmp7cvp3tye" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/main.yml:122 Friday 29 December 2023 15:14:55 +0000 (0:00:00.203) 0:00:12.442 ******* 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-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/main.yml:134 Friday 29 December 2023 15:14:55 +0000 (0:00:00.253) 0:00:12.696 ******* 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-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/main.yml:140 Friday 29 December 2023 15:14:55 +0000 (0:00:00.020) 0:00:12.717 ******* 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-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/main.yml:144 Friday 29 December 2023 15:14:55 +0000 (0:00:00.022) 0:00:12.739 ******* 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-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/main.yml:149 Friday 29 December 2023 15:14:55 +0000 (0:00:00.024) 0:00:12.763 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/main.yml:155 Friday 29 December 2023 15:14:55 +0000 (0:00:00.021) 0:00:12.785 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typet3mjxmqa/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Friday 29 December 2023 15:14:55 +0000 (0:00:00.130) 0:00:12.916 ******* 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-route_typet3mjxmqa/tests/playbooks/tasks/run_test.yml:36 Friday 29 December 2023 15:14:55 +0000 (0:00:00.022) 0:00:12.938 ******* included: /WORKDIR/git-route_typet3mjxmqa/tests/playbooks/tasks/assert_device_absent.yml for sut included: /WORKDIR/git-route_typet3mjxmqa/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typet3mjxmqa/tests/playbooks/tasks/assert_device_absent.yml:3 Friday 29 December 2023 15:14:55 +0000 (0:00:00.069) 0:00:13.007 ******* included: /WORKDIR/git-route_typet3mjxmqa/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typet3mjxmqa/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 29 December 2023 15:14:55 +0000 (0:00:00.034) 0:00:13.042 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_typet3mjxmqa/tests/playbooks/tasks/assert_device_absent.yml:5 Friday 29 December 2023 15:14:56 +0000 (0:00:00.137) 0:00:13.180 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typet3mjxmqa/tests/playbooks/tasks/assert_profile_present.yml:3 Friday 29 December 2023 15:14:56 +0000 (0:00:00.024) 0:00:13.204 ******* included: /WORKDIR/git-route_typet3mjxmqa/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typet3mjxmqa/tests/playbooks/tasks/get_profile_stat.yml:3 Friday 29 December 2023 15:14:56 +0000 (0:00:00.036) 0:00:13.240 ******* 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-route_typet3mjxmqa/tests/playbooks/tasks/get_profile_stat.yml:9 Friday 29 December 2023 15:14:56 +0000 (0:00:00.022) 0:00:13.262 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1703862895.6365714, "block_size": 4096, "blocks": 8, "ctime": 1703862895.6365714, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 18845, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1703862895.6365714, "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-route_typet3mjxmqa/tests/playbooks/tasks/get_profile_stat.yml:17 Friday 29 December 2023 15:14:56 +0000 (0:00:00.137) 0:00:13.400 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typet3mjxmqa/tests/playbooks/tasks/get_profile_stat.yml:25 Friday 29 December 2023 15:14:56 +0000 (0:00:00.022) 0:00:13.422 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.005427", "end": "2023-12-29 15:14:56.504187", "rc": 1, "start": "2023-12-29 15:14:56.498760" } STDERR: /bin/sh: nmcli: command not found MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-route_typet3mjxmqa/tests/playbooks/tasks/get_profile_stat.yml:35 Friday 29 December 2023 15:14:56 +0000 (0:00:00.141) 0:00:13.563 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_typet3mjxmqa/tests/playbooks/tasks/get_profile_stat.yml:49 Friday 29 December 2023 15:14:56 +0000 (0:00:00.022) 0:00:13.586 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003288", "end": "2023-12-29 15:14:56.670892", "rc": 0, "start": "2023-12-29 15:14:56.667604" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_typet3mjxmqa/tests/playbooks/tasks/get_profile_stat.yml:56 Friday 29 December 2023 15:14:56 +0000 (0:00:00.145) 0:00:13.731 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_typet3mjxmqa/tests/playbooks/tasks/get_profile_stat.yml:62 Friday 29 December 2023 15:14:56 +0000 (0:00:00.029) 0:00:13.761 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003371", "end": "2023-12-29 15:14:56.846450", "rc": 0, "start": "2023-12-29 15:14:56.843079" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_typet3mjxmqa/tests/playbooks/tasks/get_profile_stat.yml:69 Friday 29 December 2023 15:14:56 +0000 (0:00:00.173) 0:00:13.934 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-route_typet3mjxmqa/tests/playbooks/tasks/assert_profile_present.yml:5 Friday 29 December 2023 15:14:56 +0000 (0:00:00.030) 0:00:13.964 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-route_typet3mjxmqa/tests/playbooks/tasks/assert_profile_present.yml:10 Friday 29 December 2023 15:14:56 +0000 (0:00:00.025) 0:00:13.990 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-route_typet3mjxmqa/tests/playbooks/tasks/assert_profile_present.yml:15 Friday 29 December 2023 15:14:56 +0000 (0:00:00.023) 0:00:14.013 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typet3mjxmqa/tests/playbooks/tasks/run_test.yml:42 Friday 29 December 2023 15:14:56 +0000 (0:00:00.022) 0:00:14.035 ******* TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /WORKDIR/git-route_typet3mjxmqa/tests/playbooks/tasks/run_test.yml:47 Friday 29 December 2023 15:14:56 +0000 (0:00:00.020) 0:00:14.056 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_typet3mjxmqa/tests/playbooks/tasks/run_test.yml:66 Friday 29 December 2023 15:14:56 +0000 (0:00:00.023) 0:00:14.079 ******* included: /WORKDIR/git-route_typet3mjxmqa/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_typet3mjxmqa/tests/playbooks/tasks/cleanup_profile+device.yml:3 Friday 29 December 2023 15:14:56 +0000 (0:00:00.039) 0:00:14.119 ******* 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.015079", "end": "2023-12-29 15:14:57.216926", "rc": 255, "start": "2023-12-29 15:14:57.201847" } STDERR: /bin/sh: nmcli: command not found /bin/sh: line 1: nmcli: command not found Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-route_typet3mjxmqa/tests/playbooks/tests_states.yml:65 Friday 29 December 2023 15:14:57 +0000 (0:00:00.156) 0:00:14.275 ******* included: /WORKDIR/git-route_typet3mjxmqa/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can activate an existing profile] ******************************** task path: /WORKDIR/git-route_typet3mjxmqa/tests/playbooks/tasks/run_test.yml:5 Friday 29 December 2023 15:14:57 +0000 (0:00:00.037) 0:00:14.313 ******* ok: [sut] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_typet3mjxmqa/tests/playbooks/tasks/run_test.yml:9 Friday 29 December 2023 15:14:57 +0000 (0:00:00.022) 0:00:14.336 ******* 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-route_typet3mjxmqa/tests/playbooks/tasks/run_test.yml:21 Friday 29 December 2023 15:14:57 +0000 (0:00:00.049) 0:00:14.385 ******* included: /WORKDIR/git-route_typet3mjxmqa/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typet3mjxmqa/tests/playbooks/tasks/show_interfaces.yml:3 Friday 29 December 2023 15:14:57 +0000 (0:00:00.033) 0:00:14.419 ******* included: /WORKDIR/git-route_typet3mjxmqa/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typet3mjxmqa/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 29 December 2023 15:14:57 +0000 (0:00:00.069) 0:00:14.488 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003415", "end": "2023-12-29 15:14:57.570127", "rc": 0, "start": "2023-12-29 15:14:57.566712" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typet3mjxmqa/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 29 December 2023 15:14:57 +0000 (0:00:00.141) 0:00:14.629 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typet3mjxmqa/tests/playbooks/tasks/show_interfaces.yml:5 Friday 29 December 2023 15:14:57 +0000 (0:00:00.024) 0:00:14.654 ******* ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typet3mjxmqa/tests/playbooks/tasks/run_test.yml:24 Friday 29 December 2023 15:14:57 +0000 (0:00:00.022) 0:00:14.677 ******* included: /WORKDIR/git-route_typet3mjxmqa/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typet3mjxmqa/tests/playbooks/tasks/create_bridge_profile.yml:3 Friday 29 December 2023 15:14:57 +0000 (0:00:00.037) 0:00:14.714 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 29 December 2023 15:14:57 +0000 (0:00:00.035) 0:00:14.750 ******* included: /WORKDIR/git-route_typet3mjxmqa/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-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 29 December 2023 15:14:57 +0000 (0:00:00.040) 0:00:14.790 ******* 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-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 29 December 2023 15:14:57 +0000 (0:00:00.025) 0:00:14.816 ******* 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-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 29 December 2023 15:14:57 +0000 (0:00:00.021) 0:00:14.837 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 29 December 2023 15:14:57 +0000 (0:00:00.023) 0:00:14.860 ******* 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-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 29 December 2023 15:14:59 +0000 (0:00:01.483) 0:00:16.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 : Print network provider] ********************* task path: /WORKDIR/git-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 29 December 2023 15:14:59 +0000 (0:00:00.595) 0:00:16.940 ******* 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-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 29 December 2023 15:14:59 +0000 (0:00:00.024) 0:00:16.965 ******* 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-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 29 December 2023 15:14:59 +0000 (0:00:00.021) 0:00:16.986 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 29 December 2023 15:14:59 +0000 (0:00:00.021) 0:00:17.008 ******* 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-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/main.yml:40 Friday 29 December 2023 15:14:59 +0000 (0:00:00.045) 0:00:17.053 ******* 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-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/main.yml:55 Friday 29 December 2023 15:14:59 +0000 (0:00:00.022) 0:00:17.076 ******* 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-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/main.yml:71 Friday 29 December 2023 15:14:59 +0000 (0:00:00.021) 0:00:17.097 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/main.yml:85 Friday 29 December 2023 15:14:59 +0000 (0:00:00.024) 0:00:17.122 ******* 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-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/main.yml:96 Friday 29 December 2023 15:14:59 +0000 (0:00:00.020) 0:00:17.143 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/main.yml:105 Friday 29 December 2023 15:15:00 +0000 (0:00:00.049) 0:00:17.192 ******* 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-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/main.yml:113 Friday 29 December 2023 15:15:00 +0000 (0:00:00.197) 0:00:17.390 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-15017kcgs0fvb/tmpvxn7o3gu" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/main.yml:122 Friday 29 December 2023 15:15:00 +0000 (0:00:00.201) 0:00:17.591 ******* 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-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/main.yml:134 Friday 29 December 2023 15:15:00 +0000 (0:00:00.245) 0:00:17.837 ******* 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-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/main.yml:140 Friday 29 December 2023 15:15:00 +0000 (0:00:00.023) 0:00:17.861 ******* 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-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/main.yml:144 Friday 29 December 2023 15:15:00 +0000 (0:00:00.022) 0:00:17.883 ******* 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-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/main.yml:149 Friday 29 December 2023 15:15:00 +0000 (0:00:00.022) 0:00:17.906 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/main.yml:155 Friday 29 December 2023 15:15:00 +0000 (0:00:00.019) 0:00:17.926 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typet3mjxmqa/tests/playbooks/tasks/create_bridge_profile.yml:14 Friday 29 December 2023 15:15:00 +0000 (0:00:00.131) 0:00:18.057 ******* 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-route_typet3mjxmqa/tests/playbooks/tasks/run_test.yml:30 Friday 29 December 2023 15:15:00 +0000 (0:00:00.023) 0:00:18.081 ******* included: /WORKDIR/git-route_typet3mjxmqa/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typet3mjxmqa/tests/playbooks/tasks/activate_profile.yml:3 Friday 29 December 2023 15:15:00 +0000 (0:00:00.037) 0:00:18.119 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 29 December 2023 15:15:01 +0000 (0:00:00.041) 0:00:18.160 ******* included: /WORKDIR/git-route_typet3mjxmqa/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-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 29 December 2023 15:15:01 +0000 (0:00:00.069) 0:00:18.229 ******* 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-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 29 December 2023 15:15:01 +0000 (0:00:00.030) 0:00:18.260 ******* 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-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 29 December 2023 15:15:01 +0000 (0:00:00.021) 0:00:18.281 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 29 December 2023 15:15:01 +0000 (0:00:00.021) 0:00:18.303 ******* 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-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 29 December 2023 15:15:02 +0000 (0:00:01.518) 0:00:19.821 ******* 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-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 29 December 2023 15:15:03 +0000 (0:00:00.595) 0:00:20.417 ******* 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-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 29 December 2023 15:15:03 +0000 (0:00:00.055) 0:00:20.472 ******* 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-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 29 December 2023 15:15:03 +0000 (0:00:00.021) 0:00:20.494 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 29 December 2023 15:15:03 +0000 (0:00:00.021) 0:00:20.515 ******* 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-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/main.yml:40 Friday 29 December 2023 15:15:03 +0000 (0:00:00.046) 0:00:20.562 ******* 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-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/main.yml:55 Friday 29 December 2023 15:15:03 +0000 (0:00:00.021) 0:00:20.584 ******* 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-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/main.yml:71 Friday 29 December 2023 15:15:03 +0000 (0:00:00.021) 0:00:20.606 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/main.yml:85 Friday 29 December 2023 15:15:03 +0000 (0:00:00.024) 0:00:20.630 ******* 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-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/main.yml:96 Friday 29 December 2023 15:15:03 +0000 (0:00:00.025) 0:00:20.656 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/main.yml:105 Friday 29 December 2023 15:15:03 +0000 (0:00:00.022) 0:00:20.679 ******* 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-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/main.yml:113 Friday 29 December 2023 15:15:03 +0000 (0:00:00.197) 0:00:20.877 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-15017kcgs0fvb/tmp90s4q8nb" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/main.yml:122 Friday 29 December 2023 15:15:03 +0000 (0:00:00.198) 0:00:21.075 ******* 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-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/main.yml:134 Friday 29 December 2023 15:15:04 +0000 (0:00:00.380) 0:00:21.456 ******* 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-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/main.yml:140 Friday 29 December 2023 15:15:04 +0000 (0:00:00.021) 0:00:21.477 ******* 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-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/main.yml:144 Friday 29 December 2023 15:15:04 +0000 (0:00:00.021) 0:00:21.499 ******* 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-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/main.yml:149 Friday 29 December 2023 15:15:04 +0000 (0:00:00.022) 0:00:21.521 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/main.yml:155 Friday 29 December 2023 15:15:04 +0000 (0:00:00.020) 0:00:21.541 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_typet3mjxmqa/tests/playbooks/tasks/run_test.yml:36 Friday 29 December 2023 15:15:04 +0000 (0:00:00.135) 0:00:21.676 ******* included: /WORKDIR/git-route_typet3mjxmqa/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-route_typet3mjxmqa/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typet3mjxmqa/tests/playbooks/tasks/assert_device_present.yml:3 Friday 29 December 2023 15:15:04 +0000 (0:00:00.042) 0:00:21.719 ******* included: /WORKDIR/git-route_typet3mjxmqa/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typet3mjxmqa/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 29 December 2023 15:15:04 +0000 (0:00:00.037) 0:00:21.757 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1703862904.3142304, "block_size": 4096, "blocks": 0, "ctime": 1703862904.3102324, "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": 1703862904.3102324, "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-route_typet3mjxmqa/tests/playbooks/tasks/assert_device_present.yml:5 Friday 29 December 2023 15:15:04 +0000 (0:00:00.135) 0:00:21.893 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typet3mjxmqa/tests/playbooks/tasks/assert_profile_present.yml:3 Friday 29 December 2023 15:15:04 +0000 (0:00:00.023) 0:00:21.916 ******* included: /WORKDIR/git-route_typet3mjxmqa/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typet3mjxmqa/tests/playbooks/tasks/get_profile_stat.yml:3 Friday 29 December 2023 15:15:04 +0000 (0:00:00.038) 0:00:21.954 ******* 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-route_typet3mjxmqa/tests/playbooks/tasks/get_profile_stat.yml:9 Friday 29 December 2023 15:15:04 +0000 (0:00:00.023) 0:00:21.977 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1703862902.3632064, "block_size": 4096, "blocks": 8, "ctime": 1703862900.7740016, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 18845, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1703862900.7740016, "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-route_typet3mjxmqa/tests/playbooks/tasks/get_profile_stat.yml:17 Friday 29 December 2023 15:15:04 +0000 (0:00:00.134) 0:00:22.112 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typet3mjxmqa/tests/playbooks/tasks/get_profile_stat.yml:25 Friday 29 December 2023 15:15:04 +0000 (0:00:00.022) 0:00:22.134 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.005374", "end": "2023-12-29 15:15:05.214247", "rc": 1, "start": "2023-12-29 15:15:05.208873" } STDERR: /bin/sh: nmcli: command not found MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-route_typet3mjxmqa/tests/playbooks/tasks/get_profile_stat.yml:35 Friday 29 December 2023 15:15:05 +0000 (0:00:00.142) 0:00:22.276 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_typet3mjxmqa/tests/playbooks/tasks/get_profile_stat.yml:49 Friday 29 December 2023 15:15:05 +0000 (0:00:00.021) 0:00:22.298 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003315", "end": "2023-12-29 15:15:05.376242", "rc": 0, "start": "2023-12-29 15:15:05.372927" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_typet3mjxmqa/tests/playbooks/tasks/get_profile_stat.yml:56 Friday 29 December 2023 15:15:05 +0000 (0:00:00.142) 0:00:22.441 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_typet3mjxmqa/tests/playbooks/tasks/get_profile_stat.yml:62 Friday 29 December 2023 15:15:05 +0000 (0:00:00.053) 0:00:22.494 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003290", "end": "2023-12-29 15:15:05.572586", "rc": 0, "start": "2023-12-29 15:15:05.569296" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_typet3mjxmqa/tests/playbooks/tasks/get_profile_stat.yml:69 Friday 29 December 2023 15:15:05 +0000 (0:00:00.142) 0:00:22.637 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-route_typet3mjxmqa/tests/playbooks/tasks/assert_profile_present.yml:5 Friday 29 December 2023 15:15:05 +0000 (0:00:00.031) 0:00:22.669 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-route_typet3mjxmqa/tests/playbooks/tasks/assert_profile_present.yml:10 Friday 29 December 2023 15:15:05 +0000 (0:00:00.024) 0:00:22.693 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-route_typet3mjxmqa/tests/playbooks/tasks/assert_profile_present.yml:15 Friday 29 December 2023 15:15:05 +0000 (0:00:00.023) 0:00:22.717 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typet3mjxmqa/tests/playbooks/tasks/run_test.yml:42 Friday 29 December 2023 15:15:05 +0000 (0:00:00.025) 0:00:22.742 ******* TASK [Success in test 'I can activate an existing profile'] ******************** task path: /WORKDIR/git-route_typet3mjxmqa/tests/playbooks/tasks/run_test.yml:47 Friday 29 December 2023 15:15:05 +0000 (0:00:00.024) 0:00:22.767 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_typet3mjxmqa/tests/playbooks/tasks/run_test.yml:66 Friday 29 December 2023 15:15:05 +0000 (0:00:00.024) 0:00:22.791 ******* included: /WORKDIR/git-route_typet3mjxmqa/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_typet3mjxmqa/tests/playbooks/tasks/cleanup_profile+device.yml:3 Friday 29 December 2023 15:15:05 +0000 (0:00:00.038) 0:00:22.830 ******* 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.026664", "end": "2023-12-29 15:15:05.932787", "rc": 0, "start": "2023-12-29 15:15:05.906123" } STDERR: /bin/sh: nmcli: command not found /bin/sh: line 1: nmcli: command not found TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-route_typet3mjxmqa/tests/playbooks/tests_states.yml:83 Friday 29 December 2023 15:15:05 +0000 (0:00:00.174) 0:00:23.004 ******* included: /WORKDIR/git-route_typet3mjxmqa/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can remove an existing profile without taking it down] *********** task path: /WORKDIR/git-route_typet3mjxmqa/tests/playbooks/tasks/run_test.yml:5 Friday 29 December 2023 15:15:05 +0000 (0:00:00.035) 0:00:23.040 ******* ok: [sut] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_typet3mjxmqa/tests/playbooks/tasks/run_test.yml:9 Friday 29 December 2023 15:15:05 +0000 (0:00:00.023) 0:00:23.063 ******* 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-route_typet3mjxmqa/tests/playbooks/tasks/run_test.yml:21 Friday 29 December 2023 15:15:05 +0000 (0:00:00.045) 0:00:23.109 ******* included: /WORKDIR/git-route_typet3mjxmqa/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typet3mjxmqa/tests/playbooks/tasks/show_interfaces.yml:3 Friday 29 December 2023 15:15:06 +0000 (0:00:00.068) 0:00:23.178 ******* included: /WORKDIR/git-route_typet3mjxmqa/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typet3mjxmqa/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 29 December 2023 15:15:06 +0000 (0:00:00.033) 0:00:23.211 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003409", "end": "2023-12-29 15:15:06.287535", "rc": 0, "start": "2023-12-29 15:15:06.284126" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typet3mjxmqa/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 29 December 2023 15:15:06 +0000 (0:00:00.141) 0:00:23.353 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typet3mjxmqa/tests/playbooks/tasks/show_interfaces.yml:5 Friday 29 December 2023 15:15:06 +0000 (0:00:00.024) 0:00:23.378 ******* ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typet3mjxmqa/tests/playbooks/tasks/run_test.yml:24 Friday 29 December 2023 15:15:06 +0000 (0:00:00.021) 0:00:23.399 ******* included: /WORKDIR/git-route_typet3mjxmqa/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-route_typet3mjxmqa/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typet3mjxmqa/tests/playbooks/tasks/create_bridge_profile.yml:3 Friday 29 December 2023 15:15:06 +0000 (0:00:00.039) 0:00:23.439 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 29 December 2023 15:15:06 +0000 (0:00:00.039) 0:00:23.479 ******* included: /WORKDIR/git-route_typet3mjxmqa/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-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 29 December 2023 15:15:06 +0000 (0:00:00.039) 0:00:23.518 ******* 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-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 29 December 2023 15:15:06 +0000 (0:00:00.026) 0:00:23.544 ******* 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-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 29 December 2023 15:15:06 +0000 (0:00:00.022) 0:00:23.567 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 29 December 2023 15:15:06 +0000 (0:00:00.021) 0:00:23.589 ******* 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-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 29 December 2023 15:15:07 +0000 (0:00:01.490) 0:00:25.079 ******* 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-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 29 December 2023 15:15:08 +0000 (0:00:00.597) 0:00:25.677 ******* 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-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 29 December 2023 15:15:08 +0000 (0:00:00.022) 0:00:25.700 ******* 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-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 29 December 2023 15:15:08 +0000 (0:00:00.021) 0:00:25.721 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 29 December 2023 15:15:08 +0000 (0:00:00.022) 0:00:25.744 ******* 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-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/main.yml:40 Friday 29 December 2023 15:15:08 +0000 (0:00:00.045) 0:00:25.790 ******* 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-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/main.yml:55 Friday 29 December 2023 15:15:08 +0000 (0:00:00.021) 0:00:25.811 ******* 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-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/main.yml:71 Friday 29 December 2023 15:15:08 +0000 (0:00:00.022) 0:00:25.834 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/main.yml:85 Friday 29 December 2023 15:15:08 +0000 (0:00:00.028) 0:00:25.863 ******* 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-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/main.yml:96 Friday 29 December 2023 15:15:08 +0000 (0:00:00.049) 0:00:25.913 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/main.yml:105 Friday 29 December 2023 15:15:08 +0000 (0:00:00.022) 0:00:25.935 ******* 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-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/main.yml:113 Friday 29 December 2023 15:15:08 +0000 (0:00:00.201) 0:00:26.136 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-15017kcgs0fvb/tmp89c9dh7t" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/main.yml:122 Friday 29 December 2023 15:15:09 +0000 (0:00:00.214) 0:00:26.351 ******* 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-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/main.yml:134 Friday 29 December 2023 15:15:09 +0000 (0:00:00.246) 0:00:26.597 ******* 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-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/main.yml:140 Friday 29 December 2023 15:15:09 +0000 (0:00:00.022) 0:00:26.619 ******* 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-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/main.yml:144 Friday 29 December 2023 15:15:09 +0000 (0:00:00.022) 0:00:26.641 ******* 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-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/main.yml:149 Friday 29 December 2023 15:15:09 +0000 (0:00:00.026) 0:00:26.668 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/main.yml:155 Friday 29 December 2023 15:15:09 +0000 (0:00:00.021) 0:00:26.689 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typet3mjxmqa/tests/playbooks/tasks/create_bridge_profile.yml:14 Friday 29 December 2023 15:15:09 +0000 (0:00:00.129) 0:00:26.818 ******* 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-route_typet3mjxmqa/tests/playbooks/tasks/activate_profile.yml:3 Friday 29 December 2023 15:15:09 +0000 (0:00:00.022) 0:00:26.841 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 29 December 2023 15:15:09 +0000 (0:00:00.039) 0:00:26.881 ******* included: /WORKDIR/git-route_typet3mjxmqa/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-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 29 December 2023 15:15:09 +0000 (0:00:00.039) 0:00:26.920 ******* 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-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 29 December 2023 15:15:09 +0000 (0:00:00.074) 0:00:26.995 ******* 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-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 29 December 2023 15:15:09 +0000 (0:00:00.022) 0:00:27.017 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 29 December 2023 15:15:09 +0000 (0:00:00.021) 0:00:27.039 ******* 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-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 29 December 2023 15:15:11 +0000 (0:00:01.517) 0:00:28.557 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 29 December 2023 15:15:12 +0000 (0:00:00.612) 0:00:29.169 ******* 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-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 29 December 2023 15:15:12 +0000 (0:00:00.022) 0:00:29.192 ******* 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-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 29 December 2023 15:15:12 +0000 (0:00:00.041) 0:00:29.233 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 29 December 2023 15:15:12 +0000 (0:00:00.022) 0:00:29.256 ******* 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-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/main.yml:40 Friday 29 December 2023 15:15:12 +0000 (0:00:00.043) 0:00:29.299 ******* 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-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/main.yml:55 Friday 29 December 2023 15:15:12 +0000 (0:00:00.021) 0:00:29.321 ******* 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-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/main.yml:71 Friday 29 December 2023 15:15:12 +0000 (0:00:00.021) 0:00:29.342 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/main.yml:85 Friday 29 December 2023 15:15:12 +0000 (0:00:00.028) 0:00:29.371 ******* 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-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/main.yml:96 Friday 29 December 2023 15:15:12 +0000 (0:00:00.021) 0:00:29.392 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/main.yml:105 Friday 29 December 2023 15:15:12 +0000 (0:00:00.021) 0:00:29.414 ******* 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-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/main.yml:113 Friday 29 December 2023 15:15:12 +0000 (0:00:00.199) 0:00:29.613 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-15017kcgs0fvb/tmpbesynk8n" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/main.yml:122 Friday 29 December 2023 15:15:12 +0000 (0:00:00.209) 0:00:29.823 ******* 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-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/main.yml:134 Friday 29 December 2023 15:15:13 +0000 (0:00:00.370) 0:00:30.194 ******* 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-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/main.yml:140 Friday 29 December 2023 15:15:13 +0000 (0:00:00.020) 0:00:30.214 ******* 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-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/main.yml:144 Friday 29 December 2023 15:15:13 +0000 (0:00:00.022) 0:00:30.236 ******* 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-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/main.yml:149 Friday 29 December 2023 15:15:13 +0000 (0:00:00.025) 0:00:30.262 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/main.yml:155 Friday 29 December 2023 15:15:13 +0000 (0:00:00.021) 0:00:30.283 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_typet3mjxmqa/tests/playbooks/tasks/run_test.yml:30 Friday 29 December 2023 15:15:13 +0000 (0:00:00.159) 0:00:30.442 ******* included: /WORKDIR/git-route_typet3mjxmqa/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typet3mjxmqa/tests/playbooks/tasks/remove_profile.yml:3 Friday 29 December 2023 15:15:13 +0000 (0:00:00.042) 0:00:30.485 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 29 December 2023 15:15:13 +0000 (0:00:00.040) 0:00:30.525 ******* included: /WORKDIR/git-route_typet3mjxmqa/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-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 29 December 2023 15:15:13 +0000 (0:00:00.041) 0:00:30.567 ******* 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-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 29 December 2023 15:15:13 +0000 (0:00:00.027) 0:00:30.595 ******* 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-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 29 December 2023 15:15:13 +0000 (0:00:00.021) 0:00:30.616 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 29 December 2023 15:15:13 +0000 (0:00:00.021) 0:00:30.638 ******* 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-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 29 December 2023 15:15:15 +0000 (0:00:01.593) 0:00:32.232 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 29 December 2023 15:15:15 +0000 (0:00:00.596) 0:00:32.828 ******* ok: [sut] => {} MSG: Using network provider: initscripts TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 29 December 2023 15:15:15 +0000 (0:00:00.023) 0:00:32.852 ******* 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-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 29 December 2023 15:15:15 +0000 (0:00:00.023) 0:00:32.875 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 29 December 2023 15:15:15 +0000 (0:00:00.021) 0:00:32.896 ******* 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-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/main.yml:40 Friday 29 December 2023 15:15:15 +0000 (0:00:00.044) 0:00:32.941 ******* 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-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/main.yml:55 Friday 29 December 2023 15:15:15 +0000 (0:00:00.024) 0:00:32.965 ******* 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-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/main.yml:71 Friday 29 December 2023 15:15:15 +0000 (0:00:00.021) 0:00:32.986 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/main.yml:85 Friday 29 December 2023 15:15:15 +0000 (0:00:00.026) 0:00:33.012 ******* 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-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/main.yml:96 Friday 29 December 2023 15:15:15 +0000 (0:00:00.021) 0:00:33.034 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/main.yml:105 Friday 29 December 2023 15:15:15 +0000 (0:00:00.024) 0:00:33.058 ******* 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-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/main.yml:113 Friday 29 December 2023 15:15:16 +0000 (0:00:00.200) 0:00:33.259 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-15017kcgs0fvb/tmpvl86jazl" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/main.yml:122 Friday 29 December 2023 15:15:16 +0000 (0:00:00.229) 0:00:33.488 ******* 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-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/main.yml:134 Friday 29 December 2023 15:15:16 +0000 (0:00:00.249) 0:00:33.738 ******* 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-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/main.yml:140 Friday 29 December 2023 15:15:16 +0000 (0:00:00.022) 0:00:33.761 ******* 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-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/main.yml:144 Friday 29 December 2023 15:15:16 +0000 (0:00:00.024) 0:00:33.785 ******* 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-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/main.yml:149 Friday 29 December 2023 15:15:16 +0000 (0:00:00.022) 0:00:33.808 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/main.yml:155 Friday 29 December 2023 15:15:16 +0000 (0:00:00.022) 0:00:33.830 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_typet3mjxmqa/tests/playbooks/tasks/run_test.yml:36 Friday 29 December 2023 15:15:16 +0000 (0:00:00.138) 0:00:33.969 ******* included: /WORKDIR/git-route_typet3mjxmqa/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-route_typet3mjxmqa/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typet3mjxmqa/tests/playbooks/tasks/assert_device_present.yml:3 Friday 29 December 2023 15:15:16 +0000 (0:00:00.043) 0:00:34.012 ******* included: /WORKDIR/git-route_typet3mjxmqa/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typet3mjxmqa/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 29 December 2023 15:15:16 +0000 (0:00:00.036) 0:00:34.049 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1703862913.056857, "block_size": 4096, "blocks": 0, "ctime": 1703862913.054858, "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": 1703862913.054858, "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-route_typet3mjxmqa/tests/playbooks/tasks/assert_device_present.yml:5 Friday 29 December 2023 15:15:17 +0000 (0:00:00.141) 0:00:34.190 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typet3mjxmqa/tests/playbooks/tasks/assert_profile_absent.yml:3 Friday 29 December 2023 15:15:17 +0000 (0:00:00.024) 0:00:34.215 ******* included: /WORKDIR/git-route_typet3mjxmqa/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typet3mjxmqa/tests/playbooks/tasks/get_profile_stat.yml:3 Friday 29 December 2023 15:15:17 +0000 (0:00:00.038) 0:00:34.254 ******* 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-route_typet3mjxmqa/tests/playbooks/tasks/get_profile_stat.yml:9 Friday 29 December 2023 15:15:17 +0000 (0:00:00.056) 0:00:34.311 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_typet3mjxmqa/tests/playbooks/tasks/get_profile_stat.yml:17 Friday 29 December 2023 15:15:17 +0000 (0:00:00.138) 0:00:34.450 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typet3mjxmqa/tests/playbooks/tasks/get_profile_stat.yml:25 Friday 29 December 2023 15:15:17 +0000 (0:00:00.023) 0:00:34.474 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.005417", "end": "2023-12-29 15:15:17.545788", "rc": 1, "start": "2023-12-29 15:15:17.540371" } STDERR: /bin/sh: nmcli: command not found MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-route_typet3mjxmqa/tests/playbooks/tasks/get_profile_stat.yml:35 Friday 29 December 2023 15:15:17 +0000 (0:00:00.140) 0:00:34.614 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_typet3mjxmqa/tests/playbooks/tasks/get_profile_stat.yml:49 Friday 29 December 2023 15:15:17 +0000 (0:00:00.023) 0:00:34.637 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_typet3mjxmqa/tests/playbooks/tasks/get_profile_stat.yml:56 Friday 29 December 2023 15:15:17 +0000 (0:00:00.026) 0:00:34.664 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_typet3mjxmqa/tests/playbooks/tasks/get_profile_stat.yml:62 Friday 29 December 2023 15:15:17 +0000 (0:00:00.024) 0:00:34.688 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_typet3mjxmqa/tests/playbooks/tasks/get_profile_stat.yml:69 Friday 29 December 2023 15:15:17 +0000 (0:00:00.022) 0:00:34.710 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-route_typet3mjxmqa/tests/playbooks/tasks/assert_profile_absent.yml:5 Friday 29 December 2023 15:15:17 +0000 (0:00:00.021) 0:00:34.732 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typet3mjxmqa/tests/playbooks/tasks/run_test.yml:42 Friday 29 December 2023 15:15:17 +0000 (0:00:00.027) 0:00:34.759 ******* TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /WORKDIR/git-route_typet3mjxmqa/tests/playbooks/tasks/run_test.yml:47 Friday 29 December 2023 15:15:17 +0000 (0:00:00.022) 0:00:34.781 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_typet3mjxmqa/tests/playbooks/tasks/run_test.yml:66 Friday 29 December 2023 15:15:17 +0000 (0:00:00.021) 0:00:34.803 ******* included: /WORKDIR/git-route_typet3mjxmqa/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_typet3mjxmqa/tests/playbooks/tasks/cleanup_profile+device.yml:3 Friday 29 December 2023 15:15:17 +0000 (0:00:00.040) 0:00:34.844 ******* 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.015927", "end": "2023-12-29 15:15:17.926736", "rc": 0, "start": "2023-12-29 15:15:17.910809" } STDERR: /bin/sh: nmcli: command not found /bin/sh: line 1: nmcli: command not found TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-route_typet3mjxmqa/tests/playbooks/tests_states.yml:103 Friday 29 December 2023 15:15:17 +0000 (0:00:00.155) 0:00:35.000 ******* included: /WORKDIR/git-route_typet3mjxmqa/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can take a profile down that is absent] ************************** task path: /WORKDIR/git-route_typet3mjxmqa/tests/playbooks/tasks/run_test.yml:5 Friday 29 December 2023 15:15:17 +0000 (0:00:00.071) 0:00:35.071 ******* ok: [sut] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_typet3mjxmqa/tests/playbooks/tasks/run_test.yml:9 Friday 29 December 2023 15:15:17 +0000 (0:00:00.023) 0:00:35.094 ******* 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-route_typet3mjxmqa/tests/playbooks/tasks/run_test.yml:21 Friday 29 December 2023 15:15:17 +0000 (0:00:00.045) 0:00:35.140 ******* included: /WORKDIR/git-route_typet3mjxmqa/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typet3mjxmqa/tests/playbooks/tasks/show_interfaces.yml:3 Friday 29 December 2023 15:15:18 +0000 (0:00:00.037) 0:00:35.177 ******* included: /WORKDIR/git-route_typet3mjxmqa/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typet3mjxmqa/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 29 December 2023 15:15:18 +0000 (0:00:00.033) 0:00:35.211 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003428", "end": "2023-12-29 15:15:18.279137", "rc": 0, "start": "2023-12-29 15:15:18.275709" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typet3mjxmqa/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 29 December 2023 15:15:18 +0000 (0:00:00.137) 0:00:35.348 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typet3mjxmqa/tests/playbooks/tasks/show_interfaces.yml:5 Friday 29 December 2023 15:15:18 +0000 (0:00:00.023) 0:00:35.372 ******* ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typet3mjxmqa/tests/playbooks/tasks/run_test.yml:24 Friday 29 December 2023 15:15:18 +0000 (0:00:00.022) 0:00:35.395 ******* included: /WORKDIR/git-route_typet3mjxmqa/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-route_typet3mjxmqa/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-route_typet3mjxmqa/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typet3mjxmqa/tests/playbooks/tasks/create_bridge_profile.yml:3 Friday 29 December 2023 15:15:18 +0000 (0:00:00.043) 0:00:35.438 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 29 December 2023 15:15:18 +0000 (0:00:00.038) 0:00:35.477 ******* included: /WORKDIR/git-route_typet3mjxmqa/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-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 29 December 2023 15:15:18 +0000 (0:00:00.038) 0:00:35.516 ******* 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-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 29 December 2023 15:15:18 +0000 (0:00:00.025) 0:00:35.542 ******* 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-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 29 December 2023 15:15:18 +0000 (0:00:00.052) 0:00:35.594 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 29 December 2023 15:15:18 +0000 (0:00:00.021) 0:00:35.615 ******* 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-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 29 December 2023 15:15:19 +0000 (0:00:01.463) 0:00:37.078 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 29 December 2023 15:15:20 +0000 (0:00:00.593) 0:00:37.672 ******* 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-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 29 December 2023 15:15:20 +0000 (0:00:00.022) 0:00:37.695 ******* 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-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 29 December 2023 15:15:20 +0000 (0:00:00.019) 0:00:37.714 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 29 December 2023 15:15:20 +0000 (0:00:00.049) 0:00:37.764 ******* 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-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/main.yml:40 Friday 29 December 2023 15:15:20 +0000 (0:00:00.044) 0:00:37.808 ******* 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-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/main.yml:55 Friday 29 December 2023 15:15:20 +0000 (0:00:00.021) 0:00:37.830 ******* 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-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/main.yml:71 Friday 29 December 2023 15:15:20 +0000 (0:00:00.022) 0:00:37.852 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/main.yml:85 Friday 29 December 2023 15:15:20 +0000 (0:00:00.028) 0:00:37.881 ******* 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-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/main.yml:96 Friday 29 December 2023 15:15:20 +0000 (0:00:00.021) 0:00:37.903 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/main.yml:105 Friday 29 December 2023 15:15:20 +0000 (0:00:00.020) 0:00:37.923 ******* 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-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/main.yml:113 Friday 29 December 2023 15:15:20 +0000 (0:00:00.194) 0:00:38.118 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-15017kcgs0fvb/tmpmhnkssll" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/main.yml:122 Friday 29 December 2023 15:15:21 +0000 (0:00:00.201) 0:00:38.319 ******* 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-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/main.yml:134 Friday 29 December 2023 15:15:21 +0000 (0:00:00.246) 0:00:38.565 ******* 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-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/main.yml:140 Friday 29 December 2023 15:15:21 +0000 (0:00:00.021) 0:00:38.586 ******* 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-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/main.yml:144 Friday 29 December 2023 15:15:21 +0000 (0:00:00.022) 0:00:38.609 ******* 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-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/main.yml:149 Friday 29 December 2023 15:15:21 +0000 (0:00:00.021) 0:00:38.631 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/main.yml:155 Friday 29 December 2023 15:15:21 +0000 (0:00:00.022) 0:00:38.654 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typet3mjxmqa/tests/playbooks/tasks/create_bridge_profile.yml:14 Friday 29 December 2023 15:15:21 +0000 (0:00:00.130) 0:00:38.785 ******* 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-route_typet3mjxmqa/tests/playbooks/tasks/activate_profile.yml:3 Friday 29 December 2023 15:15:21 +0000 (0:00:00.022) 0:00:38.807 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 29 December 2023 15:15:21 +0000 (0:00:00.076) 0:00:38.884 ******* included: /WORKDIR/git-route_typet3mjxmqa/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-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 29 December 2023 15:15:21 +0000 (0:00:00.039) 0:00:38.924 ******* 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-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 29 December 2023 15:15:21 +0000 (0:00:00.027) 0:00:38.952 ******* 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-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 29 December 2023 15:15:21 +0000 (0:00:00.021) 0:00:38.973 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 29 December 2023 15:15:21 +0000 (0:00:00.021) 0:00:38.995 ******* 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-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 29 December 2023 15:15:23 +0000 (0:00:01.467) 0:00:40.463 ******* 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-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 29 December 2023 15:15:23 +0000 (0:00:00.645) 0:00:41.108 ******* 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-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 29 December 2023 15:15:23 +0000 (0:00:00.022) 0:00:41.130 ******* 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-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 29 December 2023 15:15:24 +0000 (0:00:00.022) 0:00:41.153 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 29 December 2023 15:15:24 +0000 (0:00:00.022) 0:00:41.175 ******* 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-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/main.yml:40 Friday 29 December 2023 15:15:24 +0000 (0:00:00.042) 0:00:41.217 ******* 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-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/main.yml:55 Friday 29 December 2023 15:15:24 +0000 (0:00:00.020) 0:00:41.238 ******* 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-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/main.yml:71 Friday 29 December 2023 15:15:24 +0000 (0:00:00.023) 0:00:41.262 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/main.yml:85 Friday 29 December 2023 15:15:24 +0000 (0:00:00.024) 0:00:41.286 ******* 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-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/main.yml:96 Friday 29 December 2023 15:15:24 +0000 (0:00:00.021) 0:00:41.308 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/main.yml:105 Friday 29 December 2023 15:15:24 +0000 (0:00:00.021) 0:00:41.329 ******* 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-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/main.yml:113 Friday 29 December 2023 15:15:24 +0000 (0:00:00.196) 0:00:41.525 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-15017kcgs0fvb/tmpghhtvi32" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/main.yml:122 Friday 29 December 2023 15:15:24 +0000 (0:00:00.205) 0:00:41.731 ******* 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-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/main.yml:134 Friday 29 December 2023 15:15:24 +0000 (0:00:00.359) 0:00:42.090 ******* 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-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/main.yml:140 Friday 29 December 2023 15:15:24 +0000 (0:00:00.045) 0:00:42.136 ******* 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-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/main.yml:144 Friday 29 December 2023 15:15:25 +0000 (0:00:00.025) 0:00:42.161 ******* 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-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/main.yml:149 Friday 29 December 2023 15:15:25 +0000 (0:00:00.022) 0:00:42.184 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/main.yml:155 Friday 29 December 2023 15:15:25 +0000 (0:00:00.021) 0:00:42.206 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typet3mjxmqa/tests/playbooks/tasks/remove_profile.yml:3 Friday 29 December 2023 15:15:25 +0000 (0:00:00.132) 0:00:42.338 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 29 December 2023 15:15:25 +0000 (0:00:00.037) 0:00:42.375 ******* included: /WORKDIR/git-route_typet3mjxmqa/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-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 29 December 2023 15:15:25 +0000 (0:00:00.039) 0:00:42.415 ******* 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-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 29 December 2023 15:15:25 +0000 (0:00:00.028) 0:00:42.444 ******* 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-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 29 December 2023 15:15:25 +0000 (0:00:00.024) 0:00:42.469 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 29 December 2023 15:15:25 +0000 (0:00:00.022) 0:00:42.491 ******* 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-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 29 December 2023 15:15:26 +0000 (0:00:01.488) 0:00:43.979 ******* 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-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 29 December 2023 15:15:27 +0000 (0:00:00.593) 0:00:44.572 ******* 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-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 29 December 2023 15:15:27 +0000 (0:00:00.022) 0:00:44.595 ******* 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-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 29 December 2023 15:15:27 +0000 (0:00:00.022) 0:00:44.618 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 29 December 2023 15:15:27 +0000 (0:00:00.022) 0:00:44.641 ******* 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-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/main.yml:40 Friday 29 December 2023 15:15:27 +0000 (0:00:00.045) 0:00:44.686 ******* 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-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/main.yml:55 Friday 29 December 2023 15:15:27 +0000 (0:00:00.020) 0:00:44.707 ******* 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-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/main.yml:71 Friday 29 December 2023 15:15:27 +0000 (0:00:00.021) 0:00:44.728 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/main.yml:85 Friday 29 December 2023 15:15:27 +0000 (0:00:00.025) 0:00:44.754 ******* 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-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/main.yml:96 Friday 29 December 2023 15:15:27 +0000 (0:00:00.023) 0:00:44.778 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/main.yml:105 Friday 29 December 2023 15:15:27 +0000 (0:00:00.021) 0:00:44.800 ******* 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-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/main.yml:113 Friday 29 December 2023 15:15:27 +0000 (0:00:00.216) 0:00:45.016 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-15017kcgs0fvb/tmpaybbbu4v" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/main.yml:122 Friday 29 December 2023 15:15:28 +0000 (0:00:00.196) 0:00:45.212 ******* 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-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/main.yml:134 Friday 29 December 2023 15:15:28 +0000 (0:00:00.252) 0:00:45.464 ******* 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-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/main.yml:140 Friday 29 December 2023 15:15:28 +0000 (0:00:00.021) 0:00:45.486 ******* 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-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/main.yml:144 Friday 29 December 2023 15:15:28 +0000 (0:00:00.022) 0:00:45.508 ******* 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-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/main.yml:149 Friday 29 December 2023 15:15:28 +0000 (0:00:00.023) 0:00:45.532 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/main.yml:155 Friday 29 December 2023 15:15:28 +0000 (0:00:00.025) 0:00:45.557 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_typet3mjxmqa/tests/playbooks/tasks/run_test.yml:30 Friday 29 December 2023 15:15:28 +0000 (0:00:00.138) 0:00:45.696 ******* included: /WORKDIR/git-route_typet3mjxmqa/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typet3mjxmqa/tests/playbooks/tasks/remove+down_profile.yml:3 Friday 29 December 2023 15:15:28 +0000 (0:00:00.039) 0:00:45.736 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 29 December 2023 15:15:28 +0000 (0:00:00.044) 0:00:45.780 ******* included: /WORKDIR/git-route_typet3mjxmqa/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-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 29 December 2023 15:15:28 +0000 (0:00:00.040) 0:00:45.821 ******* 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-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 29 December 2023 15:15:28 +0000 (0:00:00.027) 0:00:45.848 ******* 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-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 29 December 2023 15:15:28 +0000 (0:00:00.023) 0:00:45.872 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 29 December 2023 15:15:28 +0000 (0:00:00.049) 0:00:45.921 ******* 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-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 29 December 2023 15:15:30 +0000 (0:00:01.461) 0:00:47.382 ******* 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-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 29 December 2023 15:15:30 +0000 (0:00:00.582) 0:00:47.965 ******* 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-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 29 December 2023 15:15:30 +0000 (0:00:00.023) 0:00:47.988 ******* 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-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 29 December 2023 15:15:30 +0000 (0:00:00.021) 0:00:48.009 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 29 December 2023 15:15:30 +0000 (0:00:00.021) 0:00:48.031 ******* 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-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/main.yml:40 Friday 29 December 2023 15:15:30 +0000 (0:00:00.066) 0:00:48.097 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/main.yml:55 Friday 29 December 2023 15:15:30 +0000 (0:00:00.020) 0:00:48.118 ******* 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-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/main.yml:71 Friday 29 December 2023 15:15:30 +0000 (0:00:00.021) 0:00:48.139 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/main.yml:85 Friday 29 December 2023 15:15:31 +0000 (0:00:00.026) 0:00:48.165 ******* 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-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/main.yml:96 Friday 29 December 2023 15:15:31 +0000 (0:00:00.023) 0:00:48.189 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/main.yml:105 Friday 29 December 2023 15:15:31 +0000 (0:00:00.021) 0:00:48.210 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/main.yml:113 Friday 29 December 2023 15:15:31 +0000 (0:00:00.195) 0:00:48.406 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-15017kcgs0fvb/tmpz2op9was" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/main.yml:122 Friday 29 December 2023 15:15:31 +0000 (0:00:00.204) 0:00:48.610 ******* 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-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/main.yml:134 Friday 29 December 2023 15:15:31 +0000 (0:00:00.250) 0:00:48.861 ******* 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-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/main.yml:140 Friday 29 December 2023 15:15:31 +0000 (0:00:00.024) 0:00:48.885 ******* 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-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/main.yml:144 Friday 29 December 2023 15:15:31 +0000 (0:00:00.024) 0:00:48.910 ******* 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-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/main.yml:149 Friday 29 December 2023 15:15:31 +0000 (0:00:00.024) 0:00:48.935 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/main.yml:155 Friday 29 December 2023 15:15:31 +0000 (0:00:00.024) 0:00:48.959 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_typet3mjxmqa/tests/playbooks/tasks/run_test.yml:36 Friday 29 December 2023 15:15:31 +0000 (0:00:00.133) 0:00:49.092 ******* included: /WORKDIR/git-route_typet3mjxmqa/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typet3mjxmqa/tests/playbooks/tasks/assert_profile_absent.yml:3 Friday 29 December 2023 15:15:31 +0000 (0:00:00.041) 0:00:49.134 ******* included: /WORKDIR/git-route_typet3mjxmqa/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typet3mjxmqa/tests/playbooks/tasks/get_profile_stat.yml:3 Friday 29 December 2023 15:15:32 +0000 (0:00:00.076) 0:00:49.210 ******* 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-route_typet3mjxmqa/tests/playbooks/tasks/get_profile_stat.yml:9 Friday 29 December 2023 15:15:32 +0000 (0:00:00.028) 0:00:49.238 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_typet3mjxmqa/tests/playbooks/tasks/get_profile_stat.yml:17 Friday 29 December 2023 15:15:32 +0000 (0:00:00.135) 0:00:49.373 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typet3mjxmqa/tests/playbooks/tasks/get_profile_stat.yml:25 Friday 29 December 2023 15:15:32 +0000 (0:00:00.025) 0:00:49.399 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.005205", "end": "2023-12-29 15:15:32.463672", "rc": 1, "start": "2023-12-29 15:15:32.458467" } STDERR: /bin/sh: nmcli: command not found MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-route_typet3mjxmqa/tests/playbooks/tasks/get_profile_stat.yml:35 Friday 29 December 2023 15:15:32 +0000 (0:00:00.141) 0:00:49.541 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_typet3mjxmqa/tests/playbooks/tasks/get_profile_stat.yml:49 Friday 29 December 2023 15:15:32 +0000 (0:00:00.025) 0:00:49.567 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_typet3mjxmqa/tests/playbooks/tasks/get_profile_stat.yml:56 Friday 29 December 2023 15:15:32 +0000 (0:00:00.033) 0:00:49.601 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_typet3mjxmqa/tests/playbooks/tasks/get_profile_stat.yml:62 Friday 29 December 2023 15:15:32 +0000 (0:00:00.023) 0:00:49.624 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_typet3mjxmqa/tests/playbooks/tasks/get_profile_stat.yml:69 Friday 29 December 2023 15:15:32 +0000 (0:00:00.025) 0:00:49.650 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-route_typet3mjxmqa/tests/playbooks/tasks/assert_profile_absent.yml:5 Friday 29 December 2023 15:15:32 +0000 (0:00:00.025) 0:00:49.675 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typet3mjxmqa/tests/playbooks/tasks/run_test.yml:42 Friday 29 December 2023 15:15:32 +0000 (0:00:00.036) 0:00:49.712 ******* 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-route_typet3mjxmqa/tests/playbooks/tasks/run_test.yml:47 Friday 29 December 2023 15:15:32 +0000 (0:00:00.026) 0:00:49.739 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_typet3mjxmqa/tests/playbooks/tasks/run_test.yml:66 Friday 29 December 2023 15:15:32 +0000 (0:00:00.026) 0:00:49.765 ******* included: /WORKDIR/git-route_typet3mjxmqa/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_typet3mjxmqa/tests/playbooks/tasks/cleanup_profile+device.yml:3 Friday 29 December 2023 15:15:32 +0000 (0:00:00.051) 0:00:49.816 ******* 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.023579", "end": "2023-12-29 15:15:32.897751", "rc": 0, "start": "2023-12-29 15:15:32.874172" } STDERR: /bin/sh: nmcli: command not found /bin/sh: line 1: nmcli: command not found TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-route_typet3mjxmqa/tests/playbooks/tests_states.yml:126 Friday 29 December 2023 15:15:32 +0000 (0:00:00.192) 0:00:50.009 ******* included: /WORKDIR/git-route_typet3mjxmqa/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-route_typet3mjxmqa/tests/playbooks/tasks/run_test.yml:5 Friday 29 December 2023 15:15:32 +0000 (0:00:00.037) 0:00:50.046 ******* ok: [sut] => {} MSG: ########## I will not get an error when I try to remove an absent profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_typet3mjxmqa/tests/playbooks/tasks/run_test.yml:9 Friday 29 December 2023 15:15:32 +0000 (0:00:00.024) 0:00:50.071 ******* 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-route_typet3mjxmqa/tests/playbooks/tasks/run_test.yml:21 Friday 29 December 2023 15:15:32 +0000 (0:00:00.047) 0:00:50.118 ******* included: /WORKDIR/git-route_typet3mjxmqa/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typet3mjxmqa/tests/playbooks/tasks/show_interfaces.yml:3 Friday 29 December 2023 15:15:33 +0000 (0:00:00.036) 0:00:50.154 ******* included: /WORKDIR/git-route_typet3mjxmqa/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typet3mjxmqa/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 29 December 2023 15:15:33 +0000 (0:00:00.034) 0:00:50.189 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003292", "end": "2023-12-29 15:15:33.246365", "rc": 0, "start": "2023-12-29 15:15:33.243073" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typet3mjxmqa/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 29 December 2023 15:15:33 +0000 (0:00:00.133) 0:00:50.322 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typet3mjxmqa/tests/playbooks/tasks/show_interfaces.yml:5 Friday 29 December 2023 15:15:33 +0000 (0:00:00.023) 0:00:50.345 ******* ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typet3mjxmqa/tests/playbooks/tasks/run_test.yml:24 Friday 29 December 2023 15:15:33 +0000 (0:00:00.022) 0:00:50.368 ******* included: /WORKDIR/git-route_typet3mjxmqa/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-route_typet3mjxmqa/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-route_typet3mjxmqa/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typet3mjxmqa/tests/playbooks/tasks/create_bridge_profile.yml:3 Friday 29 December 2023 15:15:33 +0000 (0:00:00.046) 0:00:50.414 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 29 December 2023 15:15:33 +0000 (0:00:00.036) 0:00:50.451 ******* included: /WORKDIR/git-route_typet3mjxmqa/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-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 29 December 2023 15:15:33 +0000 (0:00:00.070) 0:00:50.522 ******* 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-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 29 December 2023 15:15:33 +0000 (0:00:00.029) 0:00:50.551 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 29 December 2023 15:15:33 +0000 (0:00:00.023) 0:00:50.575 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 29 December 2023 15:15:33 +0000 (0:00:00.021) 0:00:50.597 ******* 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-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 29 December 2023 15:15:34 +0000 (0:00:01.438) 0:00:52.035 ******* 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-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 29 December 2023 15:15:35 +0000 (0:00:00.577) 0:00:52.612 ******* 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-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 29 December 2023 15:15:35 +0000 (0:00:00.055) 0:00:52.668 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 29 December 2023 15:15:35 +0000 (0:00:00.022) 0:00:52.690 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 29 December 2023 15:15:35 +0000 (0:00:00.021) 0:00:52.711 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/main.yml:40 Friday 29 December 2023 15:15:35 +0000 (0:00:00.046) 0:00:52.758 ******* 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-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/main.yml:55 Friday 29 December 2023 15:15:35 +0000 (0:00:00.023) 0:00:52.781 ******* 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-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/main.yml:71 Friday 29 December 2023 15:15:35 +0000 (0:00:00.021) 0:00:52.803 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/main.yml:85 Friday 29 December 2023 15:15:35 +0000 (0:00:00.024) 0:00:52.828 ******* 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-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/main.yml:96 Friday 29 December 2023 15:15:35 +0000 (0:00:00.022) 0:00:52.850 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/main.yml:105 Friday 29 December 2023 15:15:35 +0000 (0:00:00.023) 0:00:52.873 ******* 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-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/main.yml:113 Friday 29 December 2023 15:15:35 +0000 (0:00:00.190) 0:00:53.064 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-15017kcgs0fvb/tmpwewml9oi" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/main.yml:122 Friday 29 December 2023 15:15:36 +0000 (0:00:00.194) 0:00:53.259 ******* 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-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/main.yml:134 Friday 29 December 2023 15:15:36 +0000 (0:00:00.231) 0:00:53.490 ******* 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-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/main.yml:140 Friday 29 December 2023 15:15:36 +0000 (0:00:00.021) 0:00:53.511 ******* 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-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/main.yml:144 Friday 29 December 2023 15:15:36 +0000 (0:00:00.021) 0:00:53.533 ******* 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-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/main.yml:149 Friday 29 December 2023 15:15:36 +0000 (0:00:00.024) 0:00:53.557 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/main.yml:155 Friday 29 December 2023 15:15:36 +0000 (0:00:00.021) 0:00:53.579 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typet3mjxmqa/tests/playbooks/tasks/create_bridge_profile.yml:14 Friday 29 December 2023 15:15:36 +0000 (0:00:00.123) 0:00:53.702 ******* 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-route_typet3mjxmqa/tests/playbooks/tasks/activate_profile.yml:3 Friday 29 December 2023 15:15:36 +0000 (0:00:00.031) 0:00:53.734 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 29 December 2023 15:15:36 +0000 (0:00:00.040) 0:00:53.774 ******* included: /WORKDIR/git-route_typet3mjxmqa/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-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 29 December 2023 15:15:36 +0000 (0:00:00.042) 0:00:53.817 ******* 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-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 29 December 2023 15:15:36 +0000 (0:00:00.031) 0:00:53.849 ******* 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-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 29 December 2023 15:15:36 +0000 (0:00:00.024) 0:00:53.873 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 29 December 2023 15:15:36 +0000 (0:00:00.021) 0:00:53.895 ******* 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-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 29 December 2023 15:15:38 +0000 (0:00:01.405) 0:00:55.300 ******* 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-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 29 December 2023 15:15:38 +0000 (0:00:00.606) 0:00:55.906 ******* 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-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 29 December 2023 15:15:38 +0000 (0:00:00.022) 0:00:55.929 ******* 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-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 29 December 2023 15:15:38 +0000 (0:00:00.022) 0:00:55.951 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 29 December 2023 15:15:38 +0000 (0:00:00.023) 0:00:55.975 ******* 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-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/main.yml:40 Friday 29 December 2023 15:15:38 +0000 (0:00:00.043) 0:00:56.019 ******* 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-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/main.yml:55 Friday 29 December 2023 15:15:38 +0000 (0:00:00.021) 0:00:56.040 ******* 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-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/main.yml:71 Friday 29 December 2023 15:15:38 +0000 (0:00:00.024) 0:00:56.065 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/main.yml:85 Friday 29 December 2023 15:15:38 +0000 (0:00:00.026) 0:00:56.091 ******* 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-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/main.yml:96 Friday 29 December 2023 15:15:38 +0000 (0:00:00.023) 0:00:56.115 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/main.yml:105 Friday 29 December 2023 15:15:38 +0000 (0:00:00.025) 0:00:56.141 ******* 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-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/main.yml:113 Friday 29 December 2023 15:15:39 +0000 (0:00:00.198) 0:00:56.339 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-15017kcgs0fvb/tmp9elxb74_" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/main.yml:122 Friday 29 December 2023 15:15:39 +0000 (0:00:00.200) 0:00:56.540 ******* 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-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/main.yml:134 Friday 29 December 2023 15:15:39 +0000 (0:00:00.380) 0:00:56.920 ******* 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-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/main.yml:140 Friday 29 December 2023 15:15:39 +0000 (0:00:00.022) 0:00:56.942 ******* 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-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/main.yml:144 Friday 29 December 2023 15:15:39 +0000 (0:00:00.026) 0:00:56.969 ******* 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-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/main.yml:149 Friday 29 December 2023 15:15:39 +0000 (0:00:00.024) 0:00:56.993 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/main.yml:155 Friday 29 December 2023 15:15:39 +0000 (0:00:00.022) 0:00:57.016 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typet3mjxmqa/tests/playbooks/tasks/remove+down_profile.yml:3 Friday 29 December 2023 15:15:40 +0000 (0:00:00.134) 0:00:57.150 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 29 December 2023 15:15:40 +0000 (0:00:00.037) 0:00:57.188 ******* included: /WORKDIR/git-route_typet3mjxmqa/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-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 29 December 2023 15:15:40 +0000 (0:00:00.039) 0:00:57.227 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 29 December 2023 15:15:40 +0000 (0:00:00.028) 0:00:57.255 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 29 December 2023 15:15:40 +0000 (0:00:00.021) 0:00:57.277 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 29 December 2023 15:15:40 +0000 (0:00:00.021) 0:00:57.299 ******* 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-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 29 December 2023 15:15:41 +0000 (0:00:01.429) 0:00:58.729 ******* 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-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 29 December 2023 15:15:42 +0000 (0:00:00.579) 0:00:59.308 ******* 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-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 29 December 2023 15:15:42 +0000 (0:00:00.022) 0:00:59.331 ******* 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-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 29 December 2023 15:15:42 +0000 (0:00:00.022) 0:00:59.354 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 29 December 2023 15:15:42 +0000 (0:00:00.024) 0:00:59.379 ******* 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-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/main.yml:40 Friday 29 December 2023 15:15:42 +0000 (0:00:00.044) 0:00:59.423 ******* 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-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/main.yml:55 Friday 29 December 2023 15:15:42 +0000 (0:00:00.023) 0:00:59.446 ******* 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-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/main.yml:71 Friday 29 December 2023 15:15:42 +0000 (0:00:00.024) 0:00:59.470 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/main.yml:85 Friday 29 December 2023 15:15:42 +0000 (0:00:00.024) 0:00:59.495 ******* 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-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/main.yml:96 Friday 29 December 2023 15:15:42 +0000 (0:00:00.021) 0:00:59.516 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/main.yml:105 Friday 29 December 2023 15:15:42 +0000 (0:00:00.021) 0:00:59.538 ******* 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-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/main.yml:113 Friday 29 December 2023 15:15:42 +0000 (0:00:00.228) 0:00:59.767 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-15017kcgs0fvb/tmpwv3b10nn" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/main.yml:122 Friday 29 December 2023 15:15:42 +0000 (0:00:00.195) 0:00:59.962 ******* 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-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/main.yml:134 Friday 29 December 2023 15:15:43 +0000 (0:00:00.248) 0:01:00.210 ******* 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-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/main.yml:140 Friday 29 December 2023 15:15:43 +0000 (0:00:00.022) 0:01:00.233 ******* 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-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/main.yml:144 Friday 29 December 2023 15:15:43 +0000 (0:00:00.026) 0:01:00.259 ******* 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-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/main.yml:149 Friday 29 December 2023 15:15:43 +0000 (0:00:00.024) 0:01:00.283 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/main.yml:155 Friday 29 December 2023 15:15:43 +0000 (0:00:00.021) 0:01:00.305 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_typet3mjxmqa/tests/playbooks/tasks/run_test.yml:30 Friday 29 December 2023 15:15:43 +0000 (0:00:00.131) 0:01:00.436 ******* included: /WORKDIR/git-route_typet3mjxmqa/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typet3mjxmqa/tests/playbooks/tasks/remove+down_profile.yml:3 Friday 29 December 2023 15:15:43 +0000 (0:00:00.043) 0:01:00.479 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 29 December 2023 15:15:43 +0000 (0:00:00.036) 0:01:00.516 ******* included: /WORKDIR/git-route_typet3mjxmqa/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-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 29 December 2023 15:15:43 +0000 (0:00:00.041) 0:01:00.557 ******* 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-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 29 December 2023 15:15:43 +0000 (0:00:00.029) 0:01:00.586 ******* 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-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 29 December 2023 15:15:43 +0000 (0:00:00.055) 0:01:00.642 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 29 December 2023 15:15:43 +0000 (0:00:00.024) 0:01:00.666 ******* 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-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 29 December 2023 15:15:44 +0000 (0:00:01.439) 0:01:02.106 ******* 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-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 29 December 2023 15:15:45 +0000 (0:00:00.578) 0:01:02.685 ******* 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-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 29 December 2023 15:15:45 +0000 (0:00:00.023) 0:01:02.708 ******* 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-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 29 December 2023 15:15:45 +0000 (0:00:00.021) 0:01:02.729 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 29 December 2023 15:15:45 +0000 (0:00:00.049) 0:01:02.779 ******* 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-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/main.yml:40 Friday 29 December 2023 15:15:45 +0000 (0:00:00.044) 0:01:02.823 ******* 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-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/main.yml:55 Friday 29 December 2023 15:15:45 +0000 (0:00:00.025) 0:01:02.849 ******* 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-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/main.yml:71 Friday 29 December 2023 15:15:45 +0000 (0:00:00.023) 0:01:02.873 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/main.yml:85 Friday 29 December 2023 15:15:45 +0000 (0:00:00.030) 0:01:02.903 ******* 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-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/main.yml:96 Friday 29 December 2023 15:15:45 +0000 (0:00:00.022) 0:01:02.926 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/main.yml:105 Friday 29 December 2023 15:15:45 +0000 (0:00:00.022) 0:01:02.948 ******* 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-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/main.yml:113 Friday 29 December 2023 15:15:45 +0000 (0:00:00.195) 0:01:03.143 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-15017kcgs0fvb/tmpwsqzudyf" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/main.yml:122 Friday 29 December 2023 15:15:46 +0000 (0:00:00.201) 0:01:03.345 ******* 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-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/main.yml:134 Friday 29 December 2023 15:15:46 +0000 (0:00:00.239) 0:01:03.584 ******* 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-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/main.yml:140 Friday 29 December 2023 15:15:46 +0000 (0:00:00.020) 0:01:03.605 ******* 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-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/main.yml:144 Friday 29 December 2023 15:15:46 +0000 (0:00:00.022) 0:01:03.628 ******* 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-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/main.yml:149 Friday 29 December 2023 15:15:46 +0000 (0:00:00.027) 0:01:03.656 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/main.yml:155 Friday 29 December 2023 15:15:46 +0000 (0:00:00.025) 0:01:03.682 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_typet3mjxmqa/tests/playbooks/tasks/run_test.yml:36 Friday 29 December 2023 15:15:46 +0000 (0:00:00.134) 0:01:03.817 ******* included: /WORKDIR/git-route_typet3mjxmqa/tests/playbooks/tasks/assert_profile_absent.yml for sut included: /WORKDIR/git-route_typet3mjxmqa/tests/playbooks/tasks/get_NetworkManager_NVR.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typet3mjxmqa/tests/playbooks/tasks/assert_profile_absent.yml:3 Friday 29 December 2023 15:15:46 +0000 (0:00:00.075) 0:01:03.892 ******* included: /WORKDIR/git-route_typet3mjxmqa/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typet3mjxmqa/tests/playbooks/tasks/get_profile_stat.yml:3 Friday 29 December 2023 15:15:46 +0000 (0:00:00.038) 0:01:03.931 ******* 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-route_typet3mjxmqa/tests/playbooks/tasks/get_profile_stat.yml:9 Friday 29 December 2023 15:15:46 +0000 (0:00:00.026) 0:01:03.957 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_typet3mjxmqa/tests/playbooks/tasks/get_profile_stat.yml:17 Friday 29 December 2023 15:15:46 +0000 (0:00:00.131) 0:01:04.089 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typet3mjxmqa/tests/playbooks/tasks/get_profile_stat.yml:25 Friday 29 December 2023 15:15:46 +0000 (0:00:00.021) 0:01:04.110 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.005057", "end": "2023-12-29 15:15:47.166213", "rc": 1, "start": "2023-12-29 15:15:47.161156" } STDERR: /bin/sh: nmcli: command not found MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-route_typet3mjxmqa/tests/playbooks/tasks/get_profile_stat.yml:35 Friday 29 December 2023 15:15:47 +0000 (0:00:00.139) 0:01:04.250 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_typet3mjxmqa/tests/playbooks/tasks/get_profile_stat.yml:49 Friday 29 December 2023 15:15:47 +0000 (0:00:00.024) 0:01:04.274 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_typet3mjxmqa/tests/playbooks/tasks/get_profile_stat.yml:56 Friday 29 December 2023 15:15:47 +0000 (0:00:00.022) 0:01:04.297 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_typet3mjxmqa/tests/playbooks/tasks/get_profile_stat.yml:62 Friday 29 December 2023 15:15:47 +0000 (0:00:00.021) 0:01:04.319 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_typet3mjxmqa/tests/playbooks/tasks/get_profile_stat.yml:69 Friday 29 December 2023 15:15:47 +0000 (0:00:00.024) 0:01:04.344 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-route_typet3mjxmqa/tests/playbooks/tasks/assert_profile_absent.yml:5 Friday 29 December 2023 15:15:47 +0000 (0:00:00.026) 0:01:04.370 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /WORKDIR/git-route_typet3mjxmqa/tests/playbooks/tasks/get_NetworkManager_NVR.yml:7 Friday 29 December 2023 15:15:47 +0000 (0:00:00.024) 0:01:04.395 ******* ok: [sut] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.380120", "end": "2023-12-29 15:15:47.824675", "rc": 0, "start": "2023-12-29 15:15:47.444555" } TASK [Store NetworkManager version] ******************************************** task path: /WORKDIR/git-route_typet3mjxmqa/tests/playbooks/tasks/get_NetworkManager_NVR.yml:14 Friday 29 December 2023 15:15:47 +0000 (0:00:00.513) 0:01:04.909 ******* ok: [sut] => { "ansible_facts": { "networkmanager_nvr": "" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /WORKDIR/git-route_typet3mjxmqa/tests/playbooks/tasks/get_NetworkManager_NVR.yml:18 Friday 29 December 2023 15:15:47 +0000 (0:00:00.054) 0:01:04.963 ******* ok: [sut] => { "networkmanager_nvr": "" } TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typet3mjxmqa/tests/playbooks/tasks/run_test.yml:42 Friday 29 December 2023 15:15:47 +0000 (0:00:00.023) 0:01:04.986 ******* 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-route_typet3mjxmqa/tests/playbooks/tasks/run_test.yml:47 Friday 29 December 2023 15:15:47 +0000 (0:00:00.025) 0:01:05.011 ******* 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-route_typet3mjxmqa/tests/playbooks/tasks/run_test.yml:66 Friday 29 December 2023 15:15:47 +0000 (0:00:00.022) 0:01:05.033 ******* included: /WORKDIR/git-route_typet3mjxmqa/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_typet3mjxmqa/tests/playbooks/tasks/cleanup_profile+device.yml:3 Friday 29 December 2023 15:15:47 +0000 (0:00:00.041) 0:01:05.075 ******* 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.026961", "end": "2023-12-29 15:15:48.154818", "rc": 0, "start": "2023-12-29 15:15:48.127857" } STDERR: /bin/sh: nmcli: command not found /bin/sh: line 1: nmcli: command not found META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=332 changed=13 unreachable=0 failed=0 skipped=227 rescued=0 ignored=10 Friday 29 December 2023 15:15:48 +0000 (0:00:00.156) 0:01:05.232 ******* =============================================================================== linux-system-roles.network : Check which services are running ----------- 1.79s /WORKDIR/git-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.59s /WORKDIR/git-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.56s /WORKDIR/git-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.52s /WORKDIR/git-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.52s /WORKDIR/git-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.49s /WORKDIR/git-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Configure networking connection profiles --- 1.49s /WORKDIR/git-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Check which services are running ----------- 1.49s /WORKDIR/git-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.48s /WORKDIR/git-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.47s /WORKDIR/git-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.46s /WORKDIR/git-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.46s /WORKDIR/git-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.44s /WORKDIR/git-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.44s /WORKDIR/git-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.43s /WORKDIR/git-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.41s /WORKDIR/git-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Configure networking connection profiles --- 1.35s /WORKDIR/git-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Enable network service --------------------- 1.07s /WORKDIR/git-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/main.yml:105 linux-system-roles.network : Ensure initscripts network file dependency is present --- 1.03s /WORKDIR/git-route_typet3mjxmqa/tests/roles/linux-system-roles.network/tasks/main.yml:113 Gathering Facts --------------------------------------------------------- 0.90s /WORKDIR/git-route_typet3mjxmqa/tests/tests_states_initscripts.yml:4 ---------- ---^---^---^---^---^--- # 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. ---^---^---^---^---^---