# 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_typexazmv_c9/tests/tests_states_initscripts.yml PLAY [Run playbook 'playbooks/tests_states.yml' with initscripts as provider] *** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-route_typexazmv_c9/tests/tests_states_initscripts.yml:5 Thursday 11 January 2024 00:33:05 +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_typexazmv_c9/tests/tests_states_initscripts.yml:8 Thursday 11 January 2024 00:33:05 +0000 (0:00:00.888) 0:00:00.900 ****** included: /WORKDIR/git-route_typexazmv_c9/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_typexazmv_c9/tests/tasks/el_repo_setup.yml:3 Thursday 11 January 2024 00:33:05 +0000 (0:00:00.023) 0:00:00.924 ****** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-route_typexazmv_c9/tests/tasks/el_repo_setup.yml:19 Thursday 11 January 2024 00:33:06 +0000 (0:00:00.225) 0:00:01.150 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-route_typexazmv_c9/tests/tasks/el_repo_setup.yml:24 Thursday 11 January 2024 00:33:06 +0000 (0:00:00.179) 0:00:01.330 ****** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-route_typexazmv_c9/tests/tasks/el_repo_setup.yml:28 Thursday 11 January 2024 00:33:06 +0000 (0:00:00.020) 0:00:01.350 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-route_typexazmv_c9/tests/tasks/el_repo_setup.yml:53 Thursday 11 January 2024 00:33:06 +0000 (0:00:00.018) 0:00:01.369 ****** included: /WORKDIR/git-route_typexazmv_c9/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 6] *********************************************************** task path: /WORKDIR/git-route_typexazmv_c9/tests/tasks/enable_epel.yml:8 Thursday 11 January 2024 00:33:06 +0000 (0:00:00.031) 0:00:01.400 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Install yum-utils package] *********************************************** task path: /WORKDIR/git-route_typexazmv_c9/tests/tasks/enable_epel.yml:24 Thursday 11 January 2024 00:33:06 +0000 (0:00:00.011) 0:00:01.412 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-route_typexazmv_c9/tests/tasks/enable_epel.yml:30 Thursday 11 January 2024 00:33:06 +0000 (0:00:00.010) 0:00:01.423 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-route_typexazmv_c9/tests/tasks/enable_epel.yml:35 Thursday 11 January 2024 00:33:06 +0000 (0:00:00.010) 0:00:01.433 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-route_typexazmv_c9/tests/tasks/enable_epel.yml:40 Thursday 11 January 2024 00:33:06 +0000 (0:00:00.010) 0:00:01.443 ****** 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_typexazmv_c9/tests/tests_states_initscripts.yml:10 Thursday 11 January 2024 00:33:06 +0000 (0:00:00.431) 0:00:01.875 ****** 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_typexazmv_c9/tests/playbooks/tests_states.yml:3 Thursday 11 January 2024 00:33:06 +0000 (0:00:00.010) 0:00:01.886 ****** ok: [sut] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-route_typexazmv_c9/tests/playbooks/tests_states.yml:11 Thursday 11 January 2024 00:33:07 +0000 (0:00:00.705) 0:00:02.592 ****** ok: [sut] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-route_typexazmv_c9/tests/playbooks/tests_states.yml:22 Thursday 11 January 2024 00:33:07 +0000 (0:00:00.011) 0:00:02.604 ****** included: /WORKDIR/git-route_typexazmv_c9/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile] ******************************************** task path: /WORKDIR/git-route_typexazmv_c9/tests/playbooks/tasks/run_test.yml:5 Thursday 11 January 2024 00:33:07 +0000 (0:00:00.019) 0:00:02.623 ****** ok: [sut] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_typexazmv_c9/tests/playbooks/tasks/run_test.yml:9 Thursday 11 January 2024 00:33:07 +0000 (0:00:00.011) 0:00:02.635 ****** 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_typexazmv_c9/tests/playbooks/tasks/run_test.yml:21 Thursday 11 January 2024 00:33:07 +0000 (0:00:00.036) 0:00:02.672 ****** included: /WORKDIR/git-route_typexazmv_c9/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typexazmv_c9/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 11 January 2024 00:33:07 +0000 (0:00:00.017) 0:00:02.689 ****** included: /WORKDIR/git-route_typexazmv_c9/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typexazmv_c9/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 11 January 2024 00:33:07 +0000 (0:00:00.016) 0:00:02.705 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003154", "end": "2024-01-11 00:33:07.907220", "rc": 0, "start": "2024-01-11 00:33:07.904066" } STDOUT: dummy0 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typexazmv_c9/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 11 January 2024 00:33:07 +0000 (0:00:00.184) 0:00:02.889 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "dummy0", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typexazmv_c9/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 11 January 2024 00:33:07 +0000 (0:00:00.013) 0:00:02.902 ****** ok: [sut] => {} MSG: current_interfaces: ['dummy0', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typexazmv_c9/tests/playbooks/tasks/run_test.yml:24 Thursday 11 January 2024 00:33:07 +0000 (0:00:00.011) 0:00:02.914 ****** included: /WORKDIR/git-route_typexazmv_c9/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-route_typexazmv_c9/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-route_typexazmv_c9/tests/playbooks/tasks/delete_interface.yml:3 Thursday 11 January 2024 00:33:07 +0000 (0:00:00.023) 0:00:02.937 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.029153", "end": "2024-01-11 00:33:08.101489", "rc": 255, "start": "2024-01-11 00:33:08.072336" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typexazmv_c9/tests/playbooks/tasks/assert_device_absent.yml:3 Thursday 11 January 2024 00:33:08 +0000 (0:00:00.145) 0:00:03.083 ****** included: /WORKDIR/git-route_typexazmv_c9/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typexazmv_c9/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 11 January 2024 00:33:08 +0000 (0:00:00.017) 0:00:03.100 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_typexazmv_c9/tests/playbooks/tasks/assert_device_absent.yml:5 Thursday 11 January 2024 00:33:08 +0000 (0:00:00.117) 0:00:03.218 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_typexazmv_c9/tests/playbooks/tasks/run_test.yml:30 Thursday 11 January 2024 00:33:08 +0000 (0:00:00.015) 0:00:03.233 ****** included: /WORKDIR/git-route_typexazmv_c9/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typexazmv_c9/tests/playbooks/tasks/create_bridge_profile.yml:3 Thursday 11 January 2024 00:33:08 +0000 (0:00:00.021) 0:00:03.255 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 11 January 2024 00:33:08 +0000 (0:00:00.034) 0:00:03.290 ****** included: /WORKDIR/git-route_typexazmv_c9/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_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 11 January 2024 00:33:08 +0000 (0:00:00.069) 0:00:03.359 ****** 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_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 11 January 2024 00:33:08 +0000 (0:00:00.013) 0:00:03.373 ****** 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_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 11 January 2024 00:33:08 +0000 (0:00:00.011) 0:00:03.385 ****** 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_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 11 January 2024 00:33:08 +0000 (0:00:00.010) 0:00:03.396 ****** 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_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 11 January 2024 00:33:10 +0000 (0:00:01.791) 0:00:05.187 ****** 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_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 11 January 2024 00:33:10 +0000 (0:00:00.707) 0:00:05.895 ****** 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_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 11 January 2024 00:33:10 +0000 (0:00:00.022) 0:00:05.917 ****** 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_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 11 January 2024 00:33:10 +0000 (0:00:00.021) 0:00:05.938 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 11 January 2024 00:33:10 +0000 (0:00:00.020) 0:00:05.959 ****** 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_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 11 January 2024 00:33:11 +0000 (0:00:00.057) 0:00:06.017 ****** 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_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 11 January 2024 00:33:11 +0000 (0:00:00.021) 0:00:06.039 ****** 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_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 11 January 2024 00:33:11 +0000 (0:00:00.020) 0:00:06.059 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 11 January 2024 00:33:11 +0000 (0:00:00.024) 0:00:06.084 ****** 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_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 11 January 2024 00:33:11 +0000 (0:00:00.020) 0:00:06.104 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 11 January 2024 00:33:11 +0000 (0:00:00.019) 0:00:06.124 ****** 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_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 11 January 2024 00:33:11 +0000 (0:00:00.267) 0:00:06.391 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-14373xxu8rdzl/tmp5naontmn" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 11 January 2024 00:33:11 +0000 (0:00:00.191) 0:00:06.583 ****** 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_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 11 January 2024 00:33:11 +0000 (0:00:00.344) 0:00:06.928 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-route_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 11 January 2024 00:33:11 +0000 (0:00:00.021) 0:00:06.949 ****** 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_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 11 January 2024 00:33:11 +0000 (0:00:00.021) 0:00:06.971 ****** 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_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 11 January 2024 00:33:12 +0000 (0:00:00.022) 0:00:06.994 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 11 January 2024 00:33:12 +0000 (0:00:00.020) 0:00:07.014 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typexazmv_c9/tests/playbooks/tasks/create_bridge_profile.yml:14 Thursday 11 January 2024 00:33:12 +0000 (0:00:00.200) 0:00:07.215 ****** 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_typexazmv_c9/tests/playbooks/tasks/run_test.yml:36 Thursday 11 January 2024 00:33:12 +0000 (0:00:00.041) 0:00:07.257 ****** included: /WORKDIR/git-route_typexazmv_c9/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typexazmv_c9/tests/playbooks/tasks/assert_profile_present.yml:3 Thursday 11 January 2024 00:33:12 +0000 (0:00:00.039) 0:00:07.297 ****** included: /WORKDIR/git-route_typexazmv_c9/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typexazmv_c9/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 11 January 2024 00:33:12 +0000 (0:00:00.037) 0:00:07.334 ****** 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_typexazmv_c9/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 11 January 2024 00:33:12 +0000 (0:00:00.021) 0:00:07.355 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1704933191.9357884, "block_size": 4096, "blocks": 8, "ctime": 1704933191.9357884, "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": 1704933191.9357884, "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_typexazmv_c9/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 11 January 2024 00:33:12 +0000 (0:00:00.126) 0:00:07.482 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typexazmv_c9/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 11 January 2024 00:33:12 +0000 (0:00:00.022) 0:00:07.505 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.006480", "end": "2024-01-11 00:33:12.651940", "rc": 1, "start": "2024-01-11 00:33:12.645460" } 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_typexazmv_c9/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 11 January 2024 00:33:12 +0000 (0:00:00.136) 0:00:07.641 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_typexazmv_c9/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 11 January 2024 00:33:12 +0000 (0:00:00.022) 0:00:07.664 ****** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003054", "end": "2024-01-11 00:33:12.806596", "rc": 0, "start": "2024-01-11 00:33:12.803542" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_typexazmv_c9/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 11 January 2024 00:33:12 +0000 (0:00:00.133) 0:00:07.798 ****** 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_typexazmv_c9/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 11 January 2024 00:33:12 +0000 (0:00:00.030) 0:00:07.828 ****** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003039", "end": "2024-01-11 00:33:12.973687", "rc": 0, "start": "2024-01-11 00:33:12.970648" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_typexazmv_c9/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 11 January 2024 00:33:12 +0000 (0:00:00.136) 0:00:07.964 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-route_typexazmv_c9/tests/playbooks/tasks/assert_profile_present.yml:5 Thursday 11 January 2024 00:33:13 +0000 (0:00:00.027) 0:00:07.991 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-route_typexazmv_c9/tests/playbooks/tasks/assert_profile_present.yml:10 Thursday 11 January 2024 00:33:13 +0000 (0:00:00.023) 0:00:08.015 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-route_typexazmv_c9/tests/playbooks/tasks/assert_profile_present.yml:15 Thursday 11 January 2024 00:33:13 +0000 (0:00:00.049) 0:00:08.064 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typexazmv_c9/tests/playbooks/tasks/run_test.yml:42 Thursday 11 January 2024 00:33:13 +0000 (0:00:00.024) 0:00:08.089 ****** 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_typexazmv_c9/tests/playbooks/tasks/run_test.yml:47 Thursday 11 January 2024 00:33:13 +0000 (0:00:00.026) 0:00:08.115 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_typexazmv_c9/tests/playbooks/tasks/run_test.yml:66 Thursday 11 January 2024 00:33:13 +0000 (0:00:00.024) 0:00:08.139 ****** included: /WORKDIR/git-route_typexazmv_c9/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_typexazmv_c9/tests/playbooks/tasks/cleanup_profile+device.yml:3 Thursday 11 January 2024 00:33:13 +0000 (0:00:00.040) 0:00:08.180 ****** 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.046302", "end": "2024-01-11 00:33:13.364778", "rc": 255, "start": "2024-01-11 00:33:13.318476" } 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_typexazmv_c9/tests/playbooks/tests_states.yml:45 Thursday 11 January 2024 00:33:13 +0000 (0:00:00.173) 0:00:08.354 ****** included: /WORKDIR/git-route_typexazmv_c9/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile without autoconnect] ************************ task path: /WORKDIR/git-route_typexazmv_c9/tests/playbooks/tasks/run_test.yml:5 Thursday 11 January 2024 00:33:13 +0000 (0:00:00.036) 0:00:08.390 ****** ok: [sut] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_typexazmv_c9/tests/playbooks/tasks/run_test.yml:9 Thursday 11 January 2024 00:33:13 +0000 (0:00:00.022) 0:00:08.412 ****** ok: [sut] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can create a profile without autoconnect" } ok: [sut] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/delete_interface.yml", "tasks/assert_device_absent.yml" ] } ok: [sut] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/create_bridge_profile_no_autoconnect.yml" ] } ok: [sut] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_absent.yml", "tasks/assert_profile_present.yml" ] } ok: [sut] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": "VARIABLE IS NOT DEFINED!: 'lsr_assert_when' is undefined" } ok: [sut] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [sut] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-route_typexazmv_c9/tests/playbooks/tasks/run_test.yml:21 Thursday 11 January 2024 00:33:13 +0000 (0:00:00.048) 0:00:08.461 ****** included: /WORKDIR/git-route_typexazmv_c9/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typexazmv_c9/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 11 January 2024 00:33:13 +0000 (0:00:00.035) 0:00:08.497 ****** included: /WORKDIR/git-route_typexazmv_c9/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typexazmv_c9/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 11 January 2024 00:33:13 +0000 (0:00:00.034) 0:00:08.531 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003190", "end": "2024-01-11 00:33:13.676124", "rc": 0, "start": "2024-01-11 00:33:13.672934" } STDOUT: dummy0 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typexazmv_c9/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 11 January 2024 00:33:13 +0000 (0:00:00.132) 0:00:08.664 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "dummy0", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typexazmv_c9/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 11 January 2024 00:33:13 +0000 (0:00:00.049) 0:00:08.713 ****** ok: [sut] => {} MSG: current_interfaces: ['dummy0', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typexazmv_c9/tests/playbooks/tasks/run_test.yml:24 Thursday 11 January 2024 00:33:13 +0000 (0:00:00.024) 0:00:08.738 ****** included: /WORKDIR/git-route_typexazmv_c9/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-route_typexazmv_c9/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-route_typexazmv_c9/tests/playbooks/tasks/delete_interface.yml:3 Thursday 11 January 2024 00:33:13 +0000 (0:00:00.040) 0:00:08.778 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.004584", "end": "2024-01-11 00:33:13.923330", "rc": 255, "start": "2024-01-11 00:33:13.918746" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typexazmv_c9/tests/playbooks/tasks/assert_device_absent.yml:3 Thursday 11 January 2024 00:33:13 +0000 (0:00:00.134) 0:00:08.912 ****** included: /WORKDIR/git-route_typexazmv_c9/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typexazmv_c9/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 11 January 2024 00:33:13 +0000 (0:00:00.035) 0:00:08.948 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_typexazmv_c9/tests/playbooks/tasks/assert_device_absent.yml:5 Thursday 11 January 2024 00:33:14 +0000 (0:00:00.126) 0:00:09.075 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_typexazmv_c9/tests/playbooks/tasks/run_test.yml:30 Thursday 11 January 2024 00:33:14 +0000 (0:00:00.025) 0:00:09.100 ****** included: /WORKDIR/git-route_typexazmv_c9/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typexazmv_c9/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Thursday 11 January 2024 00:33:14 +0000 (0:00:00.040) 0:00:09.140 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 11 January 2024 00:33:14 +0000 (0:00:00.040) 0:00:09.180 ****** included: /WORKDIR/git-route_typexazmv_c9/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_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 11 January 2024 00:33:14 +0000 (0:00:00.039) 0:00:09.220 ****** 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_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 11 January 2024 00:33:14 +0000 (0:00:00.055) 0:00:09.275 ****** 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_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 11 January 2024 00:33:14 +0000 (0:00:00.021) 0:00:09.297 ****** 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_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 11 January 2024 00:33:14 +0000 (0:00:00.022) 0:00:09.319 ****** 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_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 11 January 2024 00:33:15 +0000 (0:00:01.562) 0:00:10.882 ****** 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_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 11 January 2024 00:33:16 +0000 (0:00:00.567) 0:00:11.449 ****** 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_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 11 January 2024 00:33:16 +0000 (0:00:00.022) 0:00:11.472 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-route_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 11 January 2024 00:33:16 +0000 (0:00:00.039) 0:00:11.512 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 11 January 2024 00:33:16 +0000 (0:00:00.020) 0:00:11.533 ****** 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_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 11 January 2024 00:33:16 +0000 (0:00:00.044) 0:00:11.577 ****** 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_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 11 January 2024 00:33:16 +0000 (0:00:00.021) 0:00:11.598 ****** 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_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 11 January 2024 00:33:16 +0000 (0:00:00.021) 0:00:11.620 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 11 January 2024 00:33:16 +0000 (0:00:00.026) 0:00:11.646 ****** 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_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 11 January 2024 00:33:16 +0000 (0:00:00.021) 0:00:11.668 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 11 January 2024 00:33:16 +0000 (0:00:00.021) 0:00:11.689 ****** 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_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 11 January 2024 00:33:16 +0000 (0:00:00.188) 0:00:11.878 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-14373xxu8rdzl/tmpbtzmdznc" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 11 January 2024 00:33:17 +0000 (0:00:00.193) 0:00:12.072 ****** 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_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 11 January 2024 00:33:17 +0000 (0:00:00.229) 0:00:12.301 ****** 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_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 11 January 2024 00:33:17 +0000 (0:00:00.020) 0:00:12.322 ****** 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_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 11 January 2024 00:33:17 +0000 (0:00:00.022) 0:00:12.344 ****** 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_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 11 January 2024 00:33:17 +0000 (0:00:00.022) 0:00:12.367 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 11 January 2024 00:33:17 +0000 (0:00:00.020) 0:00:12.387 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typexazmv_c9/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Thursday 11 January 2024 00:33:17 +0000 (0:00:00.143) 0:00:12.530 ****** 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_typexazmv_c9/tests/playbooks/tasks/run_test.yml:36 Thursday 11 January 2024 00:33:17 +0000 (0:00:00.022) 0:00:12.553 ****** included: /WORKDIR/git-route_typexazmv_c9/tests/playbooks/tasks/assert_device_absent.yml for sut included: /WORKDIR/git-route_typexazmv_c9/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typexazmv_c9/tests/playbooks/tasks/assert_device_absent.yml:3 Thursday 11 January 2024 00:33:17 +0000 (0:00:00.042) 0:00:12.595 ****** included: /WORKDIR/git-route_typexazmv_c9/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typexazmv_c9/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 11 January 2024 00:33:17 +0000 (0:00:00.034) 0:00:12.630 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_typexazmv_c9/tests/playbooks/tasks/assert_device_absent.yml:5 Thursday 11 January 2024 00:33:17 +0000 (0:00:00.126) 0:00:12.756 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typexazmv_c9/tests/playbooks/tasks/assert_profile_present.yml:3 Thursday 11 January 2024 00:33:17 +0000 (0:00:00.023) 0:00:12.780 ****** included: /WORKDIR/git-route_typexazmv_c9/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typexazmv_c9/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 11 January 2024 00:33:17 +0000 (0:00:00.036) 0:00:12.817 ****** 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_typexazmv_c9/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 11 January 2024 00:33:17 +0000 (0:00:00.023) 0:00:12.840 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1704933197.3134758, "block_size": 4096, "blocks": 8, "ctime": 1704933197.3134758, "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": 1704933197.3134758, "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_typexazmv_c9/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 11 January 2024 00:33:17 +0000 (0:00:00.128) 0:00:12.969 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typexazmv_c9/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 11 January 2024 00:33:18 +0000 (0:00:00.022) 0:00:12.991 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.006539", "end": "2024-01-11 00:33:18.138173", "rc": 1, "start": "2024-01-11 00:33:18.131634" } 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_typexazmv_c9/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 11 January 2024 00:33:18 +0000 (0:00:00.133) 0:00:13.124 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_typexazmv_c9/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 11 January 2024 00:33:18 +0000 (0:00:00.022) 0:00:13.147 ****** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.002978", "end": "2024-01-11 00:33:18.292298", "rc": 0, "start": "2024-01-11 00:33:18.289320" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_typexazmv_c9/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 11 January 2024 00:33:18 +0000 (0:00:00.159) 0:00:13.307 ****** 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_typexazmv_c9/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 11 January 2024 00:33:18 +0000 (0:00:00.028) 0:00:13.335 ****** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003051", "end": "2024-01-11 00:33:18.484044", "rc": 0, "start": "2024-01-11 00:33:18.480993" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_typexazmv_c9/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 11 January 2024 00:33:18 +0000 (0:00:00.136) 0:00:13.471 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-route_typexazmv_c9/tests/playbooks/tasks/assert_profile_present.yml:5 Thursday 11 January 2024 00:33:18 +0000 (0:00:00.027) 0:00:13.498 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-route_typexazmv_c9/tests/playbooks/tasks/assert_profile_present.yml:10 Thursday 11 January 2024 00:33:18 +0000 (0:00:00.025) 0:00:13.523 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-route_typexazmv_c9/tests/playbooks/tasks/assert_profile_present.yml:15 Thursday 11 January 2024 00:33:18 +0000 (0:00:00.025) 0:00:13.549 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typexazmv_c9/tests/playbooks/tasks/run_test.yml:42 Thursday 11 January 2024 00:33:18 +0000 (0:00:00.023) 0:00:13.572 ****** TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /WORKDIR/git-route_typexazmv_c9/tests/playbooks/tasks/run_test.yml:47 Thursday 11 January 2024 00:33:18 +0000 (0:00:00.021) 0:00:13.593 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_typexazmv_c9/tests/playbooks/tasks/run_test.yml:66 Thursday 11 January 2024 00:33:18 +0000 (0:00:00.022) 0:00:13.616 ****** included: /WORKDIR/git-route_typexazmv_c9/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_typexazmv_c9/tests/playbooks/tasks/cleanup_profile+device.yml:3 Thursday 11 January 2024 00:33:18 +0000 (0:00:00.042) 0:00:13.658 ****** 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.024189", "end": "2024-01-11 00:33:18.827383", "rc": 255, "start": "2024-01-11 00:33:18.803194" } 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_typexazmv_c9/tests/playbooks/tests_states.yml:65 Thursday 11 January 2024 00:33:18 +0000 (0:00:00.154) 0:00:13.813 ****** included: /WORKDIR/git-route_typexazmv_c9/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can activate an existing profile] ******************************** task path: /WORKDIR/git-route_typexazmv_c9/tests/playbooks/tasks/run_test.yml:5 Thursday 11 January 2024 00:33:18 +0000 (0:00:00.035) 0:00:13.849 ****** ok: [sut] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_typexazmv_c9/tests/playbooks/tasks/run_test.yml:9 Thursday 11 January 2024 00:33:18 +0000 (0:00:00.024) 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_typexazmv_c9/tests/playbooks/tasks/run_test.yml:21 Thursday 11 January 2024 00:33:18 +0000 (0:00:00.045) 0:00:13.919 ****** included: /WORKDIR/git-route_typexazmv_c9/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typexazmv_c9/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 11 January 2024 00:33:19 +0000 (0:00:00.061) 0:00:13.981 ****** included: /WORKDIR/git-route_typexazmv_c9/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typexazmv_c9/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 11 January 2024 00:33:19 +0000 (0:00:00.033) 0:00:14.014 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003234", "end": "2024-01-11 00:33:19.160237", "rc": 0, "start": "2024-01-11 00:33:19.157003" } STDOUT: dummy0 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typexazmv_c9/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 11 January 2024 00:33:19 +0000 (0:00:00.132) 0:00:14.147 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "dummy0", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typexazmv_c9/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 11 January 2024 00:33:19 +0000 (0:00:00.025) 0:00:14.172 ****** ok: [sut] => {} MSG: current_interfaces: ['dummy0', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typexazmv_c9/tests/playbooks/tasks/run_test.yml:24 Thursday 11 January 2024 00:33:19 +0000 (0:00:00.022) 0:00:14.194 ****** included: /WORKDIR/git-route_typexazmv_c9/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typexazmv_c9/tests/playbooks/tasks/create_bridge_profile.yml:3 Thursday 11 January 2024 00:33:19 +0000 (0:00:00.038) 0:00:14.233 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 11 January 2024 00:33:19 +0000 (0:00:00.036) 0:00:14.270 ****** included: /WORKDIR/git-route_typexazmv_c9/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_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 11 January 2024 00:33:19 +0000 (0:00:00.039) 0:00:14.309 ****** 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_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 11 January 2024 00:33:19 +0000 (0:00:00.026) 0:00:14.336 ****** 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_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 11 January 2024 00:33:19 +0000 (0:00:00.021) 0:00:14.358 ****** 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_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 11 January 2024 00:33:19 +0000 (0:00:00.025) 0:00:14.383 ****** 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_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 11 January 2024 00:33:20 +0000 (0:00:01.545) 0:00:15.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_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 11 January 2024 00:33:21 +0000 (0:00:00.573) 0:00:16.503 ****** 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_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 11 January 2024 00:33:21 +0000 (0:00:00.022) 0:00:16.525 ****** 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_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 11 January 2024 00:33:21 +0000 (0:00:00.021) 0:00:16.546 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 11 January 2024 00:33:21 +0000 (0:00:00.021) 0:00:16.568 ****** 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_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 11 January 2024 00:33:21 +0000 (0:00:00.042) 0:00:16.610 ****** 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_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 11 January 2024 00:33:21 +0000 (0:00:00.045) 0:00:16.655 ****** 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_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 11 January 2024 00:33:21 +0000 (0:00:00.024) 0:00:16.680 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 11 January 2024 00:33:21 +0000 (0:00:00.028) 0:00:16.709 ****** 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_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 11 January 2024 00:33:21 +0000 (0:00:00.041) 0:00:16.750 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 11 January 2024 00:33:21 +0000 (0:00:00.022) 0:00:16.773 ****** 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_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 11 January 2024 00:33:21 +0000 (0:00:00.186) 0:00:16.959 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-14373xxu8rdzl/tmpc5rr82r6" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 11 January 2024 00:33:22 +0000 (0:00:00.189) 0:00:17.149 ****** 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_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 11 January 2024 00:33:22 +0000 (0:00:00.239) 0:00:17.388 ****** 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_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 11 January 2024 00:33:22 +0000 (0:00:00.021) 0:00:17.410 ****** 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_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 11 January 2024 00:33:22 +0000 (0:00:00.022) 0:00:17.432 ****** 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_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 11 January 2024 00:33:22 +0000 (0:00:00.022) 0:00:17.455 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 11 January 2024 00:33:22 +0000 (0:00:00.022) 0:00:17.477 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typexazmv_c9/tests/playbooks/tasks/create_bridge_profile.yml:14 Thursday 11 January 2024 00:33:22 +0000 (0:00:00.127) 0:00:17.604 ****** 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_typexazmv_c9/tests/playbooks/tasks/run_test.yml:30 Thursday 11 January 2024 00:33:22 +0000 (0:00:00.022) 0:00:17.627 ****** included: /WORKDIR/git-route_typexazmv_c9/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typexazmv_c9/tests/playbooks/tasks/activate_profile.yml:3 Thursday 11 January 2024 00:33:22 +0000 (0:00:00.063) 0:00:17.691 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 11 January 2024 00:33:22 +0000 (0:00:00.040) 0:00:17.731 ****** included: /WORKDIR/git-route_typexazmv_c9/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_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 11 January 2024 00:33:22 +0000 (0:00:00.040) 0:00:17.772 ****** 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_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 11 January 2024 00:33:22 +0000 (0:00:00.025) 0:00:17.798 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-route_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 11 January 2024 00:33:22 +0000 (0:00:00.022) 0:00:17.820 ****** 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_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 11 January 2024 00:33:22 +0000 (0:00:00.022) 0:00:17.842 ****** 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_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 11 January 2024 00:33:24 +0000 (0:00:01.529) 0:00:19.371 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-route_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 11 January 2024 00:33:24 +0000 (0:00:00.590) 0:00:19.962 ****** 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_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 11 January 2024 00:33:25 +0000 (0:00:00.023) 0:00:19.986 ****** 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_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 11 January 2024 00:33:25 +0000 (0:00:00.022) 0:00:20.008 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 11 January 2024 00:33:25 +0000 (0:00:00.021) 0:00:20.029 ****** 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_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 11 January 2024 00:33:25 +0000 (0:00:00.042) 0:00:20.072 ****** 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_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 11 January 2024 00:33:25 +0000 (0:00:00.021) 0:00:20.093 ****** 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_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 11 January 2024 00:33:25 +0000 (0:00:00.020) 0:00:20.114 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 11 January 2024 00:33:25 +0000 (0:00:00.024) 0:00:20.139 ****** 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_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 11 January 2024 00:33:25 +0000 (0:00:00.020) 0:00:20.159 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 11 January 2024 00:33:25 +0000 (0:00:00.021) 0:00:20.181 ****** 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_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 11 January 2024 00:33:25 +0000 (0:00:00.189) 0:00:20.370 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-14373xxu8rdzl/tmpuitxjs80" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 11 January 2024 00:33:25 +0000 (0:00:00.185) 0:00:20.556 ****** 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_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 11 January 2024 00:33:25 +0000 (0:00:00.386) 0:00:20.942 ****** 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_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 11 January 2024 00:33:25 +0000 (0:00:00.020) 0:00:20.963 ****** 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_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 11 January 2024 00:33:26 +0000 (0:00:00.022) 0:00:20.985 ****** 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_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 11 January 2024 00:33:26 +0000 (0:00:00.022) 0:00:21.008 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 11 January 2024 00:33:26 +0000 (0:00:00.020) 0:00:21.029 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_typexazmv_c9/tests/playbooks/tasks/run_test.yml:36 Thursday 11 January 2024 00:33:26 +0000 (0:00:00.127) 0:00:21.157 ****** included: /WORKDIR/git-route_typexazmv_c9/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-route_typexazmv_c9/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typexazmv_c9/tests/playbooks/tasks/assert_device_present.yml:3 Thursday 11 January 2024 00:33:26 +0000 (0:00:00.048) 0:00:21.205 ****** included: /WORKDIR/git-route_typexazmv_c9/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typexazmv_c9/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 11 January 2024 00:33:26 +0000 (0:00:00.036) 0:00:21.242 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1704933205.883759, "block_size": 4096, "blocks": 0, "ctime": 1704933205.879757, "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": 1704933205.879757, "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_typexazmv_c9/tests/playbooks/tasks/assert_device_present.yml:5 Thursday 11 January 2024 00:33:26 +0000 (0:00:00.134) 0:00:21.377 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typexazmv_c9/tests/playbooks/tasks/assert_profile_present.yml:3 Thursday 11 January 2024 00:33:26 +0000 (0:00:00.023) 0:00:21.400 ****** included: /WORKDIR/git-route_typexazmv_c9/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typexazmv_c9/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 11 January 2024 00:33:26 +0000 (0:00:00.037) 0:00:21.438 ****** 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_typexazmv_c9/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 11 January 2024 00:33:26 +0000 (0:00:00.021) 0:00:21.459 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1704933203.978807, "block_size": 4096, "blocks": 8, "ctime": 1704933202.402019, "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": 1704933202.402019, "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_typexazmv_c9/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 11 January 2024 00:33:26 +0000 (0:00:00.138) 0:00:21.598 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typexazmv_c9/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 11 January 2024 00:33:26 +0000 (0:00:00.024) 0:00:21.622 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.006869", "end": "2024-01-11 00:33:26.775020", "rc": 1, "start": "2024-01-11 00:33:26.768151" } 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_typexazmv_c9/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 11 January 2024 00:33:26 +0000 (0:00:00.135) 0:00:21.757 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_typexazmv_c9/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 11 January 2024 00:33:26 +0000 (0:00:00.028) 0:00:21.786 ****** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003123", "end": "2024-01-11 00:33:26.944673", "rc": 0, "start": "2024-01-11 00:33:26.941550" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_typexazmv_c9/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 11 January 2024 00:33:26 +0000 (0:00:00.141) 0:00:21.928 ****** 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_typexazmv_c9/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 11 January 2024 00:33:26 +0000 (0:00:00.026) 0:00:21.955 ****** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003130", "end": "2024-01-11 00:33:27.105706", "rc": 0, "start": "2024-01-11 00:33:27.102576" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_typexazmv_c9/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 11 January 2024 00:33:27 +0000 (0:00:00.137) 0:00:22.092 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-route_typexazmv_c9/tests/playbooks/tasks/assert_profile_present.yml:5 Thursday 11 January 2024 00:33:27 +0000 (0:00:00.029) 0:00:22.122 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-route_typexazmv_c9/tests/playbooks/tasks/assert_profile_present.yml:10 Thursday 11 January 2024 00:33:27 +0000 (0:00:00.024) 0:00:22.147 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-route_typexazmv_c9/tests/playbooks/tasks/assert_profile_present.yml:15 Thursday 11 January 2024 00:33:27 +0000 (0:00:00.026) 0:00:22.173 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typexazmv_c9/tests/playbooks/tasks/run_test.yml:42 Thursday 11 January 2024 00:33:27 +0000 (0:00:00.024) 0:00:22.197 ****** TASK [Success in test 'I can activate an existing profile'] ******************** task path: /WORKDIR/git-route_typexazmv_c9/tests/playbooks/tasks/run_test.yml:47 Thursday 11 January 2024 00:33:27 +0000 (0:00:00.020) 0:00:22.217 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_typexazmv_c9/tests/playbooks/tasks/run_test.yml:66 Thursday 11 January 2024 00:33:27 +0000 (0:00:00.022) 0:00:22.240 ****** included: /WORKDIR/git-route_typexazmv_c9/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_typexazmv_c9/tests/playbooks/tasks/cleanup_profile+device.yml:3 Thursday 11 January 2024 00:33:27 +0000 (0:00:00.042) 0:00:22.283 ****** 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.026884", "end": "2024-01-11 00:33:27.456890", "rc": 0, "start": "2024-01-11 00:33:27.430006" } 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_typexazmv_c9/tests/playbooks/tests_states.yml:83 Thursday 11 January 2024 00:33:27 +0000 (0:00:00.198) 0:00:22.482 ****** included: /WORKDIR/git-route_typexazmv_c9/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_typexazmv_c9/tests/playbooks/tasks/run_test.yml:5 Thursday 11 January 2024 00:33:27 +0000 (0:00:00.038) 0:00:22.521 ****** ok: [sut] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_typexazmv_c9/tests/playbooks/tasks/run_test.yml:9 Thursday 11 January 2024 00:33:27 +0000 (0:00:00.024) 0:00:22.545 ****** 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_typexazmv_c9/tests/playbooks/tasks/run_test.yml:21 Thursday 11 January 2024 00:33:27 +0000 (0:00:00.053) 0:00:22.599 ****** included: /WORKDIR/git-route_typexazmv_c9/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typexazmv_c9/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 11 January 2024 00:33:27 +0000 (0:00:00.034) 0:00:22.634 ****** included: /WORKDIR/git-route_typexazmv_c9/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typexazmv_c9/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 11 January 2024 00:33:27 +0000 (0:00:00.033) 0:00:22.668 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003208", "end": "2024-01-11 00:33:27.829519", "rc": 0, "start": "2024-01-11 00:33:27.826311" } STDOUT: dummy0 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typexazmv_c9/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 11 January 2024 00:33:27 +0000 (0:00:00.144) 0:00:22.812 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "dummy0", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typexazmv_c9/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 11 January 2024 00:33:27 +0000 (0:00:00.025) 0:00:22.838 ****** ok: [sut] => {} MSG: current_interfaces: ['dummy0', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typexazmv_c9/tests/playbooks/tasks/run_test.yml:24 Thursday 11 January 2024 00:33:27 +0000 (0:00:00.022) 0:00:22.860 ****** included: /WORKDIR/git-route_typexazmv_c9/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-route_typexazmv_c9/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typexazmv_c9/tests/playbooks/tasks/create_bridge_profile.yml:3 Thursday 11 January 2024 00:33:27 +0000 (0:00:00.040) 0:00:22.901 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 11 January 2024 00:33:27 +0000 (0:00:00.035) 0:00:22.936 ****** included: /WORKDIR/git-route_typexazmv_c9/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_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 11 January 2024 00:33:28 +0000 (0:00:00.065) 0:00:23.001 ****** 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_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 11 January 2024 00:33:28 +0000 (0:00:00.027) 0:00:23.029 ****** 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_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 11 January 2024 00:33:28 +0000 (0:00:00.021) 0:00:23.050 ****** 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_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 11 January 2024 00:33:28 +0000 (0:00:00.020) 0:00:23.071 ****** 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_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 11 January 2024 00:33:29 +0000 (0:00:01.583) 0:00:24.655 ****** 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_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 11 January 2024 00:33:30 +0000 (0:00:00.597) 0:00:25.253 ****** 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_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 11 January 2024 00:33:30 +0000 (0:00:00.023) 0:00:25.276 ****** 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_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 11 January 2024 00:33:30 +0000 (0:00:00.021) 0:00:25.297 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 11 January 2024 00:33:30 +0000 (0:00:00.021) 0:00:25.319 ****** 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_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 11 January 2024 00:33:30 +0000 (0:00:00.042) 0:00:25.362 ****** 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_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 11 January 2024 00:33:30 +0000 (0:00:00.021) 0:00:25.383 ****** 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_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 11 January 2024 00:33:30 +0000 (0:00:00.021) 0:00:25.404 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 11 January 2024 00:33:30 +0000 (0:00:00.026) 0:00:25.430 ****** 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_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 11 January 2024 00:33:30 +0000 (0:00:00.020) 0:00:25.451 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 11 January 2024 00:33:30 +0000 (0:00:00.020) 0:00:25.472 ****** 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_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 11 January 2024 00:33:30 +0000 (0:00:00.183) 0:00:25.655 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-14373xxu8rdzl/tmpliv3lqpl" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 11 January 2024 00:33:30 +0000 (0:00:00.187) 0:00:25.843 ****** 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_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 11 January 2024 00:33:31 +0000 (0:00:00.242) 0:00:26.086 ****** 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_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 11 January 2024 00:33:31 +0000 (0:00:00.023) 0:00:26.109 ****** 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_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 11 January 2024 00:33:31 +0000 (0:00:00.057) 0:00:26.167 ****** 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_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 11 January 2024 00:33:31 +0000 (0:00:00.024) 0:00:26.191 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 11 January 2024 00:33:31 +0000 (0:00:00.022) 0:00:26.213 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typexazmv_c9/tests/playbooks/tasks/create_bridge_profile.yml:14 Thursday 11 January 2024 00:33:31 +0000 (0:00:00.123) 0:00:26.337 ****** 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_typexazmv_c9/tests/playbooks/tasks/activate_profile.yml:3 Thursday 11 January 2024 00:33:31 +0000 (0:00:00.022) 0:00:26.360 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 11 January 2024 00:33:31 +0000 (0:00:00.036) 0:00:26.396 ****** included: /WORKDIR/git-route_typexazmv_c9/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_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 11 January 2024 00:33:31 +0000 (0:00:00.039) 0:00:26.435 ****** 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_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 11 January 2024 00:33:31 +0000 (0:00:00.026) 0:00:26.462 ****** 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_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 11 January 2024 00:33:31 +0000 (0:00:00.020) 0:00:26.483 ****** 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_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 11 January 2024 00:33:31 +0000 (0:00:00.022) 0:00:26.505 ****** 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_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 11 January 2024 00:33:33 +0000 (0:00:01.524) 0:00:28.030 ****** 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_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 11 January 2024 00:33:33 +0000 (0:00:00.567) 0:00:28.597 ****** 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_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 11 January 2024 00:33:33 +0000 (0:00:00.022) 0:00:28.620 ****** 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_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 11 January 2024 00:33:33 +0000 (0:00:00.021) 0:00:28.641 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 11 January 2024 00:33:33 +0000 (0:00:00.021) 0:00:28.662 ****** 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_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 11 January 2024 00:33:33 +0000 (0:00:00.042) 0:00:28.705 ****** 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_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 11 January 2024 00:33:33 +0000 (0:00:00.021) 0:00:28.727 ****** 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_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 11 January 2024 00:33:33 +0000 (0:00:00.021) 0:00:28.748 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 11 January 2024 00:33:33 +0000 (0:00:00.026) 0:00:28.774 ****** 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_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 11 January 2024 00:33:33 +0000 (0:00:00.021) 0:00:28.796 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 11 January 2024 00:33:33 +0000 (0:00:00.021) 0:00:28.817 ****** 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_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 11 January 2024 00:33:34 +0000 (0:00:00.212) 0:00:29.030 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-14373xxu8rdzl/tmpwtk29kyo" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 11 January 2024 00:33:34 +0000 (0:00:00.189) 0:00:29.219 ****** 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_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 11 January 2024 00:33:34 +0000 (0:00:00.355) 0:00:29.574 ****** 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_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 11 January 2024 00:33:34 +0000 (0:00:00.021) 0:00:29.596 ****** 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_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 11 January 2024 00:33:34 +0000 (0:00:00.022) 0:00:29.619 ****** 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_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 11 January 2024 00:33:34 +0000 (0:00:00.023) 0:00:29.642 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 11 January 2024 00:33:34 +0000 (0:00:00.029) 0:00:29.672 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_typexazmv_c9/tests/playbooks/tasks/run_test.yml:30 Thursday 11 January 2024 00:33:34 +0000 (0:00:00.129) 0:00:29.801 ****** included: /WORKDIR/git-route_typexazmv_c9/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typexazmv_c9/tests/playbooks/tasks/remove_profile.yml:3 Thursday 11 January 2024 00:33:34 +0000 (0:00:00.040) 0:00:29.842 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 11 January 2024 00:33:34 +0000 (0:00:00.039) 0:00:29.881 ****** included: /WORKDIR/git-route_typexazmv_c9/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_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 11 January 2024 00:33:34 +0000 (0:00:00.065) 0:00:29.947 ****** 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_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 11 January 2024 00:33:35 +0000 (0:00:00.027) 0:00:29.975 ****** 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_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 11 January 2024 00:33:35 +0000 (0:00:00.025) 0:00:30.001 ****** 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_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 11 January 2024 00:33:35 +0000 (0:00:00.023) 0:00:30.024 ****** 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_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 11 January 2024 00:33:36 +0000 (0:00:01.513) 0:00:31.538 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-route_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 11 January 2024 00:33:37 +0000 (0:00:00.566) 0:00:32.104 ****** 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_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 11 January 2024 00:33:37 +0000 (0:00:00.044) 0:00:32.148 ****** 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_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 11 January 2024 00:33:37 +0000 (0:00:00.021) 0:00:32.170 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 11 January 2024 00:33:37 +0000 (0:00:00.021) 0:00:32.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_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 11 January 2024 00:33:37 +0000 (0:00:00.042) 0:00:32.234 ****** 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_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 11 January 2024 00:33:37 +0000 (0:00:00.021) 0:00:32.255 ****** 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_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 11 January 2024 00:33:37 +0000 (0:00:00.021) 0:00:32.276 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 11 January 2024 00:33:37 +0000 (0:00:00.024) 0:00:32.301 ****** 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_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 11 January 2024 00:33:37 +0000 (0:00:00.021) 0:00:32.322 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 11 January 2024 00:33:37 +0000 (0:00:00.021) 0:00:32.344 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 11 January 2024 00:33:37 +0000 (0:00:00.185) 0:00:32.529 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-14373xxu8rdzl/tmp2rdn3tz4" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 11 January 2024 00:33:37 +0000 (0:00:00.185) 0:00:32.715 ****** 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_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 11 January 2024 00:33:37 +0000 (0:00:00.236) 0:00:32.952 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-route_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 11 January 2024 00:33:37 +0000 (0:00:00.021) 0:00:32.973 ****** 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_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 11 January 2024 00:33:38 +0000 (0:00:00.021) 0:00:32.995 ****** 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_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 11 January 2024 00:33:38 +0000 (0:00:00.022) 0:00:33.017 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 11 January 2024 00:33:38 +0000 (0:00:00.046) 0:00:33.064 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_typexazmv_c9/tests/playbooks/tasks/run_test.yml:36 Thursday 11 January 2024 00:33:38 +0000 (0:00:00.128) 0:00:33.192 ****** included: /WORKDIR/git-route_typexazmv_c9/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-route_typexazmv_c9/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typexazmv_c9/tests/playbooks/tasks/assert_device_present.yml:3 Thursday 11 January 2024 00:33:38 +0000 (0:00:00.045) 0:00:33.237 ****** included: /WORKDIR/git-route_typexazmv_c9/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typexazmv_c9/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 11 January 2024 00:33:38 +0000 (0:00:00.036) 0:00:33.274 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1704933214.5200748, "block_size": 4096, "blocks": 0, "ctime": 1704933214.5190744, "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": 1704933214.5190744, "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_typexazmv_c9/tests/playbooks/tasks/assert_device_present.yml:5 Thursday 11 January 2024 00:33:38 +0000 (0:00:00.130) 0:00:33.405 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typexazmv_c9/tests/playbooks/tasks/assert_profile_absent.yml:3 Thursday 11 January 2024 00:33:38 +0000 (0:00:00.024) 0:00:33.429 ****** included: /WORKDIR/git-route_typexazmv_c9/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typexazmv_c9/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 11 January 2024 00:33:38 +0000 (0:00:00.035) 0:00:33.465 ****** 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_typexazmv_c9/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 11 January 2024 00:33:38 +0000 (0:00:00.021) 0:00:33.486 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_typexazmv_c9/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 11 January 2024 00:33:38 +0000 (0:00:00.125) 0:00:33.611 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typexazmv_c9/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 11 January 2024 00:33:38 +0000 (0:00:00.020) 0:00:33.632 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.006352", "end": "2024-01-11 00:33:38.791096", "rc": 1, "start": "2024-01-11 00:33:38.784744" } 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_typexazmv_c9/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 11 January 2024 00:33:38 +0000 (0:00:00.133) 0:00:33.765 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_typexazmv_c9/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 11 January 2024 00:33:38 +0000 (0:00:00.022) 0:00:33.787 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_typexazmv_c9/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 11 January 2024 00:33:38 +0000 (0:00:00.022) 0:00:33.809 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_typexazmv_c9/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 11 January 2024 00:33:38 +0000 (0:00:00.067) 0:00:33.877 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_typexazmv_c9/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 11 January 2024 00:33:38 +0000 (0:00:00.023) 0:00:33.901 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-route_typexazmv_c9/tests/playbooks/tasks/assert_profile_absent.yml:5 Thursday 11 January 2024 00:33:38 +0000 (0:00:00.022) 0:00:33.923 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typexazmv_c9/tests/playbooks/tasks/run_test.yml:42 Thursday 11 January 2024 00:33:38 +0000 (0:00:00.025) 0:00:33.949 ****** TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /WORKDIR/git-route_typexazmv_c9/tests/playbooks/tasks/run_test.yml:47 Thursday 11 January 2024 00:33:38 +0000 (0:00:00.020) 0:00:33.969 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_typexazmv_c9/tests/playbooks/tasks/run_test.yml:66 Thursday 11 January 2024 00:33:39 +0000 (0:00:00.021) 0:00:33.991 ****** included: /WORKDIR/git-route_typexazmv_c9/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_typexazmv_c9/tests/playbooks/tasks/cleanup_profile+device.yml:3 Thursday 11 January 2024 00:33:39 +0000 (0:00:00.039) 0:00:34.031 ****** 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.037228", "end": "2024-01-11 00:33:39.221872", "rc": 0, "start": "2024-01-11 00:33:39.184644" } 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_typexazmv_c9/tests/playbooks/tests_states.yml:103 Thursday 11 January 2024 00:33:39 +0000 (0:00:00.170) 0:00:34.201 ****** included: /WORKDIR/git-route_typexazmv_c9/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can take a profile down that is absent] ************************** task path: /WORKDIR/git-route_typexazmv_c9/tests/playbooks/tasks/run_test.yml:5 Thursday 11 January 2024 00:33:39 +0000 (0:00:00.036) 0:00:34.237 ****** ok: [sut] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_typexazmv_c9/tests/playbooks/tasks/run_test.yml:9 Thursday 11 January 2024 00:33:39 +0000 (0:00:00.022) 0:00:34.260 ****** 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_typexazmv_c9/tests/playbooks/tasks/run_test.yml:21 Thursday 11 January 2024 00:33:39 +0000 (0:00:00.046) 0:00:34.307 ****** included: /WORKDIR/git-route_typexazmv_c9/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typexazmv_c9/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 11 January 2024 00:33:39 +0000 (0:00:00.036) 0:00:34.343 ****** included: /WORKDIR/git-route_typexazmv_c9/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typexazmv_c9/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 11 January 2024 00:33:39 +0000 (0:00:00.065) 0:00:34.408 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003144", "end": "2024-01-11 00:33:39.565229", "rc": 0, "start": "2024-01-11 00:33:39.562085" } STDOUT: dummy0 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typexazmv_c9/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 11 January 2024 00:33:39 +0000 (0:00:00.132) 0:00:34.541 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "dummy0", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typexazmv_c9/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 11 January 2024 00:33:39 +0000 (0:00:00.028) 0:00:34.569 ****** ok: [sut] => {} MSG: current_interfaces: ['dummy0', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typexazmv_c9/tests/playbooks/tasks/run_test.yml:24 Thursday 11 January 2024 00:33:39 +0000 (0:00:00.024) 0:00:34.594 ****** included: /WORKDIR/git-route_typexazmv_c9/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-route_typexazmv_c9/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-route_typexazmv_c9/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typexazmv_c9/tests/playbooks/tasks/create_bridge_profile.yml:3 Thursday 11 January 2024 00:33:39 +0000 (0:00:00.049) 0:00:34.643 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 11 January 2024 00:33:39 +0000 (0:00:00.036) 0:00:34.680 ****** included: /WORKDIR/git-route_typexazmv_c9/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_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 11 January 2024 00:33:39 +0000 (0:00:00.041) 0:00:34.721 ****** 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_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 11 January 2024 00:33:39 +0000 (0:00:00.027) 0:00:34.749 ****** 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_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 11 January 2024 00:33:39 +0000 (0:00:00.022) 0:00:34.772 ****** 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_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 11 January 2024 00:33:39 +0000 (0:00:00.022) 0:00:34.795 ****** 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_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 11 January 2024 00:33:41 +0000 (0:00:01.521) 0:00:36.316 ****** 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_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 11 January 2024 00:33:41 +0000 (0:00:00.562) 0:00:36.879 ****** 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_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 11 January 2024 00:33:41 +0000 (0:00:00.022) 0:00:36.901 ****** 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_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 11 January 2024 00:33:41 +0000 (0:00:00.021) 0:00:36.923 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 11 January 2024 00:33:41 +0000 (0:00:00.021) 0:00:36.944 ****** 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_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 11 January 2024 00:33:42 +0000 (0:00:00.043) 0:00:36.988 ****** 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_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 11 January 2024 00:33:42 +0000 (0:00:00.023) 0:00:37.011 ****** 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_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 11 January 2024 00:33:42 +0000 (0:00:00.021) 0:00:37.033 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 11 January 2024 00:33:42 +0000 (0:00:00.027) 0:00:37.060 ****** 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_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 11 January 2024 00:33:42 +0000 (0:00:00.046) 0:00:37.107 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 11 January 2024 00:33:42 +0000 (0:00:00.021) 0:00:37.129 ****** 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_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 11 January 2024 00:33:42 +0000 (0:00:00.186) 0:00:37.316 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-14373xxu8rdzl/tmpskjk50uk" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 11 January 2024 00:33:42 +0000 (0:00:00.189) 0:00:37.506 ****** 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_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 11 January 2024 00:33:42 +0000 (0:00:00.232) 0:00:37.738 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-route_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 11 January 2024 00:33:42 +0000 (0:00:00.021) 0:00:37.760 ****** 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_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 11 January 2024 00:33:42 +0000 (0:00:00.024) 0:00:37.784 ****** 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_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 11 January 2024 00:33:42 +0000 (0:00:00.023) 0:00:37.807 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 11 January 2024 00:33:42 +0000 (0:00:00.022) 0:00:37.829 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typexazmv_c9/tests/playbooks/tasks/create_bridge_profile.yml:14 Thursday 11 January 2024 00:33:42 +0000 (0:00:00.123) 0:00:37.952 ****** 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_typexazmv_c9/tests/playbooks/tasks/activate_profile.yml:3 Thursday 11 January 2024 00:33:43 +0000 (0:00:00.022) 0:00:37.975 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 11 January 2024 00:33:43 +0000 (0:00:00.035) 0:00:38.010 ****** included: /WORKDIR/git-route_typexazmv_c9/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_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 11 January 2024 00:33:43 +0000 (0:00:00.063) 0:00:38.073 ****** 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_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 11 January 2024 00:33:43 +0000 (0:00:00.027) 0:00:38.101 ****** 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_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 11 January 2024 00:33:43 +0000 (0:00:00.022) 0:00:38.123 ****** 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_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 11 January 2024 00:33:43 +0000 (0:00:00.021) 0:00:38.145 ****** 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_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 11 January 2024 00:33:44 +0000 (0:00:01.503) 0:00:39.649 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-route_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 11 January 2024 00:33:45 +0000 (0:00:00.567) 0:00:40.217 ****** ok: [sut] => {} MSG: Using network provider: initscripts TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-route_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 11 January 2024 00:33:45 +0000 (0:00:00.045) 0:00:40.262 ****** 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_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 11 January 2024 00:33:45 +0000 (0:00:00.023) 0:00:40.286 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 11 January 2024 00:33:45 +0000 (0:00:00.022) 0:00:40.308 ****** 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_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 11 January 2024 00:33:45 +0000 (0:00:00.043) 0:00:40.352 ****** 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_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 11 January 2024 00:33:45 +0000 (0:00:00.022) 0:00:40.374 ****** 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_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 11 January 2024 00:33:45 +0000 (0:00:00.022) 0:00:40.396 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 11 January 2024 00:33:45 +0000 (0:00:00.023) 0:00:40.419 ****** 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_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 11 January 2024 00:33:45 +0000 (0:00:00.023) 0:00:40.443 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 11 January 2024 00:33:45 +0000 (0:00:00.021) 0:00:40.465 ****** 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_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 11 January 2024 00:33:45 +0000 (0:00:00.185) 0:00:40.650 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-14373xxu8rdzl/tmpie385bub" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 11 January 2024 00:33:45 +0000 (0:00:00.185) 0:00:40.836 ****** 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_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 11 January 2024 00:33:46 +0000 (0:00:00.343) 0:00:41.179 ****** 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_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 11 January 2024 00:33:46 +0000 (0:00:00.021) 0:00:41.200 ****** 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_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 11 January 2024 00:33:46 +0000 (0:00:00.022) 0:00:41.223 ****** 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_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 11 January 2024 00:33:46 +0000 (0:00:00.021) 0:00:41.245 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 11 January 2024 00:33:46 +0000 (0:00:00.048) 0:00:41.293 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typexazmv_c9/tests/playbooks/tasks/remove_profile.yml:3 Thursday 11 January 2024 00:33:46 +0000 (0:00:00.125) 0:00:41.419 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 11 January 2024 00:33:46 +0000 (0:00:00.036) 0:00:41.455 ****** included: /WORKDIR/git-route_typexazmv_c9/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_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 11 January 2024 00:33:46 +0000 (0:00:00.039) 0:00:41.495 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-route_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 11 January 2024 00:33:46 +0000 (0:00:00.026) 0:00:41.521 ****** 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_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 11 January 2024 00:33:46 +0000 (0:00:00.021) 0:00:41.543 ****** 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_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 11 January 2024 00:33:46 +0000 (0:00:00.020) 0:00:41.564 ****** 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_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 11 January 2024 00:33:48 +0000 (0:00:01.516) 0:00:43.080 ****** 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_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 11 January 2024 00:33:48 +0000 (0:00:00.590) 0:00:43.670 ****** 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_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 11 January 2024 00:33:48 +0000 (0:00:00.023) 0:00:43.694 ****** 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_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 11 January 2024 00:33:48 +0000 (0:00:00.020) 0:00:43.714 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 11 January 2024 00:33:48 +0000 (0:00:00.022) 0:00:43.737 ****** 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_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 11 January 2024 00:33:48 +0000 (0:00:00.042) 0:00:43.779 ****** 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_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 11 January 2024 00:33:48 +0000 (0:00:00.021) 0:00:43.801 ****** 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_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 11 January 2024 00:33:48 +0000 (0:00:00.021) 0:00:43.822 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 11 January 2024 00:33:48 +0000 (0:00:00.024) 0:00:43.846 ****** 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_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 11 January 2024 00:33:48 +0000 (0:00:00.021) 0:00:43.867 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 11 January 2024 00:33:48 +0000 (0:00:00.021) 0:00:43.889 ****** 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_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 11 January 2024 00:33:49 +0000 (0:00:00.183) 0:00:44.073 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-14373xxu8rdzl/tmpj4icc1e_" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 11 January 2024 00:33:49 +0000 (0:00:00.212) 0:00:44.285 ****** 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_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 11 January 2024 00:33:49 +0000 (0:00:00.238) 0:00:44.524 ****** 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_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 11 January 2024 00:33:49 +0000 (0:00:00.021) 0:00:44.545 ****** 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_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 11 January 2024 00:33:49 +0000 (0:00:00.022) 0:00:44.567 ****** 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_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 11 January 2024 00:33:49 +0000 (0:00:00.022) 0:00:44.590 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 11 January 2024 00:33:49 +0000 (0:00:00.021) 0:00:44.612 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_typexazmv_c9/tests/playbooks/tasks/run_test.yml:30 Thursday 11 January 2024 00:33:49 +0000 (0:00:00.122) 0:00:44.735 ****** included: /WORKDIR/git-route_typexazmv_c9/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typexazmv_c9/tests/playbooks/tasks/remove+down_profile.yml:3 Thursday 11 January 2024 00:33:49 +0000 (0:00:00.039) 0:00:44.774 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 11 January 2024 00:33:49 +0000 (0:00:00.039) 0:00:44.813 ****** included: /WORKDIR/git-route_typexazmv_c9/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_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 11 January 2024 00:33:49 +0000 (0:00:00.039) 0:00:44.853 ****** 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_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 11 January 2024 00:33:49 +0000 (0:00:00.027) 0:00:44.880 ****** 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_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 11 January 2024 00:33:49 +0000 (0:00:00.021) 0:00:44.902 ****** 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_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 11 January 2024 00:33:49 +0000 (0:00:00.049) 0:00:44.951 ****** 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_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 11 January 2024 00:33:51 +0000 (0:00:01.507) 0:00:46.459 ****** 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_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 11 January 2024 00:33:52 +0000 (0:00:00.563) 0:00:47.022 ****** 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_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 11 January 2024 00:33:52 +0000 (0:00:00.022) 0:00:47.045 ****** 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_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 11 January 2024 00:33:52 +0000 (0:00:00.020) 0:00:47.066 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 11 January 2024 00:33:52 +0000 (0:00:00.021) 0:00:47.087 ****** 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_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 11 January 2024 00:33:52 +0000 (0:00:00.065) 0:00:47.152 ****** 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_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 11 January 2024 00:33:52 +0000 (0:00:00.021) 0:00:47.174 ****** 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_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 11 January 2024 00:33:52 +0000 (0:00:00.021) 0:00:47.196 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 11 January 2024 00:33:52 +0000 (0:00:00.024) 0:00:47.221 ****** 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_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 11 January 2024 00:33:52 +0000 (0:00:00.021) 0:00:47.243 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 11 January 2024 00:33:52 +0000 (0:00:00.022) 0:00:47.265 ****** 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_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 11 January 2024 00:33:52 +0000 (0:00:00.184) 0:00:47.449 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-14373xxu8rdzl/tmp644k9_m7" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 11 January 2024 00:33:52 +0000 (0:00:00.184) 0:00:47.634 ****** 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_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 11 January 2024 00:33:52 +0000 (0:00:00.222) 0:00:47.856 ****** 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_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 11 January 2024 00:33:52 +0000 (0:00:00.021) 0:00:47.877 ****** 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_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 11 January 2024 00:33:52 +0000 (0:00:00.023) 0:00:47.900 ****** 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_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 11 January 2024 00:33:52 +0000 (0:00:00.023) 0:00:47.924 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 11 January 2024 00:33:52 +0000 (0:00:00.022) 0:00:47.946 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_typexazmv_c9/tests/playbooks/tasks/run_test.yml:36 Thursday 11 January 2024 00:33:53 +0000 (0:00:00.119) 0:00:48.066 ****** included: /WORKDIR/git-route_typexazmv_c9/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typexazmv_c9/tests/playbooks/tasks/assert_profile_absent.yml:3 Thursday 11 January 2024 00:33:53 +0000 (0:00:00.066) 0:00:48.133 ****** included: /WORKDIR/git-route_typexazmv_c9/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typexazmv_c9/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 11 January 2024 00:33:53 +0000 (0:00:00.037) 0:00:48.170 ****** 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_typexazmv_c9/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 11 January 2024 00:33:53 +0000 (0:00:00.022) 0:00:48.193 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_typexazmv_c9/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 11 January 2024 00:33:53 +0000 (0:00:00.127) 0:00:48.320 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typexazmv_c9/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 11 January 2024 00:33:53 +0000 (0:00:00.021) 0:00:48.342 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.006377", "end": "2024-01-11 00:33:53.507117", "rc": 1, "start": "2024-01-11 00:33:53.500740" } 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_typexazmv_c9/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 11 January 2024 00:33:53 +0000 (0:00:00.132) 0:00:48.474 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_typexazmv_c9/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 11 January 2024 00:33:53 +0000 (0:00:00.022) 0:00:48.496 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_typexazmv_c9/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 11 January 2024 00:33:53 +0000 (0:00:00.022) 0:00:48.519 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_typexazmv_c9/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 11 January 2024 00:33:53 +0000 (0:00:00.022) 0:00:48.541 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_typexazmv_c9/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 11 January 2024 00:33:53 +0000 (0:00:00.022) 0:00:48.564 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-route_typexazmv_c9/tests/playbooks/tasks/assert_profile_absent.yml:5 Thursday 11 January 2024 00:33:53 +0000 (0:00:00.023) 0:00:48.588 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typexazmv_c9/tests/playbooks/tasks/run_test.yml:42 Thursday 11 January 2024 00:33:53 +0000 (0:00:00.023) 0:00:48.612 ****** 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_typexazmv_c9/tests/playbooks/tasks/run_test.yml:47 Thursday 11 January 2024 00:33:53 +0000 (0:00:00.024) 0:00:48.636 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_typexazmv_c9/tests/playbooks/tasks/run_test.yml:66 Thursday 11 January 2024 00:33:53 +0000 (0:00:00.022) 0:00:48.659 ****** included: /WORKDIR/git-route_typexazmv_c9/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_typexazmv_c9/tests/playbooks/tasks/cleanup_profile+device.yml:3 Thursday 11 January 2024 00:33:53 +0000 (0:00:00.064) 0:00:48.723 ****** 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.038688", "end": "2024-01-11 00:33:53.921834", "rc": 0, "start": "2024-01-11 00:33:53.883146" } 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_typexazmv_c9/tests/playbooks/tests_states.yml:126 Thursday 11 January 2024 00:33:53 +0000 (0:00:00.170) 0:00:48.894 ****** included: /WORKDIR/git-route_typexazmv_c9/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_typexazmv_c9/tests/playbooks/tasks/run_test.yml:5 Thursday 11 January 2024 00:33:53 +0000 (0:00:00.036) 0:00:48.930 ****** 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_typexazmv_c9/tests/playbooks/tasks/run_test.yml:9 Thursday 11 January 2024 00:33:53 +0000 (0:00:00.022) 0:00:48.953 ****** 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_typexazmv_c9/tests/playbooks/tasks/run_test.yml:21 Thursday 11 January 2024 00:33:54 +0000 (0:00:00.045) 0:00:48.998 ****** included: /WORKDIR/git-route_typexazmv_c9/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typexazmv_c9/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 11 January 2024 00:33:54 +0000 (0:00:00.034) 0:00:49.033 ****** included: /WORKDIR/git-route_typexazmv_c9/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typexazmv_c9/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 11 January 2024 00:33:54 +0000 (0:00:00.033) 0:00:49.067 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003201", "end": "2024-01-11 00:33:54.233660", "rc": 0, "start": "2024-01-11 00:33:54.230459" } STDOUT: dummy0 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typexazmv_c9/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 11 January 2024 00:33:54 +0000 (0:00:00.134) 0:00:49.201 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "dummy0", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typexazmv_c9/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 11 January 2024 00:33:54 +0000 (0:00:00.023) 0:00:49.225 ****** ok: [sut] => {} MSG: current_interfaces: ['dummy0', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typexazmv_c9/tests/playbooks/tasks/run_test.yml:24 Thursday 11 January 2024 00:33:54 +0000 (0:00:00.022) 0:00:49.248 ****** included: /WORKDIR/git-route_typexazmv_c9/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-route_typexazmv_c9/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-route_typexazmv_c9/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typexazmv_c9/tests/playbooks/tasks/create_bridge_profile.yml:3 Thursday 11 January 2024 00:33:54 +0000 (0:00:00.045) 0:00:49.293 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 11 January 2024 00:33:54 +0000 (0:00:00.064) 0:00:49.357 ****** included: /WORKDIR/git-route_typexazmv_c9/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_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 11 January 2024 00:33:54 +0000 (0:00:00.043) 0:00:49.401 ****** 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_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 11 January 2024 00:33:54 +0000 (0:00:00.028) 0:00:49.429 ****** 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_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 11 January 2024 00:33:54 +0000 (0:00:00.022) 0:00:49.452 ****** 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_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 11 January 2024 00:33:54 +0000 (0:00:00.023) 0:00:49.475 ****** 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_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 11 January 2024 00:33:56 +0000 (0:00:01.509) 0:00:50.985 ****** 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_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 11 January 2024 00:33:56 +0000 (0:00:00.604) 0:00:51.590 ****** 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_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 11 January 2024 00:33:56 +0000 (0:00:00.023) 0:00:51.613 ****** 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_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 11 January 2024 00:33:56 +0000 (0:00:00.021) 0:00:51.634 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 11 January 2024 00:33:56 +0000 (0:00:00.021) 0:00:51.656 ****** 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_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 11 January 2024 00:33:56 +0000 (0:00:00.042) 0:00:51.698 ****** 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_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 11 January 2024 00:33:56 +0000 (0:00:00.020) 0:00:51.718 ****** 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_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 11 January 2024 00:33:56 +0000 (0:00:00.021) 0:00:51.740 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 11 January 2024 00:33:56 +0000 (0:00:00.023) 0:00:51.763 ****** 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_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 11 January 2024 00:33:56 +0000 (0:00:00.021) 0:00:51.785 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 11 January 2024 00:33:56 +0000 (0:00:00.021) 0:00:51.807 ****** 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_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 11 January 2024 00:33:57 +0000 (0:00:00.184) 0:00:51.991 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-14373xxu8rdzl/tmp3pgpxw11" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 11 January 2024 00:33:57 +0000 (0:00:00.185) 0:00:52.177 ****** 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_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 11 January 2024 00:33:57 +0000 (0:00:00.229) 0:00:52.406 ****** 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_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 11 January 2024 00:33:57 +0000 (0:00:00.045) 0:00:52.451 ****** 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_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 11 January 2024 00:33:57 +0000 (0:00:00.022) 0:00:52.474 ****** 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_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 11 January 2024 00:33:57 +0000 (0:00:00.022) 0:00:52.497 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 11 January 2024 00:33:57 +0000 (0:00:00.020) 0:00:52.517 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typexazmv_c9/tests/playbooks/tasks/create_bridge_profile.yml:14 Thursday 11 January 2024 00:33:57 +0000 (0:00:00.120) 0:00:52.638 ****** 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_typexazmv_c9/tests/playbooks/tasks/activate_profile.yml:3 Thursday 11 January 2024 00:33:57 +0000 (0:00:00.022) 0:00:52.660 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 11 January 2024 00:33:57 +0000 (0:00:00.035) 0:00:52.695 ****** included: /WORKDIR/git-route_typexazmv_c9/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_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 11 January 2024 00:33:57 +0000 (0:00:00.038) 0:00:52.734 ****** 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_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 11 January 2024 00:33:57 +0000 (0:00:00.026) 0:00:52.761 ****** 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_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 11 January 2024 00:33:57 +0000 (0:00:00.020) 0:00:52.782 ****** 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_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 11 January 2024 00:33:57 +0000 (0:00:00.021) 0:00:52.803 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-route_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 11 January 2024 00:33:59 +0000 (0:00:01.493) 0:00:54.297 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-route_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 11 January 2024 00:33:59 +0000 (0:00:00.560) 0:00:54.858 ****** 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_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 11 January 2024 00:33:59 +0000 (0:00:00.022) 0:00:54.881 ****** 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_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 11 January 2024 00:33:59 +0000 (0:00:00.020) 0:00:54.902 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 11 January 2024 00:33:59 +0000 (0:00:00.021) 0:00:54.923 ****** 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_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 11 January 2024 00:33:59 +0000 (0:00:00.042) 0:00:54.965 ****** 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_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 11 January 2024 00:34:00 +0000 (0:00:00.020) 0:00:54.986 ****** 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_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 11 January 2024 00:34:00 +0000 (0:00:00.021) 0:00:55.008 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 11 January 2024 00:34:00 +0000 (0:00:00.024) 0:00:55.033 ****** 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_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 11 January 2024 00:34:00 +0000 (0:00:00.020) 0:00:55.053 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 11 January 2024 00:34:00 +0000 (0:00:00.046) 0:00:55.100 ****** 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_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 11 January 2024 00:34:00 +0000 (0:00:00.186) 0:00:55.286 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-14373xxu8rdzl/tmp6lpzihhc" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 11 January 2024 00:34:00 +0000 (0:00:00.189) 0:00:55.476 ****** 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_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 11 January 2024 00:34:00 +0000 (0:00:00.334) 0:00:55.811 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-route_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 11 January 2024 00:34:00 +0000 (0:00:00.020) 0:00:55.832 ****** 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_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 11 January 2024 00:34:00 +0000 (0:00:00.022) 0:00:55.854 ****** 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_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 11 January 2024 00:34:00 +0000 (0:00:00.022) 0:00:55.877 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 11 January 2024 00:34:00 +0000 (0:00:00.021) 0:00:55.898 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typexazmv_c9/tests/playbooks/tasks/remove+down_profile.yml:3 Thursday 11 January 2024 00:34:01 +0000 (0:00:00.124) 0:00:56.023 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 11 January 2024 00:34:01 +0000 (0:00:00.035) 0:00:56.058 ****** included: /WORKDIR/git-route_typexazmv_c9/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_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 11 January 2024 00:34:01 +0000 (0:00:00.039) 0:00:56.097 ****** 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_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 11 January 2024 00:34:01 +0000 (0:00:00.025) 0:00:56.123 ****** 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_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 11 January 2024 00:34:01 +0000 (0:00:00.047) 0:00:56.171 ****** 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_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 11 January 2024 00:34:01 +0000 (0:00:00.023) 0:00:56.194 ****** 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_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 11 January 2024 00:34:02 +0000 (0:00:01.507) 0:00:57.701 ****** 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_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 11 January 2024 00:34:03 +0000 (0:00:00.569) 0:00:58.271 ****** 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_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 11 January 2024 00:34:03 +0000 (0:00:00.022) 0:00:58.293 ****** 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_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 11 January 2024 00:34:03 +0000 (0:00:00.020) 0:00:58.314 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 11 January 2024 00:34:03 +0000 (0:00:00.041) 0:00:58.355 ****** 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_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 11 January 2024 00:34:03 +0000 (0:00:00.043) 0:00:58.399 ****** 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_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 11 January 2024 00:34:03 +0000 (0:00:00.020) 0:00:58.420 ****** 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_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 11 January 2024 00:34:03 +0000 (0:00:00.021) 0:00:58.442 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 11 January 2024 00:34:03 +0000 (0:00:00.023) 0:00:58.465 ****** 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_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 11 January 2024 00:34:03 +0000 (0:00:00.020) 0:00:58.486 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 11 January 2024 00:34:03 +0000 (0:00:00.020) 0:00:58.507 ****** 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_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 11 January 2024 00:34:03 +0000 (0:00:00.188) 0:00:58.695 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-14373xxu8rdzl/tmpfgj1xvmx" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 11 January 2024 00:34:03 +0000 (0:00:00.186) 0:00:58.882 ****** 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_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 11 January 2024 00:34:04 +0000 (0:00:00.235) 0:00:59.117 ****** 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_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 11 January 2024 00:34:04 +0000 (0:00:00.021) 0:00:59.138 ****** 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_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 11 January 2024 00:34:04 +0000 (0:00:00.021) 0:00:59.160 ****** 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_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 11 January 2024 00:34:04 +0000 (0:00:00.022) 0:00:59.182 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 11 January 2024 00:34:04 +0000 (0:00:00.021) 0:00:59.204 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_typexazmv_c9/tests/playbooks/tasks/run_test.yml:30 Thursday 11 January 2024 00:34:04 +0000 (0:00:00.152) 0:00:59.356 ****** included: /WORKDIR/git-route_typexazmv_c9/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typexazmv_c9/tests/playbooks/tasks/remove+down_profile.yml:3 Thursday 11 January 2024 00:34:04 +0000 (0:00:00.038) 0:00:59.395 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 11 January 2024 00:34:04 +0000 (0:00:00.035) 0:00:59.431 ****** included: /WORKDIR/git-route_typexazmv_c9/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_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 11 January 2024 00:34:04 +0000 (0:00:00.040) 0:00:59.471 ****** 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_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 11 January 2024 00:34:04 +0000 (0:00:00.026) 0:00:59.497 ****** 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_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 11 January 2024 00:34:04 +0000 (0:00:00.021) 0:00:59.519 ****** 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_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 11 January 2024 00:34:04 +0000 (0:00:00.022) 0:00:59.541 ****** 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_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 11 January 2024 00:34:06 +0000 (0:00:01.488) 0:01:01.029 ****** 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_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 11 January 2024 00:34:06 +0000 (0:00:00.579) 0:01:01.608 ****** 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_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 11 January 2024 00:34:06 +0000 (0:00:00.023) 0:01:01.631 ****** 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_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 11 January 2024 00:34:06 +0000 (0:00:00.020) 0:01:01.652 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 11 January 2024 00:34:06 +0000 (0:00:00.021) 0:01:01.674 ****** 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_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 11 January 2024 00:34:06 +0000 (0:00:00.042) 0:01:01.716 ****** 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_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 11 January 2024 00:34:06 +0000 (0:00:00.021) 0:01:01.737 ****** 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_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 11 January 2024 00:34:06 +0000 (0:00:00.021) 0:01:01.759 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 11 January 2024 00:34:06 +0000 (0:00:00.024) 0:01:01.784 ****** 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_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 11 January 2024 00:34:06 +0000 (0:00:00.021) 0:01:01.805 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 11 January 2024 00:34:06 +0000 (0:00:00.021) 0:01:01.827 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 11 January 2024 00:34:07 +0000 (0:00:00.183) 0:01:02.011 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-14373xxu8rdzl/tmp7mes4q8e" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 11 January 2024 00:34:07 +0000 (0:00:00.211) 0:01:02.222 ****** 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_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 11 January 2024 00:34:07 +0000 (0:00:00.226) 0:01:02.448 ****** 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_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 11 January 2024 00:34:07 +0000 (0:00:00.021) 0:01:02.469 ****** 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_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 11 January 2024 00:34:07 +0000 (0:00:00.022) 0:01:02.492 ****** 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_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 11 January 2024 00:34:07 +0000 (0:00:00.022) 0:01:02.515 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 11 January 2024 00:34:07 +0000 (0:00:00.021) 0:01:02.536 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_typexazmv_c9/tests/playbooks/tasks/run_test.yml:36 Thursday 11 January 2024 00:34:07 +0000 (0:00:00.125) 0:01:02.661 ****** included: /WORKDIR/git-route_typexazmv_c9/tests/playbooks/tasks/assert_profile_absent.yml for sut included: /WORKDIR/git-route_typexazmv_c9/tests/playbooks/tasks/get_NetworkManager_NVR.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typexazmv_c9/tests/playbooks/tasks/assert_profile_absent.yml:3 Thursday 11 January 2024 00:34:07 +0000 (0:00:00.043) 0:01:02.704 ****** included: /WORKDIR/git-route_typexazmv_c9/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typexazmv_c9/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 11 January 2024 00:34:07 +0000 (0:00:00.035) 0:01:02.740 ****** 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_typexazmv_c9/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 11 January 2024 00:34:07 +0000 (0:00:00.021) 0:01:02.762 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_typexazmv_c9/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 11 January 2024 00:34:07 +0000 (0:00:00.126) 0:01:02.888 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typexazmv_c9/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 11 January 2024 00:34:07 +0000 (0:00:00.020) 0:01:02.909 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.006330", "end": "2024-01-11 00:34:08.082267", "rc": 1, "start": "2024-01-11 00:34:08.075937" } 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_typexazmv_c9/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 11 January 2024 00:34:08 +0000 (0:00:00.131) 0:01:03.040 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_typexazmv_c9/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 11 January 2024 00:34:08 +0000 (0:00:00.051) 0:01:03.092 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_typexazmv_c9/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 11 January 2024 00:34:08 +0000 (0:00:00.022) 0:01:03.115 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_typexazmv_c9/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 11 January 2024 00:34:08 +0000 (0:00:00.024) 0:01:03.139 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_typexazmv_c9/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 11 January 2024 00:34:08 +0000 (0:00:00.022) 0:01:03.162 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-route_typexazmv_c9/tests/playbooks/tasks/assert_profile_absent.yml:5 Thursday 11 January 2024 00:34:08 +0000 (0:00:00.021) 0:01:03.183 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /WORKDIR/git-route_typexazmv_c9/tests/playbooks/tasks/get_NetworkManager_NVR.yml:7 Thursday 11 January 2024 00:34:08 +0000 (0:00:00.025) 0:01:03.208 ****** ok: [sut] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.367326", "end": "2024-01-11 00:34:08.741466", "rc": 0, "start": "2024-01-11 00:34:08.374140" } STDOUT: NetworkManager-0.8.1-113.el6 TASK [Store NetworkManager version] ******************************************** task path: /WORKDIR/git-route_typexazmv_c9/tests/playbooks/tasks/get_NetworkManager_NVR.yml:14 Thursday 11 January 2024 00:34:08 +0000 (0:00:00.495) 0:01:03.704 ****** ok: [sut] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-0.8.1-113.el6" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /WORKDIR/git-route_typexazmv_c9/tests/playbooks/tasks/get_NetworkManager_NVR.yml:18 Thursday 11 January 2024 00:34:08 +0000 (0:00:00.022) 0:01:03.727 ****** ok: [sut] => { "networkmanager_nvr": "NetworkManager-0.8.1-113.el6" } TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typexazmv_c9/tests/playbooks/tasks/run_test.yml:42 Thursday 11 January 2024 00:34:08 +0000 (0:00:00.020) 0:01:03.748 ****** 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_typexazmv_c9/tests/playbooks/tasks/run_test.yml:47 Thursday 11 January 2024 00:34:08 +0000 (0:00:00.024) 0:01:03.773 ****** 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_typexazmv_c9/tests/playbooks/tasks/run_test.yml:66 Thursday 11 January 2024 00:34:08 +0000 (0:00:00.022) 0:01:03.795 ****** included: /WORKDIR/git-route_typexazmv_c9/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_typexazmv_c9/tests/playbooks/tasks/cleanup_profile+device.yml:3 Thursday 11 January 2024 00:34:08 +0000 (0:00:00.039) 0:01:03.835 ****** 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.038149", "end": "2024-01-11 00:34:09.047860", "rc": 0, "start": "2024-01-11 00:34:09.009711" } 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 Thursday 11 January 2024 00:34:09 +0000 (0:00:00.164) 0:01:03.999 ****** =============================================================================== linux-system-roles.network : Check which services are running ----------- 1.79s /WORKDIR/git-route_typexazmv_c9/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_typexazmv_c9/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_typexazmv_c9/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_typexazmv_c9/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_typexazmv_c9/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_typexazmv_c9/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_typexazmv_c9/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_typexazmv_c9/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_typexazmv_c9/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_typexazmv_c9/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_typexazmv_c9/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_typexazmv_c9/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_typexazmv_c9/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_typexazmv_c9/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_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Configure networking connection profiles --- 1.42s /WORKDIR/git-route_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Configure networking connection profiles --- 1.29s /WORKDIR/git-route_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Enable network service --------------------- 1.01s /WORKDIR/git-route_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/main.yml:105 linux-system-roles.network : Ensure initscripts network file dependency is present --- 0.94s /WORKDIR/git-route_typexazmv_c9/tests/roles/linux-system-roles.network/tasks/main.yml:113 Gathering Facts --------------------------------------------------------- 0.89s /WORKDIR/git-route_typexazmv_c9/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. ---^---^---^---^---^---