# 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_type1mkdl83b/tests/tests_states_initscripts.yml PLAY [Run playbook 'playbooks/tests_states.yml' with initscripts as provider] *** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-route_type1mkdl83b/tests/tests_states_initscripts.yml:5 Wednesday 10 January 2024 19:03:03 +0000 (0:00:00.012) 0:00:00.012 ***** ok: [sut] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-route_type1mkdl83b/tests/tests_states_initscripts.yml:8 Wednesday 10 January 2024 19:03:04 +0000 (0:00:00.979) 0:00:00.992 ***** included: /WORKDIR/git-route_type1mkdl83b/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_type1mkdl83b/tests/tasks/el_repo_setup.yml:3 Wednesday 10 January 2024 19:03:04 +0000 (0:00:00.025) 0:00:01.017 ***** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-route_type1mkdl83b/tests/tasks/el_repo_setup.yml:19 Wednesday 10 January 2024 19:03:05 +0000 (0:00:00.246) 0:00:01.263 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-route_type1mkdl83b/tests/tasks/el_repo_setup.yml:24 Wednesday 10 January 2024 19:03:05 +0000 (0:00:00.191) 0:00:01.455 ***** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-route_type1mkdl83b/tests/tasks/el_repo_setup.yml:28 Wednesday 10 January 2024 19:03:05 +0000 (0:00:00.020) 0:00:01.476 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-route_type1mkdl83b/tests/tasks/el_repo_setup.yml:53 Wednesday 10 January 2024 19:03:05 +0000 (0:00:00.017) 0:00:01.493 ***** included: /WORKDIR/git-route_type1mkdl83b/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 6] *********************************************************** task path: /WORKDIR/git-route_type1mkdl83b/tests/tasks/enable_epel.yml:8 Wednesday 10 January 2024 19:03:05 +0000 (0:00:00.033) 0:00:01.526 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Install yum-utils package] *********************************************** task path: /WORKDIR/git-route_type1mkdl83b/tests/tasks/enable_epel.yml:24 Wednesday 10 January 2024 19:03:05 +0000 (0:00:00.010) 0:00:01.537 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-route_type1mkdl83b/tests/tasks/enable_epel.yml:30 Wednesday 10 January 2024 19:03:05 +0000 (0:00:00.010) 0:00:01.547 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-route_type1mkdl83b/tests/tasks/enable_epel.yml:35 Wednesday 10 January 2024 19:03:05 +0000 (0:00:00.010) 0:00:01.558 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-route_type1mkdl83b/tests/tasks/enable_epel.yml:40 Wednesday 10 January 2024 19:03:05 +0000 (0:00:00.010) 0:00:01.568 ***** 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_type1mkdl83b/tests/tests_states_initscripts.yml:10 Wednesday 10 January 2024 19:03:05 +0000 (0:00:00.447) 0:00:02.016 ***** 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_type1mkdl83b/tests/playbooks/tests_states.yml:3 Wednesday 10 January 2024 19:03:05 +0000 (0:00:00.012) 0:00:02.028 ***** ok: [sut] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-route_type1mkdl83b/tests/playbooks/tests_states.yml:11 Wednesday 10 January 2024 19:03:06 +0000 (0:00:00.728) 0:00:02.756 ***** ok: [sut] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-route_type1mkdl83b/tests/playbooks/tests_states.yml:22 Wednesday 10 January 2024 19:03:06 +0000 (0:00:00.012) 0:00:02.768 ***** included: /WORKDIR/git-route_type1mkdl83b/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile] ******************************************** task path: /WORKDIR/git-route_type1mkdl83b/tests/playbooks/tasks/run_test.yml:5 Wednesday 10 January 2024 19:03:06 +0000 (0:00:00.019) 0:00:02.787 ***** ok: [sut] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_type1mkdl83b/tests/playbooks/tasks/run_test.yml:9 Wednesday 10 January 2024 19:03:06 +0000 (0:00:00.011) 0:00:02.799 ***** 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_type1mkdl83b/tests/playbooks/tasks/run_test.yml:21 Wednesday 10 January 2024 19:03:06 +0000 (0:00:00.034) 0:00:02.834 ***** included: /WORKDIR/git-route_type1mkdl83b/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_type1mkdl83b/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 10 January 2024 19:03:06 +0000 (0:00:00.016) 0:00:02.851 ***** included: /WORKDIR/git-route_type1mkdl83b/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_type1mkdl83b/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 10 January 2024 19:03:06 +0000 (0:00:00.015) 0:00:02.866 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003490", "end": "2024-01-10 19:03:07.005642", "rc": 0, "start": "2024-01-10 19:03:07.002152" } STDOUT: dummy0 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_type1mkdl83b/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 10 January 2024 19:03:06 +0000 (0:00:00.191) 0:00:03.058 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "dummy0", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_type1mkdl83b/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 10 January 2024 19:03:06 +0000 (0:00:00.013) 0:00:03.071 ***** ok: [sut] => {} MSG: current_interfaces: ['dummy0', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_type1mkdl83b/tests/playbooks/tasks/run_test.yml:24 Wednesday 10 January 2024 19:03:06 +0000 (0:00:00.011) 0:00:03.083 ***** included: /WORKDIR/git-route_type1mkdl83b/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-route_type1mkdl83b/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-route_type1mkdl83b/tests/playbooks/tasks/delete_interface.yml:3 Wednesday 10 January 2024 19:03:06 +0000 (0:00:00.023) 0:00:03.107 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.037871", "end": "2024-01-10 19:03:07.215417", "rc": 255, "start": "2024-01-10 19:03:07.177546" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_type1mkdl83b/tests/playbooks/tasks/assert_device_absent.yml:3 Wednesday 10 January 2024 19:03:07 +0000 (0:00:00.163) 0:00:03.270 ***** included: /WORKDIR/git-route_type1mkdl83b/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_type1mkdl83b/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 10 January 2024 19:03:07 +0000 (0:00:00.017) 0:00:03.287 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_type1mkdl83b/tests/playbooks/tasks/assert_device_absent.yml:5 Wednesday 10 January 2024 19:03:07 +0000 (0:00:00.129) 0:00:03.417 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_type1mkdl83b/tests/playbooks/tasks/run_test.yml:30 Wednesday 10 January 2024 19:03:07 +0000 (0:00:00.014) 0:00:03.431 ***** included: /WORKDIR/git-route_type1mkdl83b/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type1mkdl83b/tests/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 10 January 2024 19:03:07 +0000 (0:00:00.020) 0:00:03.452 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 10 January 2024 19:03:07 +0000 (0:00:00.034) 0:00:03.486 ***** included: /WORKDIR/git-route_type1mkdl83b/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_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 10 January 2024 19:03:07 +0000 (0:00:00.070) 0:00:03.557 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-route_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 10 January 2024 19:03:07 +0000 (0:00:00.028) 0:00:03.585 ***** 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_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 10 January 2024 19:03:07 +0000 (0:00:00.012) 0:00:03.597 ***** 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_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 10 January 2024 19:03:07 +0000 (0:00:00.011) 0:00:03.609 ***** 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_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 10 January 2024 19:03:09 +0000 (0:00:01.762) 0:00:05.371 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-route_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 10 January 2024 19:03:09 +0000 (0:00:00.714) 0:00:06.086 ***** 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_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 10 January 2024 19:03:09 +0000 (0:00:00.021) 0:00:06.107 ***** 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_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 10 January 2024 19:03:10 +0000 (0:00:00.021) 0:00:06.129 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 10 January 2024 19:03:10 +0000 (0:00:00.020) 0:00:06.149 ***** 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_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 10 January 2024 19:03:10 +0000 (0:00:00.066) 0:00:06.216 ***** 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_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 10 January 2024 19:03:10 +0000 (0:00:00.022) 0:00:06.239 ***** 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_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 10 January 2024 19:03:10 +0000 (0:00:00.020) 0:00:06.260 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 10 January 2024 19:03:10 +0000 (0:00:00.024) 0:00:06.284 ***** 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_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 10 January 2024 19:03:10 +0000 (0:00:00.020) 0:00:06.304 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 10 January 2024 19:03:10 +0000 (0:00:00.019) 0:00:06.324 ***** 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_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 10 January 2024 19:03:10 +0000 (0:00:00.283) 0:00:06.607 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-15060i5xcjapq/tmp_438nz3w" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 10 January 2024 19:03:10 +0000 (0:00:00.204) 0:00:06.812 ***** 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_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 10 January 2024 19:03:11 +0000 (0:00:00.365) 0:00:07.177 ***** 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_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 10 January 2024 19:03:11 +0000 (0:00:00.022) 0:00:07.199 ***** 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_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 10 January 2024 19:03:11 +0000 (0:00:00.022) 0:00:07.222 ***** 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_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 10 January 2024 19:03:11 +0000 (0:00:00.022) 0:00:07.244 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 10 January 2024 19:03:11 +0000 (0:00:00.021) 0:00:07.265 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_type1mkdl83b/tests/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 10 January 2024 19:03:11 +0000 (0:00:00.199) 0:00:07.465 ***** 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_type1mkdl83b/tests/playbooks/tasks/run_test.yml:36 Wednesday 10 January 2024 19:03:11 +0000 (0:00:00.047) 0:00:07.512 ***** included: /WORKDIR/git-route_type1mkdl83b/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_type1mkdl83b/tests/playbooks/tasks/assert_profile_present.yml:3 Wednesday 10 January 2024 19:03:11 +0000 (0:00:00.040) 0:00:07.552 ***** included: /WORKDIR/git-route_type1mkdl83b/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_type1mkdl83b/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 10 January 2024 19:03:11 +0000 (0:00:00.037) 0:00:07.590 ***** 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_type1mkdl83b/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 10 January 2024 19:03:11 +0000 (0:00:00.020) 0:00:07.610 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1704913391.1120307, "block_size": 4096, "blocks": 8, "ctime": 1704913391.1120307, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 3668, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1704913391.1120307, "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_type1mkdl83b/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 10 January 2024 19:03:11 +0000 (0:00:00.133) 0:00:07.744 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_type1mkdl83b/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 10 January 2024 19:03:11 +0000 (0:00:00.022) 0:00:07.766 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.005165", "end": "2024-01-10 19:03:11.847667", "rc": 1, "start": "2024-01-10 19:03:11.842502" } STDERR: /bin/sh: nmcli: command not found MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-route_type1mkdl83b/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 10 January 2024 19:03:11 +0000 (0:00:00.141) 0:00:07.907 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_type1mkdl83b/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 10 January 2024 19:03:11 +0000 (0:00:00.021) 0:00:07.929 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003363", "end": "2024-01-10 19:03:12.012368", "rc": 0, "start": "2024-01-10 19:03:12.009005" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_type1mkdl83b/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 10 January 2024 19:03:11 +0000 (0:00:00.144) 0:00:08.074 ***** 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_type1mkdl83b/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 10 January 2024 19:03:11 +0000 (0:00:00.026) 0:00:08.100 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003357", "end": "2024-01-10 19:03:12.178568", "rc": 0, "start": "2024-01-10 19:03:12.175211" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_type1mkdl83b/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 10 January 2024 19:03:12 +0000 (0:00:00.141) 0:00:08.241 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-route_type1mkdl83b/tests/playbooks/tasks/assert_profile_present.yml:5 Wednesday 10 January 2024 19:03:12 +0000 (0:00:00.026) 0:00:08.268 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-route_type1mkdl83b/tests/playbooks/tasks/assert_profile_present.yml:10 Wednesday 10 January 2024 19:03:12 +0000 (0:00:00.022) 0:00:08.290 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-route_type1mkdl83b/tests/playbooks/tasks/assert_profile_present.yml:15 Wednesday 10 January 2024 19:03:12 +0000 (0:00:00.043) 0:00:08.334 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_type1mkdl83b/tests/playbooks/tasks/run_test.yml:42 Wednesday 10 January 2024 19:03:12 +0000 (0:00:00.022) 0:00:08.357 ***** 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_type1mkdl83b/tests/playbooks/tasks/run_test.yml:47 Wednesday 10 January 2024 19:03:12 +0000 (0:00:00.024) 0:00:08.381 ***** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_type1mkdl83b/tests/playbooks/tasks/run_test.yml:66 Wednesday 10 January 2024 19:03:12 +0000 (0:00:00.022) 0:00:08.403 ***** included: /WORKDIR/git-route_type1mkdl83b/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_type1mkdl83b/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 10 January 2024 19:03:12 +0000 (0:00:00.037) 0:00:08.441 ***** 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.032320", "end": "2024-01-10 19:03:12.543522", "rc": 255, "start": "2024-01-10 19:03:12.511202" } STDERR: /bin/sh: nmcli: command not found /bin/sh: line 1: nmcli: command not found Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-route_type1mkdl83b/tests/playbooks/tests_states.yml:45 Wednesday 10 January 2024 19:03:12 +0000 (0:00:00.163) 0:00:08.604 ***** included: /WORKDIR/git-route_type1mkdl83b/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile without autoconnect] ************************ task path: /WORKDIR/git-route_type1mkdl83b/tests/playbooks/tasks/run_test.yml:5 Wednesday 10 January 2024 19:03:12 +0000 (0:00:00.035) 0:00:08.640 ***** ok: [sut] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_type1mkdl83b/tests/playbooks/tasks/run_test.yml:9 Wednesday 10 January 2024 19:03:12 +0000 (0:00:00.022) 0:00:08.662 ***** 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_type1mkdl83b/tests/playbooks/tasks/run_test.yml:21 Wednesday 10 January 2024 19:03:12 +0000 (0:00:00.043) 0:00:08.705 ***** included: /WORKDIR/git-route_type1mkdl83b/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_type1mkdl83b/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 10 January 2024 19:03:12 +0000 (0:00:00.033) 0:00:08.739 ***** included: /WORKDIR/git-route_type1mkdl83b/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_type1mkdl83b/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 10 January 2024 19:03:12 +0000 (0:00:00.031) 0:00:08.771 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003445", "end": "2024-01-10 19:03:12.846166", "rc": 0, "start": "2024-01-10 19:03:12.842721" } STDOUT: dummy0 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_type1mkdl83b/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 10 January 2024 19:03:12 +0000 (0:00:00.136) 0:00:08.907 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "dummy0", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_type1mkdl83b/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 10 January 2024 19:03:12 +0000 (0:00:00.021) 0:00:08.929 ***** ok: [sut] => {} MSG: current_interfaces: ['dummy0', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_type1mkdl83b/tests/playbooks/tasks/run_test.yml:24 Wednesday 10 January 2024 19:03:12 +0000 (0:00:00.043) 0:00:08.973 ***** included: /WORKDIR/git-route_type1mkdl83b/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-route_type1mkdl83b/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-route_type1mkdl83b/tests/playbooks/tasks/delete_interface.yml:3 Wednesday 10 January 2024 19:03:12 +0000 (0:00:00.041) 0:00:09.014 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.005045", "end": "2024-01-10 19:03:13.094661", "rc": 255, "start": "2024-01-10 19:03:13.089616" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_type1mkdl83b/tests/playbooks/tasks/assert_device_absent.yml:3 Wednesday 10 January 2024 19:03:13 +0000 (0:00:00.140) 0:00:09.155 ***** included: /WORKDIR/git-route_type1mkdl83b/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_type1mkdl83b/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 10 January 2024 19:03:13 +0000 (0:00:00.035) 0:00:09.190 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_type1mkdl83b/tests/playbooks/tasks/assert_device_absent.yml:5 Wednesday 10 January 2024 19:03:13 +0000 (0:00:00.137) 0:00:09.327 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_type1mkdl83b/tests/playbooks/tasks/run_test.yml:30 Wednesday 10 January 2024 19:03:13 +0000 (0:00:00.022) 0:00:09.350 ***** included: /WORKDIR/git-route_type1mkdl83b/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type1mkdl83b/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Wednesday 10 January 2024 19:03:13 +0000 (0:00:00.037) 0:00:09.388 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 10 January 2024 19:03:13 +0000 (0:00:00.039) 0:00:09.427 ***** included: /WORKDIR/git-route_type1mkdl83b/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_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 10 January 2024 19:03:13 +0000 (0:00:00.038) 0:00:09.466 ***** 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_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 10 January 2024 19:03:13 +0000 (0:00:00.025) 0:00:09.491 ***** 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_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 10 January 2024 19:03:13 +0000 (0:00:00.020) 0:00:09.511 ***** 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_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 10 January 2024 19:03:13 +0000 (0:00:00.041) 0:00:09.553 ***** 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_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 10 January 2024 19:03:14 +0000 (0:00:01.470) 0:00:11.024 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-route_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 10 January 2024 19:03:15 +0000 (0:00:00.590) 0:00:11.614 ***** 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_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 10 January 2024 19:03:15 +0000 (0:00:00.024) 0:00:11.638 ***** 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_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 10 January 2024 19:03:15 +0000 (0:00:00.023) 0:00:11.662 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 10 January 2024 19:03:15 +0000 (0:00:00.022) 0:00:11.684 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-route_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 10 January 2024 19:03:15 +0000 (0:00:00.068) 0:00:11.752 ***** 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_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 10 January 2024 19:03:15 +0000 (0:00:00.021) 0:00:11.774 ***** 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_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 10 January 2024 19:03:15 +0000 (0:00:00.021) 0:00:11.795 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 10 January 2024 19:03:15 +0000 (0:00:00.025) 0:00:11.821 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-route_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 10 January 2024 19:03:15 +0000 (0:00:00.021) 0:00:11.842 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 10 January 2024 19:03:15 +0000 (0:00:00.021) 0:00:11.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 : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 10 January 2024 19:03:15 +0000 (0:00:00.192) 0:00:12.056 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-15060i5xcjapq/tmp4hb1er4x" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 10 January 2024 19:03:16 +0000 (0:00:00.194) 0:00:12.251 ***** 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_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 10 January 2024 19:03:16 +0000 (0:00:00.235) 0:00:12.486 ***** 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_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 10 January 2024 19:03:16 +0000 (0:00:00.022) 0:00:12.508 ***** 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_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 10 January 2024 19:03:16 +0000 (0:00:00.023) 0:00:12.531 ***** 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_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 10 January 2024 19:03:16 +0000 (0:00:00.025) 0:00:12.556 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 10 January 2024 19:03:16 +0000 (0:00:00.022) 0:00:12.579 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_type1mkdl83b/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Wednesday 10 January 2024 19:03:16 +0000 (0:00:00.125) 0:00:12.704 ***** 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_type1mkdl83b/tests/playbooks/tasks/run_test.yml:36 Wednesday 10 January 2024 19:03:16 +0000 (0:00:00.021) 0:00:12.726 ***** included: /WORKDIR/git-route_type1mkdl83b/tests/playbooks/tasks/assert_device_absent.yml for sut included: /WORKDIR/git-route_type1mkdl83b/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_type1mkdl83b/tests/playbooks/tasks/assert_device_absent.yml:3 Wednesday 10 January 2024 19:03:16 +0000 (0:00:00.065) 0:00:12.792 ***** included: /WORKDIR/git-route_type1mkdl83b/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_type1mkdl83b/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 10 January 2024 19:03:16 +0000 (0:00:00.035) 0:00:12.828 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_type1mkdl83b/tests/playbooks/tasks/assert_device_absent.yml:5 Wednesday 10 January 2024 19:03:16 +0000 (0:00:00.127) 0:00:12.956 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_type1mkdl83b/tests/playbooks/tasks/assert_profile_present.yml:3 Wednesday 10 January 2024 19:03:16 +0000 (0:00:00.023) 0:00:12.979 ***** included: /WORKDIR/git-route_type1mkdl83b/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_type1mkdl83b/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 10 January 2024 19:03:16 +0000 (0:00:00.036) 0:00:13.016 ***** 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_type1mkdl83b/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 10 January 2024 19:03:16 +0000 (0:00:00.020) 0:00:13.037 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1704913396.4230309, "block_size": 4096, "blocks": 8, "ctime": 1704913396.4230309, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 3668, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1704913396.4230309, "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_type1mkdl83b/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 10 January 2024 19:03:17 +0000 (0:00:00.130) 0:00:13.167 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_type1mkdl83b/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 10 January 2024 19:03:17 +0000 (0:00:00.022) 0:00:13.189 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.005292", "end": "2024-01-10 19:03:17.262474", "rc": 1, "start": "2024-01-10 19:03:17.257182" } STDERR: /bin/sh: nmcli: command not found MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-route_type1mkdl83b/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 10 January 2024 19:03:17 +0000 (0:00:00.133) 0:00:13.323 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_type1mkdl83b/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 10 January 2024 19:03:17 +0000 (0:00:00.023) 0:00:13.346 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003229", "end": "2024-01-10 19:03:17.422751", "rc": 0, "start": "2024-01-10 19:03:17.419522" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_type1mkdl83b/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 10 January 2024 19:03:17 +0000 (0:00:00.137) 0:00:13.484 ***** 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_type1mkdl83b/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 10 January 2024 19:03:17 +0000 (0:00:00.026) 0:00:13.511 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003363", "end": "2024-01-10 19:03:17.589018", "rc": 0, "start": "2024-01-10 19:03:17.585655" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_type1mkdl83b/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 10 January 2024 19:03:17 +0000 (0:00:00.167) 0:00:13.678 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-route_type1mkdl83b/tests/playbooks/tasks/assert_profile_present.yml:5 Wednesday 10 January 2024 19:03:17 +0000 (0:00:00.027) 0:00:13.705 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-route_type1mkdl83b/tests/playbooks/tasks/assert_profile_present.yml:10 Wednesday 10 January 2024 19:03:17 +0000 (0:00:00.024) 0:00:13.729 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-route_type1mkdl83b/tests/playbooks/tasks/assert_profile_present.yml:15 Wednesday 10 January 2024 19:03:17 +0000 (0:00:00.024) 0:00:13.753 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_type1mkdl83b/tests/playbooks/tasks/run_test.yml:42 Wednesday 10 January 2024 19:03:17 +0000 (0:00:00.022) 0:00:13.776 ***** TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /WORKDIR/git-route_type1mkdl83b/tests/playbooks/tasks/run_test.yml:47 Wednesday 10 January 2024 19:03:17 +0000 (0:00:00.021) 0:00:13.797 ***** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_type1mkdl83b/tests/playbooks/tasks/run_test.yml:66 Wednesday 10 January 2024 19:03:17 +0000 (0:00:00.022) 0:00:13.820 ***** included: /WORKDIR/git-route_type1mkdl83b/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_type1mkdl83b/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 10 January 2024 19:03:17 +0000 (0:00:00.042) 0:00:13.862 ***** 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.011623", "end": "2024-01-10 19:03:17.943927", "rc": 255, "start": "2024-01-10 19:03:17.932304" } STDERR: /bin/sh: nmcli: command not found /bin/sh: line 1: nmcli: command not found Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-route_type1mkdl83b/tests/playbooks/tests_states.yml:65 Wednesday 10 January 2024 19:03:17 +0000 (0:00:00.142) 0:00:14.004 ***** included: /WORKDIR/git-route_type1mkdl83b/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can activate an existing profile] ******************************** task path: /WORKDIR/git-route_type1mkdl83b/tests/playbooks/tasks/run_test.yml:5 Wednesday 10 January 2024 19:03:17 +0000 (0:00:00.035) 0:00:14.040 ***** ok: [sut] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_type1mkdl83b/tests/playbooks/tasks/run_test.yml:9 Wednesday 10 January 2024 19:03:17 +0000 (0:00:00.022) 0:00:14.063 ***** 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_type1mkdl83b/tests/playbooks/tasks/run_test.yml:21 Wednesday 10 January 2024 19:03:17 +0000 (0:00:00.044) 0:00:14.107 ***** included: /WORKDIR/git-route_type1mkdl83b/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_type1mkdl83b/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 10 January 2024 19:03:18 +0000 (0:00:00.034) 0:00:14.142 ***** included: /WORKDIR/git-route_type1mkdl83b/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_type1mkdl83b/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 10 January 2024 19:03:18 +0000 (0:00:00.058) 0:00:14.200 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003523", "end": "2024-01-10 19:03:18.275828", "rc": 0, "start": "2024-01-10 19:03:18.272305" } STDOUT: dummy0 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_type1mkdl83b/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 10 January 2024 19:03:18 +0000 (0:00:00.138) 0:00:14.339 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "dummy0", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_type1mkdl83b/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 10 January 2024 19:03:18 +0000 (0:00:00.022) 0:00:14.362 ***** ok: [sut] => {} MSG: current_interfaces: ['dummy0', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_type1mkdl83b/tests/playbooks/tasks/run_test.yml:24 Wednesday 10 January 2024 19:03:18 +0000 (0:00:00.022) 0:00:14.385 ***** included: /WORKDIR/git-route_type1mkdl83b/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type1mkdl83b/tests/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 10 January 2024 19:03:18 +0000 (0:00:00.038) 0:00:14.423 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 10 January 2024 19:03:18 +0000 (0:00:00.036) 0:00:14.460 ***** included: /WORKDIR/git-route_type1mkdl83b/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_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 10 January 2024 19:03:18 +0000 (0:00:00.042) 0:00:14.502 ***** 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_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 10 January 2024 19:03:18 +0000 (0:00:00.025) 0:00:14.528 ***** 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_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 10 January 2024 19:03:18 +0000 (0:00:00.020) 0:00:14.549 ***** 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_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 10 January 2024 19:03:18 +0000 (0:00:00.021) 0:00:14.570 ***** 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_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 10 January 2024 19:03:19 +0000 (0:00:01.412) 0:00:15.982 ***** 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_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 10 January 2024 19:03:20 +0000 (0:00:00.570) 0:00:16.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_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 10 January 2024 19:03:20 +0000 (0:00:00.022) 0:00:16.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_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 10 January 2024 19:03:20 +0000 (0:00:00.021) 0:00:16.596 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 10 January 2024 19:03:20 +0000 (0:00:00.020) 0:00:16.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_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 10 January 2024 19:03:20 +0000 (0:00:00.041) 0:00:16.659 ***** 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_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 10 January 2024 19:03:20 +0000 (0:00:00.021) 0:00:16.680 ***** 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_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 10 January 2024 19:03:20 +0000 (0:00:00.019) 0:00:16.699 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 10 January 2024 19:03:20 +0000 (0:00:00.024) 0:00:16.723 ***** 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_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 10 January 2024 19:03:20 +0000 (0:00:00.020) 0:00:16.744 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 10 January 2024 19:03:20 +0000 (0:00:00.019) 0:00:16.764 ***** 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_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 10 January 2024 19:03:20 +0000 (0:00:00.212) 0:00:16.976 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-15060i5xcjapq/tmpi4svtvka" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 10 January 2024 19:03:21 +0000 (0:00:00.194) 0:00:17.171 ***** 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_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 10 January 2024 19:03:21 +0000 (0:00:00.230) 0:00:17.401 ***** 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_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 10 January 2024 19:03:21 +0000 (0:00:00.021) 0:00:17.423 ***** 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_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 10 January 2024 19:03:21 +0000 (0:00:00.021) 0:00:17.445 ***** 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_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 10 January 2024 19:03:21 +0000 (0:00:00.022) 0:00:17.467 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 10 January 2024 19:03:21 +0000 (0:00:00.021) 0:00:17.489 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_type1mkdl83b/tests/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 10 January 2024 19:03:21 +0000 (0:00:00.125) 0:00:17.614 ***** 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_type1mkdl83b/tests/playbooks/tasks/run_test.yml:30 Wednesday 10 January 2024 19:03:21 +0000 (0:00:00.021) 0:00:17.636 ***** included: /WORKDIR/git-route_type1mkdl83b/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type1mkdl83b/tests/playbooks/tasks/activate_profile.yml:3 Wednesday 10 January 2024 19:03:21 +0000 (0:00:00.037) 0:00:17.674 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 10 January 2024 19:03:21 +0000 (0:00:00.039) 0:00:17.713 ***** included: /WORKDIR/git-route_type1mkdl83b/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_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 10 January 2024 19:03:21 +0000 (0:00:00.038) 0:00:17.752 ***** 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_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 10 January 2024 19:03:21 +0000 (0:00:00.052) 0:00:17.804 ***** 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_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 10 January 2024 19:03:21 +0000 (0:00:00.021) 0:00:17.825 ***** 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_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 10 January 2024 19:03:21 +0000 (0:00:00.021) 0:00:17.846 ***** 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_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 10 January 2024 19:03:23 +0000 (0:00:01.418) 0:00:19.265 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-route_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 10 January 2024 19:03:23 +0000 (0:00:00.563) 0:00:19.828 ***** ok: [sut] => {} MSG: Using network provider: initscripts TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-route_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 10 January 2024 19:03:23 +0000 (0:00:00.023) 0:00:19.852 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-route_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 10 January 2024 19:03:23 +0000 (0:00:00.021) 0:00:19.873 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 10 January 2024 19:03:23 +0000 (0:00:00.044) 0:00:19.917 ***** 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_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 10 January 2024 19:03:23 +0000 (0:00:00.042) 0:00:19.960 ***** 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_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 10 January 2024 19:03:23 +0000 (0:00:00.021) 0:00:19.982 ***** 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_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 10 January 2024 19:03:23 +0000 (0:00:00.021) 0:00:20.003 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 10 January 2024 19:03:23 +0000 (0:00:00.024) 0:00:20.027 ***** 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_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 10 January 2024 19:03:23 +0000 (0:00:00.021) 0:00:20.049 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 10 January 2024 19:03:23 +0000 (0:00:00.020) 0:00:20.070 ***** 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_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 10 January 2024 19:03:24 +0000 (0:00:00.190) 0:00:20.260 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-15060i5xcjapq/tmpgn02w4zo" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 10 January 2024 19:03:24 +0000 (0:00:00.191) 0:00:20.451 ***** 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_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 10 January 2024 19:03:24 +0000 (0:00:00.354) 0:00:20.806 ***** 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_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 10 January 2024 19:03:24 +0000 (0:00:00.022) 0:00:20.828 ***** 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_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 10 January 2024 19:03:24 +0000 (0:00:00.021) 0:00:20.850 ***** 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_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 10 January 2024 19:03:24 +0000 (0:00:00.022) 0:00:20.873 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 10 January 2024 19:03:24 +0000 (0:00:00.020) 0:00:20.893 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_type1mkdl83b/tests/playbooks/tasks/run_test.yml:36 Wednesday 10 January 2024 19:03:24 +0000 (0:00:00.127) 0:00:21.021 ***** included: /WORKDIR/git-route_type1mkdl83b/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-route_type1mkdl83b/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_type1mkdl83b/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 10 January 2024 19:03:24 +0000 (0:00:00.065) 0:00:21.087 ***** included: /WORKDIR/git-route_type1mkdl83b/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_type1mkdl83b/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 10 January 2024 19:03:25 +0000 (0:00:00.034) 0:00:21.121 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1704913404.6760309, "block_size": 4096, "blocks": 0, "ctime": 1704913404.6720307, "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": 1704913404.6720307, "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_type1mkdl83b/tests/playbooks/tasks/assert_device_present.yml:5 Wednesday 10 January 2024 19:03:25 +0000 (0:00:00.130) 0:00:21.252 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_type1mkdl83b/tests/playbooks/tasks/assert_profile_present.yml:3 Wednesday 10 January 2024 19:03:25 +0000 (0:00:00.025) 0:00:21.278 ***** included: /WORKDIR/git-route_type1mkdl83b/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_type1mkdl83b/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 10 January 2024 19:03:25 +0000 (0:00:00.037) 0:00:21.315 ***** 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_type1mkdl83b/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 10 January 2024 19:03:25 +0000 (0:00:00.020) 0:00:21.336 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1704913402.8230307, "block_size": 4096, "blocks": 8, "ctime": 1704913401.3400307, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 3668, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1704913401.3400307, "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_type1mkdl83b/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 10 January 2024 19:03:25 +0000 (0:00:00.128) 0:00:21.464 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_type1mkdl83b/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 10 January 2024 19:03:25 +0000 (0:00:00.022) 0:00:21.486 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.005123", "end": "2024-01-10 19:03:25.561662", "rc": 1, "start": "2024-01-10 19:03:25.556539" } STDERR: /bin/sh: nmcli: command not found MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-route_type1mkdl83b/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 10 January 2024 19:03:25 +0000 (0:00:00.134) 0:00:21.620 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_type1mkdl83b/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 10 January 2024 19:03:25 +0000 (0:00:00.021) 0:00:21.642 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003190", "end": "2024-01-10 19:03:25.716412", "rc": 0, "start": "2024-01-10 19:03:25.713222" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_type1mkdl83b/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 10 January 2024 19:03:25 +0000 (0:00:00.134) 0:00:21.777 ***** 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_type1mkdl83b/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 10 January 2024 19:03:25 +0000 (0:00:00.025) 0:00:21.803 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003310", "end": "2024-01-10 19:03:25.877943", "rc": 0, "start": "2024-01-10 19:03:25.874633" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_type1mkdl83b/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 10 January 2024 19:03:25 +0000 (0:00:00.166) 0:00:21.970 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-route_type1mkdl83b/tests/playbooks/tasks/assert_profile_present.yml:5 Wednesday 10 January 2024 19:03:25 +0000 (0:00:00.027) 0:00:21.997 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-route_type1mkdl83b/tests/playbooks/tasks/assert_profile_present.yml:10 Wednesday 10 January 2024 19:03:25 +0000 (0:00:00.026) 0:00:22.024 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-route_type1mkdl83b/tests/playbooks/tasks/assert_profile_present.yml:15 Wednesday 10 January 2024 19:03:25 +0000 (0:00:00.025) 0:00:22.049 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_type1mkdl83b/tests/playbooks/tasks/run_test.yml:42 Wednesday 10 January 2024 19:03:25 +0000 (0:00:00.022) 0:00:22.071 ***** TASK [Success in test 'I can activate an existing profile'] ******************** task path: /WORKDIR/git-route_type1mkdl83b/tests/playbooks/tasks/run_test.yml:47 Wednesday 10 January 2024 19:03:25 +0000 (0:00:00.019) 0:00:22.091 ***** ok: [sut] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_type1mkdl83b/tests/playbooks/tasks/run_test.yml:66 Wednesday 10 January 2024 19:03:26 +0000 (0:00:00.022) 0:00:22.113 ***** included: /WORKDIR/git-route_type1mkdl83b/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_type1mkdl83b/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 10 January 2024 19:03:26 +0000 (0:00:00.041) 0:00:22.155 ***** 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.024376", "end": "2024-01-10 19:03:26.248115", "rc": 0, "start": "2024-01-10 19:03:26.223739" } STDERR: /bin/sh: nmcli: command not found /bin/sh: line 1: nmcli: command not found TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-route_type1mkdl83b/tests/playbooks/tests_states.yml:83 Wednesday 10 January 2024 19:03:26 +0000 (0:00:00.157) 0:00:22.313 ***** included: /WORKDIR/git-route_type1mkdl83b/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_type1mkdl83b/tests/playbooks/tasks/run_test.yml:5 Wednesday 10 January 2024 19:03:26 +0000 (0:00:00.037) 0:00:22.350 ***** ok: [sut] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_type1mkdl83b/tests/playbooks/tasks/run_test.yml:9 Wednesday 10 January 2024 19:03:26 +0000 (0:00:00.024) 0:00:22.374 ***** 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_type1mkdl83b/tests/playbooks/tasks/run_test.yml:21 Wednesday 10 January 2024 19:03:26 +0000 (0:00:00.047) 0:00:22.422 ***** included: /WORKDIR/git-route_type1mkdl83b/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_type1mkdl83b/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 10 January 2024 19:03:26 +0000 (0:00:00.034) 0:00:22.457 ***** included: /WORKDIR/git-route_type1mkdl83b/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_type1mkdl83b/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 10 January 2024 19:03:26 +0000 (0:00:00.063) 0:00:22.520 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003319", "end": "2024-01-10 19:03:26.596948", "rc": 0, "start": "2024-01-10 19:03:26.593629" } STDOUT: dummy0 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_type1mkdl83b/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 10 January 2024 19:03:26 +0000 (0:00:00.135) 0:00:22.656 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "dummy0", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_type1mkdl83b/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 10 January 2024 19:03:26 +0000 (0:00:00.022) 0:00:22.679 ***** ok: [sut] => {} MSG: current_interfaces: ['dummy0', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_type1mkdl83b/tests/playbooks/tasks/run_test.yml:24 Wednesday 10 January 2024 19:03:26 +0000 (0:00:00.022) 0:00:22.702 ***** included: /WORKDIR/git-route_type1mkdl83b/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-route_type1mkdl83b/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type1mkdl83b/tests/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 10 January 2024 19:03:26 +0000 (0:00:00.040) 0:00:22.742 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 10 January 2024 19:03:26 +0000 (0:00:00.035) 0:00:22.778 ***** included: /WORKDIR/git-route_type1mkdl83b/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_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 10 January 2024 19:03:26 +0000 (0:00:00.038) 0:00:22.817 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-route_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 10 January 2024 19:03:26 +0000 (0:00:00.025) 0:00:22.842 ***** 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_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 10 January 2024 19:03:26 +0000 (0:00:00.020) 0:00:22.863 ***** 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_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 10 January 2024 19:03:26 +0000 (0:00:00.021) 0:00:22.884 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-route_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 10 January 2024 19:03:28 +0000 (0:00:01.454) 0:00:24.338 ***** 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_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 10 January 2024 19:03:28 +0000 (0:00:00.566) 0:00:24.905 ***** 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_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 10 January 2024 19:03:28 +0000 (0:00:00.022) 0:00:24.928 ***** 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_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 10 January 2024 19:03:28 +0000 (0:00:00.020) 0:00:24.948 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 10 January 2024 19:03:28 +0000 (0:00:00.021) 0:00:24.970 ***** 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_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 10 January 2024 19:03:28 +0000 (0:00:00.041) 0:00:25.011 ***** 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_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 10 January 2024 19:03:28 +0000 (0:00:00.020) 0:00:25.032 ***** 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_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 10 January 2024 19:03:28 +0000 (0:00:00.021) 0:00:25.053 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 10 January 2024 19:03:28 +0000 (0:00:00.023) 0:00:25.077 ***** 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_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 10 January 2024 19:03:28 +0000 (0:00:00.021) 0:00:25.098 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 10 January 2024 19:03:29 +0000 (0:00:00.020) 0:00:25.119 ***** 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_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 10 January 2024 19:03:29 +0000 (0:00:00.221) 0:00:25.340 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-15060i5xcjapq/tmpetn4kj33" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 10 January 2024 19:03:29 +0000 (0:00:00.193) 0:00:25.534 ***** 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_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 10 January 2024 19:03:29 +0000 (0:00:00.246) 0:00:25.780 ***** 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_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 10 January 2024 19:03:29 +0000 (0:00:00.021) 0:00:25.802 ***** 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_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 10 January 2024 19:03:29 +0000 (0:00:00.022) 0:00:25.824 ***** 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_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 10 January 2024 19:03:29 +0000 (0:00:00.023) 0:00:25.848 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 10 January 2024 19:03:29 +0000 (0:00:00.020) 0:00:25.869 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_type1mkdl83b/tests/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 10 January 2024 19:03:29 +0000 (0:00:00.121) 0:00:25.990 ***** 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_type1mkdl83b/tests/playbooks/tasks/activate_profile.yml:3 Wednesday 10 January 2024 19:03:29 +0000 (0:00:00.024) 0:00:26.015 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 10 January 2024 19:03:29 +0000 (0:00:00.034) 0:00:26.049 ***** included: /WORKDIR/git-route_type1mkdl83b/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_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 10 January 2024 19:03:29 +0000 (0:00:00.040) 0:00:26.090 ***** 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_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 10 January 2024 19:03:30 +0000 (0:00:00.026) 0:00:26.117 ***** 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_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 10 January 2024 19:03:30 +0000 (0:00:00.050) 0:00:26.167 ***** 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_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 10 January 2024 19:03:30 +0000 (0:00:00.022) 0:00:26.190 ***** 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_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 10 January 2024 19:03:31 +0000 (0:00:01.422) 0:00:27.613 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-route_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 10 January 2024 19:03:32 +0000 (0:00:00.569) 0:00:28.183 ***** 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_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 10 January 2024 19:03:32 +0000 (0:00:00.022) 0:00:28.206 ***** 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_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 10 January 2024 19:03:32 +0000 (0:00:00.021) 0:00:28.227 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 10 January 2024 19:03:32 +0000 (0:00:00.026) 0:00:28.254 ***** 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_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 10 January 2024 19:03:32 +0000 (0:00:00.072) 0:00:28.327 ***** 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_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 10 January 2024 19:03:32 +0000 (0:00:00.021) 0:00:28.348 ***** 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_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 10 January 2024 19:03:32 +0000 (0:00:00.021) 0:00:28.369 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 10 January 2024 19:03:32 +0000 (0:00:00.023) 0:00:28.393 ***** 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_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 10 January 2024 19:03:32 +0000 (0:00:00.021) 0:00:28.414 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 10 January 2024 19:03:32 +0000 (0:00:00.019) 0:00:28.434 ***** 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_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 10 January 2024 19:03:32 +0000 (0:00:00.185) 0:00:28.620 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-15060i5xcjapq/tmpt2pp0j0c" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 10 January 2024 19:03:32 +0000 (0:00:00.191) 0:00:28.811 ***** 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_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 10 January 2024 19:03:33 +0000 (0:00:00.353) 0:00:29.165 ***** 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_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 10 January 2024 19:03:33 +0000 (0:00:00.021) 0:00:29.186 ***** 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_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 10 January 2024 19:03:33 +0000 (0:00:00.021) 0:00:29.208 ***** 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_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 10 January 2024 19:03:33 +0000 (0:00:00.022) 0:00:29.230 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 10 January 2024 19:03:33 +0000 (0:00:00.021) 0:00:29.251 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_type1mkdl83b/tests/playbooks/tasks/run_test.yml:30 Wednesday 10 January 2024 19:03:33 +0000 (0:00:00.121) 0:00:29.373 ***** included: /WORKDIR/git-route_type1mkdl83b/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type1mkdl83b/tests/playbooks/tasks/remove_profile.yml:3 Wednesday 10 January 2024 19:03:33 +0000 (0:00:00.062) 0:00:29.436 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 10 January 2024 19:03:33 +0000 (0:00:00.039) 0:00:29.476 ***** included: /WORKDIR/git-route_type1mkdl83b/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_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 10 January 2024 19:03:33 +0000 (0:00:00.039) 0:00:29.515 ***** 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_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 10 January 2024 19:03:33 +0000 (0:00:00.025) 0:00:29.540 ***** 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_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 10 January 2024 19:03:33 +0000 (0:00:00.020) 0:00:29.561 ***** 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_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 10 January 2024 19:03:33 +0000 (0:00:00.020) 0:00:29.582 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-route_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 10 January 2024 19:03:34 +0000 (0:00:01.414) 0:00:30.997 ***** 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_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 10 January 2024 19:03:35 +0000 (0:00:00.621) 0:00:31.618 ***** 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_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 10 January 2024 19:03:35 +0000 (0:00:00.022) 0:00:31.640 ***** 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_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 10 January 2024 19:03:35 +0000 (0:00:00.021) 0:00:31.662 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 10 January 2024 19:03:35 +0000 (0:00:00.020) 0:00:31.682 ***** 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_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 10 January 2024 19:03:35 +0000 (0:00:00.041) 0:00:31.724 ***** 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_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 10 January 2024 19:03:35 +0000 (0:00:00.020) 0:00:31.745 ***** 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_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 10 January 2024 19:03:35 +0000 (0:00:00.019) 0:00:31.765 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 10 January 2024 19:03:35 +0000 (0:00:00.023) 0:00:31.788 ***** 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_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 10 January 2024 19:03:35 +0000 (0:00:00.020) 0:00:31.809 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 10 January 2024 19:03:35 +0000 (0:00:00.019) 0:00:31.829 ***** 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_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 10 January 2024 19:03:35 +0000 (0:00:00.184) 0:00:32.014 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-15060i5xcjapq/tmp7ozu23tq" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 10 January 2024 19:03:36 +0000 (0:00:00.190) 0:00:32.204 ***** 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_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 10 January 2024 19:03:36 +0000 (0:00:00.243) 0:00:32.448 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-route_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 10 January 2024 19:03:36 +0000 (0:00:00.048) 0:00:32.496 ***** 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_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 10 January 2024 19:03:36 +0000 (0:00:00.026) 0:00:32.523 ***** 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_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 10 January 2024 19:03:36 +0000 (0:00:00.024) 0:00:32.548 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 10 January 2024 19:03:36 +0000 (0:00:00.021) 0:00:32.569 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_type1mkdl83b/tests/playbooks/tasks/run_test.yml:36 Wednesday 10 January 2024 19:03:36 +0000 (0:00:00.122) 0:00:32.692 ***** included: /WORKDIR/git-route_type1mkdl83b/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-route_type1mkdl83b/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_type1mkdl83b/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 10 January 2024 19:03:36 +0000 (0:00:00.042) 0:00:32.735 ***** included: /WORKDIR/git-route_type1mkdl83b/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_type1mkdl83b/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 10 January 2024 19:03:36 +0000 (0:00:00.034) 0:00:32.769 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1704913413.0350308, "block_size": 4096, "blocks": 0, "ctime": 1704913413.0340307, "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": 1704913413.0340307, "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_type1mkdl83b/tests/playbooks/tasks/assert_device_present.yml:5 Wednesday 10 January 2024 19:03:36 +0000 (0:00:00.131) 0:00:32.901 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_type1mkdl83b/tests/playbooks/tasks/assert_profile_absent.yml:3 Wednesday 10 January 2024 19:03:36 +0000 (0:00:00.024) 0:00:32.925 ***** included: /WORKDIR/git-route_type1mkdl83b/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_type1mkdl83b/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 10 January 2024 19:03:36 +0000 (0:00:00.035) 0:00:32.961 ***** 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_type1mkdl83b/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 10 January 2024 19:03:36 +0000 (0:00:00.022) 0:00:32.983 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_type1mkdl83b/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 10 January 2024 19:03:37 +0000 (0:00:00.129) 0:00:33.113 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_type1mkdl83b/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 10 January 2024 19:03:37 +0000 (0:00:00.022) 0:00:33.136 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.005376", "end": "2024-01-10 19:03:37.211687", "rc": 1, "start": "2024-01-10 19:03:37.206311" } STDERR: /bin/sh: nmcli: command not found MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-route_type1mkdl83b/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 10 January 2024 19:03:37 +0000 (0:00:00.167) 0:00:33.304 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_type1mkdl83b/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 10 January 2024 19:03:37 +0000 (0:00:00.022) 0:00:33.326 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_type1mkdl83b/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 10 January 2024 19:03:37 +0000 (0:00:00.024) 0:00:33.350 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_type1mkdl83b/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 10 January 2024 19:03:37 +0000 (0:00:00.023) 0:00:33.373 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_type1mkdl83b/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 10 January 2024 19:03:37 +0000 (0:00:00.022) 0:00:33.396 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-route_type1mkdl83b/tests/playbooks/tasks/assert_profile_absent.yml:5 Wednesday 10 January 2024 19:03:37 +0000 (0:00:00.023) 0:00:33.420 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_type1mkdl83b/tests/playbooks/tasks/run_test.yml:42 Wednesday 10 January 2024 19:03:37 +0000 (0:00:00.024) 0:00:33.444 ***** TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /WORKDIR/git-route_type1mkdl83b/tests/playbooks/tasks/run_test.yml:47 Wednesday 10 January 2024 19:03:37 +0000 (0:00:00.019) 0:00:33.464 ***** ok: [sut] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_type1mkdl83b/tests/playbooks/tasks/run_test.yml:66 Wednesday 10 January 2024 19:03:37 +0000 (0:00:00.023) 0:00:33.487 ***** included: /WORKDIR/git-route_type1mkdl83b/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_type1mkdl83b/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 10 January 2024 19:03:37 +0000 (0:00:00.040) 0:00:33.528 ***** 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.021950", "end": "2024-01-10 19:03:37.621256", "rc": 0, "start": "2024-01-10 19:03:37.599306" } STDERR: /bin/sh: nmcli: command not found /bin/sh: line 1: nmcli: command not found TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-route_type1mkdl83b/tests/playbooks/tests_states.yml:103 Wednesday 10 January 2024 19:03:37 +0000 (0:00:00.160) 0:00:33.688 ***** included: /WORKDIR/git-route_type1mkdl83b/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can take a profile down that is absent] ************************** task path: /WORKDIR/git-route_type1mkdl83b/tests/playbooks/tasks/run_test.yml:5 Wednesday 10 January 2024 19:03:37 +0000 (0:00:00.036) 0:00:33.724 ***** ok: [sut] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_type1mkdl83b/tests/playbooks/tasks/run_test.yml:9 Wednesday 10 January 2024 19:03:37 +0000 (0:00:00.023) 0:00:33.748 ***** 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_type1mkdl83b/tests/playbooks/tasks/run_test.yml:21 Wednesday 10 January 2024 19:03:37 +0000 (0:00:00.046) 0:00:33.795 ***** included: /WORKDIR/git-route_type1mkdl83b/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_type1mkdl83b/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 10 January 2024 19:03:37 +0000 (0:00:00.066) 0:00:33.862 ***** included: /WORKDIR/git-route_type1mkdl83b/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_type1mkdl83b/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 10 January 2024 19:03:37 +0000 (0:00:00.034) 0:00:33.896 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003621", "end": "2024-01-10 19:03:37.972085", "rc": 0, "start": "2024-01-10 19:03:37.968464" } STDOUT: dummy0 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_type1mkdl83b/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 10 January 2024 19:03:37 +0000 (0:00:00.139) 0:00:34.036 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "dummy0", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_type1mkdl83b/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 10 January 2024 19:03:37 +0000 (0:00:00.027) 0:00:34.064 ***** ok: [sut] => {} MSG: current_interfaces: ['dummy0', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_type1mkdl83b/tests/playbooks/tasks/run_test.yml:24 Wednesday 10 January 2024 19:03:37 +0000 (0:00:00.022) 0:00:34.086 ***** included: /WORKDIR/git-route_type1mkdl83b/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-route_type1mkdl83b/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-route_type1mkdl83b/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type1mkdl83b/tests/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 10 January 2024 19:03:38 +0000 (0:00:00.046) 0:00:34.133 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 10 January 2024 19:03:38 +0000 (0:00:00.035) 0:00:34.169 ***** included: /WORKDIR/git-route_type1mkdl83b/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_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 10 January 2024 19:03:38 +0000 (0:00:00.040) 0:00:34.209 ***** 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_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 10 January 2024 19:03:38 +0000 (0:00:00.027) 0:00:34.236 ***** 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_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 10 January 2024 19:03:38 +0000 (0:00:00.026) 0:00:34.263 ***** 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_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 10 January 2024 19:03:38 +0000 (0:00:00.027) 0:00:34.290 ***** 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_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 10 January 2024 19:03:39 +0000 (0:00:01.385) 0:00:35.676 ***** 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_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 10 January 2024 19:03:40 +0000 (0:00:00.561) 0:00:36.237 ***** 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_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 10 January 2024 19:03:40 +0000 (0:00:00.023) 0:00:36.261 ***** 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_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 10 January 2024 19:03:40 +0000 (0:00:00.020) 0:00:36.282 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 10 January 2024 19:03:40 +0000 (0:00:00.021) 0:00:36.303 ***** 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_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 10 January 2024 19:03:40 +0000 (0:00:00.042) 0:00:36.346 ***** 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_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 10 January 2024 19:03:40 +0000 (0:00:00.021) 0:00:36.367 ***** 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_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 10 January 2024 19:03:40 +0000 (0:00:00.021) 0:00:36.388 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 10 January 2024 19:03:40 +0000 (0:00:00.024) 0:00:36.412 ***** 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_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 10 January 2024 19:03:40 +0000 (0:00:00.042) 0:00:36.455 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 10 January 2024 19:03:40 +0000 (0:00:00.021) 0:00:36.477 ***** 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_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 10 January 2024 19:03:40 +0000 (0:00:00.184) 0:00:36.661 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-15060i5xcjapq/tmpbr1oewfg" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 10 January 2024 19:03:40 +0000 (0:00:00.187) 0:00:36.848 ***** 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_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 10 January 2024 19:03:40 +0000 (0:00:00.235) 0:00:37.084 ***** 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_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 10 January 2024 19:03:40 +0000 (0:00:00.021) 0:00:37.105 ***** 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_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 10 January 2024 19:03:41 +0000 (0:00:00.021) 0:00:37.127 ***** 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_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 10 January 2024 19:03:41 +0000 (0:00:00.022) 0:00:37.150 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 10 January 2024 19:03:41 +0000 (0:00:00.020) 0:00:37.170 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_type1mkdl83b/tests/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 10 January 2024 19:03:41 +0000 (0:00:00.122) 0:00:37.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 [Include network role] **************************************************** task path: /WORKDIR/git-route_type1mkdl83b/tests/playbooks/tasks/activate_profile.yml:3 Wednesday 10 January 2024 19:03:41 +0000 (0:00:00.022) 0:00:37.316 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 10 January 2024 19:03:41 +0000 (0:00:00.034) 0:00:37.350 ***** included: /WORKDIR/git-route_type1mkdl83b/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_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 10 January 2024 19:03:41 +0000 (0:00:00.039) 0:00:37.389 ***** 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_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 10 January 2024 19:03:41 +0000 (0:00:00.069) 0:00:37.459 ***** 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_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 10 January 2024 19:03:41 +0000 (0:00:00.021) 0:00:37.481 ***** 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_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 10 January 2024 19:03:41 +0000 (0:00:00.021) 0:00:37.502 ***** 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_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 10 January 2024 19:03:42 +0000 (0:00:01.371) 0:00:38.874 ***** 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_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 10 January 2024 19:03:43 +0000 (0:00:00.565) 0:00:39.440 ***** 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_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 10 January 2024 19:03:43 +0000 (0:00:00.022) 0:00:39.463 ***** 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_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 10 January 2024 19:03:43 +0000 (0:00:00.021) 0:00:39.484 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 10 January 2024 19:03:43 +0000 (0:00:00.043) 0:00:39.527 ***** 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_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 10 January 2024 19:03:43 +0000 (0:00:00.043) 0:00:39.571 ***** 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_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 10 January 2024 19:03:43 +0000 (0:00:00.021) 0:00:39.593 ***** 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_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 10 January 2024 19:03:43 +0000 (0:00:00.021) 0:00:39.614 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 10 January 2024 19:03:43 +0000 (0:00:00.024) 0:00:39.639 ***** 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_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 10 January 2024 19:03:43 +0000 (0:00:00.022) 0:00:39.662 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 10 January 2024 19:03:43 +0000 (0:00:00.022) 0:00:39.684 ***** 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_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 10 January 2024 19:03:43 +0000 (0:00:00.194) 0:00:39.879 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-15060i5xcjapq/tmp757k_c3o" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 10 January 2024 19:03:43 +0000 (0:00:00.190) 0:00:40.069 ***** 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_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 10 January 2024 19:03:44 +0000 (0:00:00.340) 0:00:40.410 ***** 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_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 10 January 2024 19:03:44 +0000 (0:00:00.021) 0:00:40.431 ***** 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_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 10 January 2024 19:03:44 +0000 (0:00:00.021) 0:00:40.453 ***** 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_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 10 January 2024 19:03:44 +0000 (0:00:00.024) 0:00:40.478 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 10 January 2024 19:03:44 +0000 (0:00:00.021) 0:00:40.500 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type1mkdl83b/tests/playbooks/tasks/remove_profile.yml:3 Wednesday 10 January 2024 19:03:44 +0000 (0:00:00.123) 0:00:40.623 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 10 January 2024 19:03:44 +0000 (0:00:00.059) 0:00:40.683 ***** included: /WORKDIR/git-route_type1mkdl83b/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_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 10 January 2024 19:03:44 +0000 (0:00:00.039) 0:00:40.722 ***** 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_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 10 January 2024 19:03:44 +0000 (0:00:00.026) 0:00:40.749 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-route_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 10 January 2024 19:03:44 +0000 (0:00:00.020) 0:00:40.770 ***** 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_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 10 January 2024 19:03:44 +0000 (0:00:00.021) 0:00:40.791 ***** 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_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 10 January 2024 19:03:46 +0000 (0:00:01.376) 0:00:42.168 ***** 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_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 10 January 2024 19:03:46 +0000 (0:00:00.611) 0:00:42.780 ***** 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_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 10 January 2024 19:03:46 +0000 (0:00:00.022) 0:00:42.803 ***** 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_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 10 January 2024 19:03:46 +0000 (0:00:00.020) 0:00:42.824 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 10 January 2024 19:03:46 +0000 (0:00:00.021) 0:00:42.845 ***** 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_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 10 January 2024 19:03:46 +0000 (0:00:00.041) 0:00:42.887 ***** 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_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 10 January 2024 19:03:46 +0000 (0:00:00.021) 0:00:42.908 ***** 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_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 10 January 2024 19:03:46 +0000 (0:00:00.021) 0:00:42.929 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 10 January 2024 19:03:46 +0000 (0:00:00.024) 0:00:42.954 ***** 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_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 10 January 2024 19:03:46 +0000 (0:00:00.020) 0:00:42.974 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 10 January 2024 19:03:46 +0000 (0:00:00.020) 0:00:42.995 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 10 January 2024 19:03:47 +0000 (0:00:00.186) 0:00:43.181 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-15060i5xcjapq/tmp340qbml1" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 10 January 2024 19:03:47 +0000 (0:00:00.189) 0:00:43.371 ***** 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_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 10 January 2024 19:03:47 +0000 (0:00:00.233) 0:00:43.605 ***** 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_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 10 January 2024 19:03:47 +0000 (0:00:00.020) 0:00:43.626 ***** 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_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 10 January 2024 19:03:47 +0000 (0:00:00.049) 0:00:43.675 ***** 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_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 10 January 2024 19:03:47 +0000 (0:00:00.024) 0:00:43.700 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 10 January 2024 19:03:47 +0000 (0:00:00.020) 0:00:43.720 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_type1mkdl83b/tests/playbooks/tasks/run_test.yml:30 Wednesday 10 January 2024 19:03:47 +0000 (0:00:00.124) 0:00:43.845 ***** included: /WORKDIR/git-route_type1mkdl83b/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type1mkdl83b/tests/playbooks/tasks/remove+down_profile.yml:3 Wednesday 10 January 2024 19:03:47 +0000 (0:00:00.039) 0:00:43.884 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 10 January 2024 19:03:47 +0000 (0:00:00.040) 0:00:43.924 ***** included: /WORKDIR/git-route_type1mkdl83b/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_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 10 January 2024 19:03:47 +0000 (0:00:00.039) 0:00:43.964 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-route_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 10 January 2024 19:03:47 +0000 (0:00:00.027) 0:00:43.991 ***** 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_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 10 January 2024 19:03:47 +0000 (0:00:00.020) 0:00:44.012 ***** 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_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 10 January 2024 19:03:47 +0000 (0:00:00.023) 0:00:44.035 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-route_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 10 January 2024 19:03:49 +0000 (0:00:01.365) 0:00:45.401 ***** 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_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 10 January 2024 19:03:49 +0000 (0:00:00.570) 0:00:45.972 ***** 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_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 10 January 2024 19:03:49 +0000 (0:00:00.022) 0:00:45.995 ***** 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_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 10 January 2024 19:03:49 +0000 (0:00:00.021) 0:00:46.016 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 10 January 2024 19:03:49 +0000 (0:00:00.021) 0:00:46.038 ***** 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_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 10 January 2024 19:03:49 +0000 (0:00:00.042) 0:00:46.080 ***** 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_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 10 January 2024 19:03:49 +0000 (0:00:00.021) 0:00:46.102 ***** 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_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 10 January 2024 19:03:50 +0000 (0:00:00.020) 0:00:46.123 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 10 January 2024 19:03:50 +0000 (0:00:00.024) 0:00:46.148 ***** 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_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 10 January 2024 19:03:50 +0000 (0:00:00.027) 0:00:46.175 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 10 January 2024 19:03:50 +0000 (0:00:00.020) 0:00:46.196 ***** 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_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 10 January 2024 19:03:50 +0000 (0:00:00.192) 0:00:46.388 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-15060i5xcjapq/tmph42gbm6t" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 10 January 2024 19:03:50 +0000 (0:00:00.190) 0:00:46.579 ***** 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_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 10 January 2024 19:03:50 +0000 (0:00:00.228) 0:00:46.807 ***** 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_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 10 January 2024 19:03:50 +0000 (0:00:00.021) 0:00:46.829 ***** 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_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 10 January 2024 19:03:50 +0000 (0:00:00.023) 0:00:46.852 ***** 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_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 10 January 2024 19:03:50 +0000 (0:00:00.022) 0:00:46.875 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 10 January 2024 19:03:50 +0000 (0:00:00.020) 0:00:46.896 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_type1mkdl83b/tests/playbooks/tasks/run_test.yml:36 Wednesday 10 January 2024 19:03:50 +0000 (0:00:00.126) 0:00:47.022 ***** included: /WORKDIR/git-route_type1mkdl83b/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_type1mkdl83b/tests/playbooks/tasks/assert_profile_absent.yml:3 Wednesday 10 January 2024 19:03:50 +0000 (0:00:00.038) 0:00:47.061 ***** included: /WORKDIR/git-route_type1mkdl83b/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_type1mkdl83b/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 10 January 2024 19:03:50 +0000 (0:00:00.036) 0:00:47.098 ***** 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_type1mkdl83b/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 10 January 2024 19:03:51 +0000 (0:00:00.021) 0:00:47.119 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_type1mkdl83b/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 10 January 2024 19:03:51 +0000 (0:00:00.127) 0:00:47.246 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_type1mkdl83b/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 10 January 2024 19:03:51 +0000 (0:00:00.021) 0:00:47.268 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.005222", "end": "2024-01-10 19:03:51.345237", "rc": 1, "start": "2024-01-10 19:03:51.340015" } STDERR: /bin/sh: nmcli: command not found MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-route_type1mkdl83b/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 10 January 2024 19:03:51 +0000 (0:00:00.161) 0:00:47.429 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_type1mkdl83b/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 10 January 2024 19:03:51 +0000 (0:00:00.022) 0:00:47.452 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_type1mkdl83b/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 10 January 2024 19:03:51 +0000 (0:00:00.021) 0:00:47.474 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_type1mkdl83b/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 10 January 2024 19:03:51 +0000 (0:00:00.022) 0:00:47.496 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_type1mkdl83b/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 10 January 2024 19:03:51 +0000 (0:00:00.023) 0:00:47.520 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-route_type1mkdl83b/tests/playbooks/tasks/assert_profile_absent.yml:5 Wednesday 10 January 2024 19:03:51 +0000 (0:00:00.022) 0:00:47.542 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_type1mkdl83b/tests/playbooks/tasks/run_test.yml:42 Wednesday 10 January 2024 19:03:51 +0000 (0:00:00.026) 0:00:47.568 ***** 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_type1mkdl83b/tests/playbooks/tasks/run_test.yml:47 Wednesday 10 January 2024 19:03:51 +0000 (0:00:00.026) 0:00:47.594 ***** ok: [sut] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_type1mkdl83b/tests/playbooks/tasks/run_test.yml:66 Wednesday 10 January 2024 19:03:51 +0000 (0:00:00.022) 0:00:47.616 ***** included: /WORKDIR/git-route_type1mkdl83b/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_type1mkdl83b/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 10 January 2024 19:03:51 +0000 (0:00:00.039) 0:00:47.656 ***** 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.024019", "end": "2024-01-10 19:03:51.750081", "rc": 0, "start": "2024-01-10 19:03:51.726062" } STDERR: /bin/sh: nmcli: command not found /bin/sh: line 1: nmcli: command not found TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-route_type1mkdl83b/tests/playbooks/tests_states.yml:126 Wednesday 10 January 2024 19:03:51 +0000 (0:00:00.158) 0:00:47.814 ***** included: /WORKDIR/git-route_type1mkdl83b/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_type1mkdl83b/tests/playbooks/tasks/run_test.yml:5 Wednesday 10 January 2024 19:03:51 +0000 (0:00:00.038) 0:00:47.853 ***** 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_type1mkdl83b/tests/playbooks/tasks/run_test.yml:9 Wednesday 10 January 2024 19:03:51 +0000 (0:00:00.022) 0:00:47.875 ***** 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_type1mkdl83b/tests/playbooks/tasks/run_test.yml:21 Wednesday 10 January 2024 19:03:51 +0000 (0:00:00.045) 0:00:47.921 ***** included: /WORKDIR/git-route_type1mkdl83b/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_type1mkdl83b/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 10 January 2024 19:03:51 +0000 (0:00:00.064) 0:00:47.985 ***** included: /WORKDIR/git-route_type1mkdl83b/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_type1mkdl83b/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 10 January 2024 19:03:51 +0000 (0:00:00.034) 0:00:48.020 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003225", "end": "2024-01-10 19:03:52.092015", "rc": 0, "start": "2024-01-10 19:03:52.088790" } STDOUT: dummy0 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_type1mkdl83b/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 10 January 2024 19:03:52 +0000 (0:00:00.130) 0:00:48.150 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "dummy0", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_type1mkdl83b/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 10 January 2024 19:03:52 +0000 (0:00:00.022) 0:00:48.173 ***** ok: [sut] => {} MSG: current_interfaces: ['dummy0', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_type1mkdl83b/tests/playbooks/tasks/run_test.yml:24 Wednesday 10 January 2024 19:03:52 +0000 (0:00:00.021) 0:00:48.194 ***** included: /WORKDIR/git-route_type1mkdl83b/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-route_type1mkdl83b/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-route_type1mkdl83b/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type1mkdl83b/tests/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 10 January 2024 19:03:52 +0000 (0:00:00.043) 0:00:48.238 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 10 January 2024 19:03:52 +0000 (0:00:00.036) 0:00:48.274 ***** included: /WORKDIR/git-route_type1mkdl83b/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_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 10 January 2024 19:03:52 +0000 (0:00:00.038) 0:00:48.313 ***** 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_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 10 January 2024 19:03:52 +0000 (0:00:00.026) 0:00:48.339 ***** 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_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 10 January 2024 19:03:52 +0000 (0:00:00.020) 0:00:48.360 ***** 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_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 10 January 2024 19:03:52 +0000 (0:00:00.021) 0:00:48.381 ***** 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_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 10 January 2024 19:03:53 +0000 (0:00:01.378) 0:00:49.759 ***** 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_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 10 January 2024 19:03:54 +0000 (0:00:00.569) 0:00:50.329 ***** 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_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 10 January 2024 19:03:54 +0000 (0:00:00.022) 0:00:50.351 ***** 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_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 10 January 2024 19:03:54 +0000 (0:00:00.021) 0:00:50.373 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 10 January 2024 19:03:54 +0000 (0:00:00.020) 0:00:50.394 ***** 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_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 10 January 2024 19:03:54 +0000 (0:00:00.043) 0:00:50.438 ***** 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_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 10 January 2024 19:03:54 +0000 (0:00:00.022) 0:00:50.460 ***** 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_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 10 January 2024 19:03:54 +0000 (0:00:00.021) 0:00:50.482 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 10 January 2024 19:03:54 +0000 (0:00:00.048) 0:00:50.530 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-route_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 10 January 2024 19:03:54 +0000 (0:00:00.021) 0:00:50.551 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 10 January 2024 19:03:54 +0000 (0:00:00.020) 0:00:50.572 ***** 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_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 10 January 2024 19:03:54 +0000 (0:00:00.190) 0:00:50.762 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-15060i5xcjapq/tmpha5dnfjj" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 10 January 2024 19:03:54 +0000 (0:00:00.190) 0:00:50.953 ***** 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_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 10 January 2024 19:03:55 +0000 (0:00:00.227) 0:00:51.180 ***** 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_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 10 January 2024 19:03:55 +0000 (0:00:00.022) 0:00:51.203 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 10 January 2024 19:03:55 +0000 (0:00:00.024) 0:00:51.228 ***** 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_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 10 January 2024 19:03:55 +0000 (0:00:00.026) 0:00:51.255 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 10 January 2024 19:03:55 +0000 (0:00:00.023) 0:00:51.279 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_type1mkdl83b/tests/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 10 January 2024 19:03:55 +0000 (0:00:00.127) 0:00:51.406 ***** 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_type1mkdl83b/tests/playbooks/tasks/activate_profile.yml:3 Wednesday 10 January 2024 19:03:55 +0000 (0:00:00.022) 0:00:51.428 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 10 January 2024 19:03:55 +0000 (0:00:00.034) 0:00:51.463 ***** included: /WORKDIR/git-route_type1mkdl83b/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_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 10 January 2024 19:03:55 +0000 (0:00:00.065) 0:00:51.528 ***** 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_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 10 January 2024 19:03:55 +0000 (0:00:00.026) 0:00:51.555 ***** 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_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 10 January 2024 19:03:55 +0000 (0:00:00.022) 0:00:51.577 ***** 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_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 10 January 2024 19:03:55 +0000 (0:00:00.022) 0:00:51.600 ***** 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_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 10 January 2024 19:03:56 +0000 (0:00:01.378) 0:00:52.978 ***** 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_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 10 January 2024 19:03:57 +0000 (0:00:00.561) 0:00:53.540 ***** 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_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 10 January 2024 19:03:57 +0000 (0:00:00.022) 0:00:53.563 ***** 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_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 10 January 2024 19:03:57 +0000 (0:00:00.020) 0:00:53.583 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 10 January 2024 19:03:57 +0000 (0:00:00.041) 0:00:53.625 ***** 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_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 10 January 2024 19:03:57 +0000 (0:00:00.043) 0:00:53.669 ***** 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_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 10 January 2024 19:03:57 +0000 (0:00:00.020) 0:00:53.689 ***** 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_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 10 January 2024 19:03:57 +0000 (0:00:00.021) 0:00:53.711 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 10 January 2024 19:03:57 +0000 (0:00:00.024) 0:00:53.735 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-route_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 10 January 2024 19:03:57 +0000 (0:00:00.021) 0:00:53.756 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 10 January 2024 19:03:57 +0000 (0:00:00.021) 0:00:53.778 ***** 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_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 10 January 2024 19:03:57 +0000 (0:00:00.188) 0:00:53.967 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-15060i5xcjapq/tmp_pq3kkrs" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 10 January 2024 19:03:58 +0000 (0:00:00.198) 0:00:54.165 ***** 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_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 10 January 2024 19:03:58 +0000 (0:00:00.358) 0:00:54.524 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-route_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 10 January 2024 19:03:58 +0000 (0:00:00.024) 0:00:54.549 ***** 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_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 10 January 2024 19:03:58 +0000 (0:00:00.025) 0:00:54.574 ***** 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_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 10 January 2024 19:03:58 +0000 (0:00:00.023) 0:00:54.598 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 10 January 2024 19:03:58 +0000 (0:00:00.021) 0:00:54.619 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type1mkdl83b/tests/playbooks/tasks/remove+down_profile.yml:3 Wednesday 10 January 2024 19:03:58 +0000 (0:00:00.160) 0:00:54.780 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 10 January 2024 19:03:58 +0000 (0:00:00.036) 0:00:54.816 ***** included: /WORKDIR/git-route_type1mkdl83b/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_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 10 January 2024 19:03:58 +0000 (0:00:00.041) 0:00:54.857 ***** 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_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 10 January 2024 19:03:58 +0000 (0:00:00.029) 0:00:54.887 ***** 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_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 10 January 2024 19:03:58 +0000 (0:00:00.021) 0:00:54.909 ***** 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_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 10 January 2024 19:03:58 +0000 (0:00:00.020) 0:00:54.930 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-route_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 10 January 2024 19:04:00 +0000 (0:00:01.392) 0:00:56.322 ***** 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_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 10 January 2024 19:04:00 +0000 (0:00:00.626) 0:00:56.949 ***** 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_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 10 January 2024 19:04:00 +0000 (0:00:00.023) 0:00:56.972 ***** 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_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 10 January 2024 19:04:00 +0000 (0:00:00.021) 0:00:56.993 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 10 January 2024 19:04:00 +0000 (0:00:00.022) 0:00:57.016 ***** 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_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 10 January 2024 19:04:00 +0000 (0:00:00.043) 0:00:57.059 ***** 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_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 10 January 2024 19:04:00 +0000 (0:00:00.021) 0:00:57.080 ***** 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_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 10 January 2024 19:04:00 +0000 (0:00:00.021) 0:00:57.102 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 10 January 2024 19:04:01 +0000 (0:00:00.024) 0:00:57.126 ***** 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_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 10 January 2024 19:04:01 +0000 (0:00:00.021) 0:00:57.147 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 10 January 2024 19:04:01 +0000 (0:00:00.021) 0:00:57.169 ***** 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_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 10 January 2024 19:04:01 +0000 (0:00:00.187) 0:00:57.356 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-15060i5xcjapq/tmp3ey2r8ft" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 10 January 2024 19:04:01 +0000 (0:00:00.193) 0:00:57.549 ***** 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_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 10 January 2024 19:04:01 +0000 (0:00:00.253) 0:00:57.803 ***** 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_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 10 January 2024 19:04:01 +0000 (0:00:00.055) 0:00:57.858 ***** 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_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 10 January 2024 19:04:01 +0000 (0:00:00.023) 0:00:57.882 ***** 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_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 10 January 2024 19:04:01 +0000 (0:00:00.023) 0:00:57.906 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 10 January 2024 19:04:01 +0000 (0:00:00.021) 0:00:57.927 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_type1mkdl83b/tests/playbooks/tasks/run_test.yml:30 Wednesday 10 January 2024 19:04:01 +0000 (0:00:00.130) 0:00:58.058 ***** included: /WORKDIR/git-route_type1mkdl83b/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type1mkdl83b/tests/playbooks/tasks/remove+down_profile.yml:3 Wednesday 10 January 2024 19:04:01 +0000 (0:00:00.039) 0:00:58.098 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 10 January 2024 19:04:02 +0000 (0:00:00.037) 0:00:58.135 ***** included: /WORKDIR/git-route_type1mkdl83b/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_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 10 January 2024 19:04:02 +0000 (0:00:00.041) 0:00:58.176 ***** 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_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 10 January 2024 19:04:02 +0000 (0:00:00.026) 0:00:58.203 ***** 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_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 10 January 2024 19:04:02 +0000 (0:00:00.021) 0:00:58.225 ***** 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_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 10 January 2024 19:04:02 +0000 (0:00:00.022) 0:00:58.247 ***** 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_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 10 January 2024 19:04:03 +0000 (0:00:01.464) 0:00:59.711 ***** 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_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 10 January 2024 19:04:04 +0000 (0:00:00.583) 0:01:00.295 ***** 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_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 10 January 2024 19:04:04 +0000 (0:00:00.022) 0:01:00.318 ***** 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_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 10 January 2024 19:04:04 +0000 (0:00:00.020) 0:01:00.339 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 10 January 2024 19:04:04 +0000 (0:00:00.021) 0:01:00.361 ***** 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_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 10 January 2024 19:04:04 +0000 (0:00:00.044) 0:01:00.406 ***** 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_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 10 January 2024 19:04:04 +0000 (0:00:00.023) 0:01:00.429 ***** 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_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 10 January 2024 19:04:04 +0000 (0:00:00.024) 0:01:00.453 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 10 January 2024 19:04:04 +0000 (0:00:00.025) 0:01:00.479 ***** 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_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 10 January 2024 19:04:04 +0000 (0:00:00.023) 0:01:00.502 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 10 January 2024 19:04:04 +0000 (0:00:00.021) 0:01:00.523 ***** 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_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 10 January 2024 19:04:04 +0000 (0:00:00.217) 0:01:00.741 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-15060i5xcjapq/tmp6gh3iad1" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 10 January 2024 19:04:04 +0000 (0:00:00.196) 0:01:00.938 ***** 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_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 10 January 2024 19:04:05 +0000 (0:00:00.238) 0:01:01.177 ***** 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_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 10 January 2024 19:04:05 +0000 (0:00:00.021) 0:01:01.198 ***** 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_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 10 January 2024 19:04:05 +0000 (0:00:00.022) 0:01:01.221 ***** 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_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 10 January 2024 19:04:05 +0000 (0:00:00.022) 0:01:01.243 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 10 January 2024 19:04:05 +0000 (0:00:00.021) 0:01:01.265 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_type1mkdl83b/tests/playbooks/tasks/run_test.yml:36 Wednesday 10 January 2024 19:04:05 +0000 (0:00:00.135) 0:01:01.400 ***** included: /WORKDIR/git-route_type1mkdl83b/tests/playbooks/tasks/assert_profile_absent.yml for sut included: /WORKDIR/git-route_type1mkdl83b/tests/playbooks/tasks/get_NetworkManager_NVR.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_type1mkdl83b/tests/playbooks/tasks/assert_profile_absent.yml:3 Wednesday 10 January 2024 19:04:05 +0000 (0:00:00.043) 0:01:01.444 ***** included: /WORKDIR/git-route_type1mkdl83b/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_type1mkdl83b/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 10 January 2024 19:04:05 +0000 (0:00:00.036) 0:01:01.480 ***** 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_type1mkdl83b/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 10 January 2024 19:04:05 +0000 (0:00:00.020) 0:01:01.501 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_type1mkdl83b/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 10 January 2024 19:04:05 +0000 (0:00:00.131) 0:01:01.633 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_type1mkdl83b/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 10 January 2024 19:04:05 +0000 (0:00:00.058) 0:01:01.691 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.005368", "end": "2024-01-10 19:04:05.773508", "rc": 1, "start": "2024-01-10 19:04:05.768140" } STDERR: /bin/sh: nmcli: command not found MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-route_type1mkdl83b/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 10 January 2024 19:04:05 +0000 (0:00:00.142) 0:01:01.834 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_type1mkdl83b/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 10 January 2024 19:04:05 +0000 (0:00:00.022) 0:01:01.857 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_type1mkdl83b/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 10 January 2024 19:04:05 +0000 (0:00:00.023) 0:01:01.880 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_type1mkdl83b/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 10 January 2024 19:04:05 +0000 (0:00:00.022) 0:01:01.903 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_type1mkdl83b/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 10 January 2024 19:04:05 +0000 (0:00:00.021) 0:01:01.924 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-route_type1mkdl83b/tests/playbooks/tasks/assert_profile_absent.yml:5 Wednesday 10 January 2024 19:04:05 +0000 (0:00:00.021) 0:01:01.946 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /WORKDIR/git-route_type1mkdl83b/tests/playbooks/tasks/get_NetworkManager_NVR.yml:7 Wednesday 10 January 2024 19:04:05 +0000 (0:00:00.022) 0:01:01.969 ***** ok: [sut] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.382814", "end": "2024-01-10 19:04:06.425606", "rc": 0, "start": "2024-01-10 19:04:06.042792" } TASK [Store NetworkManager version] ******************************************** task path: /WORKDIR/git-route_type1mkdl83b/tests/playbooks/tasks/get_NetworkManager_NVR.yml:14 Wednesday 10 January 2024 19:04:06 +0000 (0:00:00.516) 0:01:02.485 ***** ok: [sut] => { "ansible_facts": { "networkmanager_nvr": "" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /WORKDIR/git-route_type1mkdl83b/tests/playbooks/tasks/get_NetworkManager_NVR.yml:18 Wednesday 10 January 2024 19:04:06 +0000 (0:00:00.024) 0:01:02.510 ***** ok: [sut] => { "networkmanager_nvr": "" } TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_type1mkdl83b/tests/playbooks/tasks/run_test.yml:42 Wednesday 10 January 2024 19:04:06 +0000 (0:00:00.024) 0:01:02.535 ***** 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_type1mkdl83b/tests/playbooks/tasks/run_test.yml:47 Wednesday 10 January 2024 19:04:06 +0000 (0:00:00.026) 0:01:02.561 ***** 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_type1mkdl83b/tests/playbooks/tasks/run_test.yml:66 Wednesday 10 January 2024 19:04:06 +0000 (0:00:00.023) 0:01:02.585 ***** included: /WORKDIR/git-route_type1mkdl83b/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_type1mkdl83b/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 10 January 2024 19:04:06 +0000 (0:00:00.039) 0:01:02.624 ***** 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.025907", "end": "2024-01-10 19:04:06.732135", "rc": 0, "start": "2024-01-10 19:04:06.706228" } STDERR: /bin/sh: nmcli: command not found /bin/sh: line 1: nmcli: command not found META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=332 changed=13 unreachable=0 failed=0 skipped=227 rescued=0 ignored=10 Wednesday 10 January 2024 19:04:06 +0000 (0:00:00.158) 0:01:02.783 ***** =============================================================================== linux-system-roles.network : Check which services are running ----------- 1.76s /WORKDIR/git-route_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.47s /WORKDIR/git-route_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.46s /WORKDIR/git-route_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.45s /WORKDIR/git-route_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.42s /WORKDIR/git-route_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.42s /WORKDIR/git-route_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.41s /WORKDIR/git-route_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.41s /WORKDIR/git-route_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Configure networking connection profiles --- 1.41s /WORKDIR/git-route_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Check which services are running ----------- 1.39s /WORKDIR/git-route_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.39s /WORKDIR/git-route_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.38s /WORKDIR/git-route_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.38s /WORKDIR/git-route_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.38s /WORKDIR/git-route_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.37s /WORKDIR/git-route_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.37s /WORKDIR/git-route_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Configure networking connection profiles --- 1.31s /WORKDIR/git-route_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Enable network service --------------------- 1.09s /WORKDIR/git-route_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/main.yml:105 Gathering Facts --------------------------------------------------------- 0.98s /WORKDIR/git-route_type1mkdl83b/tests/tests_states_initscripts.yml:5 ---------- linux-system-roles.network : Ensure initscripts network file dependency is present --- 0.97s /WORKDIR/git-route_type1mkdl83b/tests/roles/linux-system-roles.network/tasks/main.yml:113 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- [WARNING]: Consider using the yum, dnf or zypper module rather than running 'rpm'. If you need to use command because yum, dnf or zypper is insufficient you can add 'warn: false' to this command task or set 'command_warnings=False' in ansible.cfg to get rid of this message. ---^---^---^---^---^---