# 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_rewritevlx_07md/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_rewritevlx_07md/tests/tests_states_initscripts.yml:5 Wednesday 14 February 2024 17:47:24 +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_rewritevlx_07md/tests/tests_states_initscripts.yml:8 Wednesday 14 February 2024 17:47:25 +0000 (0:00:00.980) 0:00:00.992 **** included: /WORKDIR/git-bond_options_rewritevlx_07md/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_rewritevlx_07md/tests/tasks/el_repo_setup.yml:3 Wednesday 14 February 2024 17:47:25 +0000 (0:00:00.024) 0:00:01.016 **** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-bond_options_rewritevlx_07md/tests/tasks/el_repo_setup.yml:19 Wednesday 14 February 2024 17:47:25 +0000 (0:00:00.223) 0:00:01.240 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-bond_options_rewritevlx_07md/tests/tasks/el_repo_setup.yml:24 Wednesday 14 February 2024 17:47:25 +0000 (0:00:00.192) 0:00:01.432 **** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-bond_options_rewritevlx_07md/tests/tasks/el_repo_setup.yml:28 Wednesday 14 February 2024 17:47:25 +0000 (0:00:00.022) 0:00:01.454 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-bond_options_rewritevlx_07md/tests/tasks/el_repo_setup.yml:53 Wednesday 14 February 2024 17:47:25 +0000 (0:00:00.019) 0:00:01.474 **** included: /WORKDIR/git-bond_options_rewritevlx_07md/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 6] *********************************************************** task path: /WORKDIR/git-bond_options_rewritevlx_07md/tests/tasks/enable_epel.yml:8 Wednesday 14 February 2024 17:47:25 +0000 (0:00:00.033) 0:00:01.508 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Install yum-utils package] *********************************************** task path: /WORKDIR/git-bond_options_rewritevlx_07md/tests/tasks/enable_epel.yml:24 Wednesday 14 February 2024 17:47:25 +0000 (0:00:00.011) 0:00:01.519 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-bond_options_rewritevlx_07md/tests/tasks/enable_epel.yml:30 Wednesday 14 February 2024 17:47:25 +0000 (0:00:00.010) 0:00:01.530 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-bond_options_rewritevlx_07md/tests/tasks/enable_epel.yml:35 Wednesday 14 February 2024 17:47:25 +0000 (0:00:00.010) 0:00:01.541 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-bond_options_rewritevlx_07md/tests/tasks/enable_epel.yml:40 Wednesday 14 February 2024 17:47:25 +0000 (0:00:00.010) 0:00:01.551 **** 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_rewritevlx_07md/tests/tests_states_initscripts.yml:10 Wednesday 14 February 2024 17:47:26 +0000 (0:00:00.445) 0:00:01.997 **** 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_rewritevlx_07md/tests/playbooks/tests_states.yml:3 Wednesday 14 February 2024 17:47:26 +0000 (0:00:00.012) 0:00:02.009 **** ok: [sut] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-bond_options_rewritevlx_07md/tests/playbooks/tests_states.yml:11 Wednesday 14 February 2024 17:47:26 +0000 (0:00:00.724) 0:00:02.733 **** ok: [sut] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-bond_options_rewritevlx_07md/tests/playbooks/tests_states.yml:22 Wednesday 14 February 2024 17:47:26 +0000 (0:00:00.011) 0:00:02.745 **** included: /WORKDIR/git-bond_options_rewritevlx_07md/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile] ******************************************** task path: /WORKDIR/git-bond_options_rewritevlx_07md/tests/playbooks/tasks/run_test.yml:5 Wednesday 14 February 2024 17:47:26 +0000 (0:00:00.018) 0:00:02.763 **** ok: [sut] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewritevlx_07md/tests/playbooks/tasks/run_test.yml:9 Wednesday 14 February 2024 17:47:26 +0000 (0:00:00.011) 0:00:02.775 **** 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_rewritevlx_07md/tests/playbooks/tasks/run_test.yml:21 Wednesday 14 February 2024 17:47:26 +0000 (0:00:00.035) 0:00:02.811 **** included: /WORKDIR/git-bond_options_rewritevlx_07md/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritevlx_07md/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 17:47:26 +0000 (0:00:00.017) 0:00:02.828 **** included: /WORKDIR/git-bond_options_rewritevlx_07md/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritevlx_07md/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 17:47:26 +0000 (0:00:00.015) 0:00:02.843 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003256", "end": "2024-02-14 17:47:27.088333", "rc": 0, "start": "2024-02-14 17:47:27.085077" } STDOUT: dummy0 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritevlx_07md/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 17:47:27 +0000 (0:00:00.188) 0:00:03.032 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "dummy0", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritevlx_07md/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 17:47:27 +0000 (0:00:00.013) 0:00:03.045 **** ok: [sut] => {} MSG: current_interfaces: ['dummy0', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewritevlx_07md/tests/playbooks/tasks/run_test.yml:24 Wednesday 14 February 2024 17:47:27 +0000 (0:00:00.011) 0:00:03.057 **** included: /WORKDIR/git-bond_options_rewritevlx_07md/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-bond_options_rewritevlx_07md/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-bond_options_rewritevlx_07md/tests/playbooks/tasks/delete_interface.yml:3 Wednesday 14 February 2024 17:47:27 +0000 (0:00:00.023) 0:00:03.080 **** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.026674", "end": "2024-02-14 17:47:27.281476", "rc": 255, "start": "2024-02-14 17:47:27.254802" } 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_rewritevlx_07md/tests/playbooks/tasks/assert_device_absent.yml:3 Wednesday 14 February 2024 17:47:27 +0000 (0:00:00.144) 0:00:03.225 **** included: /WORKDIR/git-bond_options_rewritevlx_07md/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewritevlx_07md/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 14 February 2024 17:47:27 +0000 (0:00:00.017) 0:00:03.242 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-bond_options_rewritevlx_07md/tests/playbooks/tasks/assert_device_absent.yml:5 Wednesday 14 February 2024 17:47:27 +0000 (0:00:00.120) 0:00:03.363 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewritevlx_07md/tests/playbooks/tasks/run_test.yml:30 Wednesday 14 February 2024 17:47:27 +0000 (0:00:00.014) 0:00:03.378 **** included: /WORKDIR/git-bond_options_rewritevlx_07md/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritevlx_07md/tests/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 14 February 2024 17:47:27 +0000 (0:00:00.019) 0:00:03.398 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 17:47:27 +0000 (0:00:00.035) 0:00:03.433 **** included: /WORKDIR/git-bond_options_rewritevlx_07md/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_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 17:47:27 +0000 (0:00:00.070) 0:00:03.504 **** 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_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 17:47:27 +0000 (0:00:00.014) 0:00:03.518 **** 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_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 17:47:27 +0000 (0:00:00.027) 0:00:03.545 **** 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_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 17:47:27 +0000 (0:00:00.012) 0:00:03.558 **** 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_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 17:47:29 +0000 (0:00:01.882) 0:00:05.441 **** 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_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 17:47:30 +0000 (0:00:00.707) 0:00:06.149 **** 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_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 17:47:30 +0000 (0:00:00.023) 0:00:06.172 **** 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_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 17:47:30 +0000 (0:00:00.020) 0:00:06.193 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 17:47:30 +0000 (0:00:00.036) 0:00:06.229 **** 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_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 17:47:30 +0000 (0:00:00.043) 0:00:06.273 **** 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_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 17:47:30 +0000 (0:00:00.020) 0:00:06.293 **** 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_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 17:47:30 +0000 (0:00:00.021) 0:00:06.315 **** 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_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 17:47:30 +0000 (0:00:00.024) 0:00:06.340 **** 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_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 17:47:30 +0000 (0:00:00.020) 0:00:06.361 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 17:47:30 +0000 (0:00:00.021) 0:00:06.382 **** 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_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 17:47:30 +0000 (0:00:00.282) 0:00:06.664 **** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-14208dxv8vsc3/tmpiiax4wuo" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 17:47:30 +0000 (0:00:00.198) 0:00:06.862 **** 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_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 17:47:31 +0000 (0:00:00.363) 0:00:07.226 **** 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_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 17:47:31 +0000 (0:00:00.021) 0:00:07.248 **** 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_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 17:47:31 +0000 (0:00:00.022) 0:00:07.270 **** 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_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 17:47:31 +0000 (0:00:00.022) 0:00:07.293 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 17:47:31 +0000 (0:00:00.020) 0:00:07.314 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewritevlx_07md/tests/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 14 February 2024 17:47:31 +0000 (0:00:00.206) 0:00:07.520 **** 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_rewritevlx_07md/tests/playbooks/tasks/run_test.yml:36 Wednesday 14 February 2024 17:47:31 +0000 (0:00:00.022) 0:00:07.543 **** included: /WORKDIR/git-bond_options_rewritevlx_07md/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewritevlx_07md/tests/playbooks/tasks/assert_profile_present.yml:3 Wednesday 14 February 2024 17:47:31 +0000 (0:00:00.039) 0:00:07.583 **** included: /WORKDIR/git-bond_options_rewritevlx_07md/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_rewritevlx_07md/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 14 February 2024 17:47:31 +0000 (0:00:00.037) 0:00:07.620 **** 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_rewritevlx_07md/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 14 February 2024 17:47:31 +0000 (0:00:00.021) 0:00:07.641 **** ok: [sut] => { "changed": false, "stat": { "atime": 1707932851.271219, "block_size": 4096, "blocks": 8, "ctime": 1707932851.271219, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 18846, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1707932851.271219, "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_rewritevlx_07md/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 14 February 2024 17:47:31 +0000 (0:00:00.131) 0:00:07.773 **** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewritevlx_07md/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 14 February 2024 17:47:31 +0000 (0:00:00.022) 0:00:07.796 **** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.006481", "end": "2024-02-14 17:47:31.980274", "rc": 1, "start": "2024-02-14 17:47:31.973793" } STDERR: Error: Object 'connection' is unknown, try 'nmcli help'. MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-bond_options_rewritevlx_07md/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 14 February 2024 17:47:31 +0000 (0:00:00.137) 0:00:07.933 **** 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_rewritevlx_07md/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 14 February 2024 17:47:31 +0000 (0:00:00.022) 0:00:07.956 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003163", "end": "2024-02-14 17:47:32.138661", "rc": 0, "start": "2024-02-14 17:47:32.135498" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-bond_options_rewritevlx_07md/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 14 February 2024 17:47:32 +0000 (0:00:00.138) 0:00:08.094 **** 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_rewritevlx_07md/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 14 February 2024 17:47:32 +0000 (0:00:00.025) 0:00:08.120 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003186", "end": "2024-02-14 17:47:32.301937", "rc": 0, "start": "2024-02-14 17:47:32.298751" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewritevlx_07md/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 14 February 2024 17:47:32 +0000 (0:00:00.135) 0:00:08.256 **** 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_rewritevlx_07md/tests/playbooks/tasks/assert_profile_present.yml:5 Wednesday 14 February 2024 17:47:32 +0000 (0:00:00.048) 0:00:08.305 **** 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_rewritevlx_07md/tests/playbooks/tasks/assert_profile_present.yml:10 Wednesday 14 February 2024 17:47:32 +0000 (0:00:00.023) 0:00:08.328 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-bond_options_rewritevlx_07md/tests/playbooks/tasks/assert_profile_present.yml:15 Wednesday 14 February 2024 17:47:32 +0000 (0:00:00.027) 0:00:08.356 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewritevlx_07md/tests/playbooks/tasks/run_test.yml:42 Wednesday 14 February 2024 17:47:32 +0000 (0:00:00.023) 0:00:08.379 **** 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_rewritevlx_07md/tests/playbooks/tasks/run_test.yml:47 Wednesday 14 February 2024 17:47:32 +0000 (0:00:00.025) 0:00:08.405 **** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-bond_options_rewritevlx_07md/tests/playbooks/tasks/run_test.yml:66 Wednesday 14 February 2024 17:47:32 +0000 (0:00:00.024) 0:00:08.429 **** included: /WORKDIR/git-bond_options_rewritevlx_07md/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewritevlx_07md/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 14 February 2024 17:47:32 +0000 (0:00:00.040) 0:00:08.470 **** 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.036678", "end": "2024-02-14 17:47:32.685750", "rc": 255, "start": "2024-02-14 17:47:32.649072" } STDERR: Error: Can't obtain connections: settings services are not running. Error: Can't obtain connections: settings services are not running. Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-bond_options_rewritevlx_07md/tests/playbooks/tests_states.yml:45 Wednesday 14 February 2024 17:47:32 +0000 (0:00:00.168) 0:00:08.639 **** included: /WORKDIR/git-bond_options_rewritevlx_07md/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile without autoconnect] ************************ task path: /WORKDIR/git-bond_options_rewritevlx_07md/tests/playbooks/tasks/run_test.yml:5 Wednesday 14 February 2024 17:47:32 +0000 (0:00:00.035) 0:00:08.674 **** ok: [sut] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewritevlx_07md/tests/playbooks/tasks/run_test.yml:9 Wednesday 14 February 2024 17:47:32 +0000 (0:00:00.022) 0:00:08.697 **** 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_rewritevlx_07md/tests/playbooks/tasks/run_test.yml:21 Wednesday 14 February 2024 17:47:32 +0000 (0:00:00.044) 0:00:08.741 **** included: /WORKDIR/git-bond_options_rewritevlx_07md/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritevlx_07md/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 17:47:32 +0000 (0:00:00.034) 0:00:08.776 **** included: /WORKDIR/git-bond_options_rewritevlx_07md/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritevlx_07md/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 17:47:32 +0000 (0:00:00.056) 0:00:08.832 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003312", "end": "2024-02-14 17:47:33.014732", "rc": 0, "start": "2024-02-14 17:47:33.011420" } STDOUT: dummy0 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritevlx_07md/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 17:47:32 +0000 (0:00:00.136) 0:00:08.969 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "dummy0", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritevlx_07md/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 17:47:32 +0000 (0:00:00.022) 0:00:08.991 **** ok: [sut] => {} MSG: current_interfaces: ['dummy0', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewritevlx_07md/tests/playbooks/tasks/run_test.yml:24 Wednesday 14 February 2024 17:47:33 +0000 (0:00:00.021) 0:00:09.013 **** included: /WORKDIR/git-bond_options_rewritevlx_07md/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-bond_options_rewritevlx_07md/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-bond_options_rewritevlx_07md/tests/playbooks/tasks/delete_interface.yml:3 Wednesday 14 February 2024 17:47:33 +0000 (0:00:00.041) 0:00:09.054 **** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.004662", "end": "2024-02-14 17:47:33.236759", "rc": 255, "start": "2024-02-14 17:47:33.232097" } 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_rewritevlx_07md/tests/playbooks/tasks/assert_device_absent.yml:3 Wednesday 14 February 2024 17:47:33 +0000 (0:00:00.134) 0:00:09.188 **** included: /WORKDIR/git-bond_options_rewritevlx_07md/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewritevlx_07md/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 14 February 2024 17:47:33 +0000 (0:00:00.035) 0:00:09.224 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-bond_options_rewritevlx_07md/tests/playbooks/tasks/assert_device_absent.yml:5 Wednesday 14 February 2024 17:47:33 +0000 (0:00:00.134) 0:00:09.358 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewritevlx_07md/tests/playbooks/tasks/run_test.yml:30 Wednesday 14 February 2024 17:47:33 +0000 (0:00:00.024) 0:00:09.383 **** included: /WORKDIR/git-bond_options_rewritevlx_07md/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritevlx_07md/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Wednesday 14 February 2024 17:47:33 +0000 (0:00:00.038) 0:00:09.422 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 17:47:33 +0000 (0:00:00.040) 0:00:09.462 **** included: /WORKDIR/git-bond_options_rewritevlx_07md/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_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 17:47:33 +0000 (0:00:00.067) 0:00:09.529 **** 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_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 17:47:33 +0000 (0:00:00.027) 0:00:09.556 **** 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_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 17:47:33 +0000 (0:00:00.021) 0:00:09.578 **** 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_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 17:47:33 +0000 (0:00:00.021) 0:00:09.599 **** 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_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 17:47:35 +0000 (0:00:01.626) 0:00:11.225 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-bond_options_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 17:47:35 +0000 (0:00:00.600) 0:00:11.826 **** 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_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 17:47:35 +0000 (0:00:00.023) 0:00:11.849 **** 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_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 17:47:35 +0000 (0:00:00.021) 0:00:11.870 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 17:47:35 +0000 (0:00:00.021) 0:00:11.891 **** 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_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 17:47:35 +0000 (0:00:00.043) 0:00:11.935 **** 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_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 17:47:35 +0000 (0:00:00.020) 0:00:11.956 **** 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_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 17:47:35 +0000 (0:00:00.021) 0:00:11.977 **** 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_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 17:47:36 +0000 (0:00:00.024) 0:00:12.001 **** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-bond_options_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 17:47:36 +0000 (0:00:00.021) 0:00:12.022 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 17:47:36 +0000 (0:00:00.021) 0:00:12.044 **** 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_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 17:47:36 +0000 (0:00:00.190) 0:00:12.235 **** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-14208dxv8vsc3/tmpo5fh9ofq" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 17:47:36 +0000 (0:00:00.199) 0:00:12.434 **** 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_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 17:47:36 +0000 (0:00:00.239) 0:00:12.674 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 17:47:36 +0000 (0:00:00.021) 0:00:12.696 **** 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_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 17:47:36 +0000 (0:00:00.022) 0:00:12.718 **** 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_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 17:47:36 +0000 (0:00:00.051) 0:00:12.770 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 17:47:36 +0000 (0:00:00.021) 0:00:12.792 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewritevlx_07md/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Wednesday 14 February 2024 17:47:36 +0000 (0:00:00.125) 0:00:12.918 **** 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_rewritevlx_07md/tests/playbooks/tasks/run_test.yml:36 Wednesday 14 February 2024 17:47:36 +0000 (0:00:00.022) 0:00:12.941 **** included: /WORKDIR/git-bond_options_rewritevlx_07md/tests/playbooks/tasks/assert_device_absent.yml for sut included: /WORKDIR/git-bond_options_rewritevlx_07md/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewritevlx_07md/tests/playbooks/tasks/assert_device_absent.yml:3 Wednesday 14 February 2024 17:47:36 +0000 (0:00:00.043) 0:00:12.984 **** included: /WORKDIR/git-bond_options_rewritevlx_07md/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewritevlx_07md/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 14 February 2024 17:47:37 +0000 (0:00:00.035) 0:00:13.020 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-bond_options_rewritevlx_07md/tests/playbooks/tasks/assert_device_absent.yml:5 Wednesday 14 February 2024 17:47:37 +0000 (0:00:00.131) 0:00:13.151 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewritevlx_07md/tests/playbooks/tasks/assert_profile_present.yml:3 Wednesday 14 February 2024 17:47:37 +0000 (0:00:00.023) 0:00:13.174 **** included: /WORKDIR/git-bond_options_rewritevlx_07md/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_rewritevlx_07md/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 14 February 2024 17:47:37 +0000 (0:00:00.037) 0:00:13.211 **** 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_rewritevlx_07md/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 14 February 2024 17:47:37 +0000 (0:00:00.021) 0:00:13.233 **** ok: [sut] => { "changed": false, "stat": { "atime": 1707932856.7192192, "block_size": 4096, "blocks": 8, "ctime": 1707932856.7192192, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 18846, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1707932856.7192192, "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_rewritevlx_07md/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 14 February 2024 17:47:37 +0000 (0:00:00.129) 0:00:13.362 **** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewritevlx_07md/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 14 February 2024 17:47:37 +0000 (0:00:00.022) 0:00:13.385 **** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.006926", "end": "2024-02-14 17:47:37.567563", "rc": 1, "start": "2024-02-14 17:47:37.560637" } STDERR: Error: Object 'connection' is unknown, try 'nmcli help'. MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-bond_options_rewritevlx_07md/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 14 February 2024 17:47:37 +0000 (0:00:00.157) 0:00:13.543 **** 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_rewritevlx_07md/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 14 February 2024 17:47:37 +0000 (0:00:00.022) 0:00:13.566 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003066", "end": "2024-02-14 17:47:37.748534", "rc": 0, "start": "2024-02-14 17:47:37.745468" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-bond_options_rewritevlx_07md/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 14 February 2024 17:47:37 +0000 (0:00:00.136) 0:00:13.703 **** 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_rewritevlx_07md/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 14 February 2024 17:47:37 +0000 (0:00:00.027) 0:00:13.730 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003086", "end": "2024-02-14 17:47:37.915675", "rc": 0, "start": "2024-02-14 17:47:37.912589" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewritevlx_07md/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 14 February 2024 17:47:37 +0000 (0:00:00.139) 0:00:13.870 **** 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_rewritevlx_07md/tests/playbooks/tasks/assert_profile_present.yml:5 Wednesday 14 February 2024 17:47:37 +0000 (0:00:00.027) 0:00:13.898 **** 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_rewritevlx_07md/tests/playbooks/tasks/assert_profile_present.yml:10 Wednesday 14 February 2024 17:47:37 +0000 (0:00:00.023) 0:00:13.922 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-bond_options_rewritevlx_07md/tests/playbooks/tasks/assert_profile_present.yml:15 Wednesday 14 February 2024 17:47:37 +0000 (0:00:00.025) 0:00:13.947 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewritevlx_07md/tests/playbooks/tasks/run_test.yml:42 Wednesday 14 February 2024 17:47:37 +0000 (0:00:00.023) 0:00:13.970 **** TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /WORKDIR/git-bond_options_rewritevlx_07md/tests/playbooks/tasks/run_test.yml:47 Wednesday 14 February 2024 17:47:37 +0000 (0:00:00.019) 0:00:13.990 **** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-bond_options_rewritevlx_07md/tests/playbooks/tasks/run_test.yml:66 Wednesday 14 February 2024 17:47:38 +0000 (0:00:00.022) 0:00:14.012 **** included: /WORKDIR/git-bond_options_rewritevlx_07md/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewritevlx_07md/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 14 February 2024 17:47:38 +0000 (0:00:00.040) 0:00:14.053 **** 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.032229", "end": "2024-02-14 17:47:38.262589", "rc": 255, "start": "2024-02-14 17:47:38.230360" } STDERR: Error: Can't obtain connections: settings services are not running. Error: Can't obtain connections: settings services are not running. Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-bond_options_rewritevlx_07md/tests/playbooks/tests_states.yml:65 Wednesday 14 February 2024 17:47:38 +0000 (0:00:00.162) 0:00:14.215 **** included: /WORKDIR/git-bond_options_rewritevlx_07md/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can activate an existing profile] ******************************** task path: /WORKDIR/git-bond_options_rewritevlx_07md/tests/playbooks/tasks/run_test.yml:5 Wednesday 14 February 2024 17:47:38 +0000 (0:00:00.066) 0:00:14.281 **** ok: [sut] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewritevlx_07md/tests/playbooks/tasks/run_test.yml:9 Wednesday 14 February 2024 17:47:38 +0000 (0:00:00.022) 0:00:14.304 **** 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_rewritevlx_07md/tests/playbooks/tasks/run_test.yml:21 Wednesday 14 February 2024 17:47:38 +0000 (0:00:00.045) 0:00:14.349 **** included: /WORKDIR/git-bond_options_rewritevlx_07md/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritevlx_07md/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 17:47:38 +0000 (0:00:00.034) 0:00:14.384 **** included: /WORKDIR/git-bond_options_rewritevlx_07md/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritevlx_07md/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 17:47:38 +0000 (0:00:00.033) 0:00:14.418 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003248", "end": "2024-02-14 17:47:38.603026", "rc": 0, "start": "2024-02-14 17:47:38.599778" } STDOUT: dummy0 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritevlx_07md/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 17:47:38 +0000 (0:00:00.138) 0:00:14.557 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "dummy0", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritevlx_07md/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 17:47:38 +0000 (0:00:00.022) 0:00:14.579 **** ok: [sut] => {} MSG: current_interfaces: ['dummy0', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewritevlx_07md/tests/playbooks/tasks/run_test.yml:24 Wednesday 14 February 2024 17:47:38 +0000 (0:00:00.021) 0:00:14.601 **** included: /WORKDIR/git-bond_options_rewritevlx_07md/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritevlx_07md/tests/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 14 February 2024 17:47:38 +0000 (0:00:00.037) 0:00:14.639 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 17:47:38 +0000 (0:00:00.036) 0:00:14.675 **** included: /WORKDIR/git-bond_options_rewritevlx_07md/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_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 17:47:38 +0000 (0:00:00.039) 0:00:14.715 **** 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_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 17:47:38 +0000 (0:00:00.054) 0:00:14.770 **** 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_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 17:47:38 +0000 (0:00:00.021) 0:00:14.792 **** 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_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 17:47:38 +0000 (0:00:00.022) 0:00:14.814 **** 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_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 17:47:40 +0000 (0:00:01.580) 0:00:16.394 **** 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_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 17:47:40 +0000 (0:00:00.578) 0:00:16.973 **** 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_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 17:47:41 +0000 (0:00:00.022) 0:00:16.995 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-bond_options_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 17:47:41 +0000 (0:00:00.042) 0:00:17.038 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 17:47:41 +0000 (0:00:00.021) 0:00:17.059 **** 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_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 17:47:41 +0000 (0:00:00.044) 0:00:17.104 **** 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_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 17:47:41 +0000 (0:00:00.021) 0:00:17.125 **** 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_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 17:47:41 +0000 (0:00:00.021) 0:00:17.146 **** 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_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 17:47:41 +0000 (0:00:00.024) 0:00:17.171 **** 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_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 17:47:41 +0000 (0:00:00.021) 0:00:17.193 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 17:47:41 +0000 (0:00:00.021) 0:00:17.214 **** 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_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 17:47:41 +0000 (0:00:00.193) 0:00:17.407 **** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-14208dxv8vsc3/tmpfcjlmjoo" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 17:47:41 +0000 (0:00:00.194) 0:00:17.602 **** 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_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 17:47:41 +0000 (0:00:00.242) 0:00:17.844 **** 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_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 17:47:41 +0000 (0:00:00.021) 0:00:17.865 **** 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_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 17:47:41 +0000 (0:00:00.022) 0:00:17.888 **** 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_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 17:47:41 +0000 (0:00:00.022) 0:00:17.911 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 17:47:41 +0000 (0:00:00.020) 0:00:17.932 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewritevlx_07md/tests/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 14 February 2024 17:47:42 +0000 (0:00:00.152) 0:00:18.084 **** 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_rewritevlx_07md/tests/playbooks/tasks/run_test.yml:30 Wednesday 14 February 2024 17:47:42 +0000 (0:00:00.024) 0:00:18.108 **** included: /WORKDIR/git-bond_options_rewritevlx_07md/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritevlx_07md/tests/playbooks/tasks/activate_profile.yml:3 Wednesday 14 February 2024 17:47:42 +0000 (0:00:00.038) 0:00:18.147 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 17:47:42 +0000 (0:00:00.040) 0:00:18.188 **** included: /WORKDIR/git-bond_options_rewritevlx_07md/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_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 17:47:42 +0000 (0:00:00.039) 0:00:18.228 **** 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_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 17:47:42 +0000 (0:00:00.027) 0:00:18.255 **** 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_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 17:47:42 +0000 (0:00:00.021) 0:00:18.276 **** 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_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 17:47:42 +0000 (0:00:00.021) 0:00:18.298 **** 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_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 17:47:43 +0000 (0:00:01.568) 0:00:19.866 **** 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_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 17:47:44 +0000 (0:00:00.579) 0:00:20.445 **** 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_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 17:47:44 +0000 (0:00:00.022) 0:00:20.468 **** 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_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 17:47:44 +0000 (0:00:00.021) 0:00:20.489 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 17:47:44 +0000 (0:00:00.021) 0:00:20.511 **** 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_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 17:47:44 +0000 (0:00:00.042) 0:00:20.553 **** 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_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 17:47:44 +0000 (0:00:00.021) 0:00:20.575 **** 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_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 17:47:44 +0000 (0:00:00.021) 0:00:20.596 **** 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_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 17:47:44 +0000 (0:00:00.025) 0:00:20.622 **** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-bond_options_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 17:47:44 +0000 (0:00:00.021) 0:00:20.643 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 17:47:44 +0000 (0:00:00.020) 0:00:20.664 **** 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_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 17:47:44 +0000 (0:00:00.215) 0:00:20.880 **** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-14208dxv8vsc3/tmp2w_0wu3i" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 17:47:45 +0000 (0:00:00.193) 0:00:21.073 **** 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_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 17:47:45 +0000 (0:00:00.370) 0:00:21.444 **** 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_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 17:47:45 +0000 (0:00:00.022) 0:00:21.466 **** 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_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 17:47:45 +0000 (0:00:00.022) 0:00:21.489 **** 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_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 17:47:45 +0000 (0:00:00.023) 0:00:21.512 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 17:47:45 +0000 (0:00:00.021) 0:00:21.534 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewritevlx_07md/tests/playbooks/tasks/run_test.yml:36 Wednesday 14 February 2024 17:47:45 +0000 (0:00:00.130) 0:00:21.664 **** included: /WORKDIR/git-bond_options_rewritevlx_07md/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-bond_options_rewritevlx_07md/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewritevlx_07md/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 14 February 2024 17:47:45 +0000 (0:00:00.042) 0:00:21.707 **** included: /WORKDIR/git-bond_options_rewritevlx_07md/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewritevlx_07md/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 14 February 2024 17:47:45 +0000 (0:00:00.035) 0:00:21.742 **** ok: [sut] => { "changed": false, "stat": { "atime": 1707932865.4102192, "block_size": 4096, "blocks": 0, "ctime": 1707932865.409219, "dev": 0, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 6553, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/sys/devices/virtual/net/statebr", "lnk_target": "../../devices/virtual/net/statebr", "mode": "0777", "mtime": 1707932865.409219, "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_rewritevlx_07md/tests/playbooks/tasks/assert_device_present.yml:5 Wednesday 14 February 2024 17:47:45 +0000 (0:00:00.129) 0:00:21.872 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewritevlx_07md/tests/playbooks/tasks/assert_profile_present.yml:3 Wednesday 14 February 2024 17:47:45 +0000 (0:00:00.048) 0:00:21.921 **** included: /WORKDIR/git-bond_options_rewritevlx_07md/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_rewritevlx_07md/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 14 February 2024 17:47:45 +0000 (0:00:00.037) 0:00:21.958 **** 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_rewritevlx_07md/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 14 February 2024 17:47:45 +0000 (0:00:00.021) 0:00:21.980 **** ok: [sut] => { "changed": false, "stat": { "atime": 1707932863.4952192, "block_size": 4096, "blocks": 8, "ctime": 1707932861.8872192, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 18846, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1707932861.8872192, "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_rewritevlx_07md/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 14 February 2024 17:47:46 +0000 (0:00:00.134) 0:00:22.114 **** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewritevlx_07md/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 14 February 2024 17:47:46 +0000 (0:00:00.023) 0:00:22.138 **** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.006434", "end": "2024-02-14 17:47:46.321014", "rc": 1, "start": "2024-02-14 17:47:46.314580" } STDERR: Error: Object 'connection' is unknown, try 'nmcli help'. MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-bond_options_rewritevlx_07md/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 14 February 2024 17:47:46 +0000 (0:00:00.134) 0:00:22.273 **** 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_rewritevlx_07md/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 14 February 2024 17:47:46 +0000 (0:00:00.023) 0:00:22.296 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003162", "end": "2024-02-14 17:47:46.480547", "rc": 0, "start": "2024-02-14 17:47:46.477385" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-bond_options_rewritevlx_07md/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 14 February 2024 17:47:46 +0000 (0:00:00.140) 0:00:22.436 **** 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_rewritevlx_07md/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 14 February 2024 17:47:46 +0000 (0:00:00.027) 0:00:22.463 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003150", "end": "2024-02-14 17:47:46.648294", "rc": 0, "start": "2024-02-14 17:47:46.645144" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewritevlx_07md/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 14 February 2024 17:47:46 +0000 (0:00:00.139) 0:00:22.602 **** 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_rewritevlx_07md/tests/playbooks/tasks/assert_profile_present.yml:5 Wednesday 14 February 2024 17:47:46 +0000 (0:00:00.026) 0:00:22.629 **** 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_rewritevlx_07md/tests/playbooks/tasks/assert_profile_present.yml:10 Wednesday 14 February 2024 17:47:46 +0000 (0:00:00.023) 0:00:22.653 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-bond_options_rewritevlx_07md/tests/playbooks/tasks/assert_profile_present.yml:15 Wednesday 14 February 2024 17:47:46 +0000 (0:00:00.022) 0:00:22.676 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewritevlx_07md/tests/playbooks/tasks/run_test.yml:42 Wednesday 14 February 2024 17:47:46 +0000 (0:00:00.023) 0:00:22.699 **** TASK [Success in test 'I can activate an existing profile'] ******************** task path: /WORKDIR/git-bond_options_rewritevlx_07md/tests/playbooks/tasks/run_test.yml:47 Wednesday 14 February 2024 17:47:46 +0000 (0:00:00.045) 0:00:22.745 **** ok: [sut] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-bond_options_rewritevlx_07md/tests/playbooks/tasks/run_test.yml:66 Wednesday 14 February 2024 17:47:46 +0000 (0:00:00.022) 0:00:22.767 **** included: /WORKDIR/git-bond_options_rewritevlx_07md/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewritevlx_07md/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 14 February 2024 17:47:46 +0000 (0:00:00.040) 0:00:22.808 **** 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.044682", "end": "2024-02-14 17:47:47.030491", "rc": 0, "start": "2024-02-14 17:47:46.985809" } STDERR: Error: Can't obtain connections: settings services are not running. Error: Can't obtain connections: settings services are not running. TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-bond_options_rewritevlx_07md/tests/playbooks/tests_states.yml:83 Wednesday 14 February 2024 17:47:46 +0000 (0:00:00.179) 0:00:22.988 **** included: /WORKDIR/git-bond_options_rewritevlx_07md/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_rewritevlx_07md/tests/playbooks/tasks/run_test.yml:5 Wednesday 14 February 2024 17:47:47 +0000 (0:00:00.036) 0:00:23.024 **** ok: [sut] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewritevlx_07md/tests/playbooks/tasks/run_test.yml:9 Wednesday 14 February 2024 17:47:47 +0000 (0:00:00.023) 0:00:23.047 **** 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_rewritevlx_07md/tests/playbooks/tasks/run_test.yml:21 Wednesday 14 February 2024 17:47:47 +0000 (0:00:00.044) 0:00:23.092 **** included: /WORKDIR/git-bond_options_rewritevlx_07md/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritevlx_07md/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 17:47:47 +0000 (0:00:00.035) 0:00:23.127 **** included: /WORKDIR/git-bond_options_rewritevlx_07md/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritevlx_07md/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 17:47:47 +0000 (0:00:00.033) 0:00:23.161 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003231", "end": "2024-02-14 17:47:47.341264", "rc": 0, "start": "2024-02-14 17:47:47.338033" } STDOUT: dummy0 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritevlx_07md/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 17:47:47 +0000 (0:00:00.133) 0:00:23.295 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "dummy0", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritevlx_07md/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 17:47:47 +0000 (0:00:00.023) 0:00:23.319 **** ok: [sut] => {} MSG: current_interfaces: ['dummy0', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewritevlx_07md/tests/playbooks/tasks/run_test.yml:24 Wednesday 14 February 2024 17:47:47 +0000 (0:00:00.021) 0:00:23.340 **** included: /WORKDIR/git-bond_options_rewritevlx_07md/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-bond_options_rewritevlx_07md/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritevlx_07md/tests/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 14 February 2024 17:47:47 +0000 (0:00:00.065) 0:00:23.406 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 17:47:47 +0000 (0:00:00.036) 0:00:23.443 **** included: /WORKDIR/git-bond_options_rewritevlx_07md/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_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 17:47:47 +0000 (0:00:00.039) 0:00:23.483 **** 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_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 17:47:47 +0000 (0:00:00.026) 0:00:23.509 **** 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_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 17:47:47 +0000 (0:00:00.022) 0:00:23.532 **** 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_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 17:47:47 +0000 (0:00:00.021) 0:00:23.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 : Check which packages are installed] ********* task path: /WORKDIR/git-bond_options_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 17:47:49 +0000 (0:00:01.608) 0:00:25.163 **** 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_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 17:47:49 +0000 (0:00:00.601) 0:00:25.764 **** 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_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 17:47:49 +0000 (0:00:00.023) 0:00:25.787 **** 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_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 17:47:49 +0000 (0:00:00.021) 0:00:25.808 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 17:47:49 +0000 (0:00:00.021) 0:00:25.830 **** 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_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 17:47:49 +0000 (0:00:00.042) 0:00:25.873 **** 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_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 17:47:49 +0000 (0:00:00.021) 0:00:25.894 **** 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_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 17:47:49 +0000 (0:00:00.021) 0:00:25.916 **** 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_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 17:47:49 +0000 (0:00:00.023) 0:00:25.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 : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-bond_options_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 17:47:49 +0000 (0:00:00.021) 0:00:25.961 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 17:47:49 +0000 (0:00:00.021) 0:00:25.983 **** 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_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 17:47:50 +0000 (0:00:00.188) 0:00:26.171 **** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-14208dxv8vsc3/tmpgkk2806p" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 17:47:50 +0000 (0:00:00.222) 0:00:26.394 **** 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_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 17:47:50 +0000 (0:00:00.240) 0:00:26.635 **** 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_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 17:47:50 +0000 (0:00:00.021) 0:00:26.657 **** 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_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 17:47:50 +0000 (0:00:00.022) 0:00:26.679 **** 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_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 17:47:50 +0000 (0:00:00.023) 0:00:26.702 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 17:47:50 +0000 (0:00:00.021) 0:00:26.724 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewritevlx_07md/tests/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 14 February 2024 17:47:50 +0000 (0:00:00.126) 0:00:26.850 **** 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_rewritevlx_07md/tests/playbooks/tasks/activate_profile.yml:3 Wednesday 14 February 2024 17:47:50 +0000 (0:00:00.023) 0:00:26.873 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 17:47:50 +0000 (0:00:00.037) 0:00:26.910 **** included: /WORKDIR/git-bond_options_rewritevlx_07md/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_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 17:47:50 +0000 (0:00:00.039) 0:00:26.950 **** 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_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 17:47:50 +0000 (0:00:00.026) 0:00:26.976 **** 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_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 17:47:51 +0000 (0:00:00.021) 0:00:26.998 **** 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_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 17:47:51 +0000 (0:00:00.021) 0:00:27.020 **** 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_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 17:47:52 +0000 (0:00:01.595) 0:00:28.615 **** 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_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 17:47:53 +0000 (0:00:00.585) 0:00:29.200 **** 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_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 17:47:53 +0000 (0:00:00.022) 0:00:29.223 **** 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_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 17:47:53 +0000 (0:00:00.021) 0:00:29.245 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 17:47:53 +0000 (0:00:00.021) 0:00:29.266 **** 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_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 17:47:53 +0000 (0:00:00.044) 0:00:29.310 **** 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_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 17:47:53 +0000 (0:00:00.047) 0:00:29.358 **** 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_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 17:47:53 +0000 (0:00:00.023) 0:00:29.381 **** 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_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 17:47:53 +0000 (0:00:00.025) 0:00:29.407 **** 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_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 17:47:53 +0000 (0:00:00.022) 0:00:29.429 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 17:47:53 +0000 (0:00:00.021) 0:00:29.450 **** 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_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 17:47:53 +0000 (0:00:00.190) 0:00:29.641 **** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-14208dxv8vsc3/tmpi0au544n" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 17:47:53 +0000 (0:00:00.196) 0:00:29.837 **** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active) [003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err='' TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 17:47:54 +0000 (0:00:00.353) 0:00:30.191 **** 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_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 17:47:54 +0000 (0:00:00.021) 0:00:30.213 **** 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_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 17:47:54 +0000 (0:00:00.022) 0:00:30.235 **** 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_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 17:47:54 +0000 (0:00:00.022) 0:00:30.258 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 17:47:54 +0000 (0:00:00.020) 0:00:30.279 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewritevlx_07md/tests/playbooks/tasks/run_test.yml:30 Wednesday 14 February 2024 17:47:54 +0000 (0:00:00.125) 0:00:30.405 **** included: /WORKDIR/git-bond_options_rewritevlx_07md/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritevlx_07md/tests/playbooks/tasks/remove_profile.yml:3 Wednesday 14 February 2024 17:47:54 +0000 (0:00:00.068) 0:00:30.474 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 17:47:54 +0000 (0:00:00.041) 0:00:30.515 **** included: /WORKDIR/git-bond_options_rewritevlx_07md/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_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 17:47:54 +0000 (0:00:00.039) 0:00:30.555 **** 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_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 17:47:54 +0000 (0:00:00.027) 0:00:30.582 **** 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_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 17:47:54 +0000 (0:00:00.021) 0:00:30.604 **** 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_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 17:47:54 +0000 (0:00:00.021) 0:00:30.626 **** 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_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 17:47:56 +0000 (0:00:01.605) 0:00:32.231 **** 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_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 17:47:56 +0000 (0:00:00.600) 0:00:32.831 **** 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_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 17:47:56 +0000 (0:00:00.023) 0:00:32.855 **** 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_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 17:47:56 +0000 (0:00:00.022) 0:00:32.877 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 17:47:56 +0000 (0:00:00.021) 0:00:32.898 **** 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_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 17:47:56 +0000 (0:00:00.043) 0:00:32.942 **** 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_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 17:47:56 +0000 (0:00:00.022) 0:00:32.964 **** 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_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 17:47:56 +0000 (0:00:00.021) 0:00:32.985 **** 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_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 17:47:57 +0000 (0:00:00.025) 0:00:33.011 **** 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_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 17:47:57 +0000 (0:00:00.022) 0:00:33.033 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 17:47:57 +0000 (0:00:00.021) 0:00:33.055 **** 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_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 17:47:57 +0000 (0:00:00.189) 0:00:33.244 **** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-14208dxv8vsc3/tmpbbdlr7pk" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 17:47:57 +0000 (0:00:00.194) 0:00:33.439 **** 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_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 17:47:57 +0000 (0:00:00.272) 0:00:33.712 **** 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_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 17:47:57 +0000 (0:00:00.022) 0:00:33.734 **** 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_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 17:47:57 +0000 (0:00:00.023) 0:00:33.757 **** 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_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 17:47:57 +0000 (0:00:00.023) 0:00:33.781 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 17:47:57 +0000 (0:00:00.021) 0:00:33.803 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewritevlx_07md/tests/playbooks/tasks/run_test.yml:36 Wednesday 14 February 2024 17:47:57 +0000 (0:00:00.131) 0:00:33.935 **** included: /WORKDIR/git-bond_options_rewritevlx_07md/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-bond_options_rewritevlx_07md/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewritevlx_07md/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 14 February 2024 17:47:57 +0000 (0:00:00.044) 0:00:33.979 **** included: /WORKDIR/git-bond_options_rewritevlx_07md/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewritevlx_07md/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 14 February 2024 17:47:58 +0000 (0:00:00.036) 0:00:34.015 **** ok: [sut] => { "changed": false, "stat": { "atime": 1707932874.171219, "block_size": 4096, "blocks": 0, "ctime": 1707932874.1702192, "dev": 0, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 6553, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/sys/devices/virtual/net/statebr", "lnk_target": "../../devices/virtual/net/statebr", "mode": "0777", "mtime": 1707932874.1702192, "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_rewritevlx_07md/tests/playbooks/tasks/assert_device_present.yml:5 Wednesday 14 February 2024 17:47:58 +0000 (0:00:00.134) 0:00:34.150 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewritevlx_07md/tests/playbooks/tasks/assert_profile_absent.yml:3 Wednesday 14 February 2024 17:47:58 +0000 (0:00:00.023) 0:00:34.174 **** included: /WORKDIR/git-bond_options_rewritevlx_07md/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_rewritevlx_07md/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 14 February 2024 17:47:58 +0000 (0:00:00.037) 0:00:34.211 **** 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_rewritevlx_07md/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 14 February 2024 17:47:58 +0000 (0:00:00.021) 0:00:34.233 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-bond_options_rewritevlx_07md/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 14 February 2024 17:47:58 +0000 (0:00:00.153) 0:00:34.386 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewritevlx_07md/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 14 February 2024 17:47:58 +0000 (0:00:00.022) 0:00:34.408 **** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.006799", "end": "2024-02-14 17:47:58.595214", "rc": 1, "start": "2024-02-14 17:47:58.588415" } STDERR: Error: Object 'connection' is unknown, try 'nmcli help'. MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-bond_options_rewritevlx_07md/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 14 February 2024 17:47:58 +0000 (0:00:00.141) 0:00:34.550 **** 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_rewritevlx_07md/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 14 February 2024 17:47:58 +0000 (0:00:00.022) 0:00:34.572 **** 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_rewritevlx_07md/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 14 February 2024 17:47:58 +0000 (0:00:00.023) 0:00:34.596 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-bond_options_rewritevlx_07md/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 14 February 2024 17:47:58 +0000 (0:00:00.022) 0:00:34.619 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewritevlx_07md/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 14 February 2024 17:47:58 +0000 (0:00:00.024) 0:00:34.644 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-bond_options_rewritevlx_07md/tests/playbooks/tasks/assert_profile_absent.yml:5 Wednesday 14 February 2024 17:47:58 +0000 (0:00:00.023) 0:00:34.667 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewritevlx_07md/tests/playbooks/tasks/run_test.yml:42 Wednesday 14 February 2024 17:47:58 +0000 (0:00:00.025) 0:00:34.692 **** TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /WORKDIR/git-bond_options_rewritevlx_07md/tests/playbooks/tasks/run_test.yml:47 Wednesday 14 February 2024 17:47:58 +0000 (0:00:00.020) 0:00:34.713 **** ok: [sut] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-bond_options_rewritevlx_07md/tests/playbooks/tasks/run_test.yml:66 Wednesday 14 February 2024 17:47:58 +0000 (0:00:00.023) 0:00:34.736 **** included: /WORKDIR/git-bond_options_rewritevlx_07md/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewritevlx_07md/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 14 February 2024 17:47:58 +0000 (0:00:00.039) 0:00:34.776 **** 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.040551", "end": "2024-02-14 17:47:58.996516", "rc": 0, "start": "2024-02-14 17:47:58.955965" } STDERR: Error: Can't obtain connections: settings services are not running. Error: Can't obtain connections: settings services are not running. TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-bond_options_rewritevlx_07md/tests/playbooks/tests_states.yml:103 Wednesday 14 February 2024 17:47:58 +0000 (0:00:00.179) 0:00:34.956 **** included: /WORKDIR/git-bond_options_rewritevlx_07md/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_rewritevlx_07md/tests/playbooks/tasks/run_test.yml:5 Wednesday 14 February 2024 17:47:59 +0000 (0:00:00.067) 0:00:35.023 **** ok: [sut] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewritevlx_07md/tests/playbooks/tasks/run_test.yml:9 Wednesday 14 February 2024 17:47:59 +0000 (0:00:00.022) 0:00:35.046 **** 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_rewritevlx_07md/tests/playbooks/tasks/run_test.yml:21 Wednesday 14 February 2024 17:47:59 +0000 (0:00:00.046) 0:00:35.093 **** included: /WORKDIR/git-bond_options_rewritevlx_07md/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritevlx_07md/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 17:47:59 +0000 (0:00:00.035) 0:00:35.128 **** included: /WORKDIR/git-bond_options_rewritevlx_07md/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritevlx_07md/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 17:47:59 +0000 (0:00:00.034) 0:00:35.162 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003243", "end": "2024-02-14 17:47:59.343719", "rc": 0, "start": "2024-02-14 17:47:59.340476" } STDOUT: dummy0 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritevlx_07md/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 17:47:59 +0000 (0:00:00.134) 0:00:35.297 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "dummy0", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritevlx_07md/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 17:47:59 +0000 (0:00:00.024) 0:00:35.321 **** ok: [sut] => {} MSG: current_interfaces: ['dummy0', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewritevlx_07md/tests/playbooks/tasks/run_test.yml:24 Wednesday 14 February 2024 17:47:59 +0000 (0:00:00.023) 0:00:35.344 **** included: /WORKDIR/git-bond_options_rewritevlx_07md/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-bond_options_rewritevlx_07md/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-bond_options_rewritevlx_07md/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritevlx_07md/tests/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 14 February 2024 17:47:59 +0000 (0:00:00.044) 0:00:35.389 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 17:47:59 +0000 (0:00:00.036) 0:00:35.426 **** included: /WORKDIR/git-bond_options_rewritevlx_07md/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_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 17:47:59 +0000 (0:00:00.043) 0:00:35.469 **** 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_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 17:47:59 +0000 (0:00:00.029) 0:00:35.498 **** 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_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 17:47:59 +0000 (0:00:00.053) 0:00:35.551 **** 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_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 17:47:59 +0000 (0:00:00.023) 0:00:35.575 **** 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_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 17:48:01 +0000 (0:00:01.636) 0:00:37.212 **** 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_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 17:48:01 +0000 (0:00:00.594) 0:00:37.807 **** 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_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 17:48:01 +0000 (0:00:00.023) 0:00:37.830 **** 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_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 17:48:01 +0000 (0:00:00.044) 0:00:37.874 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 17:48:01 +0000 (0:00:00.022) 0:00:37.897 **** 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_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 17:48:01 +0000 (0:00:00.044) 0:00:37.942 **** 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_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 17:48:01 +0000 (0:00:00.023) 0:00:37.966 **** 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_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 17:48:01 +0000 (0:00:00.023) 0:00:37.990 **** 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_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 17:48:02 +0000 (0:00:00.026) 0:00:38.017 **** 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_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 17:48:02 +0000 (0:00:00.024) 0:00:38.041 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 17:48:02 +0000 (0:00:00.023) 0:00:38.064 **** 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_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 17:48:02 +0000 (0:00:00.200) 0:00:38.264 **** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-14208dxv8vsc3/tmpnggtp3nz" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 17:48:02 +0000 (0:00:00.201) 0:00:38.466 **** 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_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 17:48:02 +0000 (0:00:00.246) 0:00:38.712 **** 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_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 17:48:02 +0000 (0:00:00.021) 0:00:38.734 **** 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_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 17:48:02 +0000 (0:00:00.023) 0:00:38.757 **** 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_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 17:48:02 +0000 (0:00:00.023) 0:00:38.780 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 17:48:02 +0000 (0:00:00.022) 0:00:38.803 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewritevlx_07md/tests/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 14 February 2024 17:48:02 +0000 (0:00:00.130) 0:00:38.934 **** 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_rewritevlx_07md/tests/playbooks/tasks/activate_profile.yml:3 Wednesday 14 February 2024 17:48:02 +0000 (0:00:00.027) 0:00:38.961 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 17:48:03 +0000 (0:00:00.040) 0:00:39.002 **** included: /WORKDIR/git-bond_options_rewritevlx_07md/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_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 17:48:03 +0000 (0:00:00.043) 0:00:39.045 **** 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_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 17:48:03 +0000 (0:00:00.027) 0:00:39.073 **** 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_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 17:48:03 +0000 (0:00:00.022) 0:00:39.096 **** 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_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 17:48:03 +0000 (0:00:00.022) 0:00:39.118 **** 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_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 17:48:04 +0000 (0:00:01.596) 0:00:40.715 **** 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_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 17:48:05 +0000 (0:00:00.582) 0:00:41.297 **** 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_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 17:48:05 +0000 (0:00:00.023) 0:00:41.320 **** 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_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 17:48:05 +0000 (0:00:00.021) 0:00:41.342 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 17:48:05 +0000 (0:00:00.021) 0:00:41.363 **** 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_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 17:48:05 +0000 (0:00:00.043) 0:00:41.407 **** 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_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 17:48:05 +0000 (0:00:00.021) 0:00:41.429 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-bond_options_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 17:48:05 +0000 (0:00:00.021) 0:00:41.450 **** 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_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 17:48:05 +0000 (0:00:00.025) 0:00:41.475 **** 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_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 17:48:05 +0000 (0:00:00.021) 0:00:41.497 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 17:48:05 +0000 (0:00:00.021) 0:00:41.518 **** 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_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 17:48:05 +0000 (0:00:00.188) 0:00:41.706 **** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-14208dxv8vsc3/tmp96lg3pob" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 17:48:05 +0000 (0:00:00.194) 0:00:41.901 **** 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_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 17:48:06 +0000 (0:00:00.350) 0:00:42.252 **** 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_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 17:48:06 +0000 (0:00:00.021) 0:00:42.273 **** 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_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 17:48:06 +0000 (0:00:00.022) 0:00:42.296 **** 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_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 17:48:06 +0000 (0:00:00.024) 0:00:42.321 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 17:48:06 +0000 (0:00:00.021) 0:00:42.342 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritevlx_07md/tests/playbooks/tasks/remove_profile.yml:3 Wednesday 14 February 2024 17:48:06 +0000 (0:00:00.123) 0:00:42.466 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 17:48:06 +0000 (0:00:00.035) 0:00:42.502 **** included: /WORKDIR/git-bond_options_rewritevlx_07md/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_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 17:48:06 +0000 (0:00:00.040) 0:00:42.542 **** 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_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 17:48:06 +0000 (0:00:00.026) 0:00:42.568 **** 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_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 17:48:06 +0000 (0:00:00.022) 0:00:42.590 **** 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_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 17:48:06 +0000 (0:00:00.021) 0:00:42.612 **** 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_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 17:48:08 +0000 (0:00:01.563) 0:00:44.176 **** 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_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 17:48:08 +0000 (0:00:00.576) 0:00:44.752 **** 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_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 17:48:08 +0000 (0:00:00.023) 0:00:44.776 **** 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_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 17:48:08 +0000 (0:00:00.022) 0:00:44.798 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 17:48:08 +0000 (0:00:00.021) 0:00:44.819 **** 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_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 17:48:08 +0000 (0:00:00.044) 0:00:44.864 **** 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_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 17:48:08 +0000 (0:00:00.048) 0:00:44.912 **** 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_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 17:48:08 +0000 (0:00:00.021) 0:00:44.934 **** 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_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 17:48:08 +0000 (0:00:00.025) 0:00:44.959 **** 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_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 17:48:08 +0000 (0:00:00.021) 0:00:44.980 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 17:48:09 +0000 (0:00:00.021) 0:00:45.002 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-bond_options_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 17:48:09 +0000 (0:00:00.186) 0:00:45.189 **** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-14208dxv8vsc3/tmp467x4x_3" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 17:48:09 +0000 (0:00:00.193) 0:00:45.382 **** 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_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 17:48:09 +0000 (0:00:00.243) 0:00:45.625 **** 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_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 17:48:09 +0000 (0:00:00.021) 0:00:45.647 **** 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_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 17:48:09 +0000 (0:00:00.025) 0:00:45.672 **** 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_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 17:48:09 +0000 (0:00:00.024) 0:00:45.696 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 17:48:09 +0000 (0:00:00.022) 0:00:45.718 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewritevlx_07md/tests/playbooks/tasks/run_test.yml:30 Wednesday 14 February 2024 17:48:09 +0000 (0:00:00.126) 0:00:45.845 **** included: /WORKDIR/git-bond_options_rewritevlx_07md/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritevlx_07md/tests/playbooks/tasks/remove+down_profile.yml:3 Wednesday 14 February 2024 17:48:09 +0000 (0:00:00.039) 0:00:45.885 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 17:48:09 +0000 (0:00:00.066) 0:00:45.951 **** included: /WORKDIR/git-bond_options_rewritevlx_07md/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_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 17:48:10 +0000 (0:00:00.039) 0:00:45.991 **** 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_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 17:48:10 +0000 (0:00:00.028) 0:00:46.019 **** 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_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 17:48:10 +0000 (0:00:00.021) 0:00:46.041 **** 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_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 17:48:10 +0000 (0:00:00.021) 0:00:46.062 **** 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_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 17:48:11 +0000 (0:00:01.564) 0:00:47.627 **** 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_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 17:48:12 +0000 (0:00:00.613) 0:00:48.240 **** 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_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 17:48:12 +0000 (0:00:00.022) 0:00:48.263 **** 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_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 17:48:12 +0000 (0:00:00.021) 0:00:48.285 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 17:48:12 +0000 (0:00:00.021) 0:00:48.307 **** 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_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 17:48:12 +0000 (0:00:00.042) 0:00:48.349 **** 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_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 17:48:12 +0000 (0:00:00.022) 0:00:48.371 **** 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_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 17:48:12 +0000 (0:00:00.021) 0:00:48.392 **** 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_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 17:48:12 +0000 (0:00:00.026) 0:00:48.418 **** 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_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 17:48:12 +0000 (0:00:00.021) 0:00:48.440 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 17:48:12 +0000 (0:00:00.020) 0:00:48.461 **** 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_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 17:48:12 +0000 (0:00:00.190) 0:00:48.652 **** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-14208dxv8vsc3/tmpcfbo_msy" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 17:48:12 +0000 (0:00:00.193) 0:00:48.846 **** 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_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 17:48:13 +0000 (0:00:00.284) 0:00:49.130 **** 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_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 17:48:13 +0000 (0:00:00.021) 0:00:49.152 **** 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_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 17:48:13 +0000 (0:00:00.023) 0:00:49.175 **** 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_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 17:48:13 +0000 (0:00:00.023) 0:00:49.199 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 17:48:13 +0000 (0:00:00.021) 0:00:49.220 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewritevlx_07md/tests/playbooks/tasks/run_test.yml:36 Wednesday 14 February 2024 17:48:13 +0000 (0:00:00.123) 0:00:49.343 **** included: /WORKDIR/git-bond_options_rewritevlx_07md/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewritevlx_07md/tests/playbooks/tasks/assert_profile_absent.yml:3 Wednesday 14 February 2024 17:48:13 +0000 (0:00:00.041) 0:00:49.384 **** included: /WORKDIR/git-bond_options_rewritevlx_07md/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_rewritevlx_07md/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 14 February 2024 17:48:13 +0000 (0:00:00.036) 0:00:49.421 **** 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_rewritevlx_07md/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 14 February 2024 17:48:13 +0000 (0:00:00.021) 0:00:49.443 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-bond_options_rewritevlx_07md/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 14 February 2024 17:48:13 +0000 (0:00:00.128) 0:00:49.571 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewritevlx_07md/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 14 February 2024 17:48:13 +0000 (0:00:00.021) 0:00:49.592 **** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.006495", "end": "2024-02-14 17:48:13.775942", "rc": 1, "start": "2024-02-14 17:48:13.769447" } STDERR: Error: Object 'connection' is unknown, try 'nmcli help'. MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-bond_options_rewritevlx_07md/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 14 February 2024 17:48:13 +0000 (0:00:00.136) 0:00:49.729 **** 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_rewritevlx_07md/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 14 February 2024 17:48:13 +0000 (0:00:00.024) 0:00:49.754 **** 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_rewritevlx_07md/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 14 February 2024 17:48:13 +0000 (0:00:00.023) 0:00:49.777 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-bond_options_rewritevlx_07md/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 14 February 2024 17:48:13 +0000 (0:00:00.067) 0:00:49.845 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewritevlx_07md/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 14 February 2024 17:48:13 +0000 (0:00:00.026) 0:00:49.871 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-bond_options_rewritevlx_07md/tests/playbooks/tasks/assert_profile_absent.yml:5 Wednesday 14 February 2024 17:48:13 +0000 (0:00:00.023) 0:00:49.895 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewritevlx_07md/tests/playbooks/tasks/run_test.yml:42 Wednesday 14 February 2024 17:48:13 +0000 (0:00:00.025) 0:00:49.920 **** 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_rewritevlx_07md/tests/playbooks/tasks/run_test.yml:47 Wednesday 14 February 2024 17:48:13 +0000 (0:00:00.027) 0:00:49.948 **** ok: [sut] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-bond_options_rewritevlx_07md/tests/playbooks/tasks/run_test.yml:66 Wednesday 14 February 2024 17:48:13 +0000 (0:00:00.024) 0:00:49.972 **** included: /WORKDIR/git-bond_options_rewritevlx_07md/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewritevlx_07md/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 14 February 2024 17:48:14 +0000 (0:00:00.043) 0:00:50.015 **** 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.035738", "end": "2024-02-14 17:48:14.231474", "rc": 0, "start": "2024-02-14 17:48:14.195736" } STDERR: Error: Can't obtain connections: settings services are not running. Error: Can't obtain connections: settings services are not running. TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-bond_options_rewritevlx_07md/tests/playbooks/tests_states.yml:126 Wednesday 14 February 2024 17:48:14 +0000 (0:00:00.176) 0:00:50.192 **** included: /WORKDIR/git-bond_options_rewritevlx_07md/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_rewritevlx_07md/tests/playbooks/tasks/run_test.yml:5 Wednesday 14 February 2024 17:48:14 +0000 (0:00:00.037) 0:00:50.230 **** 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_rewritevlx_07md/tests/playbooks/tasks/run_test.yml:9 Wednesday 14 February 2024 17:48:14 +0000 (0:00:00.023) 0:00:50.253 **** 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_rewritevlx_07md/tests/playbooks/tasks/run_test.yml:21 Wednesday 14 February 2024 17:48:14 +0000 (0:00:00.045) 0:00:50.299 **** included: /WORKDIR/git-bond_options_rewritevlx_07md/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritevlx_07md/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 17:48:14 +0000 (0:00:00.035) 0:00:50.334 **** included: /WORKDIR/git-bond_options_rewritevlx_07md/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritevlx_07md/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 17:48:14 +0000 (0:00:00.063) 0:00:50.398 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003271", "end": "2024-02-14 17:48:14.585309", "rc": 0, "start": "2024-02-14 17:48:14.582038" } STDOUT: dummy0 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritevlx_07md/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 17:48:14 +0000 (0:00:00.141) 0:00:50.540 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "dummy0", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritevlx_07md/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 17:48:14 +0000 (0:00:00.023) 0:00:50.563 **** ok: [sut] => {} MSG: current_interfaces: ['dummy0', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewritevlx_07md/tests/playbooks/tasks/run_test.yml:24 Wednesday 14 February 2024 17:48:14 +0000 (0:00:00.023) 0:00:50.586 **** included: /WORKDIR/git-bond_options_rewritevlx_07md/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-bond_options_rewritevlx_07md/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-bond_options_rewritevlx_07md/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritevlx_07md/tests/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 14 February 2024 17:48:14 +0000 (0:00:00.045) 0:00:50.632 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 17:48:14 +0000 (0:00:00.036) 0:00:50.668 **** included: /WORKDIR/git-bond_options_rewritevlx_07md/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_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 17:48:14 +0000 (0:00:00.040) 0:00:50.709 **** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-bond_options_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 17:48:14 +0000 (0:00:00.027) 0:00:50.736 **** 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_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 17:48:14 +0000 (0:00:00.022) 0:00:50.758 **** 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_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 17:48:14 +0000 (0:00:00.021) 0:00:50.780 **** 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_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 17:48:16 +0000 (0:00:01.548) 0:00:52.328 **** 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_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 17:48:16 +0000 (0:00:00.578) 0:00:52.907 **** 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_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 17:48:16 +0000 (0:00:00.022) 0:00:52.930 **** 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_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 17:48:16 +0000 (0:00:00.022) 0:00:52.952 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 17:48:16 +0000 (0:00:00.022) 0:00:52.974 **** 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_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 17:48:17 +0000 (0:00:00.043) 0:00:53.018 **** 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_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 17:48:17 +0000 (0:00:00.021) 0:00:53.039 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-bond_options_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 17:48:17 +0000 (0:00:00.022) 0:00:53.062 **** 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_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 17:48:17 +0000 (0:00:00.025) 0:00:53.087 **** 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_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 17:48:17 +0000 (0:00:00.045) 0:00:53.133 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 17:48:17 +0000 (0:00:00.022) 0:00:53.155 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-bond_options_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 17:48:17 +0000 (0:00:00.194) 0:00:53.350 **** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-14208dxv8vsc3/tmph4ia2p22" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 17:48:17 +0000 (0:00:00.194) 0:00:53.545 **** 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_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 17:48:17 +0000 (0:00:00.236) 0:00:53.781 **** 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_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 17:48:17 +0000 (0:00:00.022) 0:00:53.804 **** 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_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 17:48:17 +0000 (0:00:00.022) 0:00:53.827 **** 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_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 17:48:17 +0000 (0:00:00.023) 0:00:53.850 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 17:48:17 +0000 (0:00:00.021) 0:00:53.871 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewritevlx_07md/tests/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 14 February 2024 17:48:18 +0000 (0:00:00.125) 0:00:53.997 **** 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_rewritevlx_07md/tests/playbooks/tasks/activate_profile.yml:3 Wednesday 14 February 2024 17:48:18 +0000 (0:00:00.024) 0:00:54.021 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 17:48:18 +0000 (0:00:00.036) 0:00:54.057 **** included: /WORKDIR/git-bond_options_rewritevlx_07md/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_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 17:48:18 +0000 (0:00:00.072) 0:00:54.129 **** 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_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 17:48:18 +0000 (0:00:00.027) 0:00:54.157 **** 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_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 17:48:18 +0000 (0:00:00.022) 0:00:54.179 **** 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_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 17:48:18 +0000 (0:00:00.022) 0:00:54.201 **** 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_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 17:48:19 +0000 (0:00:01.556) 0:00:55.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 : Print network provider] ********************* task path: /WORKDIR/git-bond_options_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 17:48:20 +0000 (0:00:00.575) 0:00:56.334 **** 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_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 17:48:20 +0000 (0:00:00.047) 0:00:56.381 **** 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_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 17:48:20 +0000 (0:00:00.022) 0:00:56.404 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 17:48:20 +0000 (0:00:00.021) 0:00:56.426 **** 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_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 17:48:20 +0000 (0:00:00.045) 0:00:56.472 **** 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_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 17:48:20 +0000 (0:00:00.022) 0:00:56.494 **** 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_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 17:48:20 +0000 (0:00:00.021) 0:00:56.516 **** 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_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 17:48:20 +0000 (0:00:00.025) 0:00:56.541 **** 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_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 17:48:20 +0000 (0:00:00.021) 0:00:56.563 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 17:48:20 +0000 (0:00:00.022) 0:00:56.585 **** 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_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 17:48:20 +0000 (0:00:00.191) 0:00:56.776 **** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-14208dxv8vsc3/tmpsnmxip64" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 17:48:20 +0000 (0:00:00.195) 0:00:56.971 **** 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_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 17:48:21 +0000 (0:00:00.354) 0:00:57.326 **** 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_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 17:48:21 +0000 (0:00:00.021) 0:00:57.347 **** 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_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 17:48:21 +0000 (0:00:00.023) 0:00:57.371 **** 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_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 17:48:21 +0000 (0:00:00.049) 0:00:57.421 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 17:48:21 +0000 (0:00:00.021) 0:00:57.443 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritevlx_07md/tests/playbooks/tasks/remove+down_profile.yml:3 Wednesday 14 February 2024 17:48:21 +0000 (0:00:00.129) 0:00:57.572 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 17:48:21 +0000 (0:00:00.036) 0:00:57.609 **** included: /WORKDIR/git-bond_options_rewritevlx_07md/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_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 17:48:21 +0000 (0:00:00.039) 0:00:57.648 **** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-bond_options_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 17:48:21 +0000 (0:00:00.027) 0:00:57.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_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 17:48:21 +0000 (0:00:00.021) 0:00:57.698 **** 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_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 17:48:21 +0000 (0:00:00.021) 0:00:57.720 **** 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_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 17:48:23 +0000 (0:00:01.588) 0:00:59.308 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-bond_options_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 17:48:23 +0000 (0:00:00.578) 0:00:59.886 **** 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_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 17:48:23 +0000 (0:00:00.023) 0:00:59.909 **** 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_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 17:48:23 +0000 (0:00:00.022) 0:00:59.932 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 17:48:23 +0000 (0:00:00.021) 0:00:59.953 **** 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_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 17:48:24 +0000 (0:00:00.043) 0:00:59.997 **** 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_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 17:48:24 +0000 (0:00:00.022) 0:01:00.019 **** 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_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 17:48:24 +0000 (0:00:00.021) 0:01:00.040 **** 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_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 17:48:24 +0000 (0:00:00.025) 0:01:00.066 **** 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_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 17:48:24 +0000 (0:00:00.021) 0:01:00.087 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 17:48:24 +0000 (0:00:00.021) 0:01:00.108 **** 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_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 17:48:24 +0000 (0:00:00.191) 0:01:00.300 **** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-14208dxv8vsc3/tmpwc_af5do" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 17:48:24 +0000 (0:00:00.193) 0:01:00.493 **** 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_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 17:48:24 +0000 (0:00:00.248) 0:01:00.742 **** 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_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 17:48:24 +0000 (0:00:00.021) 0:01:00.764 **** 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_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 17:48:24 +0000 (0:00:00.023) 0:01:00.787 **** 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_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 17:48:24 +0000 (0:00:00.022) 0:01:00.810 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 17:48:24 +0000 (0:00:00.021) 0:01:00.832 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewritevlx_07md/tests/playbooks/tasks/run_test.yml:30 Wednesday 14 February 2024 17:48:24 +0000 (0:00:00.128) 0:01:00.960 **** included: /WORKDIR/git-bond_options_rewritevlx_07md/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritevlx_07md/tests/playbooks/tasks/remove+down_profile.yml:3 Wednesday 14 February 2024 17:48:25 +0000 (0:00:00.040) 0:01:01.001 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 17:48:25 +0000 (0:00:00.036) 0:01:01.037 **** included: /WORKDIR/git-bond_options_rewritevlx_07md/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_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 17:48:25 +0000 (0:00:00.039) 0:01:01.077 **** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-bond_options_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 17:48:25 +0000 (0:00:00.027) 0:01:01.104 **** 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_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 17:48:25 +0000 (0:00:00.021) 0:01:01.125 **** 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_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 17:48:25 +0000 (0:00:00.049) 0:01:01.175 **** 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_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 17:48:26 +0000 (0:00:01.564) 0:01:02.740 **** 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_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 17:48:27 +0000 (0:00:00.573) 0:01:03.313 **** 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_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 17:48:27 +0000 (0:00:00.022) 0:01:03.336 **** 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_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 17:48:27 +0000 (0:00:00.022) 0:01:03.359 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 17:48:27 +0000 (0:00:00.022) 0:01:03.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_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 17:48:27 +0000 (0:00:00.095) 0:01:03.476 **** 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_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 17:48:27 +0000 (0:00:00.022) 0:01:03.498 **** 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_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 17:48:27 +0000 (0:00:00.021) 0:01:03.520 **** 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_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 17:48:27 +0000 (0:00:00.028) 0:01:03.548 **** 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_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 17:48:27 +0000 (0:00:00.022) 0:01:03.570 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 17:48:27 +0000 (0:00:00.022) 0:01:03.592 **** 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_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 17:48:27 +0000 (0:00:00.190) 0:01:03.783 **** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-14208dxv8vsc3/tmp4dmq49pq" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 17:48:27 +0000 (0:00:00.196) 0:01:03.980 **** 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_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 17:48:28 +0000 (0:00:00.233) 0:01:04.214 **** 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_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 17:48:28 +0000 (0:00:00.021) 0:01:04.236 **** 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_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 17:48:28 +0000 (0:00:00.024) 0:01:04.260 **** 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_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 17:48:28 +0000 (0:00:00.024) 0:01:04.284 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 17:48:28 +0000 (0:00:00.021) 0:01:04.306 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewritevlx_07md/tests/playbooks/tasks/run_test.yml:36 Wednesday 14 February 2024 17:48:28 +0000 (0:00:00.129) 0:01:04.435 **** included: /WORKDIR/git-bond_options_rewritevlx_07md/tests/playbooks/tasks/assert_profile_absent.yml for sut included: /WORKDIR/git-bond_options_rewritevlx_07md/tests/playbooks/tasks/get_NetworkManager_NVR.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewritevlx_07md/tests/playbooks/tasks/assert_profile_absent.yml:3 Wednesday 14 February 2024 17:48:28 +0000 (0:00:00.073) 0:01:04.508 **** included: /WORKDIR/git-bond_options_rewritevlx_07md/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_rewritevlx_07md/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 14 February 2024 17:48:28 +0000 (0:00:00.037) 0:01:04.546 **** 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_rewritevlx_07md/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 14 February 2024 17:48:28 +0000 (0:00:00.023) 0:01:04.569 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-bond_options_rewritevlx_07md/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 14 February 2024 17:48:28 +0000 (0:00:00.128) 0:01:04.698 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewritevlx_07md/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 14 February 2024 17:48:28 +0000 (0:00:00.021) 0:01:04.720 **** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.006502", "end": "2024-02-14 17:48:28.902688", "rc": 1, "start": "2024-02-14 17:48:28.896186" } STDERR: Error: Object 'connection' is unknown, try 'nmcli help'. MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-bond_options_rewritevlx_07md/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 14 February 2024 17:48:28 +0000 (0:00:00.135) 0:01:04.855 **** 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_rewritevlx_07md/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 14 February 2024 17:48:28 +0000 (0:00:00.024) 0:01:04.879 **** 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_rewritevlx_07md/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 14 February 2024 17:48:28 +0000 (0:00:00.022) 0:01:04.902 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-bond_options_rewritevlx_07md/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 14 February 2024 17:48:28 +0000 (0:00:00.023) 0:01:04.925 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewritevlx_07md/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 14 February 2024 17:48:28 +0000 (0:00:00.023) 0:01:04.949 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-bond_options_rewritevlx_07md/tests/playbooks/tasks/assert_profile_absent.yml:5 Wednesday 14 February 2024 17:48:28 +0000 (0:00:00.022) 0:01:04.972 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /WORKDIR/git-bond_options_rewritevlx_07md/tests/playbooks/tasks/get_NetworkManager_NVR.yml:7 Wednesday 14 February 2024 17:48:29 +0000 (0:00:00.024) 0:01:04.996 **** ok: [sut] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.377481", "end": "2024-02-14 17:48:29.549947", "rc": 0, "start": "2024-02-14 17:48:29.172466" } STDOUT: NetworkManager-0.8.1-113.el6 TASK [Store NetworkManager version] ******************************************** task path: /WORKDIR/git-bond_options_rewritevlx_07md/tests/playbooks/tasks/get_NetworkManager_NVR.yml:14 Wednesday 14 February 2024 17:48:29 +0000 (0:00:00.539) 0:01:05.535 **** ok: [sut] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-0.8.1-113.el6" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /WORKDIR/git-bond_options_rewritevlx_07md/tests/playbooks/tasks/get_NetworkManager_NVR.yml:18 Wednesday 14 February 2024 17:48:29 +0000 (0:00:00.023) 0:01:05.558 **** ok: [sut] => { "networkmanager_nvr": "NetworkManager-0.8.1-113.el6" } TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewritevlx_07md/tests/playbooks/tasks/run_test.yml:42 Wednesday 14 February 2024 17:48:29 +0000 (0:00:00.023) 0:01:05.582 **** 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_rewritevlx_07md/tests/playbooks/tasks/run_test.yml:47 Wednesday 14 February 2024 17:48:29 +0000 (0:00:00.026) 0:01:05.608 **** 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_rewritevlx_07md/tests/playbooks/tasks/run_test.yml:66 Wednesday 14 February 2024 17:48:29 +0000 (0:00:00.022) 0:01:05.631 **** included: /WORKDIR/git-bond_options_rewritevlx_07md/tests/playbooks/tasks/cleanup_profile+device.yml for sut included: /WORKDIR/git-bond_options_rewritevlx_07md/tests/playbooks/tasks/check_network_dns.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewritevlx_07md/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 14 February 2024 17:48:29 +0000 (0:00:00.049) 0:01:05.681 **** 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.049162", "end": "2024-02-14 17:48:29.910502", "rc": 0, "start": "2024-02-14 17:48:29.861340" } STDERR: Error: Can't obtain connections: settings services are not running. Error: Can't obtain connections: settings services are not running. TASK [Check routes and DNS] **************************************************** task path: /WORKDIR/git-bond_options_rewritevlx_07md/tests/playbooks/tasks/check_network_dns.yml:6 Wednesday 14 February 2024 17:48:29 +0000 (0:00:00.186) 0:01:05.868 **** 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.007166", "end": "2024-02-14 17:48:30.055253", "rc": 0, "start": "2024-02-14 17:48:30.048087" } 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 12:84:14:27:42:77 brd ff:ff:ff:ff:ff:ff inet 10.31.8.242/22 brd 10.31.11.255 scope global eth0 inet6 fe80::1084:14ff:fe27:4277/64 scope link valid_lft forever preferred_lft forever 17: dummy0: mtu 1500 qdisc noop state DOWN link/ether ca:51:d9:f3:9e:3a brd ff:ff:ff:ff:ff:ff IP ROUTE 10.31.8.0/22 dev eth0 proto kernel scope link src 10.31.8.242 169.254.0.0/16 dev eth0 scope link metric 1002 default via 10.31.8.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 ping still work] ****************************************** task path: /WORKDIR/git-bond_options_rewritevlx_07md/tests/playbooks/tasks/check_network_dns.yml:24 Wednesday 14 February 2024 17:48:30 +0000 (0:00:00.140) 0:01:06.009 **** 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 17:48:30 +0000 (0:00:00.013) 0:01:06.022 **** =============================================================================== linux-system-roles.network : Check which services are running ----------- 1.88s /WORKDIR/git-bond_options_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.64s /WORKDIR/git-bond_options_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.63s /WORKDIR/git-bond_options_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.61s /WORKDIR/git-bond_options_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.61s /WORKDIR/git-bond_options_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.60s /WORKDIR/git-bond_options_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.60s /WORKDIR/git-bond_options_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.59s /WORKDIR/git-bond_options_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.58s /WORKDIR/git-bond_options_rewritevlx_07md/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_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.56s /WORKDIR/git-bond_options_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.56s /WORKDIR/git-bond_options_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.56s /WORKDIR/git-bond_options_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.56s /WORKDIR/git-bond_options_rewritevlx_07md/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_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Configure networking connection profiles --- 1.43s /WORKDIR/git-bond_options_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/main.yml:125 linux-system-roles.network : Configure networking connection profiles --- 1.33s /WORKDIR/git-bond_options_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/main.yml:125 linux-system-roles.network : Enable network service --------------------- 1.06s /WORKDIR/git-bond_options_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/main.yml:108 linux-system-roles.network : Ensure initscripts network file dependency is present --- 1.01s /WORKDIR/git-bond_options_rewritevlx_07md/tests/roles/linux-system-roles.network/tasks/main.yml:116 Gathering Facts --------------------------------------------------------- 0.98s /WORKDIR/git-bond_options_rewritevlx_07md/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. ---^---^---^---^---^---