# 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_type8mc2ghcb/tests/tests_states_initscripts.yml PLAY [Run playbook 'playbooks/tests_states.yml' with initscripts as provider] *** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-route_type8mc2ghcb/tests/tests_states_initscripts.yml:5 Tuesday 09 January 2024 20:23:39 +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_type8mc2ghcb/tests/tests_states_initscripts.yml:8 Tuesday 09 January 2024 20:23:40 +0000 (0:00:00.908) 0:00:00.920 ******* included: /WORKDIR/git-route_type8mc2ghcb/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_type8mc2ghcb/tests/tasks/el_repo_setup.yml:3 Tuesday 09 January 2024 20:23:40 +0000 (0:00:00.024) 0:00:00.944 ******* ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-route_type8mc2ghcb/tests/tasks/el_repo_setup.yml:19 Tuesday 09 January 2024 20:23:40 +0000 (0:00:00.230) 0:00:01.175 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-route_type8mc2ghcb/tests/tasks/el_repo_setup.yml:24 Tuesday 09 January 2024 20:23:40 +0000 (0:00:00.178) 0:00:01.354 ******* ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-route_type8mc2ghcb/tests/tasks/el_repo_setup.yml:28 Tuesday 09 January 2024 20:23:40 +0000 (0:00:00.019) 0:00:01.374 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-route_type8mc2ghcb/tests/tasks/el_repo_setup.yml:53 Tuesday 09 January 2024 20:23:40 +0000 (0:00:00.016) 0:00:01.391 ******* included: /WORKDIR/git-route_type8mc2ghcb/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 6] *********************************************************** task path: /WORKDIR/git-route_type8mc2ghcb/tests/tasks/enable_epel.yml:8 Tuesday 09 January 2024 20:23:40 +0000 (0:00:00.030) 0:00:01.422 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Install yum-utils package] *********************************************** task path: /WORKDIR/git-route_type8mc2ghcb/tests/tasks/enable_epel.yml:24 Tuesday 09 January 2024 20:23:40 +0000 (0:00:00.010) 0:00:01.432 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-route_type8mc2ghcb/tests/tasks/enable_epel.yml:30 Tuesday 09 January 2024 20:23:40 +0000 (0:00:00.010) 0:00:01.442 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-route_type8mc2ghcb/tests/tasks/enable_epel.yml:35 Tuesday 09 January 2024 20:23:40 +0000 (0:00:00.010) 0:00:01.453 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-route_type8mc2ghcb/tests/tasks/enable_epel.yml:40 Tuesday 09 January 2024 20:23:40 +0000 (0:00:00.010) 0:00:01.463 ******* 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_type8mc2ghcb/tests/tests_states_initscripts.yml:10 Tuesday 09 January 2024 20:23:41 +0000 (0:00:00.430) 0:00:01.893 ******* 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_type8mc2ghcb/tests/playbooks/tests_states.yml:3 Tuesday 09 January 2024 20:23:41 +0000 (0:00:00.010) 0:00:01.904 ******* ok: [sut] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tests_states.yml:11 Tuesday 09 January 2024 20:23:41 +0000 (0:00:00.709) 0:00:02.614 ******* ok: [sut] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tests_states.yml:22 Tuesday 09 January 2024 20:23:41 +0000 (0:00:00.011) 0:00:02.625 ******* included: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile] ******************************************** task path: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/run_test.yml:5 Tuesday 09 January 2024 20:23:41 +0000 (0:00:00.017) 0:00:02.643 ******* ok: [sut] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/run_test.yml:9 Tuesday 09 January 2024 20:23:41 +0000 (0:00:00.011) 0:00:02.654 ******* 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_type8mc2ghcb/tests/playbooks/tasks/run_test.yml:21 Tuesday 09 January 2024 20:23:41 +0000 (0:00:00.036) 0:00:02.691 ******* included: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 09 January 2024 20:23:41 +0000 (0:00:00.015) 0:00:02.706 ******* included: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 09 January 2024 20:23:41 +0000 (0:00:00.014) 0:00:02.721 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003077", "end": "2024-01-09 20:23:41.998564", "rc": 0, "start": "2024-01-09 20:23:41.995487" } STDOUT: dummy0 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 09 January 2024 20:23:42 +0000 (0:00:00.184) 0:00:02.905 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "dummy0", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 09 January 2024 20:23:42 +0000 (0:00:00.013) 0:00:02.918 ******* ok: [sut] => {} MSG: current_interfaces: ['dummy0', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/run_test.yml:24 Tuesday 09 January 2024 20:23:42 +0000 (0:00:00.011) 0:00:02.930 ******* included: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/delete_interface.yml:3 Tuesday 09 January 2024 20:23:42 +0000 (0:00:00.022) 0:00:02.953 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.031450", "end": "2024-01-09 20:23:42.194080", "rc": 255, "start": "2024-01-09 20:23:42.162630" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 09 January 2024 20:23:42 +0000 (0:00:00.150) 0:00:03.103 ******* included: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 09 January 2024 20:23:42 +0000 (0:00:00.017) 0:00:03.120 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 09 January 2024 20:23:42 +0000 (0:00:00.123) 0:00:03.244 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/run_test.yml:30 Tuesday 09 January 2024 20:23:42 +0000 (0:00:00.014) 0:00:03.258 ******* included: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 09 January 2024 20:23:42 +0000 (0:00:00.019) 0:00:03.278 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 20:23:42 +0000 (0:00:00.033) 0:00:03.312 ******* included: /WORKDIR/git-route_type8mc2ghcb/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_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 20:23:42 +0000 (0:00:00.069) 0:00:03.381 ******* 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_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 20:23:42 +0000 (0:00:00.013) 0:00:03.394 ******* 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_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 20:23:42 +0000 (0:00:00.010) 0:00:03.405 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 20:23:42 +0000 (0:00:00.010) 0:00:03.416 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-route_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 20:23:44 +0000 (0:00:01.808) 0:00:05.225 ******* 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_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 20:23:45 +0000 (0:00:00.706) 0:00:05.931 ******* 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_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 20:23:45 +0000 (0:00:00.021) 0:00:05.953 ******* 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_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 20:23:45 +0000 (0:00:00.020) 0:00:05.973 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 20:23:45 +0000 (0:00:00.019) 0:00:05.993 ******* 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_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 20:23:45 +0000 (0:00:00.055) 0:00:06.048 ******* 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_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 20:23:45 +0000 (0:00:00.021) 0:00:06.070 ******* 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_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 20:23:45 +0000 (0:00:00.020) 0:00:06.090 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 20:23:45 +0000 (0:00:00.024) 0:00:06.115 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-route_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 20:23:45 +0000 (0:00:00.020) 0:00:06.135 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 20:23:45 +0000 (0:00:00.019) 0:00:06.155 ******* 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_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 20:23:45 +0000 (0:00:00.270) 0:00:06.426 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-144344d4du77f/tmpbp7rwtu4" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 20:23:45 +0000 (0:00:00.193) 0:00:06.619 ******* 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_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 20:23:46 +0000 (0:00:00.346) 0:00:06.966 ******* 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_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 20:23:46 +0000 (0:00:00.021) 0:00:06.987 ******* 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_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 20:23:46 +0000 (0:00:00.022) 0:00:07.009 ******* 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_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 20:23:46 +0000 (0:00:00.022) 0:00:07.031 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 20:23:46 +0000 (0:00:00.019) 0:00:07.050 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 09 January 2024 20:23:46 +0000 (0:00:00.192) 0:00:07.243 ******* 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_type8mc2ghcb/tests/playbooks/tasks/run_test.yml:36 Tuesday 09 January 2024 20:23:46 +0000 (0:00:00.040) 0:00:07.284 ******* included: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 09 January 2024 20:23:46 +0000 (0:00:00.039) 0:00:07.323 ******* included: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 09 January 2024 20:23:46 +0000 (0:00:00.036) 0:00:07.360 ******* 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_type8mc2ghcb/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 09 January 2024 20:23:46 +0000 (0:00:00.020) 0:00:07.381 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1704831826.048354, "block_size": 4096, "blocks": 8, "ctime": 1704831826.0493546, "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": 1704831826.0493546, "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_type8mc2ghcb/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 09 January 2024 20:23:46 +0000 (0:00:00.128) 0:00:07.509 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 09 January 2024 20:23:46 +0000 (0:00:00.022) 0:00:07.531 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.006416", "end": "2024-01-09 20:23:46.749746", "rc": 1, "start": "2024-01-09 20:23:46.743330" } 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_type8mc2ghcb/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 09 January 2024 20:23:46 +0000 (0:00:00.131) 0:00:07.663 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 09 January 2024 20:23:46 +0000 (0:00:00.022) 0:00:07.685 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.002870", "end": "2024-01-09 20:23:46.900781", "rc": 0, "start": "2024-01-09 20:23:46.897911" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 09 January 2024 20:23:46 +0000 (0:00:00.130) 0:00:07.816 ******* 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_type8mc2ghcb/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 09 January 2024 20:23:46 +0000 (0:00:00.027) 0:00:07.843 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.002788", "end": "2024-01-09 20:23:47.057802", "rc": 0, "start": "2024-01-09 20:23:47.055014" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 09 January 2024 20:23:47 +0000 (0:00:00.129) 0:00:07.973 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 09 January 2024 20:23:47 +0000 (0:00:00.025) 0:00:07.998 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 09 January 2024 20:23:47 +0000 (0:00:00.022) 0:00:08.021 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 09 January 2024 20:23:47 +0000 (0:00:00.043) 0:00:08.064 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/run_test.yml:42 Tuesday 09 January 2024 20:23:47 +0000 (0:00:00.022) 0:00:08.087 ******* 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_type8mc2ghcb/tests/playbooks/tasks/run_test.yml:47 Tuesday 09 January 2024 20:23:47 +0000 (0:00:00.023) 0:00:08.111 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/run_test.yml:66 Tuesday 09 January 2024 20:23:47 +0000 (0:00:00.022) 0:00:08.133 ******* included: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 09 January 2024 20:23:47 +0000 (0:00:00.039) 0:00:08.172 ******* 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.051066", "end": "2024-01-09 20:23:47.436177", "rc": 255, "start": "2024-01-09 20:23:47.385111" } 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_type8mc2ghcb/tests/playbooks/tests_states.yml:45 Tuesday 09 January 2024 20:23:47 +0000 (0:00:00.178) 0:00:08.350 ******* included: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile without autoconnect] ************************ task path: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/run_test.yml:5 Tuesday 09 January 2024 20:23:47 +0000 (0:00:00.036) 0:00:08.387 ******* ok: [sut] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/run_test.yml:9 Tuesday 09 January 2024 20:23:47 +0000 (0:00:00.020) 0:00:08.407 ******* 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_type8mc2ghcb/tests/playbooks/tasks/run_test.yml:21 Tuesday 09 January 2024 20:23:47 +0000 (0:00:00.045) 0:00:08.453 ******* included: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 09 January 2024 20:23:47 +0000 (0:00:00.034) 0:00:08.487 ******* included: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 09 January 2024 20:23:47 +0000 (0:00:00.032) 0:00:08.519 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003068", "end": "2024-01-09 20:23:47.737871", "rc": 0, "start": "2024-01-09 20:23:47.734803" } STDOUT: dummy0 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 09 January 2024 20:23:47 +0000 (0:00:00.132) 0:00:08.651 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "dummy0", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 09 January 2024 20:23:47 +0000 (0:00:00.045) 0:00:08.696 ******* ok: [sut] => {} MSG: current_interfaces: ['dummy0', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/run_test.yml:24 Tuesday 09 January 2024 20:23:47 +0000 (0:00:00.022) 0:00:08.719 ******* included: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/delete_interface.yml:3 Tuesday 09 January 2024 20:23:47 +0000 (0:00:00.040) 0:00:08.760 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.004772", "end": "2024-01-09 20:23:47.979502", "rc": 255, "start": "2024-01-09 20:23:47.974730" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 09 January 2024 20:23:48 +0000 (0:00:00.134) 0:00:08.894 ******* included: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 09 January 2024 20:23:48 +0000 (0:00:00.034) 0:00:08.929 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 09 January 2024 20:23:48 +0000 (0:00:00.129) 0:00:09.059 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/run_test.yml:30 Tuesday 09 January 2024 20:23:48 +0000 (0:00:00.023) 0:00:09.082 ******* included: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Tuesday 09 January 2024 20:23:48 +0000 (0:00:00.037) 0:00:09.120 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 20:23:48 +0000 (0:00:00.039) 0:00:09.159 ******* included: /WORKDIR/git-route_type8mc2ghcb/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_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 20:23:48 +0000 (0:00:00.038) 0:00:09.198 ******* 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_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 20:23:48 +0000 (0:00:00.046) 0:00:09.245 ******* 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_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 20:23:48 +0000 (0:00:00.021) 0:00:09.266 ******* 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_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 20:23:48 +0000 (0:00:00.021) 0:00:09.287 ******* 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_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 20:23:49 +0000 (0:00:01.579) 0:00:10.867 ******* 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_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 20:23:50 +0000 (0:00:00.574) 0:00:11.442 ******* 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_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 20:23:50 +0000 (0:00:00.022) 0:00:11.464 ******* 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_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 20:23:50 +0000 (0:00:00.039) 0:00:11.504 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 20:23:50 +0000 (0:00:00.021) 0:00:11.525 ******* 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_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 20:23:50 +0000 (0:00:00.045) 0:00:11.570 ******* 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_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 20:23:50 +0000 (0:00:00.021) 0:00:11.592 ******* 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_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 20:23:50 +0000 (0:00:00.019) 0:00:11.612 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 20:23:50 +0000 (0:00:00.024) 0:00:11.636 ******* 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_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 20:23:50 +0000 (0:00:00.021) 0:00:11.658 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 20:23:50 +0000 (0:00:00.019) 0:00:11.677 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 20:23:50 +0000 (0:00:00.185) 0:00:11.863 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-144344d4du77f/tmpq1c6hgqj" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 20:23:51 +0000 (0:00:00.185) 0:00:12.048 ******* 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_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 20:23:51 +0000 (0:00:00.230) 0:00:12.278 ******* 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_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 20:23:51 +0000 (0:00:00.020) 0:00:12.299 ******* 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_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 20:23:51 +0000 (0:00:00.022) 0:00:12.321 ******* 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_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 20:23:51 +0000 (0:00:00.021) 0:00:12.343 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 20:23:51 +0000 (0:00:00.021) 0:00:12.364 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Tuesday 09 January 2024 20:23:51 +0000 (0:00:00.144) 0:00:12.509 ******* 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_type8mc2ghcb/tests/playbooks/tasks/run_test.yml:36 Tuesday 09 January 2024 20:23:51 +0000 (0:00:00.023) 0:00:12.533 ******* included: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/assert_device_absent.yml for sut included: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 09 January 2024 20:23:51 +0000 (0:00:00.043) 0:00:12.576 ******* included: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 09 January 2024 20:23:51 +0000 (0:00:00.035) 0:00:12.611 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 09 January 2024 20:23:51 +0000 (0:00:00.126) 0:00:12.737 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 09 January 2024 20:23:51 +0000 (0:00:00.023) 0:00:12.761 ******* included: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 09 January 2024 20:23:51 +0000 (0:00:00.034) 0:00:12.796 ******* 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_type8mc2ghcb/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 09 January 2024 20:23:51 +0000 (0:00:00.021) 0:00:12.817 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1704831831.36301, "block_size": 4096, "blocks": 8, "ctime": 1704831831.36301, "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": 1704831831.36301, "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_type8mc2ghcb/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 09 January 2024 20:23:52 +0000 (0:00:00.123) 0:00:12.940 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 09 January 2024 20:23:52 +0000 (0:00:00.021) 0:00:12.962 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.006305", "end": "2024-01-09 20:23:52.180443", "rc": 1, "start": "2024-01-09 20:23:52.174138" } 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_type8mc2ghcb/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 09 January 2024 20:23:52 +0000 (0:00:00.128) 0:00:13.090 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 09 January 2024 20:23:52 +0000 (0:00:00.022) 0:00:13.112 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.002864", "end": "2024-01-09 20:23:52.334775", "rc": 0, "start": "2024-01-09 20:23:52.331911" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 09 January 2024 20:23:52 +0000 (0:00:00.156) 0:00:13.269 ******* 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_type8mc2ghcb/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 09 January 2024 20:23:52 +0000 (0:00:00.026) 0:00:13.295 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003192", "end": "2024-01-09 20:23:52.515664", "rc": 0, "start": "2024-01-09 20:23:52.512472" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 09 January 2024 20:23:52 +0000 (0:00:00.133) 0:00:13.429 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 09 January 2024 20:23:52 +0000 (0:00:00.025) 0:00:13.455 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 09 January 2024 20:23:52 +0000 (0:00:00.023) 0:00:13.478 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 09 January 2024 20:23:52 +0000 (0:00:00.022) 0:00:13.501 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/run_test.yml:42 Tuesday 09 January 2024 20:23:52 +0000 (0:00:00.022) 0:00:13.523 ******* TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/run_test.yml:47 Tuesday 09 January 2024 20:23:52 +0000 (0:00:00.019) 0:00:13.543 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/run_test.yml:66 Tuesday 09 January 2024 20:23:52 +0000 (0:00:00.023) 0:00:13.566 ******* included: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 09 January 2024 20:23:52 +0000 (0:00:00.039) 0:00:13.605 ******* 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.028474", "end": "2024-01-09 20:23:52.850476", "rc": 255, "start": "2024-01-09 20:23:52.822002" } 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_type8mc2ghcb/tests/playbooks/tests_states.yml:65 Tuesday 09 January 2024 20:23:52 +0000 (0:00:00.156) 0:00:13.762 ******* included: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can activate an existing profile] ******************************** task path: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/run_test.yml:5 Tuesday 09 January 2024 20:23:52 +0000 (0:00:00.035) 0:00:13.798 ******* ok: [sut] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/run_test.yml:9 Tuesday 09 January 2024 20:23:52 +0000 (0:00:00.022) 0:00:13.820 ******* 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_type8mc2ghcb/tests/playbooks/tasks/run_test.yml:21 Tuesday 09 January 2024 20:23:52 +0000 (0:00:00.043) 0:00:13.864 ******* included: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 09 January 2024 20:23:53 +0000 (0:00:00.056) 0:00:13.920 ******* included: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 09 January 2024 20:23:53 +0000 (0:00:00.033) 0:00:13.953 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003230", "end": "2024-01-09 20:23:53.173271", "rc": 0, "start": "2024-01-09 20:23:53.170041" } STDOUT: dummy0 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 09 January 2024 20:23:53 +0000 (0:00:00.132) 0:00:14.085 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "dummy0", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 09 January 2024 20:23:53 +0000 (0:00:00.022) 0:00:14.107 ******* ok: [sut] => {} MSG: current_interfaces: ['dummy0', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/run_test.yml:24 Tuesday 09 January 2024 20:23:53 +0000 (0:00:00.020) 0:00:14.128 ******* included: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 09 January 2024 20:23:53 +0000 (0:00:00.037) 0:00:14.165 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 20:23:53 +0000 (0:00:00.035) 0:00:14.201 ******* included: /WORKDIR/git-route_type8mc2ghcb/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_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 20:23:53 +0000 (0:00:00.038) 0:00:14.239 ******* 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_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 20:23:53 +0000 (0:00:00.025) 0:00:14.265 ******* 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_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 20:23:53 +0000 (0:00:00.021) 0:00:14.286 ******* 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_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 20:23:53 +0000 (0:00:00.021) 0:00:14.308 ******* 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_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 20:23:54 +0000 (0:00:01.527) 0:00:15.836 ******* 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_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 20:23:55 +0000 (0:00:00.563) 0:00:16.399 ******* 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_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 20:23:55 +0000 (0:00:00.022) 0:00:16.421 ******* 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_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 20:23:55 +0000 (0:00:00.021) 0:00:16.443 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 20:23:55 +0000 (0:00:00.021) 0:00:16.464 ******* 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_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 20:23:55 +0000 (0:00:00.041) 0:00:16.506 ******* 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_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 20:23:55 +0000 (0:00:00.038) 0:00:16.545 ******* 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_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 20:23:55 +0000 (0:00:00.021) 0:00:16.566 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 20:23:55 +0000 (0:00:00.024) 0:00:16.591 ******* 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_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 20:23:55 +0000 (0:00:00.021) 0:00:16.612 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 20:23:55 +0000 (0:00:00.020) 0:00:16.633 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 20:23:55 +0000 (0:00:00.185) 0:00:16.818 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-144344d4du77f/tmpfvmhtllk" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 20:23:56 +0000 (0:00:00.188) 0:00:17.007 ******* 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_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 20:23:56 +0000 (0:00:00.243) 0:00:17.250 ******* 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_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 20:23:56 +0000 (0:00:00.020) 0:00:17.271 ******* 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_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 20:23:56 +0000 (0:00:00.022) 0:00:17.293 ******* 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_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 20:23:56 +0000 (0:00:00.022) 0:00:17.315 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 20:23:56 +0000 (0:00:00.020) 0:00:17.336 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 09 January 2024 20:23:56 +0000 (0:00:00.124) 0:00:17.460 ******* 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_type8mc2ghcb/tests/playbooks/tasks/run_test.yml:30 Tuesday 09 January 2024 20:23:56 +0000 (0:00:00.022) 0:00:17.483 ******* included: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 09 January 2024 20:23:56 +0000 (0:00:00.058) 0:00:17.542 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 20:23:56 +0000 (0:00:00.040) 0:00:17.582 ******* included: /WORKDIR/git-route_type8mc2ghcb/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_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 20:23:56 +0000 (0:00:00.039) 0:00:17.622 ******* 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_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 20:23:56 +0000 (0:00:00.025) 0:00:17.647 ******* 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_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 20:23:56 +0000 (0:00:00.019) 0:00:17.667 ******* 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_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 20:23:56 +0000 (0:00:00.020) 0:00:17.687 ******* 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_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 20:23:58 +0000 (0:00:01.525) 0:00:19.213 ******* 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_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 20:23:58 +0000 (0:00:00.576) 0:00:19.789 ******* 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_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 20:23:58 +0000 (0:00:00.022) 0:00:19.811 ******* 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_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 20:23:58 +0000 (0:00:00.020) 0:00:19.832 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 20:23:58 +0000 (0:00:00.020) 0:00:19.852 ******* 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_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 20:23:59 +0000 (0:00:00.042) 0:00:19.894 ******* 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_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 20:23:59 +0000 (0:00:00.020) 0:00:19.915 ******* 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_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 20:23:59 +0000 (0:00:00.020) 0:00:19.936 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 20:23:59 +0000 (0:00:00.024) 0:00:19.960 ******* 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_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 20:23:59 +0000 (0:00:00.020) 0:00:19.981 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 20:23:59 +0000 (0:00:00.021) 0:00:20.002 ******* 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_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 20:23:59 +0000 (0:00:00.187) 0:00:20.189 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-144344d4du77f/tmpzcqovia2" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 20:23:59 +0000 (0:00:00.189) 0:00:20.379 ******* 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_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 20:23:59 +0000 (0:00:00.384) 0:00:20.764 ******* 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_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 20:23:59 +0000 (0:00:00.020) 0:00:20.785 ******* 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_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 20:23:59 +0000 (0:00:00.022) 0:00:20.807 ******* 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_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 20:23:59 +0000 (0:00:00.022) 0:00:20.829 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 20:23:59 +0000 (0:00:00.021) 0:00:20.850 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/run_test.yml:36 Tuesday 09 January 2024 20:24:00 +0000 (0:00:00.127) 0:00:20.978 ******* included: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 09 January 2024 20:24:00 +0000 (0:00:00.042) 0:00:21.020 ******* included: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 09 January 2024 20:24:00 +0000 (0:00:00.035) 0:00:21.055 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1704831839.7742136, "block_size": 4096, "blocks": 0, "ctime": 1704831839.773213, "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": 1704831839.773213, "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_type8mc2ghcb/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 09 January 2024 20:24:00 +0000 (0:00:00.128) 0:00:21.184 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 09 January 2024 20:24:00 +0000 (0:00:00.024) 0:00:21.208 ******* included: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 09 January 2024 20:24:00 +0000 (0:00:00.036) 0:00:21.245 ******* 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_type8mc2ghcb/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 09 January 2024 20:24:00 +0000 (0:00:00.020) 0:00:21.266 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1704831837.902278, "block_size": 4096, "blocks": 8, "ctime": 1704831836.337496, "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": 1704831836.337496, "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_type8mc2ghcb/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 09 January 2024 20:24:00 +0000 (0:00:00.149) 0:00:21.415 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 09 January 2024 20:24:00 +0000 (0:00:00.022) 0:00:21.438 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.006704", "end": "2024-01-09 20:24:00.665073", "rc": 1, "start": "2024-01-09 20:24:00.658369" } 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_type8mc2ghcb/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 09 January 2024 20:24:00 +0000 (0:00:00.135) 0:00:21.573 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 09 January 2024 20:24:00 +0000 (0:00:00.022) 0:00:21.596 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.002868", "end": "2024-01-09 20:24:00.820374", "rc": 0, "start": "2024-01-09 20:24:00.817506" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 09 January 2024 20:24:00 +0000 (0:00:00.133) 0:00:21.729 ******* 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_type8mc2ghcb/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 09 January 2024 20:24:00 +0000 (0:00:00.025) 0:00:21.755 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.002852", "end": "2024-01-09 20:24:00.977524", "rc": 0, "start": "2024-01-09 20:24:00.974672" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 09 January 2024 20:24:00 +0000 (0:00:00.131) 0:00:21.887 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 09 January 2024 20:24:01 +0000 (0:00:00.026) 0:00:21.914 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 09 January 2024 20:24:01 +0000 (0:00:00.023) 0:00:21.937 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 09 January 2024 20:24:01 +0000 (0:00:00.023) 0:00:21.960 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/run_test.yml:42 Tuesday 09 January 2024 20:24:01 +0000 (0:00:00.021) 0:00:21.982 ******* TASK [Success in test 'I can activate an existing profile'] ******************** task path: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/run_test.yml:47 Tuesday 09 January 2024 20:24:01 +0000 (0:00:00.019) 0:00:22.002 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/run_test.yml:66 Tuesday 09 January 2024 20:24:01 +0000 (0:00:00.022) 0:00:22.024 ******* included: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 09 January 2024 20:24:01 +0000 (0:00:00.042) 0:00:22.066 ******* 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.030332", "end": "2024-01-09 20:24:01.316921", "rc": 0, "start": "2024-01-09 20:24:01.286589" } 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_type8mc2ghcb/tests/playbooks/tests_states.yml:83 Tuesday 09 January 2024 20:24:01 +0000 (0:00:00.184) 0:00:22.251 ******* included: /WORKDIR/git-route_type8mc2ghcb/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_type8mc2ghcb/tests/playbooks/tasks/run_test.yml:5 Tuesday 09 January 2024 20:24:01 +0000 (0:00:00.036) 0:00:22.288 ******* ok: [sut] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/run_test.yml:9 Tuesday 09 January 2024 20:24:01 +0000 (0:00:00.022) 0:00:22.311 ******* 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_type8mc2ghcb/tests/playbooks/tasks/run_test.yml:21 Tuesday 09 January 2024 20:24:01 +0000 (0:00:00.044) 0:00:22.355 ******* included: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 09 January 2024 20:24:01 +0000 (0:00:00.034) 0:00:22.390 ******* included: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 09 January 2024 20:24:01 +0000 (0:00:00.033) 0:00:22.423 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003057", "end": "2024-01-09 20:24:01.647129", "rc": 0, "start": "2024-01-09 20:24:01.644072" } STDOUT: dummy0 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 09 January 2024 20:24:01 +0000 (0:00:00.131) 0:00:22.554 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "dummy0", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 09 January 2024 20:24:01 +0000 (0:00:00.022) 0:00:22.577 ******* ok: [sut] => {} MSG: current_interfaces: ['dummy0', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/run_test.yml:24 Tuesday 09 January 2024 20:24:01 +0000 (0:00:00.020) 0:00:22.597 ******* included: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 09 January 2024 20:24:01 +0000 (0:00:00.040) 0:00:22.638 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 20:24:01 +0000 (0:00:00.034) 0:00:22.673 ******* included: /WORKDIR/git-route_type8mc2ghcb/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_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 20:24:01 +0000 (0:00:00.064) 0:00:22.737 ******* 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_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 20:24:01 +0000 (0:00:00.027) 0:00:22.765 ******* 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_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 20:24:01 +0000 (0:00:00.021) 0:00:22.786 ******* 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_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 20:24:01 +0000 (0:00:00.019) 0:00:22.806 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-route_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 20:24:03 +0000 (0:00:01.603) 0:00:24.410 ******* 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_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 20:24:04 +0000 (0:00:00.596) 0:00:25.007 ******* 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_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 20:24:04 +0000 (0:00:00.022) 0:00:25.029 ******* 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_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 20:24:04 +0000 (0:00:00.020) 0:00:25.050 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 20:24:04 +0000 (0:00:00.020) 0:00:25.070 ******* 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_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 20:24:04 +0000 (0:00:00.041) 0:00:25.111 ******* 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_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 20:24:04 +0000 (0:00:00.020) 0:00:25.131 ******* 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_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 20:24:04 +0000 (0:00:00.021) 0:00:25.153 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 20:24:04 +0000 (0:00:00.023) 0:00:25.177 ******* 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_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 20:24:04 +0000 (0:00:00.020) 0:00:25.197 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 20:24:04 +0000 (0:00:00.019) 0:00:25.217 ******* 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_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 20:24:04 +0000 (0:00:00.186) 0:00:25.403 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-144344d4du77f/tmposr1g3_u" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 20:24:04 +0000 (0:00:00.188) 0:00:25.592 ******* 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_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 20:24:04 +0000 (0:00:00.235) 0:00:25.827 ******* 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_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 20:24:04 +0000 (0:00:00.021) 0:00:25.848 ******* 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_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 20:24:04 +0000 (0:00:00.022) 0:00:25.871 ******* 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_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 20:24:05 +0000 (0:00:00.045) 0:00:25.916 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 20:24:05 +0000 (0:00:00.021) 0:00:25.937 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 09 January 2024 20:24:05 +0000 (0:00:00.120) 0:00:26.057 ******* ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 09 January 2024 20:24:05 +0000 (0:00:00.022) 0:00:26.080 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 20:24:05 +0000 (0:00:00.035) 0:00:26.115 ******* included: /WORKDIR/git-route_type8mc2ghcb/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_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 20:24:05 +0000 (0:00:00.039) 0:00:26.154 ******* 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_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 20:24:05 +0000 (0:00:00.025) 0:00:26.180 ******* 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_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 20:24:05 +0000 (0:00:00.021) 0:00:26.201 ******* 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_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 20:24:05 +0000 (0:00:00.019) 0:00:26.221 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-route_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 20:24:06 +0000 (0:00:01.534) 0:00:27.756 ******* 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_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 20:24:07 +0000 (0:00:00.561) 0:00:28.317 ******* 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_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 20:24:07 +0000 (0:00:00.022) 0:00:28.340 ******* 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_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 20:24:07 +0000 (0:00:00.020) 0:00:28.360 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 20:24:07 +0000 (0:00:00.021) 0:00:28.382 ******* 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_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 20:24:07 +0000 (0:00:00.041) 0:00:28.423 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-route_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 20:24:07 +0000 (0:00:00.021) 0:00:28.445 ******* 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_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 20:24:07 +0000 (0:00:00.021) 0:00:28.467 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 20:24:07 +0000 (0:00:00.024) 0:00:28.491 ******* 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_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 20:24:07 +0000 (0:00:00.021) 0:00:28.512 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 20:24:07 +0000 (0:00:00.019) 0:00:28.532 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 20:24:07 +0000 (0:00:00.204) 0:00:28.736 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-144344d4du77f/tmp7mf21b6o" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 20:24:08 +0000 (0:00:00.189) 0:00:28.925 ******* 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_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 20:24:08 +0000 (0:00:00.357) 0:00:29.283 ******* 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_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 20:24:08 +0000 (0:00:00.021) 0:00:29.304 ******* 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_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 20:24:08 +0000 (0:00:00.022) 0:00:29.327 ******* 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_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 20:24:08 +0000 (0:00:00.021) 0:00:29.349 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 20:24:08 +0000 (0:00:00.020) 0:00:29.369 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/run_test.yml:30 Tuesday 09 January 2024 20:24:08 +0000 (0:00:00.126) 0:00:29.495 ******* included: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/remove_profile.yml:3 Tuesday 09 January 2024 20:24:08 +0000 (0:00:00.038) 0:00:29.534 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 20:24:08 +0000 (0:00:00.039) 0:00:29.574 ******* included: /WORKDIR/git-route_type8mc2ghcb/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_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 20:24:08 +0000 (0:00:00.038) 0:00:29.612 ******* 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_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 20:24:08 +0000 (0:00:00.047) 0:00:29.660 ******* 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_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 20:24:08 +0000 (0:00:00.021) 0:00:29.681 ******* 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_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 20:24:08 +0000 (0:00:00.021) 0:00:29.703 ******* 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_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 20:24:10 +0000 (0:00:01.509) 0:00:31.213 ******* 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_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 20:24:10 +0000 (0:00:00.566) 0:00:31.779 ******* 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_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 20:24:10 +0000 (0:00:00.022) 0:00:31.802 ******* 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_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 20:24:10 +0000 (0:00:00.042) 0:00:31.844 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 20:24:10 +0000 (0:00:00.021) 0:00:31.866 ******* 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_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 20:24:11 +0000 (0:00:00.043) 0:00:31.909 ******* 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_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 20:24:11 +0000 (0:00:00.021) 0:00:31.930 ******* 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_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 20:24:11 +0000 (0:00:00.019) 0:00:31.950 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 20:24:11 +0000 (0:00:00.023) 0:00:31.974 ******* 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_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 20:24:11 +0000 (0:00:00.020) 0:00:31.994 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 20:24:11 +0000 (0:00:00.020) 0:00:32.015 ******* 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_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 20:24:11 +0000 (0:00:00.188) 0:00:32.203 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-144344d4du77f/tmpw4r05rnl" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 20:24:11 +0000 (0:00:00.191) 0:00:32.395 ******* 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_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 20:24:11 +0000 (0:00:00.233) 0:00:32.629 ******* 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_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 20:24:11 +0000 (0:00:00.021) 0:00:32.650 ******* 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_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 20:24:11 +0000 (0:00:00.022) 0:00:32.673 ******* 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_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 20:24:11 +0000 (0:00:00.021) 0:00:32.695 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 20:24:11 +0000 (0:00:00.020) 0:00:32.715 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/run_test.yml:36 Tuesday 09 January 2024 20:24:11 +0000 (0:00:00.148) 0:00:32.863 ******* included: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 09 January 2024 20:24:12 +0000 (0:00:00.042) 0:00:32.906 ******* included: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 09 January 2024 20:24:12 +0000 (0:00:00.035) 0:00:32.941 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1704831848.309479, "block_size": 4096, "blocks": 0, "ctime": 1704831848.2984734, "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": 1704831848.2984734, "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_type8mc2ghcb/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 09 January 2024 20:24:12 +0000 (0:00:00.127) 0:00:33.069 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/assert_profile_absent.yml:3 Tuesday 09 January 2024 20:24:12 +0000 (0:00:00.024) 0:00:33.094 ******* included: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 09 January 2024 20:24:12 +0000 (0:00:00.036) 0:00:33.130 ******* 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_type8mc2ghcb/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 09 January 2024 20:24:12 +0000 (0:00:00.021) 0:00:33.152 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 09 January 2024 20:24:12 +0000 (0:00:00.126) 0:00:33.279 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 09 January 2024 20:24:12 +0000 (0:00:00.020) 0:00:33.299 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.006439", "end": "2024-01-09 20:24:12.530169", "rc": 1, "start": "2024-01-09 20:24:12.523730" } 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_type8mc2ghcb/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 09 January 2024 20:24:12 +0000 (0:00:00.131) 0:00:33.431 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 09 January 2024 20:24:12 +0000 (0:00:00.022) 0:00:33.453 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 09 January 2024 20:24:12 +0000 (0:00:00.022) 0:00:33.475 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 09 January 2024 20:24:12 +0000 (0:00:00.020) 0:00:33.496 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 09 January 2024 20:24:12 +0000 (0:00:00.045) 0:00:33.542 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/assert_profile_absent.yml:5 Tuesday 09 January 2024 20:24:12 +0000 (0:00:00.022) 0:00:33.564 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/run_test.yml:42 Tuesday 09 January 2024 20:24:12 +0000 (0:00:00.024) 0:00:33.589 ******* TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/run_test.yml:47 Tuesday 09 January 2024 20:24:12 +0000 (0:00:00.020) 0:00:33.609 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/run_test.yml:66 Tuesday 09 January 2024 20:24:12 +0000 (0:00:00.020) 0:00:33.630 ******* included: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 09 January 2024 20:24:12 +0000 (0:00:00.038) 0:00:33.668 ******* 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.038750", "end": "2024-01-09 20:24:12.932981", "rc": 0, "start": "2024-01-09 20:24:12.894231" } 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_type8mc2ghcb/tests/playbooks/tests_states.yml:103 Tuesday 09 January 2024 20:24:12 +0000 (0:00:00.173) 0:00:33.841 ******* included: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can take a profile down that is absent] ************************** task path: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/run_test.yml:5 Tuesday 09 January 2024 20:24:12 +0000 (0:00:00.036) 0:00:33.878 ******* ok: [sut] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/run_test.yml:9 Tuesday 09 January 2024 20:24:13 +0000 (0:00:00.022) 0:00:33.900 ******* 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_type8mc2ghcb/tests/playbooks/tasks/run_test.yml:21 Tuesday 09 January 2024 20:24:13 +0000 (0:00:00.045) 0:00:33.946 ******* included: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 09 January 2024 20:24:13 +0000 (0:00:00.033) 0:00:33.980 ******* included: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 09 January 2024 20:24:13 +0000 (0:00:00.033) 0:00:34.013 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003495", "end": "2024-01-09 20:24:13.249179", "rc": 0, "start": "2024-01-09 20:24:13.245684" } STDOUT: dummy0 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 09 January 2024 20:24:13 +0000 (0:00:00.160) 0:00:34.173 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "dummy0", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 09 January 2024 20:24:13 +0000 (0:00:00.023) 0:00:34.196 ******* ok: [sut] => {} MSG: current_interfaces: ['dummy0', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/run_test.yml:24 Tuesday 09 January 2024 20:24:13 +0000 (0:00:00.020) 0:00:34.217 ******* included: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 09 January 2024 20:24:13 +0000 (0:00:00.044) 0:00:34.262 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 20:24:13 +0000 (0:00:00.035) 0:00:34.298 ******* included: /WORKDIR/git-route_type8mc2ghcb/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_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 20:24:13 +0000 (0:00:00.039) 0:00:34.338 ******* 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_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 20:24:13 +0000 (0:00:00.025) 0:00:34.363 ******* 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_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 20:24:13 +0000 (0:00:00.021) 0:00:34.384 ******* 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_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 20:24:13 +0000 (0:00:00.021) 0:00:34.406 ******* 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_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 20:24:15 +0000 (0:00:01.507) 0:00:35.913 ******* 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_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 20:24:15 +0000 (0:00:00.567) 0:00:36.480 ******* 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_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 20:24:15 +0000 (0:00:00.022) 0:00:36.503 ******* 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_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 20:24:15 +0000 (0:00:00.019) 0:00:36.523 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 20:24:15 +0000 (0:00:00.020) 0:00:36.543 ******* 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_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 20:24:15 +0000 (0:00:00.041) 0:00:36.584 ******* 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_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 20:24:15 +0000 (0:00:00.020) 0:00:36.605 ******* 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_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 20:24:15 +0000 (0:00:00.020) 0:00:36.626 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 20:24:15 +0000 (0:00:00.024) 0:00:36.650 ******* 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_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 20:24:15 +0000 (0:00:00.021) 0:00:36.672 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 20:24:15 +0000 (0:00:00.019) 0:00:36.691 ******* 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_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 20:24:16 +0000 (0:00:00.207) 0:00:36.899 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-144344d4du77f/tmp35d5lmvp" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 20:24:16 +0000 (0:00:00.186) 0:00:37.085 ******* 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_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 20:24:16 +0000 (0:00:00.226) 0:00:37.312 ******* 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_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 20:24:16 +0000 (0:00:00.021) 0:00:37.333 ******* 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_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 20:24:16 +0000 (0:00:00.022) 0:00:37.356 ******* 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_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 20:24:16 +0000 (0:00:00.022) 0:00:37.378 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 20:24:16 +0000 (0:00:00.020) 0:00:37.398 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 09 January 2024 20:24:16 +0000 (0:00:00.124) 0:00:37.522 ******* 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_type8mc2ghcb/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 09 January 2024 20:24:16 +0000 (0:00:00.022) 0:00:37.545 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 20:24:16 +0000 (0:00:00.034) 0:00:37.580 ******* included: /WORKDIR/git-route_type8mc2ghcb/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_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 20:24:16 +0000 (0:00:00.038) 0:00:37.619 ******* 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_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 20:24:16 +0000 (0:00:00.025) 0:00:37.644 ******* 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_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 20:24:16 +0000 (0:00:00.042) 0:00:37.687 ******* 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_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 20:24:16 +0000 (0:00:00.021) 0:00:37.709 ******* 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_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 20:24:18 +0000 (0:00:01.493) 0:00:39.202 ******* 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_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 20:24:18 +0000 (0:00:00.568) 0:00:39.770 ******* 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_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 20:24:18 +0000 (0:00:00.022) 0:00:39.792 ******* 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_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 20:24:18 +0000 (0:00:00.021) 0:00:39.813 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 20:24:18 +0000 (0:00:00.021) 0:00:39.835 ******* 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_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 20:24:19 +0000 (0:00:00.062) 0:00:39.897 ******* 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_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 20:24:19 +0000 (0:00:00.021) 0:00:39.919 ******* 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_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 20:24:19 +0000 (0:00:00.019) 0:00:39.938 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 20:24:19 +0000 (0:00:00.025) 0:00:39.964 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-route_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 20:24:19 +0000 (0:00:00.021) 0:00:39.986 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 20:24:19 +0000 (0:00:00.019) 0:00:40.005 ******* 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_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 20:24:19 +0000 (0:00:00.183) 0:00:40.189 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-144344d4du77f/tmpsr4p6z00" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 20:24:19 +0000 (0:00:00.192) 0:00:40.381 ******* 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_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 20:24:19 +0000 (0:00:00.341) 0:00:40.723 ******* 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_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 20:24:19 +0000 (0:00:00.021) 0:00:40.744 ******* 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_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 20:24:19 +0000 (0:00:00.023) 0:00:40.768 ******* 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_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 20:24:19 +0000 (0:00:00.022) 0:00:40.791 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 20:24:19 +0000 (0:00:00.020) 0:00:40.811 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/remove_profile.yml:3 Tuesday 09 January 2024 20:24:20 +0000 (0:00:00.125) 0:00:40.937 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 20:24:20 +0000 (0:00:00.057) 0:00:40.994 ******* included: /WORKDIR/git-route_type8mc2ghcb/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_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 20:24:20 +0000 (0:00:00.039) 0:00:41.034 ******* 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_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 20:24:20 +0000 (0:00:00.025) 0:00:41.060 ******* 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_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 20:24:20 +0000 (0:00:00.020) 0:00:41.080 ******* 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_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 20:24:20 +0000 (0:00:00.020) 0:00:41.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 : Check which packages are installed] ********* task path: /WORKDIR/git-route_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 20:24:21 +0000 (0:00:01.519) 0:00:42.619 ******* 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_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 20:24:22 +0000 (0:00:00.606) 0:00:43.226 ******* 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_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 20:24:22 +0000 (0:00:00.022) 0:00:43.249 ******* 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_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 20:24:22 +0000 (0:00:00.021) 0:00:43.271 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 20:24:22 +0000 (0:00:00.020) 0:00:43.291 ******* 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_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 20:24:22 +0000 (0:00:00.043) 0:00:43.334 ******* 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_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 20:24:22 +0000 (0:00:00.021) 0:00:43.356 ******* 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_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 20:24:22 +0000 (0:00:00.021) 0:00:43.377 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 20:24:22 +0000 (0:00:00.023) 0:00:43.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 : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-route_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 20:24:22 +0000 (0:00:00.021) 0:00:43.422 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 20:24:22 +0000 (0:00:00.019) 0:00:43.442 ******* 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_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 20:24:22 +0000 (0:00:00.184) 0:00:43.626 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-144344d4du77f/tmpnweyvbt6" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 20:24:22 +0000 (0:00:00.186) 0:00:43.813 ******* 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_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 20:24:23 +0000 (0:00:00.260) 0:00:44.073 ******* 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_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 20:24:23 +0000 (0:00:00.044) 0:00:44.118 ******* 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_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 20:24:23 +0000 (0:00:00.023) 0:00:44.141 ******* 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_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 20:24:23 +0000 (0:00:00.022) 0:00:44.163 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 20:24:23 +0000 (0:00:00.020) 0:00:44.183 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/run_test.yml:30 Tuesday 09 January 2024 20:24:23 +0000 (0:00:00.122) 0:00:44.306 ******* included: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/remove+down_profile.yml:3 Tuesday 09 January 2024 20:24:23 +0000 (0:00:00.038) 0:00:44.345 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 20:24:23 +0000 (0:00:00.039) 0:00:44.385 ******* included: /WORKDIR/git-route_type8mc2ghcb/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_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 20:24:23 +0000 (0:00:00.038) 0:00:44.423 ******* 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_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 20:24:23 +0000 (0:00:00.025) 0:00:44.449 ******* 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_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 20:24:23 +0000 (0:00:00.021) 0:00:44.470 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 20:24:23 +0000 (0:00:00.019) 0:00:44.490 ******* 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_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 20:24:25 +0000 (0:00:01.501) 0:00:45.992 ******* 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_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 20:24:25 +0000 (0:00:00.560) 0:00:46.553 ******* ok: [sut] => {} MSG: Using network provider: initscripts TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-route_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 20:24:25 +0000 (0:00:00.022) 0:00:46.575 ******* 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_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 20:24:25 +0000 (0:00:00.021) 0:00:46.597 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 20:24:25 +0000 (0:00:00.019) 0:00:46.617 ******* 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_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 20:24:25 +0000 (0:00:00.042) 0:00:46.660 ******* 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_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 20:24:25 +0000 (0:00:00.021) 0:00:46.681 ******* 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_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 20:24:25 +0000 (0:00:00.019) 0:00:46.701 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 20:24:25 +0000 (0:00:00.044) 0:00:46.745 ******* 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_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 20:24:25 +0000 (0:00:00.021) 0:00:46.767 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 20:24:25 +0000 (0:00:00.021) 0:00:46.788 ******* 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_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 20:24:26 +0000 (0:00:00.183) 0:00:46.972 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-144344d4du77f/tmps0_euw99" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 20:24:26 +0000 (0:00:00.192) 0:00:47.164 ******* 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_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 20:24:26 +0000 (0:00:00.226) 0:00:47.391 ******* 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_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 20:24:26 +0000 (0:00:00.021) 0:00:47.412 ******* 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_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 20:24:26 +0000 (0:00:00.022) 0:00:47.435 ******* 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_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 20:24:26 +0000 (0:00:00.022) 0:00:47.457 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 20:24:26 +0000 (0:00:00.020) 0:00:47.477 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/run_test.yml:36 Tuesday 09 January 2024 20:24:26 +0000 (0:00:00.125) 0:00:47.602 ******* included: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/assert_profile_absent.yml:3 Tuesday 09 January 2024 20:24:26 +0000 (0:00:00.038) 0:00:47.641 ******* included: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 09 January 2024 20:24:26 +0000 (0:00:00.060) 0:00:47.702 ******* 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_type8mc2ghcb/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 09 January 2024 20:24:26 +0000 (0:00:00.022) 0:00:47.724 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 09 January 2024 20:24:26 +0000 (0:00:00.127) 0:00:47.852 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 09 January 2024 20:24:26 +0000 (0:00:00.021) 0:00:47.874 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.006338", "end": "2024-01-09 20:24:27.110736", "rc": 1, "start": "2024-01-09 20:24:27.104398" } 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_type8mc2ghcb/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 09 January 2024 20:24:27 +0000 (0:00:00.130) 0:00:48.005 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 09 January 2024 20:24:27 +0000 (0:00:00.022) 0:00:48.027 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 09 January 2024 20:24:27 +0000 (0:00:00.023) 0:00:48.050 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 09 January 2024 20:24:27 +0000 (0:00:00.022) 0:00:48.073 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 09 January 2024 20:24:27 +0000 (0:00:00.023) 0:00:48.097 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/assert_profile_absent.yml:5 Tuesday 09 January 2024 20:24:27 +0000 (0:00:00.021) 0:00:48.118 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/run_test.yml:42 Tuesday 09 January 2024 20:24:27 +0000 (0:00:00.023) 0:00:48.142 ******* 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_type8mc2ghcb/tests/playbooks/tasks/run_test.yml:47 Tuesday 09 January 2024 20:24:27 +0000 (0:00:00.027) 0:00:48.169 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/run_test.yml:66 Tuesday 09 January 2024 20:24:27 +0000 (0:00:00.022) 0:00:48.192 ******* included: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 09 January 2024 20:24:27 +0000 (0:00:00.038) 0:00:48.231 ******* 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.032895", "end": "2024-01-09 20:24:27.495952", "rc": 0, "start": "2024-01-09 20:24:27.463057" } 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_type8mc2ghcb/tests/playbooks/tests_states.yml:126 Tuesday 09 January 2024 20:24:27 +0000 (0:00:00.164) 0:00:48.395 ******* included: /WORKDIR/git-route_type8mc2ghcb/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_type8mc2ghcb/tests/playbooks/tasks/run_test.yml:5 Tuesday 09 January 2024 20:24:27 +0000 (0:00:00.060) 0:00:48.455 ******* 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_type8mc2ghcb/tests/playbooks/tasks/run_test.yml:9 Tuesday 09 January 2024 20:24:27 +0000 (0:00:00.022) 0:00:48.478 ******* 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_type8mc2ghcb/tests/playbooks/tasks/run_test.yml:21 Tuesday 09 January 2024 20:24:27 +0000 (0:00:00.045) 0:00:48.524 ******* included: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 09 January 2024 20:24:27 +0000 (0:00:00.034) 0:00:48.558 ******* included: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 09 January 2024 20:24:27 +0000 (0:00:00.033) 0:00:48.592 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003308", "end": "2024-01-09 20:24:27.835510", "rc": 0, "start": "2024-01-09 20:24:27.832202" } STDOUT: dummy0 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 09 January 2024 20:24:27 +0000 (0:00:00.139) 0:00:48.731 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "dummy0", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 09 January 2024 20:24:27 +0000 (0:00:00.022) 0:00:48.754 ******* ok: [sut] => {} MSG: current_interfaces: ['dummy0', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/run_test.yml:24 Tuesday 09 January 2024 20:24:27 +0000 (0:00:00.021) 0:00:48.775 ******* included: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 09 January 2024 20:24:27 +0000 (0:00:00.043) 0:00:48.818 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 20:24:27 +0000 (0:00:00.035) 0:00:48.854 ******* included: /WORKDIR/git-route_type8mc2ghcb/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_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 20:24:28 +0000 (0:00:00.063) 0:00:48.917 ******* 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_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 20:24:28 +0000 (0:00:00.025) 0:00:48.943 ******* 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_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 20:24:28 +0000 (0:00:00.021) 0:00:48.965 ******* 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_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 20:24:28 +0000 (0:00:00.021) 0:00:48.986 ******* 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_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 20:24:29 +0000 (0:00:01.531) 0:00:50.517 ******* 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_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 20:24:30 +0000 (0:00:00.565) 0:00:51.083 ******* 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_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 20:24:30 +0000 (0:00:00.042) 0:00:51.125 ******* 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_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 20:24:30 +0000 (0:00:00.023) 0:00:51.148 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 20:24:30 +0000 (0:00:00.021) 0:00:51.170 ******* 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_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 20:24:30 +0000 (0:00:00.044) 0:00:51.215 ******* 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_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 20:24:30 +0000 (0:00:00.021) 0:00:51.236 ******* 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_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 20:24:30 +0000 (0:00:00.021) 0:00:51.257 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 20:24:30 +0000 (0:00:00.025) 0:00:51.283 ******* 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_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 20:24:30 +0000 (0:00:00.021) 0:00:51.304 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 20:24:30 +0000 (0:00:00.022) 0:00:51.327 ******* 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_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 20:24:30 +0000 (0:00:00.186) 0:00:51.513 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-144344d4du77f/tmpvw7lunty" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 20:24:30 +0000 (0:00:00.188) 0:00:51.701 ******* 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_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 20:24:31 +0000 (0:00:00.226) 0:00:51.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_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 20:24:31 +0000 (0:00:00.021) 0:00:51.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_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 20:24:31 +0000 (0:00:00.022) 0:00:51.972 ******* 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_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 20:24:31 +0000 (0:00:00.021) 0:00:51.993 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 20:24:31 +0000 (0:00:00.043) 0:00:52.037 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 09 January 2024 20:24:31 +0000 (0:00:00.127) 0:00:52.164 ******* 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_type8mc2ghcb/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 09 January 2024 20:24:31 +0000 (0:00:00.022) 0:00:52.187 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 20:24:31 +0000 (0:00:00.035) 0:00:52.222 ******* included: /WORKDIR/git-route_type8mc2ghcb/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_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 20:24:31 +0000 (0:00:00.039) 0:00:52.262 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-route_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 20:24:31 +0000 (0:00:00.025) 0:00:52.288 ******* 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_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 20:24:31 +0000 (0:00:00.021) 0:00:52.310 ******* 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_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 20:24:31 +0000 (0:00:00.020) 0:00:52.331 ******* 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_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 20:24:32 +0000 (0:00:01.532) 0:00:53.863 ******* 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_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 20:24:33 +0000 (0:00:00.569) 0:00:54.432 ******* 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_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 20:24:33 +0000 (0:00:00.022) 0:00:54.455 ******* 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_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 20:24:33 +0000 (0:00:00.021) 0:00:54.476 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 20:24:33 +0000 (0:00:00.020) 0:00:54.497 ******* 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_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 20:24:33 +0000 (0:00:00.041) 0:00:54.538 ******* 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_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 20:24:33 +0000 (0:00:00.021) 0:00:54.560 ******* 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_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 20:24:33 +0000 (0:00:00.021) 0:00:54.582 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 20:24:33 +0000 (0:00:00.023) 0:00:54.605 ******* 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_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 20:24:33 +0000 (0:00:00.021) 0:00:54.626 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 20:24:33 +0000 (0:00:00.019) 0:00:54.646 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 20:24:33 +0000 (0:00:00.186) 0:00:54.832 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-144344d4du77f/tmpltibk6pu" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 20:24:34 +0000 (0:00:00.189) 0:00:55.022 ******* 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_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 20:24:34 +0000 (0:00:00.340) 0:00:55.362 ******* 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_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 20:24:34 +0000 (0:00:00.021) 0:00:55.384 ******* 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_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 20:24:34 +0000 (0:00:00.022) 0:00:55.406 ******* 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_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 20:24:34 +0000 (0:00:00.022) 0:00:55.429 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 20:24:34 +0000 (0:00:00.021) 0:00:55.450 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/remove+down_profile.yml:3 Tuesday 09 January 2024 20:24:34 +0000 (0:00:00.121) 0:00:55.571 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 20:24:34 +0000 (0:00:00.035) 0:00:55.607 ******* included: /WORKDIR/git-route_type8mc2ghcb/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_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 20:24:34 +0000 (0:00:00.039) 0:00:55.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 : Check if system is ostree] ****************** task path: /WORKDIR/git-route_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 20:24:34 +0000 (0:00:00.026) 0:00:55.672 ******* 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_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 20:24:34 +0000 (0:00:00.020) 0:00:55.693 ******* 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_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 20:24:34 +0000 (0:00:00.021) 0:00:55.714 ******* 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_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 20:24:36 +0000 (0:00:01.495) 0:00:57.210 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-route_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 20:24:36 +0000 (0:00:00.559) 0:00:57.770 ******* 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_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 20:24:36 +0000 (0:00:00.023) 0:00:57.793 ******* 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_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 20:24:36 +0000 (0:00:00.021) 0:00:57.814 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 20:24:36 +0000 (0:00:00.021) 0:00:57.835 ******* 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_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 20:24:36 +0000 (0:00:00.042) 0:00:57.878 ******* 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_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 20:24:37 +0000 (0:00:00.021) 0:00:57.899 ******* 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_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 20:24:37 +0000 (0:00:00.040) 0:00:57.940 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 20:24:37 +0000 (0:00:00.025) 0:00:57.966 ******* 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_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 20:24:37 +0000 (0:00:00.021) 0:00:57.987 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 20:24:37 +0000 (0:00:00.021) 0:00:58.008 ******* 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_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 20:24:37 +0000 (0:00:00.187) 0:00:58.196 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-144344d4du77f/tmp04nn_mjo" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 20:24:37 +0000 (0:00:00.189) 0:00:58.385 ******* 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_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 20:24:37 +0000 (0:00:00.237) 0:00:58.622 ******* 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_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 20:24:37 +0000 (0:00:00.021) 0:00:58.643 ******* 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_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 20:24:37 +0000 (0:00:00.022) 0:00:58.666 ******* 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_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 20:24:37 +0000 (0:00:00.021) 0:00:58.687 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 20:24:37 +0000 (0:00:00.020) 0:00:58.708 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/run_test.yml:30 Tuesday 09 January 2024 20:24:37 +0000 (0:00:00.123) 0:00:58.831 ******* included: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/remove+down_profile.yml:3 Tuesday 09 January 2024 20:24:37 +0000 (0:00:00.038) 0:00:58.870 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 20:24:38 +0000 (0:00:00.059) 0:00:58.929 ******* included: /WORKDIR/git-route_type8mc2ghcb/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_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 20:24:38 +0000 (0:00:00.039) 0:00:58.969 ******* 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_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 20:24:38 +0000 (0:00:00.025) 0:00:58.995 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-route_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 20:24:38 +0000 (0:00:00.020) 0:00:59.015 ******* 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_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 20:24:38 +0000 (0:00:00.020) 0:00:59.036 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-route_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 20:24:39 +0000 (0:00:01.509) 0:01:00.545 ******* 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_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 20:24:40 +0000 (0:00:00.612) 0:01:01.158 ******* 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_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 20:24:40 +0000 (0:00:00.022) 0:01:01.180 ******* 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_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 20:24:40 +0000 (0:00:00.021) 0:01:01.202 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 20:24:40 +0000 (0:00:00.021) 0:01:01.223 ******* 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_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 20:24:40 +0000 (0:00:00.043) 0:01:01.266 ******* 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_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 20:24:40 +0000 (0:00:00.021) 0:01:01.288 ******* 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_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 20:24:40 +0000 (0:00:00.020) 0:01:01.309 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 20:24:40 +0000 (0:00:00.023) 0:01:01.333 ******* 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_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 20:24:40 +0000 (0:00:00.021) 0:01:01.355 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 20:24:40 +0000 (0:00:00.019) 0:01:01.374 ******* 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_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 20:24:40 +0000 (0:00:00.183) 0:01:01.558 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-144344d4du77f/tmpf0xki8lh" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 20:24:40 +0000 (0:00:00.188) 0:01:01.746 ******* 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_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 20:24:41 +0000 (0:00:00.249) 0:01:01.995 ******* 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_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 20:24:41 +0000 (0:00:00.044) 0:01:02.040 ******* 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_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 20:24:41 +0000 (0:00:00.022) 0:01:02.063 ******* 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_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 20:24:41 +0000 (0:00:00.022) 0:01:02.085 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 20:24:41 +0000 (0:00:00.020) 0:01:02.105 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/run_test.yml:36 Tuesday 09 January 2024 20:24:41 +0000 (0:00:00.121) 0:01:02.227 ******* included: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/assert_profile_absent.yml for sut included: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/get_NetworkManager_NVR.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/assert_profile_absent.yml:3 Tuesday 09 January 2024 20:24:41 +0000 (0:00:00.043) 0:01:02.270 ******* included: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 09 January 2024 20:24:41 +0000 (0:00:00.036) 0:01:02.307 ******* 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_type8mc2ghcb/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 09 January 2024 20:24:41 +0000 (0:00:00.021) 0:01:02.328 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 09 January 2024 20:24:41 +0000 (0:00:00.125) 0:01:02.454 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 09 January 2024 20:24:41 +0000 (0:00:00.021) 0:01:02.475 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.006174", "end": "2024-01-09 20:24:41.722055", "rc": 1, "start": "2024-01-09 20:24:41.715881" } 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_type8mc2ghcb/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 09 January 2024 20:24:41 +0000 (0:00:00.133) 0:01:02.609 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 09 January 2024 20:24:41 +0000 (0:00:00.022) 0:01:02.631 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 09 January 2024 20:24:41 +0000 (0:00:00.021) 0:01:02.652 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 09 January 2024 20:24:41 +0000 (0:00:00.046) 0:01:02.699 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 09 January 2024 20:24:41 +0000 (0:00:00.022) 0:01:02.721 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/assert_profile_absent.yml:5 Tuesday 09 January 2024 20:24:41 +0000 (0:00:00.021) 0:01:02.743 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/get_NetworkManager_NVR.yml:7 Tuesday 09 January 2024 20:24:41 +0000 (0:00:00.024) 0:01:02.767 ******* ok: [sut] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.375113", "end": "2024-01-09 20:24:42.382089", "rc": 0, "start": "2024-01-09 20:24:42.006976" } STDOUT: NetworkManager-0.8.1-113.el6 TASK [Store NetworkManager version] ******************************************** task path: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/get_NetworkManager_NVR.yml:14 Tuesday 09 January 2024 20:24:42 +0000 (0:00:00.503) 0:01:03.271 ******* ok: [sut] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-0.8.1-113.el6" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/get_NetworkManager_NVR.yml:18 Tuesday 09 January 2024 20:24:42 +0000 (0:00:00.022) 0:01:03.293 ******* ok: [sut] => { "networkmanager_nvr": "NetworkManager-0.8.1-113.el6" } TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/run_test.yml:42 Tuesday 09 January 2024 20:24:42 +0000 (0:00:00.021) 0:01:03.315 ******* 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_type8mc2ghcb/tests/playbooks/tasks/run_test.yml:47 Tuesday 09 January 2024 20:24:42 +0000 (0:00:00.024) 0:01:03.339 ******* 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_type8mc2ghcb/tests/playbooks/tasks/run_test.yml:66 Tuesday 09 January 2024 20:24:42 +0000 (0:00:00.022) 0:01:03.362 ******* included: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 09 January 2024 20:24:42 +0000 (0:00:00.040) 0:01:03.402 ******* 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.034783", "end": "2024-01-09 20:24:42.680935", "rc": 0, "start": "2024-01-09 20:24:42.646152" } STDERR: Error: Can't obtain connections: settings services are not running. Error: Can't obtain connections: settings services are not running. META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=332 changed=13 unreachable=0 failed=0 skipped=227 rescued=0 ignored=10 Tuesday 09 January 2024 20:24:42 +0000 (0:00:00.155) 0:01:03.558 ******* =============================================================================== linux-system-roles.network : Check which services are running ----------- 1.81s /WORKDIR/git-route_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.60s /WORKDIR/git-route_type8mc2ghcb/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_type8mc2ghcb/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_type8mc2ghcb/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_type8mc2ghcb/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_type8mc2ghcb/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_type8mc2ghcb/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_type8mc2ghcb/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_type8mc2ghcb/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_type8mc2ghcb/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_type8mc2ghcb/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_type8mc2ghcb/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_type8mc2ghcb/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_type8mc2ghcb/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_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Configure networking connection profiles --- 1.42s /WORKDIR/git-route_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Configure networking connection profiles --- 1.28s /WORKDIR/git-route_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Enable network service --------------------- 1.04s /WORKDIR/git-route_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:105 linux-system-roles.network : Ensure initscripts network file dependency is present --- 0.95s /WORKDIR/git-route_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:113 Gathering Facts --------------------------------------------------------- 0.91s /WORKDIR/git-route_type8mc2ghcb/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. ---^---^---^---^---^---