# 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_typec1f6egro/tests/tests_states_initscripts.yml PLAY [Run playbook 'playbooks/tests_states.yml' with initscripts as provider] *** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-route_typec1f6egro/tests/tests_states_initscripts.yml:5 Tuesday 09 January 2024 17:02:53 +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_typec1f6egro/tests/tests_states_initscripts.yml:8 Tuesday 09 January 2024 17:02:54 +0000 (0:00:00.895) 0:00:00.907 ******* included: /WORKDIR/git-route_typec1f6egro/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_typec1f6egro/tests/tasks/el_repo_setup.yml:3 Tuesday 09 January 2024 17:02:54 +0000 (0:00:00.024) 0:00:00.931 ******* ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-route_typec1f6egro/tests/tasks/el_repo_setup.yml:19 Tuesday 09 January 2024 17:02:54 +0000 (0:00:00.229) 0:00:01.161 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-route_typec1f6egro/tests/tasks/el_repo_setup.yml:24 Tuesday 09 January 2024 17:02:54 +0000 (0:00:00.177) 0:00:01.339 ******* ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-route_typec1f6egro/tests/tasks/el_repo_setup.yml:28 Tuesday 09 January 2024 17:02:54 +0000 (0:00:00.019) 0:00:01.359 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-route_typec1f6egro/tests/tasks/el_repo_setup.yml:53 Tuesday 09 January 2024 17:02:54 +0000 (0:00:00.017) 0:00:01.376 ******* included: /WORKDIR/git-route_typec1f6egro/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 6] *********************************************************** task path: /WORKDIR/git-route_typec1f6egro/tests/tasks/enable_epel.yml:8 Tuesday 09 January 2024 17:02:54 +0000 (0:00:00.032) 0:00:01.408 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Install yum-utils package] *********************************************** task path: /WORKDIR/git-route_typec1f6egro/tests/tasks/enable_epel.yml:24 Tuesday 09 January 2024 17:02:54 +0000 (0:00:00.010) 0:00:01.418 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-route_typec1f6egro/tests/tasks/enable_epel.yml:30 Tuesday 09 January 2024 17:02:54 +0000 (0:00:00.010) 0:00:01.429 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-route_typec1f6egro/tests/tasks/enable_epel.yml:35 Tuesday 09 January 2024 17:02:54 +0000 (0:00:00.010) 0:00:01.439 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-route_typec1f6egro/tests/tasks/enable_epel.yml:40 Tuesday 09 January 2024 17:02:54 +0000 (0:00:00.010) 0:00:01.450 ******* 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_typec1f6egro/tests/tests_states_initscripts.yml:10 Tuesday 09 January 2024 17:02:54 +0000 (0:00:00.434) 0:00:01.884 ******* 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_typec1f6egro/tests/playbooks/tests_states.yml:3 Tuesday 09 January 2024 17:02:55 +0000 (0:00:00.011) 0:00:01.895 ******* ok: [sut] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-route_typec1f6egro/tests/playbooks/tests_states.yml:11 Tuesday 09 January 2024 17:02:55 +0000 (0:00:00.720) 0:00:02.616 ******* ok: [sut] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-route_typec1f6egro/tests/playbooks/tests_states.yml:22 Tuesday 09 January 2024 17:02:55 +0000 (0:00:00.011) 0:00:02.628 ******* included: /WORKDIR/git-route_typec1f6egro/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile] ******************************************** task path: /WORKDIR/git-route_typec1f6egro/tests/playbooks/tasks/run_test.yml:5 Tuesday 09 January 2024 17:02:55 +0000 (0:00:00.017) 0:00:02.646 ******* ok: [sut] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_typec1f6egro/tests/playbooks/tasks/run_test.yml:9 Tuesday 09 January 2024 17:02:55 +0000 (0:00:00.011) 0:00:02.657 ******* 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_typec1f6egro/tests/playbooks/tasks/run_test.yml:21 Tuesday 09 January 2024 17:02:55 +0000 (0:00:00.035) 0:00:02.693 ******* included: /WORKDIR/git-route_typec1f6egro/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typec1f6egro/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 09 January 2024 17:02:55 +0000 (0:00:00.017) 0:00:02.710 ******* included: /WORKDIR/git-route_typec1f6egro/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typec1f6egro/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 09 January 2024 17:02:55 +0000 (0:00:00.014) 0:00:02.725 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003687", "end": "2024-01-09 17:02:56.003252", "rc": 0, "start": "2024-01-09 17:02:55.999565" } STDOUT: dummy0 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typec1f6egro/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 09 January 2024 17:02:56 +0000 (0:00:00.185) 0:00:02.910 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "dummy0", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typec1f6egro/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 09 January 2024 17:02:56 +0000 (0:00:00.013) 0:00:02.923 ******* ok: [sut] => {} MSG: current_interfaces: ['dummy0', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typec1f6egro/tests/playbooks/tasks/run_test.yml:24 Tuesday 09 January 2024 17:02:56 +0000 (0:00:00.011) 0:00:02.935 ******* included: /WORKDIR/git-route_typec1f6egro/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-route_typec1f6egro/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-route_typec1f6egro/tests/playbooks/tasks/delete_interface.yml:3 Tuesday 09 January 2024 17:02:56 +0000 (0:00:00.021) 0:00:02.957 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.030771", "end": "2024-01-09 17:02:56.197330", "rc": 255, "start": "2024-01-09 17:02:56.166559" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typec1f6egro/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 09 January 2024 17:02:56 +0000 (0:00:00.149) 0:00:03.106 ******* included: /WORKDIR/git-route_typec1f6egro/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typec1f6egro/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 09 January 2024 17:02:56 +0000 (0:00:00.017) 0:00:03.124 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_typec1f6egro/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 09 January 2024 17:02:56 +0000 (0:00:00.116) 0:00:03.240 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_typec1f6egro/tests/playbooks/tasks/run_test.yml:30 Tuesday 09 January 2024 17:02:56 +0000 (0:00:00.014) 0:00:03.255 ******* included: /WORKDIR/git-route_typec1f6egro/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typec1f6egro/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 09 January 2024 17:02:56 +0000 (0:00:00.019) 0:00:03.274 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typec1f6egro/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 17:02:56 +0000 (0:00:00.034) 0:00:03.309 ******* included: /WORKDIR/git-route_typec1f6egro/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_typec1f6egro/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 17:02:56 +0000 (0:00:00.070) 0:00:03.379 ******* 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_typec1f6egro/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 17:02:56 +0000 (0:00:00.013) 0:00:03.393 ******* 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_typec1f6egro/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 17:02:56 +0000 (0:00:00.012) 0:00:03.405 ******* 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_typec1f6egro/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 17:02:56 +0000 (0:00:00.010) 0:00:03.416 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-route_typec1f6egro/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 17:02:58 +0000 (0:00:01.855) 0:00:05.271 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-route_typec1f6egro/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 17:02:59 +0000 (0:00:00.709) 0:00:05.981 ******* 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_typec1f6egro/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 17:02:59 +0000 (0:00:00.022) 0:00:06.003 ******* 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_typec1f6egro/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 17:02:59 +0000 (0:00:00.021) 0:00:06.024 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typec1f6egro/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 17:02:59 +0000 (0:00:00.019) 0:00:06.044 ******* 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_typec1f6egro/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 17:02:59 +0000 (0:00:00.073) 0:00:06.118 ******* 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_typec1f6egro/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 17:02:59 +0000 (0:00:00.021) 0:00:06.139 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-route_typec1f6egro/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 17:02:59 +0000 (0:00:00.019) 0:00:06.159 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typec1f6egro/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 17:02:59 +0000 (0:00:00.023) 0:00:06.182 ******* 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_typec1f6egro/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 17:02:59 +0000 (0:00:00.020) 0:00:06.202 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typec1f6egro/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 17:02:59 +0000 (0:00:00.019) 0:00:06.221 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_typec1f6egro/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 17:02:59 +0000 (0:00:00.265) 0:00:06.486 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-15360o6t0vfyb/tmpg0r0m976" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typec1f6egro/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 17:02:59 +0000 (0:00:00.194) 0:00:06.681 ******* 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_typec1f6egro/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 17:03:00 +0000 (0:00:00.352) 0:00:07.033 ******* 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_typec1f6egro/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 17:03:00 +0000 (0:00:00.021) 0:00:07.054 ******* 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_typec1f6egro/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 17:03:00 +0000 (0:00:00.021) 0:00:07.076 ******* 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_typec1f6egro/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 17:03:00 +0000 (0:00:00.021) 0:00:07.098 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typec1f6egro/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 17:03:00 +0000 (0:00:00.019) 0:00:07.117 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typec1f6egro/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 09 January 2024 17:03:00 +0000 (0:00:00.217) 0:00:07.335 ******* 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_typec1f6egro/tests/playbooks/tasks/run_test.yml:36 Tuesday 09 January 2024 17:03:00 +0000 (0:00:00.022) 0:00:07.358 ******* included: /WORKDIR/git-route_typec1f6egro/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typec1f6egro/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 09 January 2024 17:03:00 +0000 (0:00:00.039) 0:00:07.397 ******* included: /WORKDIR/git-route_typec1f6egro/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typec1f6egro/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 09 January 2024 17:03:00 +0000 (0:00:00.037) 0:00:07.435 ******* 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_typec1f6egro/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 09 January 2024 17:03:00 +0000 (0:00:00.020) 0:00:07.456 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1704819780.1146529, "block_size": 4096, "blocks": 8, "ctime": 1704819780.1146529, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 18846, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1704819780.1146529, "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_typec1f6egro/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 09 January 2024 17:03:00 +0000 (0:00:00.125) 0:00:07.581 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typec1f6egro/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 09 January 2024 17:03:00 +0000 (0:00:00.022) 0:00:07.603 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.006283", "end": "2024-01-09 17:03:00.816948", "rc": 1, "start": "2024-01-09 17:03:00.810665" } STDERR: Error: Object 'connection' is unknown, try 'nmcli help'. MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-route_typec1f6egro/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 09 January 2024 17:03:00 +0000 (0:00:00.128) 0:00:07.731 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_typec1f6egro/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 09 January 2024 17:03:00 +0000 (0:00:00.021) 0:00:07.753 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003046", "end": "2024-01-09 17:03:00.967967", "rc": 0, "start": "2024-01-09 17:03:00.964921" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_typec1f6egro/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 09 January 2024 17:03:00 +0000 (0:00:00.132) 0:00:07.886 ******* 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_typec1f6egro/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 09 January 2024 17:03:01 +0000 (0:00:00.025) 0:00:07.911 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003007", "end": "2024-01-09 17:03:01.127223", "rc": 0, "start": "2024-01-09 17:03:01.124216" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_typec1f6egro/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 09 January 2024 17:03:01 +0000 (0:00:00.133) 0:00:08.045 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-route_typec1f6egro/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 09 January 2024 17:03:01 +0000 (0:00:00.025) 0:00:08.070 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-route_typec1f6egro/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 09 January 2024 17:03:01 +0000 (0:00:00.046) 0:00:08.116 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-route_typec1f6egro/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 09 January 2024 17:03:01 +0000 (0:00:00.023) 0:00:08.140 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typec1f6egro/tests/playbooks/tasks/run_test.yml:42 Tuesday 09 January 2024 17:03:01 +0000 (0:00:00.022) 0:00:08.162 ******* 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_typec1f6egro/tests/playbooks/tasks/run_test.yml:47 Tuesday 09 January 2024 17:03:01 +0000 (0:00:00.024) 0:00:08.187 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_typec1f6egro/tests/playbooks/tasks/run_test.yml:66 Tuesday 09 January 2024 17:03:01 +0000 (0:00:00.020) 0:00:08.207 ******* included: /WORKDIR/git-route_typec1f6egro/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_typec1f6egro/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 09 January 2024 17:03:01 +0000 (0:00:00.040) 0:00:08.247 ******* 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.037051", "end": "2024-01-09 17:03:01.494755", "rc": 255, "start": "2024-01-09 17:03:01.457704" } STDERR: Error: Can't obtain connections: settings services are not running. Error: Can't obtain connections: settings services are not running. Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-route_typec1f6egro/tests/playbooks/tests_states.yml:45 Tuesday 09 January 2024 17:03:01 +0000 (0:00:00.164) 0:00:08.412 ******* included: /WORKDIR/git-route_typec1f6egro/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile without autoconnect] ************************ task path: /WORKDIR/git-route_typec1f6egro/tests/playbooks/tasks/run_test.yml:5 Tuesday 09 January 2024 17:03:01 +0000 (0:00:00.035) 0:00:08.447 ******* ok: [sut] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_typec1f6egro/tests/playbooks/tasks/run_test.yml:9 Tuesday 09 January 2024 17:03:01 +0000 (0:00:00.022) 0:00:08.470 ******* 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_typec1f6egro/tests/playbooks/tasks/run_test.yml:21 Tuesday 09 January 2024 17:03:01 +0000 (0:00:00.043) 0:00:08.514 ******* included: /WORKDIR/git-route_typec1f6egro/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typec1f6egro/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 09 January 2024 17:03:01 +0000 (0:00:00.034) 0:00:08.548 ******* included: /WORKDIR/git-route_typec1f6egro/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typec1f6egro/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 09 January 2024 17:03:01 +0000 (0:00:00.032) 0:00:08.581 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003315", "end": "2024-01-09 17:03:01.797920", "rc": 0, "start": "2024-01-09 17:03:01.794605" } STDOUT: dummy0 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typec1f6egro/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 09 January 2024 17:03:01 +0000 (0:00:00.156) 0:00:08.737 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "dummy0", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typec1f6egro/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 09 January 2024 17:03:01 +0000 (0:00:00.022) 0:00:08.759 ******* ok: [sut] => {} MSG: current_interfaces: ['dummy0', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typec1f6egro/tests/playbooks/tasks/run_test.yml:24 Tuesday 09 January 2024 17:03:01 +0000 (0:00:00.021) 0:00:08.781 ******* included: /WORKDIR/git-route_typec1f6egro/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-route_typec1f6egro/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-route_typec1f6egro/tests/playbooks/tasks/delete_interface.yml:3 Tuesday 09 January 2024 17:03:01 +0000 (0:00:00.040) 0:00:08.821 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.004640", "end": "2024-01-09 17:03:02.037233", "rc": 255, "start": "2024-01-09 17:03:02.032593" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typec1f6egro/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 09 January 2024 17:03:02 +0000 (0:00:00.131) 0:00:08.953 ******* included: /WORKDIR/git-route_typec1f6egro/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typec1f6egro/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 09 January 2024 17:03:02 +0000 (0:00:00.035) 0:00:08.988 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_typec1f6egro/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 09 January 2024 17:03:02 +0000 (0:00:00.129) 0:00:09.118 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_typec1f6egro/tests/playbooks/tasks/run_test.yml:30 Tuesday 09 January 2024 17:03:02 +0000 (0:00:00.023) 0:00:09.142 ******* included: /WORKDIR/git-route_typec1f6egro/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typec1f6egro/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Tuesday 09 January 2024 17:03:02 +0000 (0:00:00.037) 0:00:09.179 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typec1f6egro/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 17:03:02 +0000 (0:00:00.039) 0:00:09.219 ******* included: /WORKDIR/git-route_typec1f6egro/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_typec1f6egro/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 17:03:02 +0000 (0:00:00.038) 0:00:09.257 ******* 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_typec1f6egro/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 17:03:02 +0000 (0:00:00.047) 0:00:09.305 ******* 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_typec1f6egro/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 17:03:02 +0000 (0:00:00.021) 0:00:09.327 ******* 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_typec1f6egro/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 17:03:02 +0000 (0:00:00.020) 0:00:09.348 ******* 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_typec1f6egro/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 17:03:04 +0000 (0:00:01.580) 0:00:10.929 ******* 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_typec1f6egro/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 17:03:04 +0000 (0:00:00.567) 0:00:11.496 ******* ok: [sut] => {} MSG: Using network provider: initscripts TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-route_typec1f6egro/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 17:03:04 +0000 (0:00:00.041) 0:00:11.538 ******* 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_typec1f6egro/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 17:03:04 +0000 (0:00:00.020) 0:00:11.559 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typec1f6egro/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 17:03:04 +0000 (0:00:00.021) 0:00:11.580 ******* 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_typec1f6egro/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 17:03:04 +0000 (0:00:00.042) 0:00:11.623 ******* 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_typec1f6egro/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 17:03:04 +0000 (0:00:00.021) 0:00:11.644 ******* 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_typec1f6egro/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 17:03:04 +0000 (0:00:00.021) 0:00:11.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_typec1f6egro/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 17:03:04 +0000 (0:00:00.023) 0:00:11.690 ******* 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_typec1f6egro/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 17:03:04 +0000 (0:00:00.020) 0:00:11.711 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typec1f6egro/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 17:03:04 +0000 (0:00:00.019) 0:00:11.730 ******* 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_typec1f6egro/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 17:03:05 +0000 (0:00:00.186) 0:00:11.917 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-15360o6t0vfyb/tmp5tvr82_8" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typec1f6egro/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 17:03:05 +0000 (0:00:00.184) 0:00:12.102 ******* 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_typec1f6egro/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 17:03:05 +0000 (0:00:00.236) 0:00:12.338 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-route_typec1f6egro/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 17:03:05 +0000 (0:00:00.021) 0:00:12.360 ******* 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_typec1f6egro/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 17:03:05 +0000 (0:00:00.021) 0:00:12.381 ******* 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_typec1f6egro/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 17:03:05 +0000 (0:00:00.022) 0:00:12.404 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typec1f6egro/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 17:03:05 +0000 (0:00:00.045) 0:00:12.449 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typec1f6egro/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Tuesday 09 January 2024 17:03:05 +0000 (0:00:00.123) 0:00:12.572 ******* 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_typec1f6egro/tests/playbooks/tasks/run_test.yml:36 Tuesday 09 January 2024 17:03:05 +0000 (0:00:00.022) 0:00:12.595 ******* included: /WORKDIR/git-route_typec1f6egro/tests/playbooks/tasks/assert_device_absent.yml for sut included: /WORKDIR/git-route_typec1f6egro/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typec1f6egro/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 09 January 2024 17:03:05 +0000 (0:00:00.042) 0:00:12.637 ******* included: /WORKDIR/git-route_typec1f6egro/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typec1f6egro/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 09 January 2024 17:03:05 +0000 (0:00:00.034) 0:00:12.672 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_typec1f6egro/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 09 January 2024 17:03:05 +0000 (0:00:00.125) 0:00:12.797 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typec1f6egro/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 09 January 2024 17:03:05 +0000 (0:00:00.022) 0:00:12.820 ******* included: /WORKDIR/git-route_typec1f6egro/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typec1f6egro/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 09 January 2024 17:03:05 +0000 (0:00:00.036) 0:00:12.856 ******* 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_typec1f6egro/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 09 January 2024 17:03:05 +0000 (0:00:00.020) 0:00:12.877 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1704819785.419653, "block_size": 4096, "blocks": 8, "ctime": 1704819785.419653, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 18846, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1704819785.419653, "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_typec1f6egro/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 09 January 2024 17:03:06 +0000 (0:00:00.124) 0:00:13.002 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typec1f6egro/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 09 January 2024 17:03:06 +0000 (0:00:00.022) 0:00:13.024 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.006238", "end": "2024-01-09 17:03:06.237548", "rc": 1, "start": "2024-01-09 17:03:06.231310" } STDERR: Error: Object 'connection' is unknown, try 'nmcli help'. MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-route_typec1f6egro/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 09 January 2024 17:03:06 +0000 (0:00:00.128) 0:00:13.153 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_typec1f6egro/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 09 January 2024 17:03:06 +0000 (0:00:00.022) 0:00:13.175 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003084", "end": "2024-01-09 17:03:06.391076", "rc": 0, "start": "2024-01-09 17:03:06.387992" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_typec1f6egro/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 09 January 2024 17:03:06 +0000 (0:00:00.133) 0:00:13.308 ******* 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_typec1f6egro/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 09 January 2024 17:03:06 +0000 (0:00:00.027) 0:00:13.336 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.002999", "end": "2024-01-09 17:03:06.549998", "rc": 0, "start": "2024-01-09 17:03:06.546999" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_typec1f6egro/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 09 January 2024 17:03:06 +0000 (0:00:00.132) 0:00:13.468 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-route_typec1f6egro/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 09 January 2024 17:03:06 +0000 (0:00:00.026) 0:00:13.495 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-route_typec1f6egro/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 09 January 2024 17:03:06 +0000 (0:00:00.023) 0:00:13.518 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-route_typec1f6egro/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 09 January 2024 17:03:06 +0000 (0:00:00.023) 0:00:13.542 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typec1f6egro/tests/playbooks/tasks/run_test.yml:42 Tuesday 09 January 2024 17:03:06 +0000 (0:00:00.022) 0:00:13.564 ******* TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /WORKDIR/git-route_typec1f6egro/tests/playbooks/tasks/run_test.yml:47 Tuesday 09 January 2024 17:03:06 +0000 (0:00:00.019) 0:00:13.583 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_typec1f6egro/tests/playbooks/tasks/run_test.yml:66 Tuesday 09 January 2024 17:03:06 +0000 (0:00:00.022) 0:00:13.606 ******* included: /WORKDIR/git-route_typec1f6egro/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_typec1f6egro/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 09 January 2024 17:03:06 +0000 (0:00:00.039) 0:00:13.645 ******* 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.039258", "end": "2024-01-09 17:03:06.897716", "rc": 255, "start": "2024-01-09 17:03:06.858458" } STDERR: Error: Can't obtain connections: settings services are not running. Error: Can't obtain connections: settings services are not running. Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-route_typec1f6egro/tests/playbooks/tests_states.yml:65 Tuesday 09 January 2024 17:03:06 +0000 (0:00:00.170) 0:00:13.815 ******* included: /WORKDIR/git-route_typec1f6egro/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can activate an existing profile] ******************************** task path: /WORKDIR/git-route_typec1f6egro/tests/playbooks/tasks/run_test.yml:5 Tuesday 09 January 2024 17:03:06 +0000 (0:00:00.035) 0:00:13.851 ******* ok: [sut] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_typec1f6egro/tests/playbooks/tasks/run_test.yml:9 Tuesday 09 January 2024 17:03:06 +0000 (0:00:00.022) 0:00:13.873 ******* 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_typec1f6egro/tests/playbooks/tasks/run_test.yml:21 Tuesday 09 January 2024 17:03:07 +0000 (0:00:00.072) 0:00:13.946 ******* included: /WORKDIR/git-route_typec1f6egro/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typec1f6egro/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 09 January 2024 17:03:07 +0000 (0:00:00.034) 0:00:13.981 ******* included: /WORKDIR/git-route_typec1f6egro/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typec1f6egro/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 09 January 2024 17:03:07 +0000 (0:00:00.033) 0:00:14.015 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003241", "end": "2024-01-09 17:03:07.235316", "rc": 0, "start": "2024-01-09 17:03:07.232075" } STDOUT: dummy0 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typec1f6egro/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 09 January 2024 17:03:07 +0000 (0:00:00.137) 0:00:14.152 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "dummy0", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typec1f6egro/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 09 January 2024 17:03:07 +0000 (0:00:00.022) 0:00:14.175 ******* ok: [sut] => {} MSG: current_interfaces: ['dummy0', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typec1f6egro/tests/playbooks/tasks/run_test.yml:24 Tuesday 09 January 2024 17:03:07 +0000 (0:00:00.021) 0:00:14.196 ******* included: /WORKDIR/git-route_typec1f6egro/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typec1f6egro/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 09 January 2024 17:03:07 +0000 (0:00:00.036) 0:00:14.233 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typec1f6egro/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 17:03:07 +0000 (0:00:00.035) 0:00:14.269 ******* included: /WORKDIR/git-route_typec1f6egro/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_typec1f6egro/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 17:03:07 +0000 (0:00:00.039) 0:00:14.308 ******* 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_typec1f6egro/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 17:03:07 +0000 (0:00:00.025) 0:00:14.333 ******* 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_typec1f6egro/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 17:03:07 +0000 (0:00:00.021) 0:00:14.354 ******* 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_typec1f6egro/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 17:03:07 +0000 (0:00:00.044) 0:00:14.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 : Check which packages are installed] ********* task path: /WORKDIR/git-route_typec1f6egro/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 17:03:09 +0000 (0:00:01.552) 0:00:15.952 ******* 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_typec1f6egro/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 17:03:09 +0000 (0:00:00.570) 0:00:16.522 ******* 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_typec1f6egro/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 17:03:09 +0000 (0:00:00.022) 0:00:16.545 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-route_typec1f6egro/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 17:03:09 +0000 (0:00:00.021) 0:00:16.566 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typec1f6egro/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 17:03:09 +0000 (0:00:00.021) 0:00:16.587 ******* 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_typec1f6egro/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 17:03:09 +0000 (0:00:00.064) 0:00:16.652 ******* 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_typec1f6egro/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 17:03:09 +0000 (0:00:00.021) 0:00:16.674 ******* 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_typec1f6egro/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 17:03:09 +0000 (0:00:00.021) 0:00:16.695 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typec1f6egro/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 17:03:09 +0000 (0:00:00.025) 0:00:16.720 ******* 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_typec1f6egro/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 17:03:09 +0000 (0:00:00.021) 0:00:16.742 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typec1f6egro/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 17:03:09 +0000 (0:00:00.021) 0:00:16.763 ******* 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_typec1f6egro/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 17:03:10 +0000 (0:00:00.186) 0:00:16.950 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-15360o6t0vfyb/tmp6i3fl6s3" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typec1f6egro/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 17:03:10 +0000 (0:00:00.189) 0:00:17.139 ******* 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_typec1f6egro/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 17:03:10 +0000 (0:00:00.230) 0:00:17.369 ******* 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_typec1f6egro/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 17:03:10 +0000 (0:00:00.020) 0:00:17.390 ******* 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_typec1f6egro/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 17:03:10 +0000 (0:00:00.022) 0:00:17.413 ******* 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_typec1f6egro/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 17:03:10 +0000 (0:00:00.021) 0:00:17.434 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typec1f6egro/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 17:03:10 +0000 (0:00:00.021) 0:00:17.456 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typec1f6egro/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 09 January 2024 17:03:10 +0000 (0:00:00.120) 0:00:17.576 ******* 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_typec1f6egro/tests/playbooks/tasks/run_test.yml:30 Tuesday 09 January 2024 17:03:10 +0000 (0:00:00.022) 0:00:17.599 ******* included: /WORKDIR/git-route_typec1f6egro/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typec1f6egro/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 09 January 2024 17:03:10 +0000 (0:00:00.085) 0:00:17.684 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typec1f6egro/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 17:03:10 +0000 (0:00:00.039) 0:00:17.724 ******* included: /WORKDIR/git-route_typec1f6egro/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_typec1f6egro/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 17:03:10 +0000 (0:00:00.039) 0:00:17.764 ******* 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_typec1f6egro/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 17:03:10 +0000 (0:00:00.025) 0:00:17.789 ******* 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_typec1f6egro/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 17:03:10 +0000 (0:00:00.021) 0:00:17.811 ******* 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_typec1f6egro/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 17:03:10 +0000 (0:00:00.022) 0:00:17.833 ******* 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_typec1f6egro/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 17:03:12 +0000 (0:00:01.503) 0:00:19.337 ******* 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_typec1f6egro/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 17:03:13 +0000 (0:00:00.589) 0:00:19.927 ******* 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_typec1f6egro/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 17:03:13 +0000 (0:00:00.023) 0:00:19.950 ******* 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_typec1f6egro/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 17:03:13 +0000 (0:00:00.021) 0:00:19.971 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typec1f6egro/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 17:03:13 +0000 (0:00:00.021) 0:00:19.992 ******* 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_typec1f6egro/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 17:03:13 +0000 (0:00:00.041) 0:00:20.034 ******* 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_typec1f6egro/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 17:03:13 +0000 (0:00:00.021) 0:00:20.055 ******* 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_typec1f6egro/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 17:03:13 +0000 (0:00:00.021) 0:00:20.077 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typec1f6egro/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 17:03:13 +0000 (0:00:00.024) 0:00:20.101 ******* 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_typec1f6egro/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 17:03:13 +0000 (0:00:00.020) 0:00:20.121 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typec1f6egro/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 17:03:13 +0000 (0:00:00.021) 0:00:20.143 ******* 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_typec1f6egro/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 17:03:13 +0000 (0:00:00.182) 0:00:20.325 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-15360o6t0vfyb/tmp4cnq12l3" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typec1f6egro/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 17:03:13 +0000 (0:00:00.188) 0:00:20.514 ******* 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_typec1f6egro/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 17:03:13 +0000 (0:00:00.359) 0:00:20.873 ******* 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_typec1f6egro/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 17:03:14 +0000 (0:00:00.020) 0:00:20.894 ******* 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_typec1f6egro/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 17:03:14 +0000 (0:00:00.022) 0:00:20.916 ******* 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_typec1f6egro/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 17:03:14 +0000 (0:00:00.023) 0:00:20.940 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typec1f6egro/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 17:03:14 +0000 (0:00:00.021) 0:00:20.961 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_typec1f6egro/tests/playbooks/tasks/run_test.yml:36 Tuesday 09 January 2024 17:03:14 +0000 (0:00:00.137) 0:00:21.099 ******* included: /WORKDIR/git-route_typec1f6egro/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-route_typec1f6egro/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typec1f6egro/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 09 January 2024 17:03:14 +0000 (0:00:00.042) 0:00:21.141 ******* included: /WORKDIR/git-route_typec1f6egro/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typec1f6egro/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 09 January 2024 17:03:14 +0000 (0:00:00.035) 0:00:21.176 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1704819793.8816528, "block_size": 4096, "blocks": 0, "ctime": 1704819793.880653, "dev": 0, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 6553, "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": 1704819793.880653, "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_typec1f6egro/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 09 January 2024 17:03:14 +0000 (0:00:00.131) 0:00:21.307 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typec1f6egro/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 09 January 2024 17:03:14 +0000 (0:00:00.022) 0:00:21.330 ******* included: /WORKDIR/git-route_typec1f6egro/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typec1f6egro/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 09 January 2024 17:03:14 +0000 (0:00:00.059) 0:00:21.390 ******* 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_typec1f6egro/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 09 January 2024 17:03:14 +0000 (0:00:00.022) 0:00:21.412 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1704819792.023653, "block_size": 4096, "blocks": 8, "ctime": 1704819790.4506528, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 18846, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1704819790.4506528, "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_typec1f6egro/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 09 January 2024 17:03:14 +0000 (0:00:00.126) 0:00:21.539 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typec1f6egro/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 09 January 2024 17:03:14 +0000 (0:00:00.023) 0:00:21.563 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.006250", "end": "2024-01-09 17:03:14.778587", "rc": 1, "start": "2024-01-09 17:03:14.772337" } STDERR: Error: Object 'connection' is unknown, try 'nmcli help'. MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-route_typec1f6egro/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 09 January 2024 17:03:14 +0000 (0:00:00.131) 0:00:21.694 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_typec1f6egro/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 09 January 2024 17:03:14 +0000 (0:00:00.022) 0:00:21.716 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.002863", "end": "2024-01-09 17:03:14.929228", "rc": 0, "start": "2024-01-09 17:03:14.926365" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_typec1f6egro/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 09 January 2024 17:03:14 +0000 (0:00:00.130) 0:00:21.847 ******* 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_typec1f6egro/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 09 January 2024 17:03:14 +0000 (0:00:00.027) 0:00:21.874 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.002937", "end": "2024-01-09 17:03:15.088659", "rc": 0, "start": "2024-01-09 17:03:15.085722" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_typec1f6egro/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 09 January 2024 17:03:15 +0000 (0:00:00.132) 0:00:22.006 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-route_typec1f6egro/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 09 January 2024 17:03:15 +0000 (0:00:00.026) 0:00:22.033 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-route_typec1f6egro/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 09 January 2024 17:03:15 +0000 (0:00:00.024) 0:00:22.057 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-route_typec1f6egro/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 09 January 2024 17:03:15 +0000 (0:00:00.023) 0:00:22.081 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typec1f6egro/tests/playbooks/tasks/run_test.yml:42 Tuesday 09 January 2024 17:03:15 +0000 (0:00:00.021) 0:00:22.103 ******* TASK [Success in test 'I can activate an existing profile'] ******************** task path: /WORKDIR/git-route_typec1f6egro/tests/playbooks/tasks/run_test.yml:47 Tuesday 09 January 2024 17:03:15 +0000 (0:00:00.019) 0:00:22.122 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_typec1f6egro/tests/playbooks/tasks/run_test.yml:66 Tuesday 09 January 2024 17:03:15 +0000 (0:00:00.022) 0:00:22.144 ******* included: /WORKDIR/git-route_typec1f6egro/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_typec1f6egro/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 09 January 2024 17:03:15 +0000 (0:00:00.063) 0:00:22.208 ******* 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.034024", "end": "2024-01-09 17:03:15.453379", "rc": 0, "start": "2024-01-09 17:03:15.419355" } STDERR: Error: Can't obtain connections: settings services are not running. Error: Can't obtain connections: settings services are not running. TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-route_typec1f6egro/tests/playbooks/tests_states.yml:83 Tuesday 09 January 2024 17:03:15 +0000 (0:00:00.168) 0:00:22.376 ******* included: /WORKDIR/git-route_typec1f6egro/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_typec1f6egro/tests/playbooks/tasks/run_test.yml:5 Tuesday 09 January 2024 17:03:15 +0000 (0:00:00.036) 0:00:22.413 ******* ok: [sut] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_typec1f6egro/tests/playbooks/tasks/run_test.yml:9 Tuesday 09 January 2024 17:03:15 +0000 (0:00:00.022) 0:00:22.435 ******* 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_typec1f6egro/tests/playbooks/tasks/run_test.yml:21 Tuesday 09 January 2024 17:03:15 +0000 (0:00:00.044) 0:00:22.480 ******* included: /WORKDIR/git-route_typec1f6egro/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typec1f6egro/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 09 January 2024 17:03:15 +0000 (0:00:00.034) 0:00:22.515 ******* included: /WORKDIR/git-route_typec1f6egro/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typec1f6egro/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 09 January 2024 17:03:15 +0000 (0:00:00.033) 0:00:22.548 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002955", "end": "2024-01-09 17:03:15.760277", "rc": 0, "start": "2024-01-09 17:03:15.757322" } STDOUT: dummy0 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typec1f6egro/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 09 January 2024 17:03:15 +0000 (0:00:00.128) 0:00:22.676 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "dummy0", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typec1f6egro/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 09 January 2024 17:03:15 +0000 (0:00:00.022) 0:00:22.698 ******* ok: [sut] => {} MSG: current_interfaces: ['dummy0', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typec1f6egro/tests/playbooks/tasks/run_test.yml:24 Tuesday 09 January 2024 17:03:15 +0000 (0:00:00.021) 0:00:22.719 ******* included: /WORKDIR/git-route_typec1f6egro/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-route_typec1f6egro/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typec1f6egro/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 09 January 2024 17:03:15 +0000 (0:00:00.039) 0:00:22.759 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typec1f6egro/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 17:03:15 +0000 (0:00:00.061) 0:00:22.821 ******* included: /WORKDIR/git-route_typec1f6egro/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_typec1f6egro/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 17:03:15 +0000 (0:00:00.039) 0:00:22.861 ******* 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_typec1f6egro/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 17:03:15 +0000 (0:00:00.025) 0:00:22.886 ******* 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_typec1f6egro/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 17:03:16 +0000 (0:00:00.021) 0:00:22.908 ******* 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_typec1f6egro/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 17:03:16 +0000 (0:00:00.020) 0:00:22.929 ******* 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_typec1f6egro/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 17:03:17 +0000 (0:00:01.580) 0:00:24.510 ******* 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_typec1f6egro/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 17:03:18 +0000 (0:00:00.615) 0:00:25.125 ******* 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_typec1f6egro/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 17:03:18 +0000 (0:00:00.023) 0:00:25.149 ******* 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_typec1f6egro/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 17:03:18 +0000 (0:00:00.021) 0:00:25.170 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typec1f6egro/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 17:03:18 +0000 (0:00:00.021) 0:00:25.191 ******* 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_typec1f6egro/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 17:03:18 +0000 (0:00:00.042) 0:00:25.233 ******* 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_typec1f6egro/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 17:03:18 +0000 (0:00:00.020) 0:00:25.254 ******* 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_typec1f6egro/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 17:03:18 +0000 (0:00:00.021) 0:00:25.275 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typec1f6egro/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 17:03:18 +0000 (0:00:00.024) 0:00:25.300 ******* 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_typec1f6egro/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 17:03:18 +0000 (0:00:00.020) 0:00:25.321 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typec1f6egro/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 17:03:18 +0000 (0:00:00.021) 0:00:25.342 ******* 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_typec1f6egro/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 17:03:18 +0000 (0:00:00.184) 0:00:25.527 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-15360o6t0vfyb/tmpex_lu74r" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typec1f6egro/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 17:03:18 +0000 (0:00:00.197) 0:00:25.724 ******* 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_typec1f6egro/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 17:03:19 +0000 (0:00:00.294) 0:00:26.019 ******* 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_typec1f6egro/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 17:03:19 +0000 (0:00:00.021) 0:00:26.040 ******* 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_typec1f6egro/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 17:03:19 +0000 (0:00:00.023) 0:00:26.063 ******* 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_typec1f6egro/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 17:03:19 +0000 (0:00:00.022) 0:00:26.086 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typec1f6egro/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 17:03:19 +0000 (0:00:00.021) 0:00:26.108 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typec1f6egro/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 09 January 2024 17:03:19 +0000 (0:00:00.125) 0:00:26.233 ******* ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typec1f6egro/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 09 January 2024 17:03:19 +0000 (0:00:00.023) 0:00:26.257 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typec1f6egro/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 17:03:19 +0000 (0:00:00.034) 0:00:26.291 ******* included: /WORKDIR/git-route_typec1f6egro/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_typec1f6egro/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 17:03:19 +0000 (0:00:00.039) 0:00:26.331 ******* 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_typec1f6egro/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 17:03:19 +0000 (0:00:00.027) 0:00:26.358 ******* 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_typec1f6egro/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 17:03:19 +0000 (0:00:00.021) 0:00:26.380 ******* 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_typec1f6egro/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 17:03:19 +0000 (0:00:00.020) 0:00:26.400 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-route_typec1f6egro/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 17:03:21 +0000 (0:00:01.561) 0:00:27.962 ******* 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_typec1f6egro/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 17:03:21 +0000 (0:00:00.580) 0:00:28.542 ******* 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_typec1f6egro/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 17:03:21 +0000 (0:00:00.022) 0:00:28.564 ******* 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_typec1f6egro/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 17:03:21 +0000 (0:00:00.021) 0:00:28.586 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typec1f6egro/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 17:03:21 +0000 (0:00:00.021) 0:00:28.608 ******* 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_typec1f6egro/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 17:03:21 +0000 (0:00:00.042) 0:00:28.650 ******* 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_typec1f6egro/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 17:03:21 +0000 (0:00:00.021) 0:00:28.671 ******* 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_typec1f6egro/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 17:03:21 +0000 (0:00:00.021) 0:00:28.693 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typec1f6egro/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 17:03:21 +0000 (0:00:00.024) 0:00:28.717 ******* 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_typec1f6egro/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 17:03:21 +0000 (0:00:00.043) 0:00:28.760 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typec1f6egro/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 17:03:21 +0000 (0:00:00.021) 0:00:28.782 ******* 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_typec1f6egro/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 17:03:22 +0000 (0:00:00.188) 0:00:28.970 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-15360o6t0vfyb/tmp4i669_7f" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typec1f6egro/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 17:03:22 +0000 (0:00:00.192) 0:00:29.163 ******* 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_typec1f6egro/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 17:03:22 +0000 (0:00:00.350) 0:00:29.513 ******* 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_typec1f6egro/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 17:03:22 +0000 (0:00:00.021) 0:00:29.535 ******* 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_typec1f6egro/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 17:03:22 +0000 (0:00:00.022) 0:00:29.557 ******* 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_typec1f6egro/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 17:03:22 +0000 (0:00:00.021) 0:00:29.579 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typec1f6egro/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 17:03:22 +0000 (0:00:00.021) 0:00:29.600 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_typec1f6egro/tests/playbooks/tasks/run_test.yml:30 Tuesday 09 January 2024 17:03:22 +0000 (0:00:00.124) 0:00:29.725 ******* included: /WORKDIR/git-route_typec1f6egro/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typec1f6egro/tests/playbooks/tasks/remove_profile.yml:3 Tuesday 09 January 2024 17:03:22 +0000 (0:00:00.038) 0:00:29.763 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typec1f6egro/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 17:03:22 +0000 (0:00:00.064) 0:00:29.828 ******* included: /WORKDIR/git-route_typec1f6egro/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_typec1f6egro/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 17:03:22 +0000 (0:00:00.039) 0:00:29.867 ******* 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_typec1f6egro/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 17:03:23 +0000 (0:00:00.026) 0:00:29.893 ******* 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_typec1f6egro/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 17:03:23 +0000 (0:00:00.021) 0:00:29.914 ******* 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_typec1f6egro/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 17:03:23 +0000 (0:00:00.021) 0:00:29.936 ******* 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_typec1f6egro/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 17:03:24 +0000 (0:00:01.564) 0:00:31.500 ******* 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_typec1f6egro/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 17:03:25 +0000 (0:00:00.598) 0:00:32.099 ******* 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_typec1f6egro/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 17:03:25 +0000 (0:00:00.022) 0:00:32.121 ******* 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_typec1f6egro/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 17:03:25 +0000 (0:00:00.021) 0:00:32.143 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typec1f6egro/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 17:03:25 +0000 (0:00:00.021) 0:00:32.164 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-route_typec1f6egro/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 17:03:25 +0000 (0:00:00.042) 0:00:32.207 ******* 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_typec1f6egro/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 17:03:25 +0000 (0:00:00.021) 0:00:32.229 ******* 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_typec1f6egro/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 17:03:25 +0000 (0:00:00.020) 0:00:32.249 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typec1f6egro/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 17:03:25 +0000 (0:00:00.025) 0:00:32.275 ******* 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_typec1f6egro/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 17:03:25 +0000 (0:00:00.021) 0:00:32.296 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typec1f6egro/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 17:03:25 +0000 (0:00:00.020) 0:00:32.317 ******* 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_typec1f6egro/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 17:03:25 +0000 (0:00:00.184) 0:00:32.501 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-15360o6t0vfyb/tmprepmkvo9" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typec1f6egro/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 17:03:25 +0000 (0:00:00.188) 0:00:32.690 ******* 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_typec1f6egro/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 17:03:26 +0000 (0:00:00.243) 0:00:32.934 ******* 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_typec1f6egro/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 17:03:26 +0000 (0:00:00.020) 0:00:32.955 ******* 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_typec1f6egro/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 17:03:26 +0000 (0:00:00.048) 0:00:33.003 ******* 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_typec1f6egro/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 17:03:26 +0000 (0:00:00.023) 0:00:33.026 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typec1f6egro/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 17:03:26 +0000 (0:00:00.021) 0:00:33.048 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_typec1f6egro/tests/playbooks/tasks/run_test.yml:36 Tuesday 09 January 2024 17:03:26 +0000 (0:00:00.120) 0:00:33.168 ******* included: /WORKDIR/git-route_typec1f6egro/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-route_typec1f6egro/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typec1f6egro/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 09 January 2024 17:03:26 +0000 (0:00:00.042) 0:00:33.211 ******* included: /WORKDIR/git-route_typec1f6egro/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typec1f6egro/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 09 January 2024 17:03:26 +0000 (0:00:00.034) 0:00:33.246 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1704819802.526653, "block_size": 4096, "blocks": 0, "ctime": 1704819802.5226529, "dev": 0, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 6553, "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": 1704819802.5226529, "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_typec1f6egro/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 09 January 2024 17:03:26 +0000 (0:00:00.129) 0:00:33.375 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typec1f6egro/tests/playbooks/tasks/assert_profile_absent.yml:3 Tuesday 09 January 2024 17:03:26 +0000 (0:00:00.023) 0:00:33.398 ******* included: /WORKDIR/git-route_typec1f6egro/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typec1f6egro/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 09 January 2024 17:03:26 +0000 (0:00:00.036) 0:00:33.434 ******* 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_typec1f6egro/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 09 January 2024 17:03:26 +0000 (0:00:00.020) 0:00:33.455 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_typec1f6egro/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 09 January 2024 17:03:26 +0000 (0:00:00.123) 0:00:33.578 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typec1f6egro/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 09 January 2024 17:03:26 +0000 (0:00:00.020) 0:00:33.599 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.006322", "end": "2024-01-09 17:03:26.813840", "rc": 1, "start": "2024-01-09 17:03:26.807518" } STDERR: Error: Object 'connection' is unknown, try 'nmcli help'. MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-route_typec1f6egro/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 09 January 2024 17:03:26 +0000 (0:00:00.155) 0:00:33.755 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_typec1f6egro/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 09 January 2024 17:03:26 +0000 (0:00:00.024) 0:00:33.779 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_typec1f6egro/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 09 January 2024 17:03:26 +0000 (0:00:00.026) 0:00:33.806 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_typec1f6egro/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 09 January 2024 17:03:26 +0000 (0:00:00.024) 0:00:33.830 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_typec1f6egro/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 09 January 2024 17:03:26 +0000 (0:00:00.023) 0:00:33.853 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-route_typec1f6egro/tests/playbooks/tasks/assert_profile_absent.yml:5 Tuesday 09 January 2024 17:03:26 +0000 (0:00:00.025) 0:00:33.879 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typec1f6egro/tests/playbooks/tasks/run_test.yml:42 Tuesday 09 January 2024 17:03:27 +0000 (0:00:00.024) 0:00:33.903 ******* TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /WORKDIR/git-route_typec1f6egro/tests/playbooks/tasks/run_test.yml:47 Tuesday 09 January 2024 17:03:27 +0000 (0:00:00.019) 0:00:33.923 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_typec1f6egro/tests/playbooks/tasks/run_test.yml:66 Tuesday 09 January 2024 17:03:27 +0000 (0:00:00.022) 0:00:33.946 ******* included: /WORKDIR/git-route_typec1f6egro/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_typec1f6egro/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 09 January 2024 17:03:27 +0000 (0:00:00.039) 0:00:33.985 ******* 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.036571", "end": "2024-01-09 17:03:27.232473", "rc": 0, "start": "2024-01-09 17:03:27.195902" } STDERR: Error: Can't obtain connections: settings services are not running. Error: Can't obtain connections: settings services are not running. TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-route_typec1f6egro/tests/playbooks/tests_states.yml:103 Tuesday 09 January 2024 17:03:27 +0000 (0:00:00.170) 0:00:34.156 ******* included: /WORKDIR/git-route_typec1f6egro/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can take a profile down that is absent] ************************** task path: /WORKDIR/git-route_typec1f6egro/tests/playbooks/tasks/run_test.yml:5 Tuesday 09 January 2024 17:03:27 +0000 (0:00:00.035) 0:00:34.192 ******* ok: [sut] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_typec1f6egro/tests/playbooks/tasks/run_test.yml:9 Tuesday 09 January 2024 17:03:27 +0000 (0:00:00.022) 0:00:34.214 ******* 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_typec1f6egro/tests/playbooks/tasks/run_test.yml:21 Tuesday 09 January 2024 17:03:27 +0000 (0:00:00.045) 0:00:34.259 ******* included: /WORKDIR/git-route_typec1f6egro/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typec1f6egro/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 09 January 2024 17:03:27 +0000 (0:00:00.060) 0:00:34.320 ******* included: /WORKDIR/git-route_typec1f6egro/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typec1f6egro/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 09 January 2024 17:03:27 +0000 (0:00:00.033) 0:00:34.353 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003244", "end": "2024-01-09 17:03:27.567171", "rc": 0, "start": "2024-01-09 17:03:27.563927" } STDOUT: dummy0 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typec1f6egro/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 09 January 2024 17:03:27 +0000 (0:00:00.131) 0:00:34.484 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "dummy0", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typec1f6egro/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 09 January 2024 17:03:27 +0000 (0:00:00.022) 0:00:34.507 ******* ok: [sut] => {} MSG: current_interfaces: ['dummy0', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typec1f6egro/tests/playbooks/tasks/run_test.yml:24 Tuesday 09 January 2024 17:03:27 +0000 (0:00:00.022) 0:00:34.529 ******* included: /WORKDIR/git-route_typec1f6egro/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-route_typec1f6egro/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-route_typec1f6egro/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typec1f6egro/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 09 January 2024 17:03:27 +0000 (0:00:00.044) 0:00:34.574 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typec1f6egro/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 17:03:27 +0000 (0:00:00.035) 0:00:34.609 ******* included: /WORKDIR/git-route_typec1f6egro/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_typec1f6egro/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 17:03:27 +0000 (0:00:00.039) 0:00:34.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_typec1f6egro/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 17:03:27 +0000 (0:00:00.026) 0:00:34.675 ******* 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_typec1f6egro/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 17:03:27 +0000 (0:00:00.021) 0:00:34.696 ******* 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_typec1f6egro/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 17:03:27 +0000 (0:00:00.020) 0:00:34.717 ******* 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_typec1f6egro/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 17:03:29 +0000 (0:00:01.535) 0:00:36.252 ******* 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_typec1f6egro/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 17:03:29 +0000 (0:00:00.571) 0:00:36.824 ******* 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_typec1f6egro/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 17:03:29 +0000 (0:00:00.022) 0:00:36.847 ******* 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_typec1f6egro/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 17:03:29 +0000 (0:00:00.021) 0:00:36.868 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typec1f6egro/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 17:03:29 +0000 (0:00:00.021) 0:00:36.890 ******* 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_typec1f6egro/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 17:03:30 +0000 (0:00:00.043) 0:00:36.933 ******* 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_typec1f6egro/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 17:03:30 +0000 (0:00:00.043) 0:00:36.977 ******* 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_typec1f6egro/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 17:03:30 +0000 (0:00:00.021) 0:00:36.998 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typec1f6egro/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 17:03:30 +0000 (0:00:00.024) 0:00:37.023 ******* 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_typec1f6egro/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 17:03:30 +0000 (0:00:00.021) 0:00:37.044 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typec1f6egro/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 17:03:30 +0000 (0:00:00.021) 0:00:37.066 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_typec1f6egro/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 17:03:30 +0000 (0:00:00.184) 0:00:37.251 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-15360o6t0vfyb/tmpd293kqxr" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typec1f6egro/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 17:03:30 +0000 (0:00:00.191) 0:00:37.442 ******* 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_typec1f6egro/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 17:03:30 +0000 (0:00:00.231) 0:00:37.674 ******* 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_typec1f6egro/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 17:03:30 +0000 (0:00:00.020) 0:00:37.695 ******* 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_typec1f6egro/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 17:03:30 +0000 (0:00:00.022) 0:00:37.717 ******* 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_typec1f6egro/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 17:03:30 +0000 (0:00:00.022) 0:00:37.740 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typec1f6egro/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 17:03:30 +0000 (0:00:00.020) 0:00:37.761 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typec1f6egro/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 09 January 2024 17:03:30 +0000 (0:00:00.124) 0:00:37.885 ******* 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_typec1f6egro/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 09 January 2024 17:03:31 +0000 (0:00:00.022) 0:00:37.908 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typec1f6egro/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 17:03:31 +0000 (0:00:00.062) 0:00:37.970 ******* included: /WORKDIR/git-route_typec1f6egro/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_typec1f6egro/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 17:03:31 +0000 (0:00:00.040) 0:00:38.010 ******* 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_typec1f6egro/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 17:03:31 +0000 (0:00:00.025) 0:00:38.036 ******* 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_typec1f6egro/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 17:03:31 +0000 (0:00:00.021) 0:00:38.058 ******* 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_typec1f6egro/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 17:03:31 +0000 (0:00:00.021) 0:00:38.079 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-route_typec1f6egro/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 17:03:32 +0000 (0:00:01.533) 0:00:39.613 ******* 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_typec1f6egro/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 17:03:33 +0000 (0:00:00.619) 0:00:40.232 ******* 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_typec1f6egro/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 17:03:33 +0000 (0:00:00.023) 0:00:40.255 ******* 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_typec1f6egro/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 17:03:33 +0000 (0:00:00.021) 0:00:40.276 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typec1f6egro/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 17:03:33 +0000 (0:00:00.022) 0:00:40.299 ******* 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_typec1f6egro/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 17:03:33 +0000 (0:00:00.042) 0:00:40.342 ******* 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_typec1f6egro/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 17:03:33 +0000 (0:00:00.021) 0:00:40.363 ******* 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_typec1f6egro/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 17:03:33 +0000 (0:00:00.020) 0:00:40.384 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typec1f6egro/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 17:03:33 +0000 (0:00:00.024) 0:00:40.409 ******* 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_typec1f6egro/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 17:03:33 +0000 (0:00:00.022) 0:00:40.431 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typec1f6egro/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 17:03:33 +0000 (0:00:00.021) 0:00:40.453 ******* 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_typec1f6egro/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 17:03:33 +0000 (0:00:00.189) 0:00:40.643 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-15360o6t0vfyb/tmprg9_nlqz" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typec1f6egro/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 17:03:33 +0000 (0:00:00.194) 0:00:40.837 ******* 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_typec1f6egro/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 17:03:34 +0000 (0:00:00.374) 0:00:41.211 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-route_typec1f6egro/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 17:03:34 +0000 (0:00:00.048) 0:00:41.260 ******* 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_typec1f6egro/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 17:03:34 +0000 (0:00:00.023) 0:00:41.283 ******* 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_typec1f6egro/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 17:03:34 +0000 (0:00:00.022) 0:00:41.305 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typec1f6egro/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 17:03:34 +0000 (0:00:00.021) 0:00:41.327 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typec1f6egro/tests/playbooks/tasks/remove_profile.yml:3 Tuesday 09 January 2024 17:03:34 +0000 (0:00:00.124) 0:00:41.451 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typec1f6egro/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 17:03:34 +0000 (0:00:00.035) 0:00:41.487 ******* included: /WORKDIR/git-route_typec1f6egro/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_typec1f6egro/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 17:03:34 +0000 (0:00:00.039) 0:00:41.526 ******* 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_typec1f6egro/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 17:03:34 +0000 (0:00:00.025) 0:00:41.552 ******* 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_typec1f6egro/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 17:03:34 +0000 (0:00:00.021) 0:00:41.574 ******* 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_typec1f6egro/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 17:03:34 +0000 (0:00:00.021) 0:00:41.595 ******* 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_typec1f6egro/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 17:03:36 +0000 (0:00:01.512) 0:00:43.107 ******* 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_typec1f6egro/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 17:03:36 +0000 (0:00:00.565) 0:00:43.672 ******* ok: [sut] => {} MSG: Using network provider: initscripts TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-route_typec1f6egro/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 17:03:36 +0000 (0:00:00.022) 0:00:43.695 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-route_typec1f6egro/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 17:03:36 +0000 (0:00:00.021) 0:00:43.716 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typec1f6egro/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 17:03:36 +0000 (0:00:00.021) 0:00:43.738 ******* 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_typec1f6egro/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 17:03:36 +0000 (0:00:00.043) 0:00:43.782 ******* 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_typec1f6egro/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 17:03:36 +0000 (0:00:00.021) 0:00:43.803 ******* 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_typec1f6egro/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 17:03:36 +0000 (0:00:00.021) 0:00:43.825 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typec1f6egro/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 17:03:36 +0000 (0:00:00.024) 0:00:43.850 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-route_typec1f6egro/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 17:03:36 +0000 (0:00:00.020) 0:00:43.871 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typec1f6egro/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 17:03:37 +0000 (0:00:00.045) 0:00:43.916 ******* 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_typec1f6egro/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 17:03:37 +0000 (0:00:00.188) 0:00:44.104 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-15360o6t0vfyb/tmpb0db08k_" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typec1f6egro/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 17:03:37 +0000 (0:00:00.192) 0:00:44.296 ******* 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_typec1f6egro/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 17:03:37 +0000 (0:00:00.239) 0:00:44.535 ******* 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_typec1f6egro/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 17:03:37 +0000 (0:00:00.021) 0:00:44.557 ******* 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_typec1f6egro/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 17:03:37 +0000 (0:00:00.022) 0:00:44.579 ******* 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_typec1f6egro/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 17:03:37 +0000 (0:00:00.022) 0:00:44.601 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typec1f6egro/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 17:03:37 +0000 (0:00:00.021) 0:00:44.623 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_typec1f6egro/tests/playbooks/tasks/run_test.yml:30 Tuesday 09 January 2024 17:03:37 +0000 (0:00:00.129) 0:00:44.752 ******* included: /WORKDIR/git-route_typec1f6egro/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typec1f6egro/tests/playbooks/tasks/remove+down_profile.yml:3 Tuesday 09 January 2024 17:03:37 +0000 (0:00:00.038) 0:00:44.791 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typec1f6egro/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 17:03:37 +0000 (0:00:00.039) 0:00:44.830 ******* included: /WORKDIR/git-route_typec1f6egro/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_typec1f6egro/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 17:03:38 +0000 (0:00:00.065) 0:00:44.896 ******* 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_typec1f6egro/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 17:03:38 +0000 (0:00:00.027) 0:00:44.924 ******* 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_typec1f6egro/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 17:03:38 +0000 (0:00:00.021) 0:00:44.945 ******* 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_typec1f6egro/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 17:03:38 +0000 (0:00:00.021) 0:00:44.967 ******* 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_typec1f6egro/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 17:03:39 +0000 (0:00:01.532) 0:00:46.499 ******* 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_typec1f6egro/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 17:03:40 +0000 (0:00:00.572) 0:00:47.071 ******* 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_typec1f6egro/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 17:03:40 +0000 (0:00:00.044) 0:00:47.116 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-route_typec1f6egro/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 17:03:40 +0000 (0:00:00.021) 0:00:47.137 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typec1f6egro/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 17:03:40 +0000 (0:00:00.020) 0:00:47.158 ******* 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_typec1f6egro/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 17:03:40 +0000 (0:00:00.043) 0:00:47.202 ******* 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_typec1f6egro/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 17:03:40 +0000 (0:00:00.022) 0:00:47.224 ******* 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_typec1f6egro/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 17:03:40 +0000 (0:00:00.021) 0:00:47.246 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typec1f6egro/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 17:03:40 +0000 (0:00:00.024) 0:00:47.271 ******* 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_typec1f6egro/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 17:03:40 +0000 (0:00:00.021) 0:00:47.292 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typec1f6egro/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 17:03:40 +0000 (0:00:00.021) 0:00:47.314 ******* 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_typec1f6egro/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 17:03:40 +0000 (0:00:00.188) 0:00:47.502 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-15360o6t0vfyb/tmpatjpgbmg" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typec1f6egro/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 17:03:40 +0000 (0:00:00.194) 0:00:47.696 ******* 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_typec1f6egro/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 17:03:41 +0000 (0:00:00.236) 0:00:47.933 ******* 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_typec1f6egro/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 17:03:41 +0000 (0:00:00.020) 0:00:47.953 ******* 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_typec1f6egro/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 17:03:41 +0000 (0:00:00.022) 0:00:47.976 ******* 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_typec1f6egro/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 17:03:41 +0000 (0:00:00.022) 0:00:47.998 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typec1f6egro/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 17:03:41 +0000 (0:00:00.047) 0:00:48.045 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_typec1f6egro/tests/playbooks/tasks/run_test.yml:36 Tuesday 09 January 2024 17:03:41 +0000 (0:00:00.129) 0:00:48.175 ******* included: /WORKDIR/git-route_typec1f6egro/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typec1f6egro/tests/playbooks/tasks/assert_profile_absent.yml:3 Tuesday 09 January 2024 17:03:41 +0000 (0:00:00.041) 0:00:48.217 ******* included: /WORKDIR/git-route_typec1f6egro/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typec1f6egro/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 09 January 2024 17:03:41 +0000 (0:00:00.038) 0:00:48.256 ******* 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_typec1f6egro/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 09 January 2024 17:03:41 +0000 (0:00:00.022) 0:00:48.278 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_typec1f6egro/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 09 January 2024 17:03:41 +0000 (0:00:00.127) 0:00:48.406 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typec1f6egro/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 09 January 2024 17:03:41 +0000 (0:00:00.021) 0:00:48.428 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.006665", "end": "2024-01-09 17:03:41.645660", "rc": 1, "start": "2024-01-09 17:03:41.638995" } STDERR: Error: Object 'connection' is unknown, try 'nmcli help'. MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-route_typec1f6egro/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 09 January 2024 17:03:41 +0000 (0:00:00.135) 0:00:48.563 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_typec1f6egro/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 09 January 2024 17:03:41 +0000 (0:00:00.022) 0:00:48.585 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_typec1f6egro/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 09 January 2024 17:03:41 +0000 (0:00:00.022) 0:00:48.608 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_typec1f6egro/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 09 January 2024 17:03:41 +0000 (0:00:00.022) 0:00:48.630 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_typec1f6egro/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 09 January 2024 17:03:41 +0000 (0:00:00.021) 0:00:48.652 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-route_typec1f6egro/tests/playbooks/tasks/assert_profile_absent.yml:5 Tuesday 09 January 2024 17:03:41 +0000 (0:00:00.022) 0:00:48.674 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typec1f6egro/tests/playbooks/tasks/run_test.yml:42 Tuesday 09 January 2024 17:03:41 +0000 (0:00:00.050) 0:00:48.725 ******* 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_typec1f6egro/tests/playbooks/tasks/run_test.yml:47 Tuesday 09 January 2024 17:03:41 +0000 (0:00:00.025) 0:00:48.751 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_typec1f6egro/tests/playbooks/tasks/run_test.yml:66 Tuesday 09 January 2024 17:03:41 +0000 (0:00:00.022) 0:00:48.773 ******* included: /WORKDIR/git-route_typec1f6egro/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_typec1f6egro/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 09 January 2024 17:03:41 +0000 (0:00:00.039) 0:00:48.812 ******* 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.035805", "end": "2024-01-09 17:03:42.059424", "rc": 0, "start": "2024-01-09 17:03:42.023619" } STDERR: Error: Can't obtain connections: settings services are not running. Error: Can't obtain connections: settings services are not running. TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-route_typec1f6egro/tests/playbooks/tests_states.yml:126 Tuesday 09 January 2024 17:03:42 +0000 (0:00:00.167) 0:00:48.980 ******* included: /WORKDIR/git-route_typec1f6egro/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_typec1f6egro/tests/playbooks/tasks/run_test.yml:5 Tuesday 09 January 2024 17:03:42 +0000 (0:00:00.036) 0:00:49.017 ******* 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_typec1f6egro/tests/playbooks/tasks/run_test.yml:9 Tuesday 09 January 2024 17:03:42 +0000 (0:00:00.022) 0:00:49.039 ******* 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_typec1f6egro/tests/playbooks/tasks/run_test.yml:21 Tuesday 09 January 2024 17:03:42 +0000 (0:00:00.048) 0:00:49.087 ******* included: /WORKDIR/git-route_typec1f6egro/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typec1f6egro/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 09 January 2024 17:03:42 +0000 (0:00:00.035) 0:00:49.123 ******* included: /WORKDIR/git-route_typec1f6egro/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typec1f6egro/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 09 January 2024 17:03:42 +0000 (0:00:00.034) 0:00:49.157 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003275", "end": "2024-01-09 17:03:42.371903", "rc": 0, "start": "2024-01-09 17:03:42.368628" } STDOUT: dummy0 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typec1f6egro/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 09 January 2024 17:03:42 +0000 (0:00:00.132) 0:00:49.290 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "dummy0", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typec1f6egro/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 09 January 2024 17:03:42 +0000 (0:00:00.022) 0:00:49.312 ******* ok: [sut] => {} MSG: current_interfaces: ['dummy0', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typec1f6egro/tests/playbooks/tasks/run_test.yml:24 Tuesday 09 January 2024 17:03:42 +0000 (0:00:00.046) 0:00:49.358 ******* included: /WORKDIR/git-route_typec1f6egro/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-route_typec1f6egro/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-route_typec1f6egro/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typec1f6egro/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 09 January 2024 17:03:42 +0000 (0:00:00.044) 0:00:49.403 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typec1f6egro/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 17:03:42 +0000 (0:00:00.036) 0:00:49.439 ******* included: /WORKDIR/git-route_typec1f6egro/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_typec1f6egro/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 17:03:42 +0000 (0:00:00.038) 0:00:49.478 ******* 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_typec1f6egro/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 17:03:42 +0000 (0:00:00.025) 0:00:49.504 ******* 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_typec1f6egro/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 17:03:42 +0000 (0:00:00.020) 0:00:49.525 ******* 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_typec1f6egro/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 17:03:42 +0000 (0:00:00.021) 0:00:49.546 ******* 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_typec1f6egro/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 17:03:44 +0000 (0:00:01.544) 0:00:51.090 ******* 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_typec1f6egro/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 17:03:44 +0000 (0:00:00.572) 0:00:51.663 ******* 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_typec1f6egro/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 17:03:44 +0000 (0:00:00.023) 0:00:51.686 ******* 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_typec1f6egro/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 17:03:44 +0000 (0:00:00.021) 0:00:51.708 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typec1f6egro/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 17:03:44 +0000 (0:00:00.020) 0:00:51.729 ******* 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_typec1f6egro/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 17:03:44 +0000 (0:00:00.043) 0:00:51.772 ******* 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_typec1f6egro/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 17:03:44 +0000 (0:00:00.021) 0:00:51.794 ******* 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_typec1f6egro/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 17:03:44 +0000 (0:00:00.021) 0:00:51.815 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typec1f6egro/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 17:03:44 +0000 (0:00:00.025) 0:00:51.840 ******* 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_typec1f6egro/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 17:03:44 +0000 (0:00:00.022) 0:00:51.863 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typec1f6egro/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 17:03:44 +0000 (0:00:00.021) 0:00:51.884 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_typec1f6egro/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 17:03:45 +0000 (0:00:00.189) 0:00:52.074 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-15360o6t0vfyb/tmp7tm5ltcg" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typec1f6egro/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 17:03:45 +0000 (0:00:00.194) 0:00:52.268 ******* 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_typec1f6egro/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 17:03:45 +0000 (0:00:00.236) 0:00:52.504 ******* 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_typec1f6egro/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 17:03:45 +0000 (0:00:00.021) 0:00:52.526 ******* 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_typec1f6egro/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 17:03:45 +0000 (0:00:00.023) 0:00:52.549 ******* 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_typec1f6egro/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 17:03:45 +0000 (0:00:00.022) 0:00:52.571 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typec1f6egro/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 17:03:45 +0000 (0:00:00.022) 0:00:52.593 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typec1f6egro/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 09 January 2024 17:03:45 +0000 (0:00:00.126) 0:00:52.719 ******* 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_typec1f6egro/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 09 January 2024 17:03:45 +0000 (0:00:00.024) 0:00:52.744 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typec1f6egro/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 17:03:45 +0000 (0:00:00.034) 0:00:52.779 ******* included: /WORKDIR/git-route_typec1f6egro/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_typec1f6egro/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 17:03:45 +0000 (0:00:00.039) 0:00:52.818 ******* 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_typec1f6egro/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 17:03:45 +0000 (0:00:00.026) 0:00:52.845 ******* 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_typec1f6egro/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 17:03:45 +0000 (0:00:00.021) 0:00:52.867 ******* 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_typec1f6egro/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 17:03:45 +0000 (0:00:00.021) 0:00:52.888 ******* 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_typec1f6egro/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 17:03:47 +0000 (0:00:01.503) 0:00:54.391 ******* 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_typec1f6egro/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 17:03:48 +0000 (0:00:00.561) 0:00:54.952 ******* 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_typec1f6egro/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 17:03:48 +0000 (0:00:00.022) 0:00:54.975 ******* 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_typec1f6egro/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 17:03:48 +0000 (0:00:00.021) 0:00:54.997 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typec1f6egro/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 17:03:48 +0000 (0:00:00.021) 0:00:55.018 ******* 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_typec1f6egro/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 17:03:48 +0000 (0:00:00.042) 0:00:55.060 ******* 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_typec1f6egro/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 17:03:48 +0000 (0:00:00.043) 0:00:55.104 ******* 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_typec1f6egro/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 17:03:48 +0000 (0:00:00.021) 0:00:55.125 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typec1f6egro/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 17:03:48 +0000 (0:00:00.024) 0:00:55.149 ******* 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_typec1f6egro/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 17:03:48 +0000 (0:00:00.021) 0:00:55.171 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typec1f6egro/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 17:03:48 +0000 (0:00:00.020) 0:00:55.191 ******* 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_typec1f6egro/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 17:03:48 +0000 (0:00:00.185) 0:00:55.376 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-15360o6t0vfyb/tmpa84e98cl" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typec1f6egro/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 17:03:48 +0000 (0:00:00.186) 0:00:55.562 ******* 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_typec1f6egro/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 17:03:49 +0000 (0:00:00.345) 0:00:55.908 ******* 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_typec1f6egro/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 17:03:49 +0000 (0:00:00.021) 0:00:55.930 ******* 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_typec1f6egro/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 17:03:49 +0000 (0:00:00.022) 0:00:55.952 ******* 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_typec1f6egro/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 17:03:49 +0000 (0:00:00.022) 0:00:55.975 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typec1f6egro/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 17:03:49 +0000 (0:00:00.021) 0:00:55.996 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typec1f6egro/tests/playbooks/tasks/remove+down_profile.yml:3 Tuesday 09 January 2024 17:03:49 +0000 (0:00:00.125) 0:00:56.122 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typec1f6egro/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 17:03:49 +0000 (0:00:00.061) 0:00:56.183 ******* included: /WORKDIR/git-route_typec1f6egro/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_typec1f6egro/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 17:03:49 +0000 (0:00:00.039) 0:00:56.222 ******* 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_typec1f6egro/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 17:03:49 +0000 (0:00:00.026) 0:00:56.249 ******* 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_typec1f6egro/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 17:03:49 +0000 (0:00:00.020) 0:00:56.270 ******* 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_typec1f6egro/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 17:03:49 +0000 (0:00:00.021) 0:00:56.291 ******* 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_typec1f6egro/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 17:03:50 +0000 (0:00:01.490) 0:00:57.782 ******* 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_typec1f6egro/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 17:03:51 +0000 (0:00:00.593) 0:00:58.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_typec1f6egro/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 17:03:51 +0000 (0:00:00.023) 0:00:58.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_typec1f6egro/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 17:03:51 +0000 (0:00:00.021) 0:00:58.420 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typec1f6egro/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 17:03:51 +0000 (0:00:00.021) 0:00:58.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_typec1f6egro/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 17:03:51 +0000 (0:00:00.042) 0:00:58.484 ******* 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_typec1f6egro/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 17:03:51 +0000 (0:00:00.021) 0:00:58.505 ******* 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_typec1f6egro/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 17:03:51 +0000 (0:00:00.020) 0:00:58.526 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typec1f6egro/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 17:03:51 +0000 (0:00:00.025) 0:00:58.551 ******* 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_typec1f6egro/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 17:03:51 +0000 (0:00:00.021) 0:00:58.573 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typec1f6egro/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 17:03:51 +0000 (0:00:00.022) 0:00:58.596 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_typec1f6egro/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 17:03:51 +0000 (0:00:00.186) 0:00:58.783 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-15360o6t0vfyb/tmp98mvldhu" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typec1f6egro/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 17:03:52 +0000 (0:00:00.190) 0:00:58.974 ******* 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_typec1f6egro/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 17:03:52 +0000 (0:00:00.238) 0:00:59.212 ******* 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_typec1f6egro/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 17:03:52 +0000 (0:00:00.021) 0:00:59.233 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'statebr': down connection statebr skipped because not active", "[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typec1f6egro/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 17:03:52 +0000 (0:00:00.053) 0:00:59.287 ******* 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_typec1f6egro/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 17:03:52 +0000 (0:00:00.023) 0:00:59.311 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typec1f6egro/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 17:03:52 +0000 (0:00:00.021) 0:00:59.333 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_typec1f6egro/tests/playbooks/tasks/run_test.yml:30 Tuesday 09 January 2024 17:03:52 +0000 (0:00:00.122) 0:00:59.456 ******* included: /WORKDIR/git-route_typec1f6egro/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typec1f6egro/tests/playbooks/tasks/remove+down_profile.yml:3 Tuesday 09 January 2024 17:03:52 +0000 (0:00:00.038) 0:00:59.495 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typec1f6egro/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 17:03:52 +0000 (0:00:00.035) 0:00:59.531 ******* included: /WORKDIR/git-route_typec1f6egro/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_typec1f6egro/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 17:03:52 +0000 (0:00:00.040) 0:00:59.571 ******* 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_typec1f6egro/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 17:03:52 +0000 (0:00:00.028) 0:00:59.599 ******* 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_typec1f6egro/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 17:03:52 +0000 (0:00:00.021) 0:00:59.621 ******* 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_typec1f6egro/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 17:03:52 +0000 (0:00:00.022) 0:00:59.643 ******* 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_typec1f6egro/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 17:03:54 +0000 (0:00:01.515) 0:01:01.159 ******* 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_typec1f6egro/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 17:03:54 +0000 (0:00:00.566) 0:01:01.725 ******* 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_typec1f6egro/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 17:03:54 +0000 (0:00:00.023) 0:01:01.748 ******* 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_typec1f6egro/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 17:03:54 +0000 (0:00:00.021) 0:01:01.770 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typec1f6egro/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 17:03:54 +0000 (0:00:00.023) 0:01:01.793 ******* 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_typec1f6egro/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 17:03:54 +0000 (0:00:00.044) 0:01:01.838 ******* 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_typec1f6egro/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 17:03:54 +0000 (0:00:00.021) 0:01:01.859 ******* 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_typec1f6egro/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 17:03:54 +0000 (0:00:00.021) 0:01:01.881 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typec1f6egro/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 17:03:55 +0000 (0:00:00.025) 0:01:01.907 ******* 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_typec1f6egro/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 17:03:55 +0000 (0:00:00.021) 0:01:01.928 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typec1f6egro/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 17:03:55 +0000 (0:00:00.049) 0:01:01.977 ******* 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_typec1f6egro/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 17:03:55 +0000 (0:00:00.187) 0:01:02.165 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-15360o6t0vfyb/tmpbhawh1v7" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typec1f6egro/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 17:03:55 +0000 (0:00:00.189) 0:01:02.355 ******* 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_typec1f6egro/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 17:03:55 +0000 (0:00:00.235) 0:01:02.590 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-route_typec1f6egro/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 17:03:55 +0000 (0:00:00.022) 0:01:02.612 ******* 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_typec1f6egro/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 17:03:55 +0000 (0:00:00.023) 0:01:02.635 ******* 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_typec1f6egro/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 17:03:55 +0000 (0:00:00.022) 0:01:02.658 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typec1f6egro/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 17:03:55 +0000 (0:00:00.021) 0:01:02.680 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_typec1f6egro/tests/playbooks/tasks/run_test.yml:36 Tuesday 09 January 2024 17:03:55 +0000 (0:00:00.132) 0:01:02.812 ******* included: /WORKDIR/git-route_typec1f6egro/tests/playbooks/tasks/assert_profile_absent.yml for sut included: /WORKDIR/git-route_typec1f6egro/tests/playbooks/tasks/get_NetworkManager_NVR.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typec1f6egro/tests/playbooks/tasks/assert_profile_absent.yml:3 Tuesday 09 January 2024 17:03:55 +0000 (0:00:00.044) 0:01:02.856 ******* included: /WORKDIR/git-route_typec1f6egro/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typec1f6egro/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 09 January 2024 17:03:56 +0000 (0:00:00.037) 0:01:02.894 ******* 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_typec1f6egro/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 09 January 2024 17:03:56 +0000 (0:00:00.022) 0:01:02.917 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_typec1f6egro/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 09 January 2024 17:03:56 +0000 (0:00:00.157) 0:01:03.074 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typec1f6egro/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 09 January 2024 17:03:56 +0000 (0:00:00.022) 0:01:03.097 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.006601", "end": "2024-01-09 17:03:56.317011", "rc": 1, "start": "2024-01-09 17:03:56.310410" } STDERR: Error: Object 'connection' is unknown, try 'nmcli help'. MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-route_typec1f6egro/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 09 January 2024 17:03:56 +0000 (0:00:00.138) 0:01:03.235 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_typec1f6egro/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 09 January 2024 17:03:56 +0000 (0:00:00.023) 0:01:03.258 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_typec1f6egro/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 09 January 2024 17:03:56 +0000 (0:00:00.023) 0:01:03.282 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_typec1f6egro/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 09 January 2024 17:03:56 +0000 (0:00:00.023) 0:01:03.305 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_typec1f6egro/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 09 January 2024 17:03:56 +0000 (0:00:00.025) 0:01:03.331 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-route_typec1f6egro/tests/playbooks/tasks/assert_profile_absent.yml:5 Tuesday 09 January 2024 17:03:56 +0000 (0:00:00.023) 0:01:03.354 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /WORKDIR/git-route_typec1f6egro/tests/playbooks/tasks/get_NetworkManager_NVR.yml:7 Tuesday 09 January 2024 17:03:56 +0000 (0:00:00.023) 0:01:03.377 ******* ok: [sut] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.384929", "end": "2024-01-09 17:03:56.973554", "rc": 0, "start": "2024-01-09 17:03:56.588625" } STDOUT: NetworkManager-0.8.1-113.el6 TASK [Store NetworkManager version] ******************************************** task path: /WORKDIR/git-route_typec1f6egro/tests/playbooks/tasks/get_NetworkManager_NVR.yml:14 Tuesday 09 January 2024 17:03:57 +0000 (0:00:00.515) 0:01:03.893 ******* ok: [sut] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-0.8.1-113.el6" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /WORKDIR/git-route_typec1f6egro/tests/playbooks/tasks/get_NetworkManager_NVR.yml:18 Tuesday 09 January 2024 17:03:57 +0000 (0:00:00.022) 0:01:03.915 ******* ok: [sut] => { "networkmanager_nvr": "NetworkManager-0.8.1-113.el6" } TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typec1f6egro/tests/playbooks/tasks/run_test.yml:42 Tuesday 09 January 2024 17:03:57 +0000 (0:00:00.022) 0:01:03.938 ******* 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_typec1f6egro/tests/playbooks/tasks/run_test.yml:47 Tuesday 09 January 2024 17:03:57 +0000 (0:00:00.025) 0:01:03.963 ******* 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_typec1f6egro/tests/playbooks/tasks/run_test.yml:66 Tuesday 09 January 2024 17:03:57 +0000 (0:00:00.022) 0:01:03.986 ******* included: /WORKDIR/git-route_typec1f6egro/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_typec1f6egro/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 09 January 2024 17:03:57 +0000 (0:00:00.065) 0:01:04.051 ******* 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.038325", "end": "2024-01-09 17:03:57.314494", "rc": 0, "start": "2024-01-09 17:03:57.276169" } STDERR: Error: Can't obtain connections: settings services are not running. Error: Can't obtain connections: settings services are not running. META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=332 changed=13 unreachable=0 failed=0 skipped=227 rescued=0 ignored=10 Tuesday 09 January 2024 17:03:57 +0000 (0:00:00.173) 0:01:04.225 ******* =============================================================================== linux-system-roles.network : Check which services are running ----------- 1.86s /WORKDIR/git-route_typec1f6egro/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.58s /WORKDIR/git-route_typec1f6egro/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.58s /WORKDIR/git-route_typec1f6egro/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.56s /WORKDIR/git-route_typec1f6egro/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.56s /WORKDIR/git-route_typec1f6egro/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_typec1f6egro/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_typec1f6egro/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_typec1f6egro/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.53s /WORKDIR/git-route_typec1f6egro/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.53s /WORKDIR/git-route_typec1f6egro/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.52s /WORKDIR/git-route_typec1f6egro/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.51s /WORKDIR/git-route_typec1f6egro/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.50s /WORKDIR/git-route_typec1f6egro/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.50s /WORKDIR/git-route_typec1f6egro/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.49s /WORKDIR/git-route_typec1f6egro/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Configure networking connection profiles --- 1.43s /WORKDIR/git-route_typec1f6egro/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Configure networking connection profiles --- 1.35s /WORKDIR/git-route_typec1f6egro/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Enable network service --------------------- 1.01s /WORKDIR/git-route_typec1f6egro/tests/roles/linux-system-roles.network/tasks/main.yml:105 linux-system-roles.network : Ensure initscripts network file dependency is present --- 0.97s /WORKDIR/git-route_typec1f6egro/tests/roles/linux-system-roles.network/tasks/main.yml:113 Gathering Facts --------------------------------------------------------- 0.90s /WORKDIR/git-route_typec1f6egro/tests/tests_states_initscripts.yml:5 ---------- ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- [WARNING]: Consider using the yum, dnf or zypper module rather than running 'rpm'. If you need to use command because yum, dnf or zypper is insufficient you can add 'warn: false' to this command task or set 'command_warnings=False' in ansible.cfg to get rid of this message. ---^---^---^---^---^---