# 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_typebobucd4n/tests/tests_states_initscripts.yml PLAY [Run playbook 'playbooks/tests_states.yml' with initscripts as provider] *** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-route_typebobucd4n/tests/tests_states_initscripts.yml:5 Tuesday 09 January 2024 20:14:23 +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_typebobucd4n/tests/tests_states_initscripts.yml:8 Tuesday 09 January 2024 20:14:24 +0000 (0:00:00.848) 0:00:00.860 ******* included: /WORKDIR/git-route_typebobucd4n/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_typebobucd4n/tests/tasks/el_repo_setup.yml:3 Tuesday 09 January 2024 20:14:24 +0000 (0:00:00.024) 0:00:00.885 ******* ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-route_typebobucd4n/tests/tasks/el_repo_setup.yml:19 Tuesday 09 January 2024 20:14:24 +0000 (0:00:00.253) 0:00:01.138 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-route_typebobucd4n/tests/tasks/el_repo_setup.yml:24 Tuesday 09 January 2024 20:14:24 +0000 (0:00:00.212) 0:00:01.350 ******* ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-route_typebobucd4n/tests/tasks/el_repo_setup.yml:28 Tuesday 09 January 2024 20:14:24 +0000 (0:00:00.043) 0:00:01.394 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-route_typebobucd4n/tests/tasks/el_repo_setup.yml:53 Tuesday 09 January 2024 20:14:24 +0000 (0:00:00.030) 0:00:01.424 ******* included: /WORKDIR/git-route_typebobucd4n/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 6] *********************************************************** task path: /WORKDIR/git-route_typebobucd4n/tests/tasks/enable_epel.yml:8 Tuesday 09 January 2024 20:14:25 +0000 (0:00:00.074) 0:00:01.499 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Install yum-utils package] *********************************************** task path: /WORKDIR/git-route_typebobucd4n/tests/tasks/enable_epel.yml:24 Tuesday 09 January 2024 20:14:25 +0000 (0:00:00.021) 0:00:01.520 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-route_typebobucd4n/tests/tasks/enable_epel.yml:30 Tuesday 09 January 2024 20:14:25 +0000 (0:00:00.017) 0:00:01.538 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-route_typebobucd4n/tests/tasks/enable_epel.yml:35 Tuesday 09 January 2024 20:14:25 +0000 (0:00:00.011) 0:00:01.550 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-route_typebobucd4n/tests/tasks/enable_epel.yml:40 Tuesday 09 January 2024 20:14:25 +0000 (0:00:00.012) 0:00:01.563 ******* 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_typebobucd4n/tests/tests_states_initscripts.yml:10 Tuesday 09 January 2024 20:14:25 +0000 (0:00:00.504) 0:00:02.067 ******* 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_typebobucd4n/tests/playbooks/tests_states.yml:3 Tuesday 09 January 2024 20:14:25 +0000 (0:00:00.011) 0:00:02.079 ******* ok: [sut] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tests_states.yml:11 Tuesday 09 January 2024 20:14:26 +0000 (0:00:00.657) 0:00:02.736 ******* ok: [sut] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tests_states.yml:22 Tuesday 09 January 2024 20:14:26 +0000 (0:00:00.012) 0:00:02.749 ******* included: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile] ******************************************** task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/run_test.yml:5 Tuesday 09 January 2024 20:14:26 +0000 (0:00:00.019) 0:00:02.768 ******* ok: [sut] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/run_test.yml:9 Tuesday 09 January 2024 20:14:26 +0000 (0:00:00.012) 0:00:02.780 ******* 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_typebobucd4n/tests/playbooks/tasks/run_test.yml:21 Tuesday 09 January 2024 20:14:26 +0000 (0:00:00.037) 0:00:02.818 ******* included: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 09 January 2024 20:14:26 +0000 (0:00:00.017) 0:00:02.835 ******* included: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 09 January 2024 20:14:26 +0000 (0:00:00.027) 0:00:02.863 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003638", "end": "2024-01-09 20:14:26.667453", "rc": 0, "start": "2024-01-09 20:14:26.663815" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 09 January 2024 20:14:26 +0000 (0:00:00.214) 0:00:03.077 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 09 January 2024 20:14:26 +0000 (0:00:00.013) 0:00:03.091 ******* ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/run_test.yml:24 Tuesday 09 January 2024 20:14:26 +0000 (0:00:00.012) 0:00:03.104 ******* included: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/delete_interface.yml:3 Tuesday 09 January 2024 20:14:26 +0000 (0:00:00.023) 0:00:03.128 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.038363", "end": "2024-01-09 20:14:26.891297", "rc": 255, "start": "2024-01-09 20:14:26.852934" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 09 January 2024 20:14:26 +0000 (0:00:00.174) 0:00:03.302 ******* included: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 09 January 2024 20:14:26 +0000 (0:00:00.029) 0:00:03.331 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 09 January 2024 20:14:27 +0000 (0:00:00.139) 0:00:03.471 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/run_test.yml:30 Tuesday 09 January 2024 20:14:27 +0000 (0:00:00.022) 0:00:03.494 ******* included: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 09 January 2024 20:14:27 +0000 (0:00:00.026) 0:00:03.520 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 20:14:27 +0000 (0:00:00.039) 0:00:03.560 ******* included: /WORKDIR/git-route_typebobucd4n/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_typebobucd4n/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 20:14:27 +0000 (0:00:00.088) 0:00:03.648 ******* 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_typebobucd4n/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 20:14:27 +0000 (0:00:00.015) 0:00:03.664 ******* 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_typebobucd4n/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 20:14:27 +0000 (0:00:00.012) 0:00:03.676 ******* 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_typebobucd4n/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 20:14:27 +0000 (0:00:00.011) 0:00:03.688 ******* 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_typebobucd4n/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 20:14:29 +0000 (0:00:01.893) 0:00:05.582 ******* 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_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 20:14:29 +0000 (0:00:00.749) 0:00:06.332 ******* 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_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 20:14:29 +0000 (0:00:00.024) 0:00:06.356 ******* 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_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 20:14:29 +0000 (0:00:00.020) 0:00:06.377 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 20:14:29 +0000 (0:00:00.020) 0:00:06.397 ******* 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_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 20:14:29 +0000 (0:00:00.044) 0:00:06.441 ******* 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_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 20:14:30 +0000 (0:00:00.021) 0:00:06.462 ******* 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_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 20:14:30 +0000 (0:00:00.021) 0:00:06.484 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 20:14:30 +0000 (0:00:00.024) 0:00:06.508 ******* 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_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 20:14:30 +0000 (0:00:00.037) 0:00:06.546 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 20:14:30 +0000 (0:00:00.021) 0:00:06.568 ******* 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_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 20:14:30 +0000 (0:00:00.292) 0:00:06.860 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-152525aql9eym/tmpu9rb4139" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 20:14:30 +0000 (0:00:00.288) 0:00:07.148 ******* 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_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 20:14:31 +0000 (0:00:00.396) 0:00:07.545 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-route_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 20:14:31 +0000 (0:00:00.022) 0:00:07.568 ******* 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_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 20:14:31 +0000 (0:00:00.022) 0:00:07.590 ******* 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_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 20:14:31 +0000 (0:00:00.028) 0:00:07.619 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 20:14:31 +0000 (0:00:00.029) 0:00:07.649 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 09 January 2024 20:14:31 +0000 (0:00:00.248) 0:00:07.897 ******* 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_typebobucd4n/tests/playbooks/tasks/run_test.yml:36 Tuesday 09 January 2024 20:14:31 +0000 (0:00:00.090) 0:00:07.987 ******* included: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 09 January 2024 20:14:31 +0000 (0:00:00.063) 0:00:08.051 ******* included: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 09 January 2024 20:14:31 +0000 (0:00:00.083) 0:00:08.134 ******* 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_typebobucd4n/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 09 January 2024 20:14:31 +0000 (0:00:00.025) 0:00:08.160 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1704831271.1206, "block_size": 4096, "blocks": 8, "ctime": 1704831271.1206, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 3668, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1704831271.1206, "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_typebobucd4n/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 09 January 2024 20:14:31 +0000 (0:00:00.178) 0:00:08.338 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 09 January 2024 20:14:31 +0000 (0:00:00.049) 0:00:08.387 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.005772", "end": "2024-01-09 20:14:32.122477", "rc": 1, "start": "2024-01-09 20:14:32.116705" } 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_typebobucd4n/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 09 January 2024 20:14:32 +0000 (0:00:00.164) 0:00:08.552 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 09 January 2024 20:14:32 +0000 (0:00:00.042) 0:00:08.594 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003537", "end": "2024-01-09 20:14:32.330148", "rc": 0, "start": "2024-01-09 20:14:32.326611" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 09 January 2024 20:14:32 +0000 (0:00:00.158) 0:00:08.752 ******* 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_typebobucd4n/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 09 January 2024 20:14:32 +0000 (0:00:00.027) 0:00:08.779 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003504", "end": "2024-01-09 20:14:32.508803", "rc": 0, "start": "2024-01-09 20:14:32.505299" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 09 January 2024 20:14:32 +0000 (0:00:00.150) 0:00:08.930 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 09 January 2024 20:14:32 +0000 (0:00:00.027) 0:00:08.957 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 09 January 2024 20:14:32 +0000 (0:00:00.027) 0:00:08.985 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 09 January 2024 20:14:32 +0000 (0:00:00.026) 0:00:09.011 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/run_test.yml:42 Tuesday 09 January 2024 20:14:32 +0000 (0:00:00.042) 0:00:09.053 ******* 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_typebobucd4n/tests/playbooks/tasks/run_test.yml:47 Tuesday 09 January 2024 20:14:32 +0000 (0:00:00.029) 0:00:09.083 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/run_test.yml:66 Tuesday 09 January 2024 20:14:32 +0000 (0:00:00.021) 0:00:09.104 ******* included: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 09 January 2024 20:14:32 +0000 (0:00:00.061) 0:00:09.166 ******* 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.031793", "end": "2024-01-09 20:14:32.922217", "rc": 255, "start": "2024-01-09 20:14:32.890424" } 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_typebobucd4n/tests/playbooks/tests_states.yml:45 Tuesday 09 January 2024 20:14:32 +0000 (0:00:00.182) 0:00:09.348 ******* included: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile without autoconnect] ************************ task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/run_test.yml:5 Tuesday 09 January 2024 20:14:32 +0000 (0:00:00.041) 0:00:09.389 ******* ok: [sut] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/run_test.yml:9 Tuesday 09 January 2024 20:14:32 +0000 (0:00:00.023) 0:00:09.412 ******* 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_typebobucd4n/tests/playbooks/tasks/run_test.yml:21 Tuesday 09 January 2024 20:14:33 +0000 (0:00:00.046) 0:00:09.458 ******* included: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 09 January 2024 20:14:33 +0000 (0:00:00.040) 0:00:09.499 ******* included: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 09 January 2024 20:14:33 +0000 (0:00:00.036) 0:00:09.535 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003760", "end": "2024-01-09 20:14:33.273734", "rc": 0, "start": "2024-01-09 20:14:33.269974" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 09 January 2024 20:14:33 +0000 (0:00:00.159) 0:00:09.694 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 09 January 2024 20:14:33 +0000 (0:00:00.021) 0:00:09.716 ******* ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/run_test.yml:24 Tuesday 09 January 2024 20:14:33 +0000 (0:00:00.020) 0:00:09.737 ******* included: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/delete_interface.yml:3 Tuesday 09 January 2024 20:14:33 +0000 (0:00:00.040) 0:00:09.777 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.005173", "end": "2024-01-09 20:14:33.520978", "rc": 255, "start": "2024-01-09 20:14:33.515805" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 09 January 2024 20:14:33 +0000 (0:00:00.167) 0:00:09.945 ******* included: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 09 January 2024 20:14:33 +0000 (0:00:00.074) 0:00:10.020 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 09 January 2024 20:14:33 +0000 (0:00:00.185) 0:00:10.205 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/run_test.yml:30 Tuesday 09 January 2024 20:14:33 +0000 (0:00:00.032) 0:00:10.237 ******* included: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Tuesday 09 January 2024 20:14:33 +0000 (0:00:00.048) 0:00:10.285 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 20:14:33 +0000 (0:00:00.049) 0:00:10.334 ******* included: /WORKDIR/git-route_typebobucd4n/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_typebobucd4n/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 20:14:33 +0000 (0:00:00.042) 0:00:10.376 ******* 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_typebobucd4n/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 20:14:33 +0000 (0:00:00.028) 0:00:10.405 ******* 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_typebobucd4n/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 20:14:33 +0000 (0:00:00.037) 0:00:10.442 ******* 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_typebobucd4n/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 20:14:34 +0000 (0:00:00.038) 0:00:10.481 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-route_typebobucd4n/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 20:14:35 +0000 (0:00:01.661) 0:00:12.142 ******* 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_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 20:14:36 +0000 (0:00:00.644) 0:00:12.787 ******* 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_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 20:14:36 +0000 (0:00:00.024) 0:00:12.812 ******* 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_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 20:14:36 +0000 (0:00:00.022) 0:00:12.835 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 20:14:36 +0000 (0:00:00.021) 0:00:12.857 ******* 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_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 20:14:36 +0000 (0:00:00.042) 0:00:12.900 ******* 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_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 20:14:36 +0000 (0:00:00.023) 0:00:12.923 ******* 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_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 20:14:36 +0000 (0:00:00.021) 0:00:12.944 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 20:14:36 +0000 (0:00:00.028) 0:00:12.973 ******* 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_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 20:14:36 +0000 (0:00:00.022) 0:00:12.995 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 20:14:36 +0000 (0:00:00.024) 0:00:13.020 ******* 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_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 20:14:36 +0000 (0:00:00.237) 0:00:13.257 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-152525aql9eym/tmpsmmwjyhd" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 20:14:37 +0000 (0:00:00.249) 0:00:13.507 ******* 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_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 20:14:37 +0000 (0:00:00.267) 0:00:13.775 ******* 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_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 20:14:37 +0000 (0:00:00.021) 0:00:13.797 ******* 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_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 20:14:37 +0000 (0:00:00.038) 0:00:13.835 ******* 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_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 20:14:37 +0000 (0:00:00.023) 0:00:13.859 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 20:14:37 +0000 (0:00:00.021) 0:00:13.881 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Tuesday 09 January 2024 20:14:37 +0000 (0:00:00.143) 0:00:14.024 ******* 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_typebobucd4n/tests/playbooks/tasks/run_test.yml:36 Tuesday 09 January 2024 20:14:37 +0000 (0:00:00.027) 0:00:14.052 ******* included: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/assert_device_absent.yml for sut included: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 09 January 2024 20:14:37 +0000 (0:00:00.047) 0:00:14.100 ******* included: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 09 January 2024 20:14:37 +0000 (0:00:00.034) 0:00:14.134 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 09 January 2024 20:14:37 +0000 (0:00:00.141) 0:00:14.276 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 09 January 2024 20:14:37 +0000 (0:00:00.023) 0:00:14.300 ******* included: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 09 January 2024 20:14:37 +0000 (0:00:00.061) 0:00:14.361 ******* 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_typebobucd4n/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 09 January 2024 20:14:37 +0000 (0:00:00.022) 0:00:14.383 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1704831277.3496, "block_size": 4096, "blocks": 8, "ctime": 1704831277.3496, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 3668, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1704831277.3496, "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_typebobucd4n/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 09 January 2024 20:14:38 +0000 (0:00:00.161) 0:00:14.545 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 09 January 2024 20:14:38 +0000 (0:00:00.035) 0:00:14.580 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.005787", "end": "2024-01-09 20:14:38.330945", "rc": 1, "start": "2024-01-09 20:14:38.325158" } 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_typebobucd4n/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 09 January 2024 20:14:38 +0000 (0:00:00.169) 0:00:14.750 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 09 January 2024 20:14:38 +0000 (0:00:00.022) 0:00:14.772 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003491", "end": "2024-01-09 20:14:38.503850", "rc": 0, "start": "2024-01-09 20:14:38.500359" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 09 January 2024 20:14:38 +0000 (0:00:00.166) 0:00:14.939 ******* 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_typebobucd4n/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 09 January 2024 20:14:38 +0000 (0:00:00.037) 0:00:14.976 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003500", "end": "2024-01-09 20:14:38.710866", "rc": 0, "start": "2024-01-09 20:14:38.707366" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 09 January 2024 20:14:38 +0000 (0:00:00.155) 0:00:15.132 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 09 January 2024 20:14:38 +0000 (0:00:00.028) 0:00:15.160 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 09 January 2024 20:14:38 +0000 (0:00:00.032) 0:00:15.192 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 09 January 2024 20:14:38 +0000 (0:00:00.025) 0:00:15.218 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/run_test.yml:42 Tuesday 09 January 2024 20:14:38 +0000 (0:00:00.022) 0:00:15.240 ******* TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/run_test.yml:47 Tuesday 09 January 2024 20:14:38 +0000 (0:00:00.019) 0:00:15.260 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/run_test.yml:66 Tuesday 09 January 2024 20:14:38 +0000 (0:00:00.028) 0:00:15.288 ******* included: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 09 January 2024 20:14:38 +0000 (0:00:00.067) 0:00:15.356 ******* 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.011540", "end": "2024-01-09 20:14:39.092692", "rc": 255, "start": "2024-01-09 20:14:39.081152" } 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_typebobucd4n/tests/playbooks/tests_states.yml:65 Tuesday 09 January 2024 20:14:39 +0000 (0:00:00.165) 0:00:15.522 ******* included: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can activate an existing profile] ******************************** task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/run_test.yml:5 Tuesday 09 January 2024 20:14:39 +0000 (0:00:00.041) 0:00:15.563 ******* ok: [sut] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/run_test.yml:9 Tuesday 09 January 2024 20:14:39 +0000 (0:00:00.026) 0:00:15.590 ******* 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_typebobucd4n/tests/playbooks/tasks/run_test.yml:21 Tuesday 09 January 2024 20:14:39 +0000 (0:00:00.046) 0:00:15.636 ******* included: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 09 January 2024 20:14:39 +0000 (0:00:00.053) 0:00:15.690 ******* included: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 09 January 2024 20:14:39 +0000 (0:00:00.041) 0:00:15.731 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003611", "end": "2024-01-09 20:14:39.465437", "rc": 0, "start": "2024-01-09 20:14:39.461826" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 09 January 2024 20:14:39 +0000 (0:00:00.156) 0:00:15.887 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 09 January 2024 20:14:39 +0000 (0:00:00.025) 0:00:15.912 ******* ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/run_test.yml:24 Tuesday 09 January 2024 20:14:39 +0000 (0:00:00.027) 0:00:15.940 ******* included: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 09 January 2024 20:14:39 +0000 (0:00:00.038) 0:00:15.979 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 20:14:39 +0000 (0:00:00.061) 0:00:16.041 ******* included: /WORKDIR/git-route_typebobucd4n/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_typebobucd4n/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 20:14:39 +0000 (0:00:00.039) 0:00:16.080 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-route_typebobucd4n/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 20:14:39 +0000 (0:00:00.025) 0:00:16.106 ******* 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_typebobucd4n/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 20:14:39 +0000 (0:00:00.020) 0:00:16.127 ******* 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_typebobucd4n/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 20:14:39 +0000 (0:00:00.021) 0:00:16.148 ******* 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_typebobucd4n/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 20:14:41 +0000 (0:00:01.592) 0:00:17.741 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-route_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 20:14:41 +0000 (0:00:00.633) 0:00:18.375 ******* 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_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 20:14:41 +0000 (0:00:00.023) 0:00:18.398 ******* 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_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 20:14:41 +0000 (0:00:00.021) 0:00:18.420 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 20:14:41 +0000 (0:00:00.021) 0:00:18.441 ******* 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_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 20:14:42 +0000 (0:00:00.057) 0:00:18.498 ******* 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_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 20:14:42 +0000 (0:00:00.028) 0:00:18.527 ******* 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_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 20:14:42 +0000 (0:00:00.027) 0:00:18.554 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 20:14:42 +0000 (0:00:00.026) 0:00:18.581 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-route_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 20:14:42 +0000 (0:00:00.025) 0:00:18.606 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 20:14:42 +0000 (0:00:00.026) 0:00:18.633 ******* 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_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 20:14:42 +0000 (0:00:00.236) 0:00:18.869 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-152525aql9eym/tmpdpfcagph" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 20:14:42 +0000 (0:00:00.344) 0:00:19.214 ******* 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_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 20:14:43 +0000 (0:00:00.269) 0:00:19.483 ******* 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_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 20:14:43 +0000 (0:00:00.022) 0:00:19.506 ******* 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_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 20:14:43 +0000 (0:00:00.027) 0:00:19.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_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 20:14:43 +0000 (0:00:00.057) 0:00:19.590 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 20:14:43 +0000 (0:00:00.022) 0:00:19.613 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 09 January 2024 20:14:43 +0000 (0:00:00.159) 0:00:19.772 ******* 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_typebobucd4n/tests/playbooks/tasks/run_test.yml:30 Tuesday 09 January 2024 20:14:43 +0000 (0:00:00.031) 0:00:19.804 ******* included: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 09 January 2024 20:14:43 +0000 (0:00:00.066) 0:00:19.870 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 20:14:43 +0000 (0:00:00.051) 0:00:19.922 ******* included: /WORKDIR/git-route_typebobucd4n/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_typebobucd4n/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 20:14:43 +0000 (0:00:00.041) 0:00:19.964 ******* 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_typebobucd4n/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 20:14:43 +0000 (0:00:00.029) 0:00:19.993 ******* 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_typebobucd4n/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 20:14:43 +0000 (0:00:00.032) 0:00:20.026 ******* 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_typebobucd4n/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 20:14:43 +0000 (0:00:00.029) 0:00:20.056 ******* 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_typebobucd4n/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 20:14:45 +0000 (0:00:01.573) 0:00:21.629 ******* 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_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 20:14:45 +0000 (0:00:00.634) 0:00:22.263 ******* 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_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 20:14:45 +0000 (0:00:00.023) 0:00:22.287 ******* 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_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 20:14:45 +0000 (0:00:00.029) 0:00:22.317 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 20:14:45 +0000 (0:00:00.022) 0:00:22.339 ******* 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_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 20:14:45 +0000 (0:00:00.051) 0:00:22.391 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-route_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 20:14:45 +0000 (0:00:00.024) 0:00:22.415 ******* 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_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 20:14:45 +0000 (0:00:00.026) 0:00:22.442 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 20:14:46 +0000 (0:00:00.025) 0:00:22.468 ******* 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_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 20:14:46 +0000 (0:00:00.022) 0:00:22.491 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 20:14:46 +0000 (0:00:00.021) 0:00:22.512 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 20:14:46 +0000 (0:00:00.233) 0:00:22.746 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-152525aql9eym/tmp2qp17yrb" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 20:14:46 +0000 (0:00:00.237) 0:00:22.984 ******* 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_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 20:14:47 +0000 (0:00:00.603) 0:00:23.587 ******* 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_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 20:14:47 +0000 (0:00:00.023) 0:00:23.610 ******* 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_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 20:14:47 +0000 (0:00:00.023) 0:00:23.633 ******* 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_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 20:14:47 +0000 (0:00:00.022) 0:00:23.656 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 20:14:47 +0000 (0:00:00.023) 0:00:23.680 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/run_test.yml:36 Tuesday 09 January 2024 20:14:47 +0000 (0:00:00.142) 0:00:23.822 ******* included: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 09 January 2024 20:14:47 +0000 (0:00:00.046) 0:00:23.868 ******* included: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 09 January 2024 20:14:47 +0000 (0:00:00.036) 0:00:23.905 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1704831287.0866, "block_size": 4096, "blocks": 0, "ctime": 1704831287.0856001, "dev": 0, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 6521, "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": 1704831287.0856001, "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_typebobucd4n/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 09 January 2024 20:14:47 +0000 (0:00:00.149) 0:00:24.055 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 09 January 2024 20:14:47 +0000 (0:00:00.024) 0:00:24.079 ******* included: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 09 January 2024 20:14:47 +0000 (0:00:00.058) 0:00:24.138 ******* 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_typebobucd4n/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 09 January 2024 20:14:47 +0000 (0:00:00.021) 0:00:24.160 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1704831284.7836, "block_size": 4096, "blocks": 8, "ctime": 1704831283.0566, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 3668, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1704831283.0566, "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_typebobucd4n/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 09 January 2024 20:14:47 +0000 (0:00:00.142) 0:00:24.303 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 09 January 2024 20:14:47 +0000 (0:00:00.022) 0:00:24.325 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.005697", "end": "2024-01-09 20:14:48.054777", "rc": 1, "start": "2024-01-09 20:14:48.049080" } 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_typebobucd4n/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 09 January 2024 20:14:48 +0000 (0:00:00.148) 0:00:24.473 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 09 January 2024 20:14:48 +0000 (0:00:00.027) 0:00:24.501 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003505", "end": "2024-01-09 20:14:48.236069", "rc": 0, "start": "2024-01-09 20:14:48.232564" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 09 January 2024 20:14:48 +0000 (0:00:00.157) 0:00:24.659 ******* 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_typebobucd4n/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 09 January 2024 20:14:48 +0000 (0:00:00.028) 0:00:24.687 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003515", "end": "2024-01-09 20:14:48.417650", "rc": 0, "start": "2024-01-09 20:14:48.414135" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 09 January 2024 20:14:48 +0000 (0:00:00.152) 0:00:24.839 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 09 January 2024 20:14:48 +0000 (0:00:00.027) 0:00:24.867 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 09 January 2024 20:14:48 +0000 (0:00:00.023) 0:00:24.890 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 09 January 2024 20:14:48 +0000 (0:00:00.023) 0:00:24.914 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/run_test.yml:42 Tuesday 09 January 2024 20:14:48 +0000 (0:00:00.024) 0:00:24.939 ******* TASK [Success in test 'I can activate an existing profile'] ******************** task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/run_test.yml:47 Tuesday 09 January 2024 20:14:48 +0000 (0:00:00.019) 0:00:24.958 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/run_test.yml:66 Tuesday 09 January 2024 20:14:48 +0000 (0:00:00.023) 0:00:24.982 ******* included: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 09 January 2024 20:14:48 +0000 (0:00:00.068) 0:00:25.050 ******* 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.017880", "end": "2024-01-09 20:14:48.792405", "rc": 0, "start": "2024-01-09 20:14:48.774525" } 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_typebobucd4n/tests/playbooks/tests_states.yml:83 Tuesday 09 January 2024 20:14:48 +0000 (0:00:00.168) 0:00:25.219 ******* included: /WORKDIR/git-route_typebobucd4n/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_typebobucd4n/tests/playbooks/tasks/run_test.yml:5 Tuesday 09 January 2024 20:14:48 +0000 (0:00:00.037) 0:00:25.256 ******* ok: [sut] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/run_test.yml:9 Tuesday 09 January 2024 20:14:48 +0000 (0:00:00.022) 0:00:25.279 ******* 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_typebobucd4n/tests/playbooks/tasks/run_test.yml:21 Tuesday 09 January 2024 20:14:48 +0000 (0:00:00.045) 0:00:25.324 ******* included: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 09 January 2024 20:14:48 +0000 (0:00:00.035) 0:00:25.359 ******* included: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 09 January 2024 20:14:48 +0000 (0:00:00.033) 0:00:25.393 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003577", "end": "2024-01-09 20:14:49.133286", "rc": 0, "start": "2024-01-09 20:14:49.129709" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 09 January 2024 20:14:49 +0000 (0:00:00.162) 0:00:25.556 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 09 January 2024 20:14:49 +0000 (0:00:00.025) 0:00:25.581 ******* ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/run_test.yml:24 Tuesday 09 January 2024 20:14:49 +0000 (0:00:00.022) 0:00:25.604 ******* included: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 09 January 2024 20:14:49 +0000 (0:00:00.041) 0:00:25.645 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 20:14:49 +0000 (0:00:00.062) 0:00:25.708 ******* included: /WORKDIR/git-route_typebobucd4n/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_typebobucd4n/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 20:14:49 +0000 (0:00:00.039) 0:00:25.747 ******* 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_typebobucd4n/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 20:14:49 +0000 (0:00:00.026) 0:00:25.773 ******* 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_typebobucd4n/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 20:14:49 +0000 (0:00:00.021) 0:00:25.795 ******* 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_typebobucd4n/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 20:14:49 +0000 (0:00:00.021) 0:00:25.816 ******* 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_typebobucd4n/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 20:14:51 +0000 (0:00:01.646) 0:00:27.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_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 20:14:51 +0000 (0:00:00.647) 0:00:28.110 ******* 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_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 20:14:51 +0000 (0:00:00.027) 0:00:28.138 ******* 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_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 20:14:51 +0000 (0:00:00.023) 0:00:28.162 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 20:14:51 +0000 (0:00:00.023) 0:00:28.185 ******* 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_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 20:14:51 +0000 (0:00:00.053) 0:00:28.239 ******* 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_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 20:14:51 +0000 (0:00:00.036) 0:00:28.276 ******* 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_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 20:14:51 +0000 (0:00:00.042) 0:00:28.319 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 20:14:51 +0000 (0:00:00.027) 0:00:28.346 ******* 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_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 20:14:51 +0000 (0:00:00.024) 0:00:28.371 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 20:14:51 +0000 (0:00:00.021) 0:00:28.393 ******* 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_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 20:14:52 +0000 (0:00:00.206) 0:00:28.599 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-152525aql9eym/tmpgqdy34gh" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 20:14:52 +0000 (0:00:00.228) 0:00:28.828 ******* 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_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 20:14:52 +0000 (0:00:00.313) 0:00:29.141 ******* 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_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 20:14:52 +0000 (0:00:00.023) 0:00:29.165 ******* 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_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 20:14:52 +0000 (0:00:00.028) 0:00:29.193 ******* 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_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 20:14:52 +0000 (0:00:00.114) 0:00:29.307 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 20:14:52 +0000 (0:00:00.064) 0:00:29.372 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 09 January 2024 20:14:53 +0000 (0:00:00.196) 0:00:29.568 ******* 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_typebobucd4n/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 09 January 2024 20:14:53 +0000 (0:00:00.081) 0:00:29.650 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 20:14:53 +0000 (0:00:00.077) 0:00:29.727 ******* included: /WORKDIR/git-route_typebobucd4n/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_typebobucd4n/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 20:14:53 +0000 (0:00:00.046) 0:00:29.773 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-route_typebobucd4n/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 20:14:53 +0000 (0:00:00.047) 0:00:29.821 ******* 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_typebobucd4n/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 20:14:53 +0000 (0:00:00.039) 0:00:29.861 ******* 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_typebobucd4n/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 20:14:53 +0000 (0:00:00.043) 0:00:29.904 ******* 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_typebobucd4n/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 20:14:55 +0000 (0:00:01.657) 0:00:31.561 ******* 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_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 20:14:55 +0000 (0:00:00.698) 0:00:32.260 ******* 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_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 20:14:55 +0000 (0:00:00.030) 0:00:32.291 ******* 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_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 20:14:55 +0000 (0:00:00.025) 0:00:32.316 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 20:14:55 +0000 (0:00:00.022) 0:00:32.338 ******* 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_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 20:14:55 +0000 (0:00:00.053) 0:00:32.392 ******* 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_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 20:14:55 +0000 (0:00:00.029) 0:00:32.422 ******* 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_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 20:14:56 +0000 (0:00:00.033) 0:00:32.455 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 20:14:56 +0000 (0:00:00.028) 0:00:32.484 ******* 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_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 20:14:56 +0000 (0:00:00.023) 0:00:32.507 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 20:14:56 +0000 (0:00:00.024) 0:00:32.532 ******* 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_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 20:14:56 +0000 (0:00:00.217) 0:00:32.750 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-152525aql9eym/tmpbjtoul0k" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 20:14:56 +0000 (0:00:00.217) 0:00:32.968 ******* 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_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 20:14:56 +0000 (0:00:00.396) 0:00:33.364 ******* 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_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 20:14:56 +0000 (0:00:00.043) 0:00:33.408 ******* 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_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 20:14:56 +0000 (0:00:00.024) 0:00:33.432 ******* 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_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 20:14:57 +0000 (0:00:00.022) 0:00:33.455 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 20:14:57 +0000 (0:00:00.022) 0:00:33.477 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/run_test.yml:30 Tuesday 09 January 2024 20:14:57 +0000 (0:00:00.137) 0:00:33.615 ******* included: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/remove_profile.yml:3 Tuesday 09 January 2024 20:14:57 +0000 (0:00:00.038) 0:00:33.654 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 20:14:57 +0000 (0:00:00.039) 0:00:33.694 ******* included: /WORKDIR/git-route_typebobucd4n/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_typebobucd4n/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 20:14:57 +0000 (0:00:00.041) 0:00:33.735 ******* 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_typebobucd4n/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 20:14:57 +0000 (0:00:00.026) 0:00:33.762 ******* 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_typebobucd4n/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 20:14:57 +0000 (0:00:00.022) 0:00:33.784 ******* 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_typebobucd4n/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 20:14:57 +0000 (0:00:00.021) 0:00:33.806 ******* 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_typebobucd4n/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 20:14:58 +0000 (0:00:01.592) 0:00:35.399 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-route_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 20:14:59 +0000 (0:00:00.618) 0:00:36.018 ******* 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_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 20:14:59 +0000 (0:00:00.023) 0:00:36.041 ******* 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_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 20:14:59 +0000 (0:00:00.021) 0:00:36.063 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 20:14:59 +0000 (0:00:00.021) 0:00:36.084 ******* 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_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 20:14:59 +0000 (0:00:00.043) 0:00:36.128 ******* 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_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 20:14:59 +0000 (0:00:00.025) 0:00:36.153 ******* 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_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 20:14:59 +0000 (0:00:00.034) 0:00:36.188 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 20:14:59 +0000 (0:00:00.068) 0:00:36.256 ******* 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_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 20:14:59 +0000 (0:00:00.067) 0:00:36.324 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 20:14:59 +0000 (0:00:00.031) 0:00:36.355 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 20:15:00 +0000 (0:00:00.261) 0:00:36.616 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-152525aql9eym/tmpvvuvbulr" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 20:15:00 +0000 (0:00:00.252) 0:00:36.868 ******* 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_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 20:15:00 +0000 (0:00:00.273) 0:00:37.142 ******* 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_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 20:15:00 +0000 (0:00:00.024) 0:00:37.166 ******* 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_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 20:15:00 +0000 (0:00:00.025) 0:00:37.192 ******* 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_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 20:15:00 +0000 (0:00:00.023) 0:00:37.215 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 20:15:00 +0000 (0:00:00.022) 0:00:37.237 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/run_test.yml:36 Tuesday 09 January 2024 20:15:00 +0000 (0:00:00.138) 0:00:37.375 ******* included: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 09 January 2024 20:15:00 +0000 (0:00:00.044) 0:00:37.420 ******* included: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 09 January 2024 20:15:01 +0000 (0:00:00.036) 0:00:37.457 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1704831296.8676, "block_size": 4096, "blocks": 0, "ctime": 1704831296.8666, "dev": 0, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 6521, "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": 1704831296.8666, "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_typebobucd4n/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 09 January 2024 20:15:01 +0000 (0:00:00.171) 0:00:37.628 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/assert_profile_absent.yml:3 Tuesday 09 January 2024 20:15:01 +0000 (0:00:00.024) 0:00:37.653 ******* included: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 09 January 2024 20:15:01 +0000 (0:00:00.038) 0:00:37.691 ******* 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_typebobucd4n/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 09 January 2024 20:15:01 +0000 (0:00:00.022) 0:00:37.714 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 09 January 2024 20:15:01 +0000 (0:00:00.141) 0:00:37.856 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 09 January 2024 20:15:01 +0000 (0:00:00.021) 0:00:37.878 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.005715", "end": "2024-01-09 20:15:01.615196", "rc": 1, "start": "2024-01-09 20:15:01.609481" } 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_typebobucd4n/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 09 January 2024 20:15:01 +0000 (0:00:00.156) 0:00:38.034 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 09 January 2024 20:15:01 +0000 (0:00:00.021) 0:00:38.056 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 09 January 2024 20:15:01 +0000 (0:00:00.022) 0:00:38.079 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 09 January 2024 20:15:01 +0000 (0:00:00.021) 0:00:38.100 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 09 January 2024 20:15:01 +0000 (0:00:00.024) 0:00:38.124 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/assert_profile_absent.yml:5 Tuesday 09 January 2024 20:15:01 +0000 (0:00:00.027) 0:00:38.151 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/run_test.yml:42 Tuesday 09 January 2024 20:15:01 +0000 (0:00:00.028) 0:00:38.179 ******* TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/run_test.yml:47 Tuesday 09 January 2024 20:15:01 +0000 (0:00:00.025) 0:00:38.205 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/run_test.yml:66 Tuesday 09 January 2024 20:15:01 +0000 (0:00:00.022) 0:00:38.227 ******* included: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 09 January 2024 20:15:01 +0000 (0:00:00.065) 0:00:38.293 ******* 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.027495", "end": "2024-01-09 20:15:02.046368", "rc": 0, "start": "2024-01-09 20:15:02.018873" } 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_typebobucd4n/tests/playbooks/tests_states.yml:103 Tuesday 09 January 2024 20:15:02 +0000 (0:00:00.178) 0:00:38.472 ******* included: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can take a profile down that is absent] ************************** task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/run_test.yml:5 Tuesday 09 January 2024 20:15:02 +0000 (0:00:00.036) 0:00:38.508 ******* ok: [sut] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/run_test.yml:9 Tuesday 09 January 2024 20:15:02 +0000 (0:00:00.023) 0:00:38.532 ******* 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_typebobucd4n/tests/playbooks/tasks/run_test.yml:21 Tuesday 09 January 2024 20:15:02 +0000 (0:00:00.048) 0:00:38.580 ******* included: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 09 January 2024 20:15:02 +0000 (0:00:00.040) 0:00:38.621 ******* included: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 09 January 2024 20:15:02 +0000 (0:00:00.043) 0:00:38.664 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003694", "end": "2024-01-09 20:15:02.423351", "rc": 0, "start": "2024-01-09 20:15:02.419657" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 09 January 2024 20:15:02 +0000 (0:00:00.180) 0:00:38.845 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 09 January 2024 20:15:02 +0000 (0:00:00.025) 0:00:38.871 ******* ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/run_test.yml:24 Tuesday 09 January 2024 20:15:02 +0000 (0:00:00.022) 0:00:38.893 ******* included: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 09 January 2024 20:15:02 +0000 (0:00:00.043) 0:00:38.936 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 20:15:02 +0000 (0:00:00.064) 0:00:39.000 ******* included: /WORKDIR/git-route_typebobucd4n/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_typebobucd4n/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 20:15:02 +0000 (0:00:00.040) 0:00:39.040 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-route_typebobucd4n/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 20:15:02 +0000 (0:00:00.027) 0:00:39.068 ******* 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_typebobucd4n/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 20:15:02 +0000 (0:00:00.021) 0:00:39.089 ******* 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_typebobucd4n/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 20:15:02 +0000 (0:00:00.021) 0:00:39.111 ******* 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_typebobucd4n/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 20:15:04 +0000 (0:00:01.604) 0:00:40.716 ******* 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_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 20:15:04 +0000 (0:00:00.720) 0:00:41.436 ******* 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_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 20:15:05 +0000 (0:00:00.052) 0:00:41.488 ******* 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_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 20:15:05 +0000 (0:00:00.023) 0:00:41.512 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 20:15:05 +0000 (0:00:00.034) 0:00:41.546 ******* 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_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 20:15:05 +0000 (0:00:00.049) 0:00:41.596 ******* 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_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 20:15:05 +0000 (0:00:00.028) 0:00:41.625 ******* 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_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 20:15:05 +0000 (0:00:00.040) 0:00:41.666 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 20:15:05 +0000 (0:00:00.038) 0:00:41.704 ******* 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_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 20:15:05 +0000 (0:00:00.054) 0:00:41.758 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 20:15:05 +0000 (0:00:00.030) 0:00:41.789 ******* 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_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 20:15:05 +0000 (0:00:00.219) 0:00:42.008 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-152525aql9eym/tmpyjggy1s9" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 20:15:05 +0000 (0:00:00.223) 0:00:42.232 ******* 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_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 20:15:06 +0000 (0:00:00.261) 0:00:42.493 ******* 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_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 20:15:06 +0000 (0:00:00.022) 0:00:42.516 ******* 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_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 20:15:06 +0000 (0:00:00.022) 0:00:42.538 ******* 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_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 20:15:06 +0000 (0:00:00.023) 0:00:42.561 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 20:15:06 +0000 (0:00:00.022) 0:00:42.584 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 09 January 2024 20:15:06 +0000 (0:00:00.165) 0:00:42.750 ******* 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_typebobucd4n/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 09 January 2024 20:15:06 +0000 (0:00:00.023) 0:00:42.773 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 20:15:06 +0000 (0:00:00.034) 0:00:42.808 ******* included: /WORKDIR/git-route_typebobucd4n/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_typebobucd4n/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 20:15:06 +0000 (0:00:00.040) 0:00:42.848 ******* 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_typebobucd4n/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 20:15:06 +0000 (0:00:00.026) 0:00:42.875 ******* 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_typebobucd4n/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 20:15:06 +0000 (0:00:00.025) 0:00:42.900 ******* 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_typebobucd4n/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 20:15:06 +0000 (0:00:00.023) 0:00:42.924 ******* 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_typebobucd4n/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 20:15:08 +0000 (0:00:01.573) 0:00:44.498 ******* 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_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 20:15:08 +0000 (0:00:00.632) 0:00:45.131 ******* 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_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 20:15:08 +0000 (0:00:00.023) 0:00:45.154 ******* 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_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 20:15:08 +0000 (0:00:00.025) 0:00:45.179 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 20:15:08 +0000 (0:00:00.022) 0:00:45.201 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-route_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 20:15:08 +0000 (0:00:00.044) 0:00:45.246 ******* 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_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 20:15:08 +0000 (0:00:00.026) 0:00:45.272 ******* 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_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 20:15:08 +0000 (0:00:00.022) 0:00:45.294 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 20:15:08 +0000 (0:00:00.030) 0:00:45.324 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-route_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 20:15:08 +0000 (0:00:00.032) 0:00:45.357 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 20:15:08 +0000 (0:00:00.024) 0:00:45.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 : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 20:15:09 +0000 (0:00:00.222) 0:00:45.604 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-152525aql9eym/tmpzzvvws9y" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 20:15:09 +0000 (0:00:00.221) 0:00:45.825 ******* 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_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 20:15:09 +0000 (0:00:00.454) 0:00:46.279 ******* 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_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 20:15:09 +0000 (0:00:00.022) 0:00:46.302 ******* 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_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 20:15:09 +0000 (0:00:00.022) 0:00:46.325 ******* 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_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 20:15:09 +0000 (0:00:00.024) 0:00:46.349 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 20:15:09 +0000 (0:00:00.021) 0:00:46.370 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/remove_profile.yml:3 Tuesday 09 January 2024 20:15:10 +0000 (0:00:00.140) 0:00:46.511 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 20:15:10 +0000 (0:00:00.044) 0:00:46.555 ******* included: /WORKDIR/git-route_typebobucd4n/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_typebobucd4n/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 20:15:10 +0000 (0:00:00.041) 0:00:46.597 ******* 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_typebobucd4n/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 20:15:10 +0000 (0:00:00.033) 0:00:46.630 ******* 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_typebobucd4n/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 20:15:10 +0000 (0:00:00.022) 0:00:46.653 ******* 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_typebobucd4n/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 20:15:10 +0000 (0:00:00.023) 0:00:46.677 ******* 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_typebobucd4n/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 20:15:11 +0000 (0:00:01.572) 0:00:48.250 ******* 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_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 20:15:12 +0000 (0:00:00.652) 0:00:48.902 ******* 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_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 20:15:12 +0000 (0:00:00.028) 0:00:48.931 ******* 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_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 20:15:12 +0000 (0:00:00.028) 0:00:48.960 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 20:15:12 +0000 (0:00:00.029) 0:00:48.989 ******* 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_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 20:15:12 +0000 (0:00:00.101) 0:00:49.091 ******* 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_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 20:15:12 +0000 (0:00:00.043) 0:00:49.134 ******* 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_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 20:15:12 +0000 (0:00:00.052) 0:00:49.187 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 20:15:12 +0000 (0:00:00.068) 0:00:49.256 ******* 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_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 20:15:12 +0000 (0:00:00.047) 0:00:49.303 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 20:15:12 +0000 (0:00:00.066) 0:00:49.369 ******* 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_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 20:15:13 +0000 (0:00:00.216) 0:00:49.586 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-152525aql9eym/tmpmun6eut1" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 20:15:13 +0000 (0:00:00.290) 0:00:49.876 ******* 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_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 20:15:13 +0000 (0:00:00.267) 0:00:50.144 ******* 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_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 20:15:13 +0000 (0:00:00.024) 0:00:50.168 ******* 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_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 20:15:13 +0000 (0:00:00.023) 0:00:50.191 ******* 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_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 20:15:13 +0000 (0:00:00.022) 0:00:50.214 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 20:15:13 +0000 (0:00:00.042) 0:00:50.257 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/run_test.yml:30 Tuesday 09 January 2024 20:15:13 +0000 (0:00:00.158) 0:00:50.415 ******* included: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/remove+down_profile.yml:3 Tuesday 09 January 2024 20:15:14 +0000 (0:00:00.045) 0:00:50.461 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 20:15:14 +0000 (0:00:00.075) 0:00:50.536 ******* included: /WORKDIR/git-route_typebobucd4n/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_typebobucd4n/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 20:15:14 +0000 (0:00:00.055) 0:00:50.592 ******* 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_typebobucd4n/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 20:15:14 +0000 (0:00:00.103) 0:00:50.696 ******* 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_typebobucd4n/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 20:15:14 +0000 (0:00:00.052) 0:00:50.749 ******* 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_typebobucd4n/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 20:15:14 +0000 (0:00:00.054) 0:00:50.804 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-route_typebobucd4n/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 20:15:15 +0000 (0:00:01.596) 0:00:52.400 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-route_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 20:15:16 +0000 (0:00:00.639) 0:00:53.040 ******* 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_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 20:15:16 +0000 (0:00:00.023) 0:00:53.063 ******* 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_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 20:15:16 +0000 (0:00:00.029) 0:00:53.093 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 20:15:16 +0000 (0:00:00.022) 0:00:53.116 ******* 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_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 20:15:16 +0000 (0:00:00.044) 0:00:53.160 ******* 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_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 20:15:16 +0000 (0:00:00.022) 0:00:53.183 ******* 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_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 20:15:16 +0000 (0:00:00.023) 0:00:53.206 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 20:15:16 +0000 (0:00:00.056) 0:00:53.262 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-route_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 20:15:16 +0000 (0:00:00.022) 0:00:53.285 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 20:15:16 +0000 (0:00:00.028) 0:00:53.313 ******* 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_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 20:15:17 +0000 (0:00:00.206) 0:00:53.520 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-152525aql9eym/tmpq7enwhxj" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 20:15:17 +0000 (0:00:00.212) 0:00:53.733 ******* 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_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 20:15:17 +0000 (0:00:00.255) 0:00:53.989 ******* 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_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 20:15:17 +0000 (0:00:00.021) 0:00:54.010 ******* 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_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 20:15:17 +0000 (0:00:00.024) 0:00:54.034 ******* 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_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 20:15:17 +0000 (0:00:00.024) 0:00:54.059 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 20:15:17 +0000 (0:00:00.021) 0:00:54.080 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/run_test.yml:36 Tuesday 09 January 2024 20:15:17 +0000 (0:00:00.136) 0:00:54.217 ******* included: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/assert_profile_absent.yml:3 Tuesday 09 January 2024 20:15:17 +0000 (0:00:00.042) 0:00:54.259 ******* included: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 09 January 2024 20:15:17 +0000 (0:00:00.038) 0:00:54.298 ******* 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_typebobucd4n/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 09 January 2024 20:15:17 +0000 (0:00:00.070) 0:00:54.369 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 09 January 2024 20:15:18 +0000 (0:00:00.150) 0:00:54.519 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 09 January 2024 20:15:18 +0000 (0:00:00.026) 0:00:54.546 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.005717", "end": "2024-01-09 20:15:18.276735", "rc": 1, "start": "2024-01-09 20:15:18.271018" } 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_typebobucd4n/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 09 January 2024 20:15:18 +0000 (0:00:00.150) 0:00:54.696 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 09 January 2024 20:15:18 +0000 (0:00:00.022) 0:00:54.718 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 09 January 2024 20:15:18 +0000 (0:00:00.023) 0:00:54.742 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 09 January 2024 20:15:18 +0000 (0:00:00.022) 0:00:54.765 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 09 January 2024 20:15:18 +0000 (0:00:00.033) 0:00:54.798 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/assert_profile_absent.yml:5 Tuesday 09 January 2024 20:15:18 +0000 (0:00:00.056) 0:00:54.854 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/run_test.yml:42 Tuesday 09 January 2024 20:15:18 +0000 (0:00:00.026) 0:00:54.881 ******* 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_typebobucd4n/tests/playbooks/tasks/run_test.yml:47 Tuesday 09 January 2024 20:15:18 +0000 (0:00:00.027) 0:00:54.909 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/run_test.yml:66 Tuesday 09 January 2024 20:15:18 +0000 (0:00:00.024) 0:00:54.933 ******* included: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 09 January 2024 20:15:18 +0000 (0:00:00.040) 0:00:54.974 ******* 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.024612", "end": "2024-01-09 20:15:18.722383", "rc": 0, "start": "2024-01-09 20:15:18.697771" } 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_typebobucd4n/tests/playbooks/tests_states.yml:126 Tuesday 09 January 2024 20:15:18 +0000 (0:00:00.172) 0:00:55.147 ******* included: /WORKDIR/git-route_typebobucd4n/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_typebobucd4n/tests/playbooks/tasks/run_test.yml:5 Tuesday 09 January 2024 20:15:18 +0000 (0:00:00.036) 0:00:55.183 ******* 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_typebobucd4n/tests/playbooks/tasks/run_test.yml:9 Tuesday 09 January 2024 20:15:18 +0000 (0:00:00.051) 0:00:55.235 ******* 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_typebobucd4n/tests/playbooks/tasks/run_test.yml:21 Tuesday 09 January 2024 20:15:18 +0000 (0:00:00.054) 0:00:55.289 ******* included: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 09 January 2024 20:15:18 +0000 (0:00:00.034) 0:00:55.323 ******* included: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 09 January 2024 20:15:18 +0000 (0:00:00.039) 0:00:55.362 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003585", "end": "2024-01-09 20:15:19.090709", "rc": 0, "start": "2024-01-09 20:15:19.087124" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 09 January 2024 20:15:19 +0000 (0:00:00.148) 0:00:55.511 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 09 January 2024 20:15:19 +0000 (0:00:00.025) 0:00:55.537 ******* ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/run_test.yml:24 Tuesday 09 January 2024 20:15:19 +0000 (0:00:00.024) 0:00:55.561 ******* included: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 09 January 2024 20:15:19 +0000 (0:00:00.052) 0:00:55.614 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 20:15:19 +0000 (0:00:00.038) 0:00:55.653 ******* included: /WORKDIR/git-route_typebobucd4n/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_typebobucd4n/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 20:15:19 +0000 (0:00:00.047) 0:00:55.700 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-route_typebobucd4n/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 20:15:19 +0000 (0:00:00.028) 0:00:55.729 ******* 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_typebobucd4n/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 20:15:19 +0000 (0:00:00.051) 0:00:55.780 ******* 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_typebobucd4n/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 20:15:19 +0000 (0:00:00.023) 0:00:55.803 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-route_typebobucd4n/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 20:15:20 +0000 (0:00:01.548) 0:00:57.352 ******* 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_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 20:15:21 +0000 (0:00:00.626) 0:00:57.978 ******* 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_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 20:15:21 +0000 (0:00:00.035) 0:00:58.014 ******* 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_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 20:15:21 +0000 (0:00:00.036) 0:00:58.051 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 20:15:21 +0000 (0:00:00.029) 0:00:58.080 ******* 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_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 20:15:21 +0000 (0:00:00.061) 0:00:58.142 ******* 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_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 20:15:21 +0000 (0:00:00.055) 0:00:58.198 ******* 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_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 20:15:21 +0000 (0:00:00.022) 0:00:58.221 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 20:15:21 +0000 (0:00:00.033) 0:00:58.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_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 20:15:21 +0000 (0:00:00.021) 0:00:58.276 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 20:15:21 +0000 (0:00:00.021) 0:00:58.297 ******* 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_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 20:15:22 +0000 (0:00:00.204) 0:00:58.502 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-152525aql9eym/tmprm0_8w28" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 20:15:22 +0000 (0:00:00.231) 0:00:58.734 ******* 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_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 20:15:22 +0000 (0:00:00.256) 0:00:58.990 ******* 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_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 20:15:22 +0000 (0:00:00.021) 0:00:59.012 ******* 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_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 20:15:22 +0000 (0:00:00.032) 0:00:59.045 ******* 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_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 20:15:22 +0000 (0:00:00.025) 0:00:59.070 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 20:15:22 +0000 (0:00:00.023) 0:00:59.094 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 09 January 2024 20:15:22 +0000 (0:00:00.148) 0:00:59.242 ******* 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_typebobucd4n/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 09 January 2024 20:15:22 +0000 (0:00:00.022) 0:00:59.264 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 20:15:22 +0000 (0:00:00.069) 0:00:59.334 ******* included: /WORKDIR/git-route_typebobucd4n/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_typebobucd4n/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 20:15:22 +0000 (0:00:00.053) 0:00:59.388 ******* 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_typebobucd4n/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 20:15:22 +0000 (0:00:00.029) 0:00:59.417 ******* 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_typebobucd4n/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 20:15:22 +0000 (0:00:00.028) 0:00:59.445 ******* 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_typebobucd4n/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 20:15:23 +0000 (0:00:00.023) 0:00:59.468 ******* 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_typebobucd4n/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 20:15:24 +0000 (0:00:01.554) 0:01:01.023 ******* 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_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 20:15:25 +0000 (0:00:00.637) 0:01:01.660 ******* 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_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 20:15:25 +0000 (0:00:00.022) 0:01:01.683 ******* 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_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 20:15:25 +0000 (0:00:00.021) 0:01:01.705 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 20:15:25 +0000 (0:00:00.021) 0:01:01.727 ******* 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_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 20:15:25 +0000 (0:00:00.043) 0:01:01.771 ******* 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_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 20:15:25 +0000 (0:00:00.021) 0:01:01.792 ******* 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_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 20:15:25 +0000 (0:00:00.020) 0:01:01.813 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 20:15:25 +0000 (0:00:00.024) 0:01:01.838 ******* 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_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 20:15:25 +0000 (0:00:00.020) 0:01:01.859 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 20:15:25 +0000 (0:00:00.026) 0:01:01.885 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 20:15:25 +0000 (0:00:00.227) 0:01:02.112 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-152525aql9eym/tmpjr5mwdt0" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 20:15:25 +0000 (0:00:00.249) 0:01:02.362 ******* 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_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 20:15:26 +0000 (0:00:00.387) 0:01:02.749 ******* 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_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 20:15:26 +0000 (0:00:00.024) 0:01:02.774 ******* 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_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 20:15:26 +0000 (0:00:00.030) 0:01:02.804 ******* 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_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 20:15:26 +0000 (0:00:00.078) 0:01:02.882 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 20:15:26 +0000 (0:00:00.051) 0:01:02.934 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/remove+down_profile.yml:3 Tuesday 09 January 2024 20:15:26 +0000 (0:00:00.167) 0:01:03.101 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 20:15:26 +0000 (0:00:00.049) 0:01:03.151 ******* included: /WORKDIR/git-route_typebobucd4n/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_typebobucd4n/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 20:15:26 +0000 (0:00:00.077) 0:01:03.228 ******* 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_typebobucd4n/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 20:15:26 +0000 (0:00:00.049) 0:01:03.278 ******* 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_typebobucd4n/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 20:15:26 +0000 (0:00:00.033) 0:01:03.311 ******* 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_typebobucd4n/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 20:15:26 +0000 (0:00:00.023) 0:01:03.335 ******* 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_typebobucd4n/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 20:15:28 +0000 (0:00:01.594) 0:01:04.930 ******* 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_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 20:15:29 +0000 (0:00:00.661) 0:01:05.591 ******* 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_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 20:15:29 +0000 (0:00:00.031) 0:01:05.623 ******* 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_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 20:15:29 +0000 (0:00:00.024) 0:01:05.647 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 20:15:29 +0000 (0:00:00.037) 0:01:05.684 ******* 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_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 20:15:29 +0000 (0:00:00.043) 0:01:05.728 ******* 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_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 20:15:29 +0000 (0:00:00.036) 0:01:05.765 ******* 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_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 20:15:29 +0000 (0:00:00.031) 0:01:05.796 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 20:15:29 +0000 (0:00:00.031) 0:01:05.827 ******* 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_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 20:15:29 +0000 (0:00:00.026) 0:01:05.854 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 20:15:29 +0000 (0:00:00.021) 0:01:05.876 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 20:15:29 +0000 (0:00:00.204) 0:01:06.081 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-152525aql9eym/tmpz87mvw15" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 20:15:29 +0000 (0:00:00.238) 0:01:06.319 ******* 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_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 20:15:30 +0000 (0:00:00.294) 0:01:06.613 ******* 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_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 20:15:30 +0000 (0:00:00.021) 0:01:06.635 ******* 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_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 20:15:30 +0000 (0:00:00.024) 0:01:06.659 ******* 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_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 20:15:30 +0000 (0:00:00.023) 0:01:06.683 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 20:15:30 +0000 (0:00:00.021) 0:01:06.705 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/run_test.yml:30 Tuesday 09 January 2024 20:15:30 +0000 (0:00:00.156) 0:01:06.861 ******* included: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/remove+down_profile.yml:3 Tuesday 09 January 2024 20:15:30 +0000 (0:00:00.043) 0:01:06.904 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 20:15:30 +0000 (0:00:00.038) 0:01:06.943 ******* included: /WORKDIR/git-route_typebobucd4n/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_typebobucd4n/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 20:15:30 +0000 (0:00:00.040) 0:01:06.983 ******* 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_typebobucd4n/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 20:15:30 +0000 (0:00:00.033) 0:01:07.016 ******* 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_typebobucd4n/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 20:15:30 +0000 (0:00:00.027) 0:01:07.043 ******* 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_typebobucd4n/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 20:15:30 +0000 (0:00:00.021) 0:01:07.065 ******* 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_typebobucd4n/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 20:15:32 +0000 (0:00:01.538) 0:01:08.603 ******* 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_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 20:15:32 +0000 (0:00:00.614) 0:01:09.217 ******* 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_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 20:15:32 +0000 (0:00:00.024) 0:01:09.242 ******* 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_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 20:15:32 +0000 (0:00:00.020) 0:01:09.262 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 20:15:32 +0000 (0:00:00.021) 0:01:09.284 ******* 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_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 20:15:32 +0000 (0:00:00.042) 0:01:09.326 ******* 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_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 20:15:32 +0000 (0:00:00.023) 0:01:09.350 ******* 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_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 20:15:32 +0000 (0:00:00.028) 0:01:09.378 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 20:15:32 +0000 (0:00:00.068) 0:01:09.447 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-route_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 20:15:33 +0000 (0:00:00.022) 0:01:09.469 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 20:15:33 +0000 (0:00:00.025) 0:01:09.495 ******* 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_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 20:15:33 +0000 (0:00:00.208) 0:01:09.703 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-152525aql9eym/tmp28y4x5m3" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 20:15:33 +0000 (0:00:00.226) 0:01:09.930 ******* 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_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 20:15:33 +0000 (0:00:00.273) 0:01:10.203 ******* 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_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 20:15:33 +0000 (0:00:00.021) 0:01:10.224 ******* 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_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 20:15:33 +0000 (0:00:00.029) 0:01:10.254 ******* 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_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 20:15:33 +0000 (0:00:00.027) 0:01:10.281 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 20:15:33 +0000 (0:00:00.022) 0:01:10.303 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/run_test.yml:36 Tuesday 09 January 2024 20:15:33 +0000 (0:00:00.139) 0:01:10.442 ******* included: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/assert_profile_absent.yml for sut included: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/get_NetworkManager_NVR.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/assert_profile_absent.yml:3 Tuesday 09 January 2024 20:15:34 +0000 (0:00:00.046) 0:01:10.489 ******* included: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 09 January 2024 20:15:34 +0000 (0:00:00.080) 0:01:10.569 ******* 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_typebobucd4n/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 09 January 2024 20:15:34 +0000 (0:00:00.023) 0:01:10.592 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 09 January 2024 20:15:34 +0000 (0:00:00.158) 0:01:10.751 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 09 January 2024 20:15:34 +0000 (0:00:00.032) 0:01:10.783 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.005711", "end": "2024-01-09 20:15:34.514745", "rc": 1, "start": "2024-01-09 20:15:34.509034" } 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_typebobucd4n/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 09 January 2024 20:15:34 +0000 (0:00:00.157) 0:01:10.940 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 09 January 2024 20:15:34 +0000 (0:00:00.036) 0:01:10.977 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 09 January 2024 20:15:34 +0000 (0:00:00.024) 0:01:11.002 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 09 January 2024 20:15:34 +0000 (0:00:00.034) 0:01:11.036 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 09 January 2024 20:15:34 +0000 (0:00:00.023) 0:01:11.060 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/assert_profile_absent.yml:5 Tuesday 09 January 2024 20:15:34 +0000 (0:00:00.029) 0:01:11.090 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/get_NetworkManager_NVR.yml:7 Tuesday 09 January 2024 20:15:34 +0000 (0:00:00.025) 0:01:11.115 ******* ok: [sut] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.401919", "end": "2024-01-09 20:15:35.241315", "rc": 0, "start": "2024-01-09 20:15:34.839396" } TASK [Store NetworkManager version] ******************************************** task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/get_NetworkManager_NVR.yml:14 Tuesday 09 January 2024 20:15:35 +0000 (0:00:00.547) 0:01:11.662 ******* ok: [sut] => { "ansible_facts": { "networkmanager_nvr": "" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/get_NetworkManager_NVR.yml:18 Tuesday 09 January 2024 20:15:35 +0000 (0:00:00.026) 0:01:11.688 ******* ok: [sut] => { "networkmanager_nvr": "" } TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/run_test.yml:42 Tuesday 09 January 2024 20:15:35 +0000 (0:00:00.025) 0:01:11.714 ******* 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_typebobucd4n/tests/playbooks/tasks/run_test.yml:47 Tuesday 09 January 2024 20:15:35 +0000 (0:00:00.036) 0:01:11.751 ******* 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_typebobucd4n/tests/playbooks/tasks/run_test.yml:66 Tuesday 09 January 2024 20:15:35 +0000 (0:00:00.060) 0:01:11.811 ******* included: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 09 January 2024 20:15:35 +0000 (0:00:00.042) 0:01:11.854 ******* 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.033222", "end": "2024-01-09 20:15:35.628388", "rc": 0, "start": "2024-01-09 20:15:35.595166" } 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 Tuesday 09 January 2024 20:15:35 +0000 (0:00:00.186) 0:01:12.041 ******* =============================================================================== linux-system-roles.network : Check which services are running ----------- 1.89s /WORKDIR/git-route_typebobucd4n/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Configure networking connection profiles --- 1.84s /WORKDIR/git-route_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Check which services are running ----------- 1.66s /WORKDIR/git-route_typebobucd4n/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.66s /WORKDIR/git-route_typebobucd4n/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.65s /WORKDIR/git-route_typebobucd4n/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.60s /WORKDIR/git-route_typebobucd4n/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.60s /WORKDIR/git-route_typebobucd4n/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_typebobucd4n/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_typebobucd4n/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_typebobucd4n/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.57s /WORKDIR/git-route_typebobucd4n/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.57s /WORKDIR/git-route_typebobucd4n/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.57s /WORKDIR/git-route_typebobucd4n/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.55s /WORKDIR/git-route_typebobucd4n/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.55s /WORKDIR/git-route_typebobucd4n/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.54s /WORKDIR/git-route_typebobucd4n/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Configure networking connection profiles --- 1.50s /WORKDIR/git-route_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Ensure initscripts network file dependency is present --- 1.32s /WORKDIR/git-route_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:113 linux-system-roles.network : Enable network service --------------------- 1.16s /WORKDIR/git-route_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:105 linux-system-roles.network : Ensure initscripts network file dependency is present --- 0.93s /WORKDIR/git-route_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:113 ---^---^---^---^---^--- # 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. ---^---^---^---^---^---