# 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-bond_options_rewrite5p1p0b5b/tests/tests_states_initscripts.yml PLAY [Run playbook 'playbooks/tests_states.yml' with initscripts as provider] *** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/tests_states_initscripts.yml:5 Wednesday 14 February 2024 21:55:11 +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-bond_options_rewrite5p1p0b5b/tests/tests_states_initscripts.yml:8 Wednesday 14 February 2024 21:55:12 +0000 (0:00:00.908) 0:00:00.920 **** included: /WORKDIR/git-bond_options_rewrite5p1p0b5b/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-bond_options_rewrite5p1p0b5b/tests/tasks/el_repo_setup.yml:3 Wednesday 14 February 2024 21:55:12 +0000 (0:00:00.024) 0:00:00.944 **** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/tasks/el_repo_setup.yml:19 Wednesday 14 February 2024 21:55:13 +0000 (0:00:00.264) 0:00:01.209 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/tasks/el_repo_setup.yml:24 Wednesday 14 February 2024 21:55:13 +0000 (0:00:00.194) 0:00:01.404 **** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/tasks/el_repo_setup.yml:28 Wednesday 14 February 2024 21:55:13 +0000 (0:00:00.021) 0:00:01.425 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/tasks/el_repo_setup.yml:53 Wednesday 14 February 2024 21:55:13 +0000 (0:00:00.016) 0:00:01.442 **** included: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 6] *********************************************************** task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/tasks/enable_epel.yml:8 Wednesday 14 February 2024 21:55:13 +0000 (0:00:00.031) 0:00:01.473 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Install yum-utils package] *********************************************** task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/tasks/enable_epel.yml:24 Wednesday 14 February 2024 21:55:13 +0000 (0:00:00.010) 0:00:01.484 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/tasks/enable_epel.yml:30 Wednesday 14 February 2024 21:55:13 +0000 (0:00:00.010) 0:00:01.495 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/tasks/enable_epel.yml:35 Wednesday 14 February 2024 21:55:13 +0000 (0:00:00.010) 0:00:01.505 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/tasks/enable_epel.yml:40 Wednesday 14 February 2024 21:55:13 +0000 (0:00:00.010) 0:00:01.515 **** 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-bond_options_rewrite5p1p0b5b/tests/tests_states_initscripts.yml:10 Wednesday 14 February 2024 21:55:13 +0000 (0:00:00.429) 0:00:01.945 **** 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-bond_options_rewrite5p1p0b5b/tests/playbooks/tests_states.yml:3 Wednesday 14 February 2024 21:55:13 +0000 (0:00:00.011) 0:00:01.956 **** ok: [sut] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tests_states.yml:11 Wednesday 14 February 2024 21:55:14 +0000 (0:00:00.645) 0:00:02.601 **** ok: [sut] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tests_states.yml:22 Wednesday 14 February 2024 21:55:14 +0000 (0:00:00.011) 0:00:02.613 **** included: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile] ******************************************** task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/run_test.yml:5 Wednesday 14 February 2024 21:55:14 +0000 (0:00:00.017) 0:00:02.631 **** ok: [sut] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/run_test.yml:9 Wednesday 14 February 2024 21:55:14 +0000 (0:00:00.011) 0:00:02.642 **** 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-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/run_test.yml:21 Wednesday 14 February 2024 21:55:14 +0000 (0:00:00.035) 0:00:02.678 **** included: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 21:55:14 +0000 (0:00:00.017) 0:00:02.695 **** included: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 21:55:14 +0000 (0:00:00.015) 0:00:02.711 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003535", "end": "2024-02-14 21:55:14.530371", "rc": 0, "start": "2024-02-14 21:55:14.526836" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 21:55:14 +0000 (0:00:00.201) 0:00:02.913 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 21:55:14 +0000 (0:00:00.012) 0:00:02.925 **** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/run_test.yml:24 Wednesday 14 February 2024 21:55:14 +0000 (0:00:00.011) 0:00:02.937 **** included: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/delete_interface.yml:3 Wednesday 14 February 2024 21:55:14 +0000 (0:00:00.022) 0:00:02.960 **** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.027935", "end": "2024-02-14 21:55:14.734686", "rc": 255, "start": "2024-02-14 21:55:14.706751" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/assert_device_absent.yml:3 Wednesday 14 February 2024 21:55:15 +0000 (0:00:00.156) 0:00:03.116 **** included: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 14 February 2024 21:55:15 +0000 (0:00:00.017) 0:00:03.133 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/assert_device_absent.yml:5 Wednesday 14 February 2024 21:55:15 +0000 (0:00:00.129) 0:00:03.263 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/run_test.yml:30 Wednesday 14 February 2024 21:55:15 +0000 (0:00:00.014) 0:00:03.278 **** included: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 14 February 2024 21:55:15 +0000 (0:00:00.020) 0:00:03.298 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 21:55:15 +0000 (0:00:00.034) 0:00:03.333 **** included: /WORKDIR/git-bond_options_rewrite5p1p0b5b/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-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 21:55:15 +0000 (0:00:00.069) 0:00:03.403 **** 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-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 21:55:15 +0000 (0:00:00.013) 0:00:03.416 **** 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-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 21:55:15 +0000 (0:00:00.010) 0:00:03.427 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 21:55:15 +0000 (0:00:00.010) 0:00:03.437 **** 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-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 21:55:17 +0000 (0:00:01.800) 0:00:05.237 **** 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-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 21:55:17 +0000 (0:00:00.753) 0:00:05.991 **** 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-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 21:55:17 +0000 (0:00:00.022) 0:00:06.014 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 21:55:17 +0000 (0:00:00.021) 0:00:06.036 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 21:55:17 +0000 (0:00:00.020) 0:00:06.056 **** 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-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 21:55:18 +0000 (0:00:00.057) 0:00:06.113 **** 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-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 21:55:18 +0000 (0:00:00.020) 0:00:06.134 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 21:55:18 +0000 (0:00:00.021) 0:00:06.156 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 21:55:18 +0000 (0:00:00.024) 0:00:06.181 **** 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-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 21:55:18 +0000 (0:00:00.022) 0:00:06.203 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 21:55:18 +0000 (0:00:00.021) 0:00:06.225 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 21:55:18 +0000 (0:00:00.288) 0:00:06.513 **** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-147128cl0oy4h/tmpwo_k649r" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 21:55:18 +0000 (0:00:00.209) 0:00:06.722 **** 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-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 21:55:19 +0000 (0:00:00.380) 0:00:07.103 **** 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-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 21:55:19 +0000 (0:00:00.020) 0:00:07.123 **** 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-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 21:55:19 +0000 (0:00:00.021) 0:00:07.145 **** 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-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 21:55:19 +0000 (0:00:00.021) 0:00:07.166 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 21:55:19 +0000 (0:00:00.019) 0:00:07.186 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 14 February 2024 21:55:19 +0000 (0:00:00.202) 0:00:07.389 **** 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-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/run_test.yml:36 Wednesday 14 February 2024 21:55:19 +0000 (0:00:00.042) 0:00:07.431 **** included: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/assert_profile_present.yml:3 Wednesday 14 February 2024 21:55:19 +0000 (0:00:00.039) 0:00:07.470 **** included: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 14 February 2024 21:55:19 +0000 (0:00:00.036) 0:00:07.507 **** 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-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 14 February 2024 21:55:19 +0000 (0:00:00.020) 0:00:07.528 **** ok: [sut] => { "changed": false, "stat": { "atime": 1707947718.7127445, "block_size": 4096, "blocks": 8, "ctime": 1707947718.7127445, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 18845, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1707947718.7127445, "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-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 14 February 2024 21:55:19 +0000 (0:00:00.138) 0:00:07.666 **** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 14 February 2024 21:55:19 +0000 (0:00:00.021) 0:00:07.688 **** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.005246", "end": "2024-02-14 21:55:19.443873", "rc": 1, "start": "2024-02-14 21:55:19.438627" } 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-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 14 February 2024 21:55:19 +0000 (0:00:00.142) 0:00:07.831 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 14 February 2024 21:55:19 +0000 (0:00:00.021) 0:00:07.852 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003376", "end": "2024-02-14 21:55:19.608914", "rc": 0, "start": "2024-02-14 21:55:19.605538" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 14 February 2024 21:55:19 +0000 (0:00:00.146) 0:00:07.999 **** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 14 February 2024 21:55:19 +0000 (0:00:00.025) 0:00:08.024 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003374", "end": "2024-02-14 21:55:19.780527", "rc": 0, "start": "2024-02-14 21:55:19.777153" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 14 February 2024 21:55:20 +0000 (0:00:00.145) 0:00:08.170 **** ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/assert_profile_present.yml:5 Wednesday 14 February 2024 21:55:20 +0000 (0:00:00.025) 0:00:08.196 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/assert_profile_present.yml:10 Wednesday 14 February 2024 21:55:20 +0000 (0:00:00.023) 0:00:08.219 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/assert_profile_present.yml:15 Wednesday 14 February 2024 21:55:20 +0000 (0:00:00.023) 0:00:08.242 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/run_test.yml:42 Wednesday 14 February 2024 21:55:20 +0000 (0:00:00.059) 0:00:08.302 **** 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-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/run_test.yml:47 Wednesday 14 February 2024 21:55:20 +0000 (0:00:00.025) 0:00:08.327 **** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/run_test.yml:66 Wednesday 14 February 2024 21:55:20 +0000 (0:00:00.020) 0:00:08.348 **** included: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 14 February 2024 21:55:20 +0000 (0:00:00.040) 0:00:08.388 **** 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.013701", "end": "2024-02-14 21:55:20.153529", "rc": 255, "start": "2024-02-14 21:55:20.139828" } 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-bond_options_rewrite5p1p0b5b/tests/playbooks/tests_states.yml:45 Wednesday 14 February 2024 21:55:20 +0000 (0:00:00.153) 0:00:08.541 **** included: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile without autoconnect] ************************ task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/run_test.yml:5 Wednesday 14 February 2024 21:55:20 +0000 (0:00:00.034) 0:00:08.576 **** ok: [sut] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/run_test.yml:9 Wednesday 14 February 2024 21:55:20 +0000 (0:00:00.020) 0:00:08.596 **** 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-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/run_test.yml:21 Wednesday 14 February 2024 21:55:20 +0000 (0:00:00.043) 0:00:08.640 **** included: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 21:55:20 +0000 (0:00:00.034) 0:00:08.674 **** included: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 21:55:20 +0000 (0:00:00.032) 0:00:08.707 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003485", "end": "2024-02-14 21:55:20.462239", "rc": 0, "start": "2024-02-14 21:55:20.458754" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 21:55:20 +0000 (0:00:00.143) 0:00:08.850 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 21:55:20 +0000 (0:00:00.021) 0:00:08.872 **** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/run_test.yml:24 Wednesday 14 February 2024 21:55:20 +0000 (0:00:00.041) 0:00:08.913 **** included: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/delete_interface.yml:3 Wednesday 14 February 2024 21:55:20 +0000 (0:00:00.040) 0:00:08.953 **** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.004930", "end": "2024-02-14 21:55:20.709033", "rc": 255, "start": "2024-02-14 21:55:20.704103" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/assert_device_absent.yml:3 Wednesday 14 February 2024 21:55:21 +0000 (0:00:00.141) 0:00:09.095 **** included: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 14 February 2024 21:55:21 +0000 (0:00:00.034) 0:00:09.129 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/assert_device_absent.yml:5 Wednesday 14 February 2024 21:55:21 +0000 (0:00:00.142) 0:00:09.271 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/run_test.yml:30 Wednesday 14 February 2024 21:55:21 +0000 (0:00:00.023) 0:00:09.294 **** included: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Wednesday 14 February 2024 21:55:21 +0000 (0:00:00.037) 0:00:09.332 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 21:55:21 +0000 (0:00:00.039) 0:00:09.372 **** included: /WORKDIR/git-bond_options_rewrite5p1p0b5b/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-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 21:55:21 +0000 (0:00:00.039) 0:00:09.411 **** 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-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 21:55:21 +0000 (0:00:00.025) 0:00:09.436 **** 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-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 21:55:21 +0000 (0:00:00.020) 0:00:09.457 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 21:55:21 +0000 (0:00:00.046) 0:00:09.504 **** 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-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 21:55:22 +0000 (0:00:01.571) 0:00:11.075 **** 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-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 21:55:23 +0000 (0:00:00.619) 0:00:11.695 **** 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-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 21:55:23 +0000 (0:00:00.022) 0:00:11.717 **** 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-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 21:55:23 +0000 (0:00:00.021) 0:00:11.739 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 21:55:23 +0000 (0:00:00.019) 0:00:11.759 **** 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-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 21:55:23 +0000 (0:00:00.061) 0:00:11.820 **** 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-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 21:55:23 +0000 (0:00:00.020) 0:00:11.841 **** 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-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 21:55:23 +0000 (0:00:00.020) 0:00:11.861 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 21:55:23 +0000 (0:00:00.024) 0:00:11.886 **** 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-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 21:55:23 +0000 (0:00:00.020) 0:00:11.907 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 21:55:23 +0000 (0:00:00.020) 0:00:11.927 **** 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-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 21:55:24 +0000 (0:00:00.202) 0:00:12.129 **** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-147128cl0oy4h/tmpw45scrv7" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 21:55:24 +0000 (0:00:00.207) 0:00:12.337 **** 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-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 21:55:24 +0000 (0:00:00.258) 0:00:12.595 **** 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-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 21:55:24 +0000 (0:00:00.021) 0:00:12.616 **** 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-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 21:55:24 +0000 (0:00:00.021) 0:00:12.638 **** 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-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 21:55:24 +0000 (0:00:00.021) 0:00:12.660 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 21:55:24 +0000 (0:00:00.019) 0:00:12.680 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Wednesday 14 February 2024 21:55:24 +0000 (0:00:00.132) 0:00:12.813 **** 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-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/run_test.yml:36 Wednesday 14 February 2024 21:55:24 +0000 (0:00:00.021) 0:00:12.834 **** included: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/assert_device_absent.yml for sut included: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/assert_device_absent.yml:3 Wednesday 14 February 2024 21:55:24 +0000 (0:00:00.064) 0:00:12.899 **** included: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 14 February 2024 21:55:24 +0000 (0:00:00.034) 0:00:12.934 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/assert_device_absent.yml:5 Wednesday 14 February 2024 21:55:24 +0000 (0:00:00.137) 0:00:13.072 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/assert_profile_present.yml:3 Wednesday 14 February 2024 21:55:25 +0000 (0:00:00.023) 0:00:13.095 **** included: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 14 February 2024 21:55:25 +0000 (0:00:00.038) 0:00:13.133 **** 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-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 14 February 2024 21:55:25 +0000 (0:00:00.021) 0:00:13.155 **** ok: [sut] => { "changed": false, "stat": { "atime": 1707947724.2054894, "block_size": 4096, "blocks": 8, "ctime": 1707947724.2054894, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 18845, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1707947724.2054894, "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-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 14 February 2024 21:55:25 +0000 (0:00:00.140) 0:00:13.295 **** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 14 February 2024 21:55:25 +0000 (0:00:00.022) 0:00:13.317 **** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.005468", "end": "2024-02-14 21:55:25.075955", "rc": 1, "start": "2024-02-14 21:55:25.070487" } 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-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 14 February 2024 21:55:25 +0000 (0:00:00.143) 0:00:13.461 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 14 February 2024 21:55:25 +0000 (0:00:00.021) 0:00:13.483 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003355", "end": "2024-02-14 21:55:25.241270", "rc": 0, "start": "2024-02-14 21:55:25.237915" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 14 February 2024 21:55:25 +0000 (0:00:00.145) 0:00:13.628 **** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 14 February 2024 21:55:25 +0000 (0:00:00.025) 0:00:13.653 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003411", "end": "2024-02-14 21:55:25.416902", "rc": 0, "start": "2024-02-14 21:55:25.413491" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 14 February 2024 21:55:25 +0000 (0:00:00.174) 0:00:13.828 **** ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/assert_profile_present.yml:5 Wednesday 14 February 2024 21:55:25 +0000 (0:00:00.026) 0:00:13.854 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/assert_profile_present.yml:10 Wednesday 14 February 2024 21:55:25 +0000 (0:00:00.024) 0:00:13.878 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/assert_profile_present.yml:15 Wednesday 14 February 2024 21:55:25 +0000 (0:00:00.023) 0:00:13.902 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/run_test.yml:42 Wednesday 14 February 2024 21:55:25 +0000 (0:00:00.021) 0:00:13.924 **** TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/run_test.yml:47 Wednesday 14 February 2024 21:55:25 +0000 (0:00:00.018) 0:00:13.942 **** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/run_test.yml:66 Wednesday 14 February 2024 21:55:25 +0000 (0:00:00.022) 0:00:13.964 **** included: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 14 February 2024 21:55:25 +0000 (0:00:00.038) 0:00:14.003 **** 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.013431", "end": "2024-02-14 21:55:25.771594", "rc": 255, "start": "2024-02-14 21:55:25.758163" } 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-bond_options_rewrite5p1p0b5b/tests/playbooks/tests_states.yml:65 Wednesday 14 February 2024 21:55:26 +0000 (0:00:00.153) 0:00:14.156 **** included: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can activate an existing profile] ******************************** task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/run_test.yml:5 Wednesday 14 February 2024 21:55:26 +0000 (0:00:00.035) 0:00:14.192 **** ok: [sut] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/run_test.yml:9 Wednesday 14 February 2024 21:55:26 +0000 (0:00:00.022) 0:00:14.214 **** 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-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/run_test.yml:21 Wednesday 14 February 2024 21:55:26 +0000 (0:00:00.044) 0:00:14.258 **** included: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 21:55:26 +0000 (0:00:00.033) 0:00:14.292 **** included: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 21:55:26 +0000 (0:00:00.058) 0:00:14.351 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003852", "end": "2024-02-14 21:55:26.110692", "rc": 0, "start": "2024-02-14 21:55:26.106840" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 21:55:26 +0000 (0:00:00.144) 0:00:14.496 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 21:55:26 +0000 (0:00:00.022) 0:00:14.519 **** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/run_test.yml:24 Wednesday 14 February 2024 21:55:26 +0000 (0:00:00.021) 0:00:14.540 **** included: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 14 February 2024 21:55:26 +0000 (0:00:00.036) 0:00:14.577 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 21:55:26 +0000 (0:00:00.035) 0:00:14.612 **** included: /WORKDIR/git-bond_options_rewrite5p1p0b5b/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-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 21:55:26 +0000 (0:00:00.038) 0:00:14.651 **** 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-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 21:55:26 +0000 (0:00:00.025) 0:00:14.676 **** 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-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 21:55:26 +0000 (0:00:00.020) 0:00:14.697 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 21:55:26 +0000 (0:00:00.021) 0:00:14.718 **** 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-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 21:55:28 +0000 (0:00:01.512) 0:00:16.230 **** 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-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 21:55:28 +0000 (0:00:00.606) 0:00:16.837 **** 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-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 21:55:28 +0000 (0:00:00.022) 0:00:16.859 **** 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-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 21:55:28 +0000 (0:00:00.021) 0:00:16.880 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 21:55:28 +0000 (0:00:00.021) 0:00:16.902 **** 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-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 21:55:28 +0000 (0:00:00.043) 0:00:16.946 **** 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-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 21:55:28 +0000 (0:00:00.021) 0:00:16.967 **** 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-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 21:55:28 +0000 (0:00:00.021) 0:00:16.989 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 21:55:28 +0000 (0:00:00.024) 0:00:17.013 **** 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-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 21:55:28 +0000 (0:00:00.021) 0:00:17.035 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 21:55:28 +0000 (0:00:00.044) 0:00:17.079 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 21:55:29 +0000 (0:00:00.204) 0:00:17.283 **** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-147128cl0oy4h/tmpgfypu31w" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 21:55:29 +0000 (0:00:00.208) 0:00:17.492 **** 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-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 21:55:29 +0000 (0:00:00.252) 0:00:17.745 **** 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-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 21:55:29 +0000 (0:00:00.021) 0:00:17.766 **** 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-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 21:55:29 +0000 (0:00:00.021) 0:00:17.788 **** 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-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 21:55:29 +0000 (0:00:00.022) 0:00:17.810 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 21:55:29 +0000 (0:00:00.019) 0:00:17.829 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 14 February 2024 21:55:29 +0000 (0:00:00.133) 0:00:17.963 **** 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-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/run_test.yml:30 Wednesday 14 February 2024 21:55:29 +0000 (0:00:00.022) 0:00:17.985 **** included: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/activate_profile.yml:3 Wednesday 14 February 2024 21:55:29 +0000 (0:00:00.037) 0:00:18.022 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 21:55:29 +0000 (0:00:00.039) 0:00:18.061 **** included: /WORKDIR/git-bond_options_rewrite5p1p0b5b/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-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 21:55:30 +0000 (0:00:00.063) 0:00:18.124 **** 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-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 21:55:30 +0000 (0:00:00.026) 0:00:18.151 **** 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-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 21:55:30 +0000 (0:00:00.021) 0:00:18.173 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 21:55:30 +0000 (0:00:00.021) 0:00:18.194 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 21:55:31 +0000 (0:00:01.499) 0:00:19.693 **** 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-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 21:55:32 +0000 (0:00:00.602) 0:00:20.296 **** 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-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 21:55:32 +0000 (0:00:00.041) 0:00:20.338 **** 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-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 21:55:32 +0000 (0:00:00.021) 0:00:20.359 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 21:55:32 +0000 (0:00:00.021) 0:00:20.381 **** 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-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 21:55:32 +0000 (0:00:00.042) 0:00:20.423 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 21:55:32 +0000 (0:00:00.021) 0:00:20.444 **** 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-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 21:55:32 +0000 (0:00:00.021) 0:00:20.466 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 21:55:32 +0000 (0:00:00.024) 0:00:20.491 **** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 21:55:32 +0000 (0:00:00.021) 0:00:20.512 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 21:55:32 +0000 (0:00:00.020) 0:00:20.533 **** 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-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 21:55:32 +0000 (0:00:00.201) 0:00:20.735 **** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-147128cl0oy4h/tmp800_czsh" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 21:55:32 +0000 (0:00:00.206) 0:00:20.942 **** 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-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 21:55:33 +0000 (0:00:00.389) 0:00:21.332 **** 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-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 21:55:33 +0000 (0:00:00.020) 0:00:21.353 **** 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-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 21:55:33 +0000 (0:00:00.022) 0:00:21.375 **** 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-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 21:55:33 +0000 (0:00:00.021) 0:00:21.396 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 21:55:33 +0000 (0:00:00.042) 0:00:21.439 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/run_test.yml:36 Wednesday 14 February 2024 21:55:33 +0000 (0:00:00.140) 0:00:21.580 **** included: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 14 February 2024 21:55:33 +0000 (0:00:00.041) 0:00:21.622 **** included: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 14 February 2024 21:55:33 +0000 (0:00:00.034) 0:00:21.657 **** ok: [sut] => { "changed": false, "stat": { "atime": 1707947732.868819, "block_size": 4096, "blocks": 0, "ctime": 1707947732.8638165, "dev": 0, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 6521, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/sys/devices/virtual/net/statebr", "lnk_target": "../../devices/virtual/net/statebr", "mode": "0777", "mtime": 1707947732.8638165, "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-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/assert_device_present.yml:5 Wednesday 14 February 2024 21:55:33 +0000 (0:00:00.140) 0:00:21.797 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/assert_profile_present.yml:3 Wednesday 14 February 2024 21:55:33 +0000 (0:00:00.023) 0:00:21.820 **** included: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 14 February 2024 21:55:33 +0000 (0:00:00.035) 0:00:21.856 **** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 14 February 2024 21:55:33 +0000 (0:00:00.021) 0:00:21.877 **** ok: [sut] => { "changed": false, "stat": { "atime": 1707947730.9128413, "block_size": 4096, "blocks": 8, "ctime": 1707947729.3590648, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 18845, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1707947729.3590648, "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-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 14 February 2024 21:55:33 +0000 (0:00:00.138) 0:00:22.015 **** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 14 February 2024 21:55:33 +0000 (0:00:00.022) 0:00:22.038 **** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.005548", "end": "2024-02-14 21:55:33.802480", "rc": 1, "start": "2024-02-14 21:55:33.796932" } 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-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 14 February 2024 21:55:34 +0000 (0:00:00.143) 0:00:22.182 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 14 February 2024 21:55:34 +0000 (0:00:00.022) 0:00:22.204 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003343", "end": "2024-02-14 21:55:33.969745", "rc": 0, "start": "2024-02-14 21:55:33.966402" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 14 February 2024 21:55:34 +0000 (0:00:00.174) 0:00:22.379 **** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 14 February 2024 21:55:34 +0000 (0:00:00.026) 0:00:22.406 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003366", "end": "2024-02-14 21:55:34.171389", "rc": 0, "start": "2024-02-14 21:55:34.168023" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 14 February 2024 21:55:34 +0000 (0:00:00.148) 0:00:22.554 **** ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/assert_profile_present.yml:5 Wednesday 14 February 2024 21:55:34 +0000 (0:00:00.026) 0:00:22.581 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/assert_profile_present.yml:10 Wednesday 14 February 2024 21:55:34 +0000 (0:00:00.023) 0:00:22.604 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/assert_profile_present.yml:15 Wednesday 14 February 2024 21:55:34 +0000 (0:00:00.023) 0:00:22.628 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/run_test.yml:42 Wednesday 14 February 2024 21:55:34 +0000 (0:00:00.023) 0:00:22.651 **** TASK [Success in test 'I can activate an existing profile'] ******************** task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/run_test.yml:47 Wednesday 14 February 2024 21:55:34 +0000 (0:00:00.020) 0:00:22.671 **** ok: [sut] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/run_test.yml:66 Wednesday 14 February 2024 21:55:34 +0000 (0:00:00.021) 0:00:22.693 **** included: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 14 February 2024 21:55:34 +0000 (0:00:00.039) 0:00:22.732 **** 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.017657", "end": "2024-02-14 21:55:34.509348", "rc": 0, "start": "2024-02-14 21:55:34.491691" } 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-bond_options_rewrite5p1p0b5b/tests/playbooks/tests_states.yml:83 Wednesday 14 February 2024 21:55:34 +0000 (0:00:00.164) 0:00:22.897 **** included: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can remove an existing profile without taking it down] *********** task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/run_test.yml:5 Wednesday 14 February 2024 21:55:34 +0000 (0:00:00.035) 0:00:22.932 **** ok: [sut] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/run_test.yml:9 Wednesday 14 February 2024 21:55:34 +0000 (0:00:00.021) 0:00:22.954 **** 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-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/run_test.yml:21 Wednesday 14 February 2024 21:55:34 +0000 (0:00:00.043) 0:00:22.998 **** included: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 21:55:34 +0000 (0:00:00.059) 0:00:23.057 **** included: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 21:55:35 +0000 (0:00:00.033) 0:00:23.091 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003487", "end": "2024-02-14 21:55:34.853898", "rc": 0, "start": "2024-02-14 21:55:34.850411" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 21:55:35 +0000 (0:00:00.144) 0:00:23.235 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 21:55:35 +0000 (0:00:00.022) 0:00:23.257 **** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/run_test.yml:24 Wednesday 14 February 2024 21:55:35 +0000 (0:00:00.021) 0:00:23.279 **** included: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 14 February 2024 21:55:35 +0000 (0:00:00.040) 0:00:23.319 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 21:55:35 +0000 (0:00:00.035) 0:00:23.354 **** included: /WORKDIR/git-bond_options_rewrite5p1p0b5b/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-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 21:55:35 +0000 (0:00:00.039) 0:00:23.394 **** 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-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 21:55:35 +0000 (0:00:00.025) 0:00:23.419 **** 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-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 21:55:35 +0000 (0:00:00.021) 0:00:23.441 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 21:55:35 +0000 (0:00:00.020) 0:00:23.462 **** 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-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 21:55:36 +0000 (0:00:01.545) 0:00:25.007 **** 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-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 21:55:37 +0000 (0:00:00.612) 0:00:25.619 **** 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-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 21:55:37 +0000 (0:00:00.023) 0:00:25.643 **** 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-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 21:55:37 +0000 (0:00:00.021) 0:00:25.664 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 21:55:37 +0000 (0:00:00.022) 0:00:25.687 **** 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-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 21:55:37 +0000 (0:00:00.043) 0:00:25.730 **** 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-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 21:55:37 +0000 (0:00:00.022) 0:00:25.753 **** 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-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 21:55:37 +0000 (0:00:00.024) 0:00:25.777 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 21:55:37 +0000 (0:00:00.065) 0:00:25.843 **** 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-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 21:55:37 +0000 (0:00:00.021) 0:00:25.865 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 21:55:37 +0000 (0:00:00.020) 0:00:25.886 **** 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-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 21:55:38 +0000 (0:00:00.202) 0:00:26.088 **** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-147128cl0oy4h/tmpdj4_aj3y" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 21:55:38 +0000 (0:00:00.213) 0:00:26.302 **** 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-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 21:55:38 +0000 (0:00:00.252) 0:00:26.555 **** 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-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 21:55:38 +0000 (0:00:00.020) 0:00:26.576 **** 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-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 21:55:38 +0000 (0:00:00.022) 0:00:26.598 **** 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-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 21:55:38 +0000 (0:00:00.022) 0:00:26.620 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 21:55:38 +0000 (0:00:00.020) 0:00:26.640 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 14 February 2024 21:55:38 +0000 (0:00:00.133) 0:00:26.774 **** 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-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/activate_profile.yml:3 Wednesday 14 February 2024 21:55:38 +0000 (0:00:00.022) 0:00:26.797 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 21:55:38 +0000 (0:00:00.034) 0:00:26.831 **** included: /WORKDIR/git-bond_options_rewrite5p1p0b5b/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-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 21:55:38 +0000 (0:00:00.064) 0:00:26.896 **** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 21:55:38 +0000 (0:00:00.025) 0:00:26.921 **** 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-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 21:55:38 +0000 (0:00:00.020) 0:00:26.942 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 21:55:38 +0000 (0:00:00.021) 0:00:26.964 **** 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-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 21:55:40 +0000 (0:00:01.520) 0:00:28.484 **** 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-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 21:55:41 +0000 (0:00:00.630) 0:00:29.114 **** 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-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 21:55:41 +0000 (0:00:00.022) 0:00:29.137 **** 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-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 21:55:41 +0000 (0:00:00.021) 0:00:29.159 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 21:55:41 +0000 (0:00:00.022) 0:00:29.181 **** 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-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 21:55:41 +0000 (0:00:00.043) 0:00:29.225 **** 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-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 21:55:41 +0000 (0:00:00.021) 0:00:29.246 **** 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-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 21:55:41 +0000 (0:00:00.020) 0:00:29.266 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 21:55:41 +0000 (0:00:00.024) 0:00:29.291 **** 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-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 21:55:41 +0000 (0:00:00.020) 0:00:29.311 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 21:55:41 +0000 (0:00:00.019) 0:00:29.331 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 21:55:41 +0000 (0:00:00.204) 0:00:29.535 **** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-147128cl0oy4h/tmpp7koutun" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 21:55:41 +0000 (0:00:00.210) 0:00:29.746 **** 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-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 21:55:42 +0000 (0:00:00.374) 0:00:30.120 **** 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-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 21:55:42 +0000 (0:00:00.020) 0:00:30.141 **** 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-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 21:55:42 +0000 (0:00:00.022) 0:00:30.164 **** 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-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 21:55:42 +0000 (0:00:00.021) 0:00:30.185 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 21:55:42 +0000 (0:00:00.044) 0:00:30.230 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/run_test.yml:30 Wednesday 14 February 2024 21:55:42 +0000 (0:00:00.135) 0:00:30.366 **** included: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/remove_profile.yml:3 Wednesday 14 February 2024 21:55:42 +0000 (0:00:00.038) 0:00:30.404 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 21:55:42 +0000 (0:00:00.039) 0:00:30.443 **** included: /WORKDIR/git-bond_options_rewrite5p1p0b5b/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-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 21:55:42 +0000 (0:00:00.038) 0:00:30.482 **** 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-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 21:55:42 +0000 (0:00:00.025) 0:00:30.507 **** 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-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 21:55:42 +0000 (0:00:00.020) 0:00:30.528 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 21:55:42 +0000 (0:00:00.020) 0:00:30.549 **** 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-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 21:55:43 +0000 (0:00:01.508) 0:00:32.057 **** 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-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 21:55:44 +0000 (0:00:00.602) 0:00:32.660 **** ok: [sut] => {} MSG: Using network provider: initscripts TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 21:55:44 +0000 (0:00:00.022) 0:00:32.683 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 21:55:44 +0000 (0:00:00.021) 0:00:32.704 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 21:55:44 +0000 (0:00:00.021) 0:00:32.726 **** 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-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 21:55:44 +0000 (0:00:00.042) 0:00:32.768 **** 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-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 21:55:44 +0000 (0:00:00.021) 0:00:32.789 **** 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-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 21:55:44 +0000 (0:00:00.021) 0:00:32.810 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 21:55:44 +0000 (0:00:00.023) 0:00:32.834 **** 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-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 21:55:44 +0000 (0:00:00.021) 0:00:32.855 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 21:55:44 +0000 (0:00:00.021) 0:00:32.876 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 21:55:45 +0000 (0:00:00.224) 0:00:33.100 **** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-147128cl0oy4h/tmpruyjk2vp" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 21:55:45 +0000 (0:00:00.208) 0:00:33.309 **** 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-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 21:55:45 +0000 (0:00:00.256) 0:00:33.565 **** 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-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 21:55:45 +0000 (0:00:00.021) 0:00:33.587 **** 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-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 21:55:45 +0000 (0:00:00.022) 0:00:33.609 **** 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-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 21:55:45 +0000 (0:00:00.022) 0:00:33.632 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 21:55:45 +0000 (0:00:00.020) 0:00:33.653 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/run_test.yml:36 Wednesday 14 February 2024 21:55:45 +0000 (0:00:00.132) 0:00:33.785 **** included: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 14 February 2024 21:55:45 +0000 (0:00:00.042) 0:00:33.828 **** included: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 14 February 2024 21:55:45 +0000 (0:00:00.034) 0:00:33.863 **** ok: [sut] => { "changed": false, "stat": { "atime": 1707947741.671218, "block_size": 4096, "blocks": 0, "ctime": 1707947741.6702175, "dev": 0, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 6521, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/sys/devices/virtual/net/statebr", "lnk_target": "../../devices/virtual/net/statebr", "mode": "0777", "mtime": 1707947741.6702175, "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-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/assert_device_present.yml:5 Wednesday 14 February 2024 21:55:45 +0000 (0:00:00.140) 0:00:34.003 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/assert_profile_absent.yml:3 Wednesday 14 February 2024 21:55:45 +0000 (0:00:00.023) 0:00:34.026 **** included: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 14 February 2024 21:55:46 +0000 (0:00:00.061) 0:00:34.088 **** 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-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 14 February 2024 21:55:46 +0000 (0:00:00.022) 0:00:34.110 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 14 February 2024 21:55:46 +0000 (0:00:00.137) 0:00:34.247 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 14 February 2024 21:55:46 +0000 (0:00:00.021) 0:00:34.269 **** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.005635", "end": "2024-02-14 21:55:46.039913", "rc": 1, "start": "2024-02-14 21:55:46.034278" } 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-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 14 February 2024 21:55:46 +0000 (0:00:00.146) 0:00:34.415 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 14 February 2024 21:55:46 +0000 (0:00:00.023) 0:00:34.438 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 14 February 2024 21:55:46 +0000 (0:00:00.023) 0:00:34.462 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 14 February 2024 21:55:46 +0000 (0:00:00.023) 0:00:34.485 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 14 February 2024 21:55:46 +0000 (0:00:00.022) 0:00:34.507 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/assert_profile_absent.yml:5 Wednesday 14 February 2024 21:55:46 +0000 (0:00:00.023) 0:00:34.530 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/run_test.yml:42 Wednesday 14 February 2024 21:55:46 +0000 (0:00:00.023) 0:00:34.554 **** TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/run_test.yml:47 Wednesday 14 February 2024 21:55:46 +0000 (0:00:00.019) 0:00:34.573 **** ok: [sut] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/run_test.yml:66 Wednesday 14 February 2024 21:55:46 +0000 (0:00:00.022) 0:00:34.596 **** included: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 14 February 2024 21:55:46 +0000 (0:00:00.038) 0:00:34.634 **** 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.018050", "end": "2024-02-14 21:55:46.420341", "rc": 0, "start": "2024-02-14 21:55:46.402291" } 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-bond_options_rewrite5p1p0b5b/tests/playbooks/tests_states.yml:103 Wednesday 14 February 2024 21:55:46 +0000 (0:00:00.167) 0:00:34.802 **** included: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can take a profile down that is absent] ************************** task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/run_test.yml:5 Wednesday 14 February 2024 21:55:46 +0000 (0:00:00.064) 0:00:34.867 **** ok: [sut] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/run_test.yml:9 Wednesday 14 February 2024 21:55:46 +0000 (0:00:00.022) 0:00:34.889 **** 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-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/run_test.yml:21 Wednesday 14 February 2024 21:55:46 +0000 (0:00:00.046) 0:00:34.936 **** included: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 21:55:46 +0000 (0:00:00.034) 0:00:34.970 **** included: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 21:55:46 +0000 (0:00:00.033) 0:00:35.003 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003539", "end": "2024-02-14 21:55:46.772090", "rc": 0, "start": "2024-02-14 21:55:46.768551" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 21:55:47 +0000 (0:00:00.143) 0:00:35.147 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 21:55:47 +0000 (0:00:00.022) 0:00:35.170 **** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/run_test.yml:24 Wednesday 14 February 2024 21:55:47 +0000 (0:00:00.022) 0:00:35.192 **** included: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 14 February 2024 21:55:47 +0000 (0:00:00.043) 0:00:35.236 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 21:55:47 +0000 (0:00:00.034) 0:00:35.271 **** included: /WORKDIR/git-bond_options_rewrite5p1p0b5b/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-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 21:55:47 +0000 (0:00:00.066) 0:00:35.337 **** 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-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 21:55:47 +0000 (0:00:00.026) 0:00:35.363 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 21:55:47 +0000 (0:00:00.022) 0:00:35.386 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 21:55:47 +0000 (0:00:00.021) 0:00:35.407 **** 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-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 21:55:48 +0000 (0:00:01.511) 0:00:36.918 **** 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-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 21:55:49 +0000 (0:00:00.604) 0:00:37.522 **** ok: [sut] => {} MSG: Using network provider: initscripts TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 21:55:49 +0000 (0:00:00.021) 0:00:37.544 **** 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-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 21:55:49 +0000 (0:00:00.040) 0:00:37.584 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 21:55:49 +0000 (0:00:00.021) 0:00:37.606 **** 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-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 21:55:49 +0000 (0:00:00.042) 0:00:37.649 **** 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-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 21:55:49 +0000 (0:00:00.021) 0:00:37.670 **** 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-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 21:55:49 +0000 (0:00:00.020) 0:00:37.691 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 21:55:49 +0000 (0:00:00.025) 0:00:37.716 **** 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-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 21:55:49 +0000 (0:00:00.021) 0:00:37.737 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 21:55:49 +0000 (0:00:00.021) 0:00:37.758 **** 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-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 21:55:49 +0000 (0:00:00.202) 0:00:37.961 **** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-147128cl0oy4h/tmp903dp7yl" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 21:55:50 +0000 (0:00:00.207) 0:00:38.168 **** 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-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 21:55:50 +0000 (0:00:00.256) 0:00:38.425 **** 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-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 21:55:50 +0000 (0:00:00.020) 0:00:38.446 **** 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-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 21:55:50 +0000 (0:00:00.023) 0:00:38.470 **** 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-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 21:55:50 +0000 (0:00:00.023) 0:00:38.494 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 21:55:50 +0000 (0:00:00.020) 0:00:38.514 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 14 February 2024 21:55:50 +0000 (0:00:00.158) 0:00:38.672 **** 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-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/activate_profile.yml:3 Wednesday 14 February 2024 21:55:50 +0000 (0:00:00.023) 0:00:38.696 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 21:55:50 +0000 (0:00:00.034) 0:00:38.731 **** included: /WORKDIR/git-bond_options_rewrite5p1p0b5b/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-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 21:55:50 +0000 (0:00:00.039) 0:00:38.770 **** 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-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 21:55:50 +0000 (0:00:00.025) 0:00:38.796 **** 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-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 21:55:50 +0000 (0:00:00.021) 0:00:38.817 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 21:55:50 +0000 (0:00:00.020) 0:00:38.837 **** 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-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 21:55:52 +0000 (0:00:01.495) 0:00:40.333 **** 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-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 21:55:52 +0000 (0:00:00.636) 0:00:40.969 **** 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-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 21:55:52 +0000 (0:00:00.022) 0:00:40.992 **** 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-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 21:55:52 +0000 (0:00:00.021) 0:00:41.013 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 21:55:52 +0000 (0:00:00.021) 0:00:41.035 **** 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-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 21:55:52 +0000 (0:00:00.045) 0:00:41.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-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 21:55:53 +0000 (0:00:00.021) 0:00:41.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-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 21:55:53 +0000 (0:00:00.020) 0:00:41.123 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 21:55:53 +0000 (0:00:00.024) 0:00:41.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-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 21:55:53 +0000 (0:00:00.021) 0:00:41.169 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 21:55:53 +0000 (0:00:00.021) 0:00:41.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 : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 21:55:53 +0000 (0:00:00.203) 0:00:41.394 **** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-147128cl0oy4h/tmpuecalbum" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 21:55:53 +0000 (0:00:00.211) 0:00:41.605 **** 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-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 21:55:53 +0000 (0:00:00.394) 0:00:42.000 **** 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-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 21:55:53 +0000 (0:00:00.021) 0:00:42.021 **** 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-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 21:55:53 +0000 (0:00:00.022) 0:00:42.044 **** 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-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 21:55:53 +0000 (0:00:00.021) 0:00:42.066 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 21:55:54 +0000 (0:00:00.021) 0:00:42.087 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/remove_profile.yml:3 Wednesday 14 February 2024 21:55:54 +0000 (0:00:00.135) 0:00:42.223 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 21:55:54 +0000 (0:00:00.035) 0:00:42.258 **** included: /WORKDIR/git-bond_options_rewrite5p1p0b5b/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-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 21:55:54 +0000 (0:00:00.039) 0:00:42.297 **** 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-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 21:55:54 +0000 (0:00:00.025) 0:00:42.322 **** 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-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 21:55:54 +0000 (0:00:00.021) 0:00:42.344 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 21:55:54 +0000 (0:00:00.020) 0:00:42.364 **** 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-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 21:55:55 +0000 (0:00:01.509) 0:00:43.873 **** 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-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 21:55:56 +0000 (0:00:00.604) 0:00:44.478 **** 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-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 21:55:56 +0000 (0:00:00.022) 0:00:44.500 **** 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-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 21:55:56 +0000 (0:00:00.021) 0:00:44.522 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 21:55:56 +0000 (0:00:00.021) 0:00:44.543 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 21:55:56 +0000 (0:00:00.041) 0:00:44.585 **** 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-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 21:55:56 +0000 (0:00:00.021) 0:00:44.606 **** 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-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 21:55:56 +0000 (0:00:00.021) 0:00:44.627 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 21:55:56 +0000 (0:00:00.024) 0:00:44.652 **** 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-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 21:55:56 +0000 (0:00:00.021) 0:00:44.674 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 21:55:56 +0000 (0:00:00.048) 0:00:44.723 **** 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-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 21:55:56 +0000 (0:00:00.203) 0:00:44.927 **** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-147128cl0oy4h/tmp138s8rvl" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 21:55:57 +0000 (0:00:00.207) 0:00:45.134 **** 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-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 21:55:57 +0000 (0:00:00.258) 0:00:45.393 **** 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-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 21:55:57 +0000 (0:00:00.021) 0:00:45.414 **** 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-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 21:55:57 +0000 (0:00:00.023) 0:00:45.438 **** 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-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 21:55:57 +0000 (0:00:00.022) 0:00:45.460 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 21:55:57 +0000 (0:00:00.021) 0:00:45.482 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/run_test.yml:30 Wednesday 14 February 2024 21:55:57 +0000 (0:00:00.134) 0:00:45.616 **** included: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/remove+down_profile.yml:3 Wednesday 14 February 2024 21:55:57 +0000 (0:00:00.038) 0:00:45.654 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 21:55:57 +0000 (0:00:00.039) 0:00:45.694 **** included: /WORKDIR/git-bond_options_rewrite5p1p0b5b/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-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 21:55:57 +0000 (0:00:00.061) 0:00:45.755 **** 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-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 21:55:57 +0000 (0:00:00.026) 0:00:45.782 **** 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-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 21:55:57 +0000 (0:00:00.021) 0:00:45.804 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 21:55:57 +0000 (0:00:00.021) 0:00:45.826 **** 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-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 21:55:59 +0000 (0:00:01.499) 0:00:47.325 **** 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-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 21:55:59 +0000 (0:00:00.609) 0:00:47.935 **** 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-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 21:55:59 +0000 (0:00:00.045) 0:00:47.980 **** 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-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 21:55:59 +0000 (0:00:00.021) 0:00:48.001 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 21:55:59 +0000 (0:00:00.021) 0:00:48.023 **** 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-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 21:55:59 +0000 (0:00:00.042) 0:00:48.066 **** 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-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 21:55:59 +0000 (0:00:00.020) 0:00:48.087 **** 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-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 21:56:00 +0000 (0:00:00.021) 0:00:48.108 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 21:56:00 +0000 (0:00:00.023) 0:00:48.132 **** 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-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 21:56:00 +0000 (0:00:00.021) 0:00:48.154 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 21:56:00 +0000 (0:00:00.020) 0:00:48.174 **** 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-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 21:56:00 +0000 (0:00:00.203) 0:00:48.378 **** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-147128cl0oy4h/tmp08elrbju" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 21:56:00 +0000 (0:00:00.210) 0:00:48.588 **** 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-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 21:56:00 +0000 (0:00:00.250) 0:00:48.838 **** 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-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 21:56:00 +0000 (0:00:00.021) 0:00:48.859 **** 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-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 21:56:00 +0000 (0:00:00.021) 0:00:48.881 **** 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-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 21:56:00 +0000 (0:00:00.022) 0:00:48.903 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 21:56:00 +0000 (0:00:00.020) 0:00:48.924 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/run_test.yml:36 Wednesday 14 February 2024 21:56:00 +0000 (0:00:00.159) 0:00:49.084 **** included: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/assert_profile_absent.yml:3 Wednesday 14 February 2024 21:56:01 +0000 (0:00:00.039) 0:00:49.123 **** included: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 14 February 2024 21:56:01 +0000 (0:00:00.041) 0:00:49.165 **** 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-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 14 February 2024 21:56:01 +0000 (0:00:00.022) 0:00:49.187 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 14 February 2024 21:56:01 +0000 (0:00:00.138) 0:00:49.326 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 14 February 2024 21:56:01 +0000 (0:00:00.021) 0:00:49.348 **** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.005602", "end": "2024-02-14 21:56:01.126542", "rc": 1, "start": "2024-02-14 21:56:01.120940" } 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-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 14 February 2024 21:56:01 +0000 (0:00:00.146) 0:00:49.494 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 14 February 2024 21:56:01 +0000 (0:00:00.022) 0:00:49.516 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 14 February 2024 21:56:01 +0000 (0:00:00.023) 0:00:49.540 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 14 February 2024 21:56:01 +0000 (0:00:00.023) 0:00:49.564 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 14 February 2024 21:56:01 +0000 (0:00:00.022) 0:00:49.586 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/assert_profile_absent.yml:5 Wednesday 14 February 2024 21:56:01 +0000 (0:00:00.022) 0:00:49.609 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/run_test.yml:42 Wednesday 14 February 2024 21:56:01 +0000 (0:00:00.022) 0:00:49.632 **** 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-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/run_test.yml:47 Wednesday 14 February 2024 21:56:01 +0000 (0:00:00.026) 0:00:49.658 **** ok: [sut] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/run_test.yml:66 Wednesday 14 February 2024 21:56:01 +0000 (0:00:00.046) 0:00:49.705 **** included: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 14 February 2024 21:56:01 +0000 (0:00:00.038) 0:00:49.744 **** 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.021872", "end": "2024-02-14 21:56:01.541329", "rc": 0, "start": "2024-02-14 21:56:01.519457" } 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-bond_options_rewrite5p1p0b5b/tests/playbooks/tests_states.yml:126 Wednesday 14 February 2024 21:56:01 +0000 (0:00:00.170) 0:00:49.914 **** included: /WORKDIR/git-bond_options_rewrite5p1p0b5b/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-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/run_test.yml:5 Wednesday 14 February 2024 21:56:01 +0000 (0:00:00.036) 0:00:49.950 **** ok: [sut] => {} MSG: ########## I will not get an error when I try to remove an absent profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/run_test.yml:9 Wednesday 14 February 2024 21:56:01 +0000 (0:00:00.024) 0:00:49.975 **** 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", "tasks/check_network_dns.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/run_test.yml:21 Wednesday 14 February 2024 21:56:01 +0000 (0:00:00.046) 0:00:50.022 **** included: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 21:56:01 +0000 (0:00:00.036) 0:00:50.058 **** included: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 21:56:02 +0000 (0:00:00.035) 0:00:50.094 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003520", "end": "2024-02-14 21:56:01.873345", "rc": 0, "start": "2024-02-14 21:56:01.869825" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 21:56:02 +0000 (0:00:00.146) 0:00:50.240 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 21:56:02 +0000 (0:00:00.022) 0:00:50.263 **** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/run_test.yml:24 Wednesday 14 February 2024 21:56:02 +0000 (0:00:00.021) 0:00:50.285 **** included: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 14 February 2024 21:56:02 +0000 (0:00:00.070) 0:00:50.355 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 21:56:02 +0000 (0:00:00.037) 0:00:50.392 **** included: /WORKDIR/git-bond_options_rewrite5p1p0b5b/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-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 21:56:02 +0000 (0:00:00.039) 0:00:50.432 **** 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-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 21:56:02 +0000 (0:00:00.026) 0:00:50.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-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 21:56:02 +0000 (0:00:00.021) 0:00:50.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-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 21:56:02 +0000 (0:00:00.021) 0:00:50.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-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 21:56:03 +0000 (0:00:01.529) 0:00:52.031 **** 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-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 21:56:04 +0000 (0:00:00.633) 0:00:52.664 **** 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-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 21:56:04 +0000 (0:00:00.022) 0:00:52.687 **** 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-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 21:56:04 +0000 (0:00:00.021) 0:00:52.709 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 21:56:04 +0000 (0:00:00.021) 0:00:52.730 **** 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-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 21:56:04 +0000 (0:00:00.043) 0:00:52.774 **** 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-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 21:56:04 +0000 (0:00:00.022) 0:00:52.796 **** 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-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 21:56:04 +0000 (0:00:00.020) 0:00:52.817 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 21:56:04 +0000 (0:00:00.024) 0:00:52.842 **** 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-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 21:56:04 +0000 (0:00:00.021) 0:00:52.864 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 21:56:04 +0000 (0:00:00.021) 0:00:52.885 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 21:56:04 +0000 (0:00:00.200) 0:00:53.086 **** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-147128cl0oy4h/tmpbyhci6j6" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 21:56:05 +0000 (0:00:00.207) 0:00:53.293 **** 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-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 21:56:05 +0000 (0:00:00.316) 0:00:53.610 **** 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-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 21:56:05 +0000 (0:00:00.022) 0:00:53.633 **** 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-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 21:56:05 +0000 (0:00:00.023) 0:00:53.656 **** 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-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 21:56:05 +0000 (0:00:00.024) 0:00:53.681 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 21:56:05 +0000 (0:00:00.023) 0:00:53.704 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 14 February 2024 21:56:05 +0000 (0:00:00.136) 0:00:53.841 **** 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-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/activate_profile.yml:3 Wednesday 14 February 2024 21:56:05 +0000 (0:00:00.024) 0:00:53.865 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 21:56:05 +0000 (0:00:00.035) 0:00:53.901 **** included: /WORKDIR/git-bond_options_rewrite5p1p0b5b/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-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 21:56:05 +0000 (0:00:00.039) 0:00:53.940 **** 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-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 21:56:05 +0000 (0:00:00.026) 0:00:53.967 **** 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-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 21:56:05 +0000 (0:00:00.020) 0:00:53.988 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 21:56:05 +0000 (0:00:00.021) 0:00:54.009 **** 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-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 21:56:07 +0000 (0:00:01.511) 0:00:55.520 **** 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-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 21:56:08 +0000 (0:00:00.609) 0:00:56.130 **** 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-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 21:56:08 +0000 (0:00:00.022) 0:00:56.153 **** 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-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 21:56:08 +0000 (0:00:00.023) 0:00:56.176 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 21:56:08 +0000 (0:00:00.020) 0:00:56.197 **** 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-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 21:56:08 +0000 (0:00:00.042) 0:00:56.239 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 21:56:08 +0000 (0:00:00.020) 0:00:56.260 **** 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-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 21:56:08 +0000 (0:00:00.021) 0:00:56.282 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 21:56:08 +0000 (0:00:00.027) 0:00:56.309 **** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 21:56:08 +0000 (0:00:00.021) 0:00:56.330 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 21:56:08 +0000 (0:00:00.047) 0:00:56.378 **** 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-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 21:56:08 +0000 (0:00:00.203) 0:00:56.581 **** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-147128cl0oy4h/tmpr12wjfa1" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 21:56:08 +0000 (0:00:00.210) 0:00:56.792 **** 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-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 21:56:09 +0000 (0:00:00.375) 0:00:57.167 **** 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-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 21:56:09 +0000 (0:00:00.021) 0:00:57.188 **** 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-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 21:56:09 +0000 (0:00:00.022) 0:00:57.211 **** 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-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 21:56:09 +0000 (0:00:00.021) 0:00:57.233 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 21:56:09 +0000 (0:00:00.021) 0:00:57.254 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/remove+down_profile.yml:3 Wednesday 14 February 2024 21:56:09 +0000 (0:00:00.139) 0:00:57.394 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 21:56:09 +0000 (0:00:00.034) 0:00:57.429 **** included: /WORKDIR/git-bond_options_rewrite5p1p0b5b/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-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 21:56:09 +0000 (0:00:00.038) 0:00:57.467 **** 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-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 21:56:09 +0000 (0:00:00.025) 0:00:57.493 **** 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-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 21:56:09 +0000 (0:00:00.045) 0:00:57.538 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 21:56:09 +0000 (0:00:00.021) 0:00:57.560 **** 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-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 21:56:10 +0000 (0:00:01.501) 0:00:59.061 **** 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-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 21:56:11 +0000 (0:00:00.610) 0:00:59.672 **** ok: [sut] => {} MSG: Using network provider: initscripts TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 21:56:11 +0000 (0:00:00.022) 0:00:59.694 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 21:56:11 +0000 (0:00:00.021) 0:00:59.716 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 21:56:11 +0000 (0:00:00.020) 0:00:59.737 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 21:56:11 +0000 (0:00:00.097) 0:00:59.835 **** 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-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 21:56:11 +0000 (0:00:00.022) 0:00:59.857 **** 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-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 21:56:11 +0000 (0:00:00.022) 0:00:59.879 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 21:56:11 +0000 (0:00:00.024) 0:00:59.904 **** 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-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 21:56:11 +0000 (0:00:00.020) 0:00:59.925 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 21:56:11 +0000 (0:00:00.019) 0:00:59.945 **** 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-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 21:56:12 +0000 (0:00:00.202) 0:01:00.147 **** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-147128cl0oy4h/tmplj49eex8" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 21:56:12 +0000 (0:00:00.209) 0:01:00.356 **** 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-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 21:56:12 +0000 (0:00:00.262) 0:01:00.619 **** 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-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 21:56:12 +0000 (0:00:00.021) 0:01:00.640 **** 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-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 21:56:12 +0000 (0:00:00.022) 0:01:00.663 **** 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-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 21:56:12 +0000 (0:00:00.022) 0:01:00.685 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 21:56:12 +0000 (0:00:00.023) 0:01:00.708 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/run_test.yml:30 Wednesday 14 February 2024 21:56:12 +0000 (0:00:00.135) 0:01:00.843 **** included: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/remove+down_profile.yml:3 Wednesday 14 February 2024 21:56:12 +0000 (0:00:00.065) 0:01:00.909 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 21:56:12 +0000 (0:00:00.035) 0:01:00.945 **** included: /WORKDIR/git-bond_options_rewrite5p1p0b5b/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-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 21:56:12 +0000 (0:00:00.039) 0:01:00.985 **** 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-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 21:56:12 +0000 (0:00:00.025) 0:01:01.010 **** 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-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 21:56:12 +0000 (0:00:00.021) 0:01:01.032 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 21:56:12 +0000 (0:00:00.020) 0:01:01.053 **** 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-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 21:56:14 +0000 (0:00:01.501) 0:01:02.554 **** 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-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 21:56:15 +0000 (0:00:00.625) 0:01:03.179 **** 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-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 21:56:15 +0000 (0:00:00.022) 0:01:03.201 **** 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-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 21:56:15 +0000 (0:00:00.021) 0:01:03.223 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 21:56:15 +0000 (0:00:00.021) 0:01:03.244 **** 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-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 21:56:15 +0000 (0:00:00.041) 0:01:03.286 **** 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-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 21:56:15 +0000 (0:00:00.021) 0:01:03.307 **** 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-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 21:56:15 +0000 (0:00:00.020) 0:01:03.328 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 21:56:15 +0000 (0:00:00.026) 0:01:03.355 **** 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-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 21:56:15 +0000 (0:00:00.021) 0:01:03.376 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 21:56:15 +0000 (0:00:00.020) 0:01:03.397 **** 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-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 21:56:15 +0000 (0:00:00.201) 0:01:03.599 **** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-147128cl0oy4h/tmp1bj9dz_9" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 21:56:15 +0000 (0:00:00.210) 0:01:03.809 **** 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-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 21:56:16 +0000 (0:00:00.300) 0:01:04.109 **** 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-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 21:56:16 +0000 (0:00:00.021) 0:01:04.131 **** 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-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 21:56:16 +0000 (0:00:00.022) 0:01:04.154 **** 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-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 21:56:16 +0000 (0:00:00.022) 0:01:04.177 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 21:56:16 +0000 (0:00:00.020) 0:01:04.198 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/run_test.yml:36 Wednesday 14 February 2024 21:56:16 +0000 (0:00:00.139) 0:01:04.337 **** included: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/assert_profile_absent.yml for sut included: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/get_NetworkManager_NVR.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/assert_profile_absent.yml:3 Wednesday 14 February 2024 21:56:16 +0000 (0:00:00.042) 0:01:04.380 **** included: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 14 February 2024 21:56:16 +0000 (0:00:00.036) 0:01:04.417 **** 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-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 14 February 2024 21:56:16 +0000 (0:00:00.021) 0:01:04.438 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 14 February 2024 21:56:16 +0000 (0:00:00.137) 0:01:04.576 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 14 February 2024 21:56:16 +0000 (0:00:00.021) 0:01:04.597 **** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.005274", "end": "2024-02-14 21:56:16.382831", "rc": 1, "start": "2024-02-14 21:56:16.377557" } 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-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 14 February 2024 21:56:16 +0000 (0:00:00.144) 0:01:04.742 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 14 February 2024 21:56:16 +0000 (0:00:00.022) 0:01:04.765 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 14 February 2024 21:56:16 +0000 (0:00:00.022) 0:01:04.787 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 14 February 2024 21:56:16 +0000 (0:00:00.049) 0:01:04.837 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 14 February 2024 21:56:16 +0000 (0:00:00.022) 0:01:04.859 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/assert_profile_absent.yml:5 Wednesday 14 February 2024 21:56:16 +0000 (0:00:00.022) 0:01:04.882 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/get_NetworkManager_NVR.yml:7 Wednesday 14 February 2024 21:56:16 +0000 (0:00:00.023) 0:01:04.906 **** ok: [sut] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.394837", "end": "2024-02-14 21:56:17.080933", "rc": 0, "start": "2024-02-14 21:56:16.686096" } TASK [Store NetworkManager version] ******************************************** task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/get_NetworkManager_NVR.yml:14 Wednesday 14 February 2024 21:56:17 +0000 (0:00:00.536) 0:01:05.443 **** ok: [sut] => { "ansible_facts": { "networkmanager_nvr": "" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/get_NetworkManager_NVR.yml:18 Wednesday 14 February 2024 21:56:17 +0000 (0:00:00.022) 0:01:05.465 **** ok: [sut] => { "networkmanager_nvr": "" } TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/run_test.yml:42 Wednesday 14 February 2024 21:56:17 +0000 (0:00:00.023) 0:01:05.488 **** 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-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/run_test.yml:47 Wednesday 14 February 2024 21:56:17 +0000 (0:00:00.025) 0:01:05.513 **** 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-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/run_test.yml:66 Wednesday 14 February 2024 21:56:17 +0000 (0:00:00.022) 0:01:05.536 **** included: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/cleanup_profile+device.yml for sut included: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/check_network_dns.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 14 February 2024 21:56:17 +0000 (0:00:00.043) 0:01:05.580 **** 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.027882", "end": "2024-02-14 21:56:17.398362", "rc": 0, "start": "2024-02-14 21:56:17.370480" } STDERR: /bin/sh: nmcli: command not found /bin/sh: line 1: nmcli: command not found TASK [Check routes and DNS] **************************************************** task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/check_network_dns.yml:6 Wednesday 14 February 2024 21:56:17 +0000 (0:00:00.183) 0:01:05.763 **** ok: [sut] => { "changed": false, "cmd": "set -euo pipefail\necho IP\nip a\necho IP ROUTE\nip route\necho IP -6 ROUTE\nip -6 route\necho RESOLV\nif [ -f /etc/resolv.conf ]; then\n cat /etc/resolv.conf\nelse\n echo NO /etc/resolv.conf\n ls -alrtF /etc/resolv.* || :\nfi\n", "delta": "0:00:00.007282", "end": "2024-02-14 21:56:17.555914", "rc": 0, "start": "2024-02-14 21:56:17.548632" } STDOUT: IP 1: lo: mtu 65536 qdisc noqueue state UNKNOWN link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: eth0: mtu 9001 qdisc pfifo_fast state UP qlen 1000 link/ether 0e:9c:73:fd:98:11 brd ff:ff:ff:ff:ff:ff inet 10.31.41.185/22 brd 10.31.43.255 scope global eth0 inet6 fe80::c9c:73ff:fefd:9811/64 scope link valid_lft forever preferred_lft forever IP ROUTE 10.31.40.0/22 dev eth0 proto kernel scope link src 10.31.41.185 169.254.0.0/16 dev eth0 scope link metric 1002 default via 10.31.40.1 dev eth0 IP -6 ROUTE unreachable ::/96 dev lo metric 1024 error -113 mtu 65536 unreachable ::ffff:0.0.0.0/96 dev lo metric 1024 error -113 mtu 65536 unreachable 2002:a00::/24 dev lo metric 1024 error -113 mtu 65536 unreachable 2002:7f00::/24 dev lo metric 1024 error -113 mtu 65536 unreachable 2002:a9fe::/32 dev lo metric 1024 error -113 mtu 65536 unreachable 2002:ac10::/28 dev lo metric 1024 error -113 mtu 65536 unreachable 2002:c0a8::/32 dev lo metric 1024 error -113 mtu 65536 unreachable 2002:e000::/19 dev lo metric 1024 error -113 mtu 65536 unreachable 3ffe:ffff::/32 dev lo metric 1024 error -113 mtu 65536 fe80::/64 dev eth0 proto kernel metric 256 mtu 9001 RESOLV ; Created by cloud-init on instance boot automatically, do not edit. ; ; generated by /sbin/dhclient-script search us-east-1.aws.redhat.com nameserver 10.29.169.13 nameserver 10.29.170.12 nameserver 10.2.32.1 TASK [Verify DNS and network connectivity] ************************************* task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/check_network_dns.yml:24 Wednesday 14 February 2024 21:56:17 +0000 (0:00:00.152) 0:01:05.915 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=334 changed=13 unreachable=0 failed=0 skipped=228 rescued=0 ignored=10 Wednesday 14 February 2024 21:56:17 +0000 (0:00:00.013) 0:01:05.929 **** =============================================================================== linux-system-roles.network : Check which services are running ----------- 1.80s /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.57s /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.55s /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Configure networking connection profiles --- 1.53s /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:125 linux-system-roles.network : Check which services are running ----------- 1.53s /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.52s /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.51s /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.51s /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.51s /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.51s /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.51s /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.50s /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.50s /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.50s /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.50s /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.50s /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Configure networking connection profiles --- 1.46s /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:125 linux-system-roles.network : Enable network service --------------------- 1.10s /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:108 linux-system-roles.network : Ensure initscripts network file dependency is present --- 1.05s /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:116 Gathering Facts --------------------------------------------------------- 0.91s /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/tests_states_initscripts.yml:5 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- [WARNING]: Consider using the yum, dnf or zypper module rather than running 'rpm'. If you need to use command because yum, dnf or zypper is insufficient you can add 'warn: false' to this command task or set 'command_warnings=False' in ansible.cfg to get rid of this message. ---^---^---^---^---^---