# 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_rewritehl6d5__5/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_rewritehl6d5__5/tests/tests_states_initscripts.yml:5 Tuesday 06 February 2024 17:46:10 +0000 (0:00:00.011) 0:00:00.011 ****** ok: [sut] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-bond_options_rewritehl6d5__5/tests/tests_states_initscripts.yml:8 Tuesday 06 February 2024 17:46:11 +0000 (0:00:00.798) 0:00:00.810 ****** included: /WORKDIR/git-bond_options_rewritehl6d5__5/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_rewritehl6d5__5/tests/tasks/el_repo_setup.yml:3 Tuesday 06 February 2024 17:46:11 +0000 (0:00:00.024) 0:00:00.834 ****** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-bond_options_rewritehl6d5__5/tests/tasks/el_repo_setup.yml:19 Tuesday 06 February 2024 17:46:11 +0000 (0:00:00.244) 0:00:01.078 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-bond_options_rewritehl6d5__5/tests/tasks/el_repo_setup.yml:24 Tuesday 06 February 2024 17:46:12 +0000 (0:00:00.192) 0:00:01.271 ****** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-bond_options_rewritehl6d5__5/tests/tasks/el_repo_setup.yml:28 Tuesday 06 February 2024 17:46:12 +0000 (0:00:00.044) 0:00:01.315 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-bond_options_rewritehl6d5__5/tests/tasks/el_repo_setup.yml:53 Tuesday 06 February 2024 17:46:12 +0000 (0:00:00.018) 0:00:01.334 ****** included: /WORKDIR/git-bond_options_rewritehl6d5__5/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 6] *********************************************************** task path: /WORKDIR/git-bond_options_rewritehl6d5__5/tests/tasks/enable_epel.yml:8 Tuesday 06 February 2024 17:46:12 +0000 (0:00:00.033) 0:00:01.367 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Install yum-utils package] *********************************************** task path: /WORKDIR/git-bond_options_rewritehl6d5__5/tests/tasks/enable_epel.yml:24 Tuesday 06 February 2024 17:46:12 +0000 (0:00:00.011) 0:00:01.379 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-bond_options_rewritehl6d5__5/tests/tasks/enable_epel.yml:30 Tuesday 06 February 2024 17:46:12 +0000 (0:00:00.012) 0:00:01.391 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-bond_options_rewritehl6d5__5/tests/tasks/enable_epel.yml:35 Tuesday 06 February 2024 17:46:12 +0000 (0:00:00.012) 0:00:01.403 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-bond_options_rewritehl6d5__5/tests/tasks/enable_epel.yml:40 Tuesday 06 February 2024 17:46:12 +0000 (0:00:00.011) 0:00:01.415 ****** 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_rewritehl6d5__5/tests/tests_states_initscripts.yml:10 Tuesday 06 February 2024 17:46:12 +0000 (0:00:00.417) 0:00:01.833 ****** 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_rewritehl6d5__5/tests/playbooks/tests_states.yml:3 Tuesday 06 February 2024 17:46:12 +0000 (0:00:00.011) 0:00:01.845 ****** ok: [sut] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-bond_options_rewritehl6d5__5/tests/playbooks/tests_states.yml:11 Tuesday 06 February 2024 17:46:13 +0000 (0:00:00.614) 0:00:02.459 ****** ok: [sut] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-bond_options_rewritehl6d5__5/tests/playbooks/tests_states.yml:22 Tuesday 06 February 2024 17:46:13 +0000 (0:00:00.012) 0:00:02.471 ****** included: /WORKDIR/git-bond_options_rewritehl6d5__5/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile] ******************************************** task path: /WORKDIR/git-bond_options_rewritehl6d5__5/tests/playbooks/tasks/run_test.yml:5 Tuesday 06 February 2024 17:46:13 +0000 (0:00:00.017) 0:00:02.489 ****** ok: [sut] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewritehl6d5__5/tests/playbooks/tasks/run_test.yml:9 Tuesday 06 February 2024 17:46:13 +0000 (0:00:00.011) 0:00:02.501 ****** 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_rewritehl6d5__5/tests/playbooks/tasks/run_test.yml:21 Tuesday 06 February 2024 17:46:13 +0000 (0:00:00.034) 0:00:02.536 ****** included: /WORKDIR/git-bond_options_rewritehl6d5__5/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritehl6d5__5/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 06 February 2024 17:46:13 +0000 (0:00:00.015) 0:00:02.551 ****** included: /WORKDIR/git-bond_options_rewritehl6d5__5/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritehl6d5__5/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 06 February 2024 17:46:13 +0000 (0:00:00.014) 0:00:02.566 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003332", "end": "2024-02-06 17:46:13.532961", "rc": 0, "start": "2024-02-06 17:46:13.529629" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritehl6d5__5/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 06 February 2024 17:46:13 +0000 (0:00:00.193) 0:00:02.759 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritehl6d5__5/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 06 February 2024 17:46:13 +0000 (0:00:00.012) 0:00:02.772 ****** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewritehl6d5__5/tests/playbooks/tasks/run_test.yml:24 Tuesday 06 February 2024 17:46:13 +0000 (0:00:00.011) 0:00:02.783 ****** included: /WORKDIR/git-bond_options_rewritehl6d5__5/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-bond_options_rewritehl6d5__5/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-bond_options_rewritehl6d5__5/tests/playbooks/tasks/delete_interface.yml:3 Tuesday 06 February 2024 17:46:13 +0000 (0:00:00.022) 0:00:02.806 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.026580", "end": "2024-02-06 17:46:13.730149", "rc": 255, "start": "2024-02-06 17:46:13.703569" } 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_rewritehl6d5__5/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 06 February 2024 17:46:13 +0000 (0:00:00.151) 0:00:02.957 ****** included: /WORKDIR/git-bond_options_rewritehl6d5__5/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewritehl6d5__5/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 06 February 2024 17:46:13 +0000 (0:00:00.017) 0:00:02.975 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-bond_options_rewritehl6d5__5/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 06 February 2024 17:46:13 +0000 (0:00:00.122) 0:00:03.097 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewritehl6d5__5/tests/playbooks/tasks/run_test.yml:30 Tuesday 06 February 2024 17:46:13 +0000 (0:00:00.014) 0:00:03.112 ****** included: /WORKDIR/git-bond_options_rewritehl6d5__5/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritehl6d5__5/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 06 February 2024 17:46:13 +0000 (0:00:00.019) 0:00:03.131 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 17:46:13 +0000 (0:00:00.033) 0:00:03.165 ****** included: /WORKDIR/git-bond_options_rewritehl6d5__5/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_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 17:46:14 +0000 (0:00:00.070) 0:00:03.235 ****** 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_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 17:46:14 +0000 (0:00:00.013) 0:00:03.248 ****** 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_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 17:46:14 +0000 (0:00:00.012) 0:00:03.260 ****** 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_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 17:46:14 +0000 (0:00:00.010) 0:00:03.271 ****** 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_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 17:46:15 +0000 (0:00:01.705) 0:00:04.977 ****** 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_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 17:46:16 +0000 (0:00:00.744) 0:00:05.721 ****** 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_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 17:46:16 +0000 (0:00:00.022) 0:00:05.744 ****** 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_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 17:46:16 +0000 (0:00:00.021) 0:00:05.766 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 17:46:16 +0000 (0:00:00.020) 0:00:05.787 ****** 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_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 17:46:16 +0000 (0:00:00.043) 0:00:05.830 ****** 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_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 17:46:16 +0000 (0:00:00.021) 0:00:05.851 ****** 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_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 17:46:16 +0000 (0:00:00.035) 0:00:05.886 ****** 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_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 17:46:16 +0000 (0:00:00.024) 0:00:05.911 ****** 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_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 17:46:16 +0000 (0:00:00.020) 0:00:05.932 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 17:46:16 +0000 (0:00:00.021) 0:00:05.953 ****** 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_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 17:46:17 +0000 (0:00:00.259) 0:00:06.213 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-14916250tq1sa/tmpu68jungp" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 17:46:17 +0000 (0:00:00.218) 0:00:06.431 ****** 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_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 17:46:17 +0000 (0:00:00.373) 0:00:06.804 ****** 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_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 17:46:17 +0000 (0:00:00.021) 0:00:06.826 ****** 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_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 17:46:17 +0000 (0:00:00.022) 0:00:06.848 ****** 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_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 17:46:17 +0000 (0:00:00.022) 0:00:06.871 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 17:46:17 +0000 (0:00:00.020) 0:00:06.891 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewritehl6d5__5/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 06 February 2024 17:46:17 +0000 (0:00:00.211) 0:00:07.103 ****** 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_rewritehl6d5__5/tests/playbooks/tasks/run_test.yml:36 Tuesday 06 February 2024 17:46:17 +0000 (0:00:00.023) 0:00:07.127 ****** included: /WORKDIR/git-bond_options_rewritehl6d5__5/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewritehl6d5__5/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 06 February 2024 17:46:17 +0000 (0:00:00.060) 0:00:07.187 ****** included: /WORKDIR/git-bond_options_rewritehl6d5__5/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_rewritehl6d5__5/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 06 February 2024 17:46:18 +0000 (0:00:00.037) 0:00:07.225 ****** 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_rewritehl6d5__5/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 06 February 2024 17:46:18 +0000 (0:00:00.021) 0:00:07.246 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1707241577.5655448, "block_size": 4096, "blocks": 8, "ctime": 1707241577.5655448, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 3668, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1707241577.5655448, "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_rewritehl6d5__5/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 06 February 2024 17:46:18 +0000 (0:00:00.139) 0:00:07.385 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewritehl6d5__5/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 06 February 2024 17:46:18 +0000 (0:00:00.022) 0:00:07.408 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.005407", "end": "2024-02-06 17:46:18.317598", "rc": 1, "start": "2024-02-06 17:46:18.312191" } STDERR: /bin/sh: nmcli: command not found MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-bond_options_rewritehl6d5__5/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 06 February 2024 17:46:18 +0000 (0:00:00.146) 0:00:07.555 ****** 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_rewritehl6d5__5/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 06 February 2024 17:46:18 +0000 (0:00:00.022) 0:00:07.578 ****** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003451", "end": "2024-02-06 17:46:18.488357", "rc": 0, "start": "2024-02-06 17:46:18.484906" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-bond_options_rewritehl6d5__5/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 06 February 2024 17:46:18 +0000 (0:00:00.149) 0:00:07.727 ****** 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_rewritehl6d5__5/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 06 February 2024 17:46:18 +0000 (0:00:00.026) 0:00:07.753 ****** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003391", "end": "2024-02-06 17:46:18.662216", "rc": 0, "start": "2024-02-06 17:46:18.658825" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewritehl6d5__5/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 06 February 2024 17:46:18 +0000 (0:00:00.148) 0:00:07.901 ****** 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_rewritehl6d5__5/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 06 February 2024 17:46:18 +0000 (0:00:00.026) 0:00:07.928 ****** 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_rewritehl6d5__5/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 06 February 2024 17:46:18 +0000 (0:00:00.022) 0:00:07.951 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-bond_options_rewritehl6d5__5/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 06 February 2024 17:46:18 +0000 (0:00:00.023) 0:00:07.974 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewritehl6d5__5/tests/playbooks/tasks/run_test.yml:42 Tuesday 06 February 2024 17:46:18 +0000 (0:00:00.022) 0:00:07.996 ****** 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_rewritehl6d5__5/tests/playbooks/tasks/run_test.yml:47 Tuesday 06 February 2024 17:46:18 +0000 (0:00:00.065) 0:00:08.061 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-bond_options_rewritehl6d5__5/tests/playbooks/tasks/run_test.yml:66 Tuesday 06 February 2024 17:46:18 +0000 (0:00:00.022) 0:00:08.084 ****** included: /WORKDIR/git-bond_options_rewritehl6d5__5/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewritehl6d5__5/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 06 February 2024 17:46:18 +0000 (0:00:00.038) 0:00:08.123 ****** 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.034258", "end": "2024-02-06 17:46:19.060862", "rc": 255, "start": "2024-02-06 17:46:19.026604" } STDERR: /bin/sh: nmcli: command not found /bin/sh: line 1: nmcli: command not found Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-bond_options_rewritehl6d5__5/tests/playbooks/tests_states.yml:45 Tuesday 06 February 2024 17:46:19 +0000 (0:00:00.175) 0:00:08.298 ****** included: /WORKDIR/git-bond_options_rewritehl6d5__5/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile without autoconnect] ************************ task path: /WORKDIR/git-bond_options_rewritehl6d5__5/tests/playbooks/tasks/run_test.yml:5 Tuesday 06 February 2024 17:46:19 +0000 (0:00:00.035) 0:00:08.333 ****** ok: [sut] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewritehl6d5__5/tests/playbooks/tasks/run_test.yml:9 Tuesday 06 February 2024 17:46:19 +0000 (0:00:00.020) 0:00:08.354 ****** 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_rewritehl6d5__5/tests/playbooks/tasks/run_test.yml:21 Tuesday 06 February 2024 17:46:19 +0000 (0:00:00.043) 0:00:08.398 ****** included: /WORKDIR/git-bond_options_rewritehl6d5__5/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritehl6d5__5/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 06 February 2024 17:46:19 +0000 (0:00:00.033) 0:00:08.431 ****** included: /WORKDIR/git-bond_options_rewritehl6d5__5/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritehl6d5__5/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 06 February 2024 17:46:19 +0000 (0:00:00.032) 0:00:08.464 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003531", "end": "2024-02-06 17:46:19.371475", "rc": 0, "start": "2024-02-06 17:46:19.367944" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritehl6d5__5/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 06 February 2024 17:46:19 +0000 (0:00:00.145) 0:00:08.609 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritehl6d5__5/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 06 February 2024 17:46:19 +0000 (0:00:00.021) 0:00:08.631 ****** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewritehl6d5__5/tests/playbooks/tasks/run_test.yml:24 Tuesday 06 February 2024 17:46:19 +0000 (0:00:00.020) 0:00:08.652 ****** included: /WORKDIR/git-bond_options_rewritehl6d5__5/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-bond_options_rewritehl6d5__5/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-bond_options_rewritehl6d5__5/tests/playbooks/tasks/delete_interface.yml:3 Tuesday 06 February 2024 17:46:19 +0000 (0:00:00.063) 0:00:08.715 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.005062", "end": "2024-02-06 17:46:19.624202", "rc": 255, "start": "2024-02-06 17:46:19.619140" } 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_rewritehl6d5__5/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 06 February 2024 17:46:19 +0000 (0:00:00.146) 0:00:08.862 ****** included: /WORKDIR/git-bond_options_rewritehl6d5__5/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewritehl6d5__5/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 06 February 2024 17:46:19 +0000 (0:00:00.034) 0:00:08.897 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-bond_options_rewritehl6d5__5/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 06 February 2024 17:46:19 +0000 (0:00:00.143) 0:00:09.040 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewritehl6d5__5/tests/playbooks/tasks/run_test.yml:30 Tuesday 06 February 2024 17:46:19 +0000 (0:00:00.023) 0:00:09.064 ****** included: /WORKDIR/git-bond_options_rewritehl6d5__5/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritehl6d5__5/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Tuesday 06 February 2024 17:46:19 +0000 (0:00:00.037) 0:00:09.101 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 17:46:19 +0000 (0:00:00.039) 0:00:09.141 ****** included: /WORKDIR/git-bond_options_rewritehl6d5__5/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_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 17:46:19 +0000 (0:00:00.039) 0:00:09.180 ****** 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_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 17:46:19 +0000 (0:00:00.025) 0:00:09.205 ****** 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_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 17:46:20 +0000 (0:00:00.021) 0:00:09.227 ****** 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_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 17:46:20 +0000 (0:00:00.021) 0:00:09.248 ****** 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_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 17:46:21 +0000 (0:00:01.577) 0:00:10.825 ****** 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_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 17:46:22 +0000 (0:00:00.624) 0:00:11.450 ****** 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_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 17:46:22 +0000 (0:00:00.023) 0:00:11.473 ****** 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_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 17:46:22 +0000 (0:00:00.021) 0:00:11.494 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 17:46:22 +0000 (0:00:00.022) 0:00:11.517 ****** 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_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 17:46:22 +0000 (0:00:00.045) 0:00:11.562 ****** 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_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 17:46:22 +0000 (0:00:00.041) 0:00:11.604 ****** 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_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 17:46:22 +0000 (0:00:00.022) 0:00:11.626 ****** 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_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 17:46:22 +0000 (0:00:00.024) 0:00:11.651 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-bond_options_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 17:46:22 +0000 (0:00:00.023) 0:00:11.674 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 17:46:22 +0000 (0:00:00.021) 0:00:11.695 ****** 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_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 17:46:22 +0000 (0:00:00.209) 0:00:11.904 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-14916250tq1sa/tmpcd5ed6xq" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 17:46:22 +0000 (0:00:00.214) 0:00:12.119 ****** 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_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 17:46:23 +0000 (0:00:00.247) 0:00:12.366 ****** 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_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 17:46:23 +0000 (0:00:00.022) 0:00:12.388 ****** 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_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 17:46:23 +0000 (0:00:00.023) 0:00:12.412 ****** 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_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 17:46:23 +0000 (0:00:00.024) 0:00:12.436 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 17:46:23 +0000 (0:00:00.021) 0:00:12.457 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewritehl6d5__5/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Tuesday 06 February 2024 17:46:23 +0000 (0:00:00.134) 0:00:12.591 ****** 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_rewritehl6d5__5/tests/playbooks/tasks/run_test.yml:36 Tuesday 06 February 2024 17:46:23 +0000 (0:00:00.025) 0:00:12.617 ****** included: /WORKDIR/git-bond_options_rewritehl6d5__5/tests/playbooks/tasks/assert_device_absent.yml for sut included: /WORKDIR/git-bond_options_rewritehl6d5__5/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewritehl6d5__5/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 06 February 2024 17:46:23 +0000 (0:00:00.065) 0:00:12.682 ****** included: /WORKDIR/git-bond_options_rewritehl6d5__5/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewritehl6d5__5/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 06 February 2024 17:46:23 +0000 (0:00:00.034) 0:00:12.717 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-bond_options_rewritehl6d5__5/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 06 February 2024 17:46:23 +0000 (0:00:00.137) 0:00:12.855 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewritehl6d5__5/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 06 February 2024 17:46:23 +0000 (0:00:00.023) 0:00:12.878 ****** included: /WORKDIR/git-bond_options_rewritehl6d5__5/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_rewritehl6d5__5/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 06 February 2024 17:46:23 +0000 (0:00:00.036) 0:00:12.914 ****** 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_rewritehl6d5__5/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 06 February 2024 17:46:23 +0000 (0:00:00.021) 0:00:12.935 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1707241583.1275449, "block_size": 4096, "blocks": 8, "ctime": 1707241583.1275449, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 3668, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1707241583.1275449, "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_rewritehl6d5__5/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 06 February 2024 17:46:23 +0000 (0:00:00.138) 0:00:13.074 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewritehl6d5__5/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 06 February 2024 17:46:23 +0000 (0:00:00.022) 0:00:13.096 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.005236", "end": "2024-02-06 17:46:24.003471", "rc": 1, "start": "2024-02-06 17:46:23.998235" } STDERR: /bin/sh: nmcli: command not found MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-bond_options_rewritehl6d5__5/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 06 February 2024 17:46:24 +0000 (0:00:00.143) 0:00:13.240 ****** 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_rewritehl6d5__5/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 06 February 2024 17:46:24 +0000 (0:00:00.022) 0:00:13.262 ****** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003431", "end": "2024-02-06 17:46:24.171816", "rc": 0, "start": "2024-02-06 17:46:24.168385" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-bond_options_rewritehl6d5__5/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 06 February 2024 17:46:24 +0000 (0:00:00.148) 0:00:13.411 ****** 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_rewritehl6d5__5/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 06 February 2024 17:46:24 +0000 (0:00:00.027) 0:00:13.438 ****** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003385", "end": "2024-02-06 17:46:24.351847", "rc": 0, "start": "2024-02-06 17:46:24.348462" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewritehl6d5__5/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 06 February 2024 17:46:24 +0000 (0:00:00.152) 0:00:13.590 ****** 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_rewritehl6d5__5/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 06 February 2024 17:46:24 +0000 (0:00:00.051) 0:00:13.642 ****** 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_rewritehl6d5__5/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 06 February 2024 17:46:24 +0000 (0:00:00.025) 0:00:13.667 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-bond_options_rewritehl6d5__5/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 06 February 2024 17:46:24 +0000 (0:00:00.024) 0:00:13.692 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewritehl6d5__5/tests/playbooks/tasks/run_test.yml:42 Tuesday 06 February 2024 17:46:24 +0000 (0:00:00.025) 0:00:13.717 ****** TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /WORKDIR/git-bond_options_rewritehl6d5__5/tests/playbooks/tasks/run_test.yml:47 Tuesday 06 February 2024 17:46:24 +0000 (0:00:00.021) 0:00:13.738 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-bond_options_rewritehl6d5__5/tests/playbooks/tasks/run_test.yml:66 Tuesday 06 February 2024 17:46:24 +0000 (0:00:00.023) 0:00:13.762 ****** included: /WORKDIR/git-bond_options_rewritehl6d5__5/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewritehl6d5__5/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 06 February 2024 17:46:24 +0000 (0:00:00.040) 0:00:13.803 ****** 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.010884", "end": "2024-02-06 17:46:24.715301", "rc": 255, "start": "2024-02-06 17:46:24.704417" } STDERR: /bin/sh: nmcli: command not found /bin/sh: line 1: nmcli: command not found Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-bond_options_rewritehl6d5__5/tests/playbooks/tests_states.yml:65 Tuesday 06 February 2024 17:46:24 +0000 (0:00:00.149) 0:00:13.952 ****** included: /WORKDIR/git-bond_options_rewritehl6d5__5/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can activate an existing profile] ******************************** task path: /WORKDIR/git-bond_options_rewritehl6d5__5/tests/playbooks/tasks/run_test.yml:5 Tuesday 06 February 2024 17:46:24 +0000 (0:00:00.036) 0:00:13.989 ****** ok: [sut] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewritehl6d5__5/tests/playbooks/tasks/run_test.yml:9 Tuesday 06 February 2024 17:46:24 +0000 (0:00:00.023) 0:00:14.012 ****** 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_rewritehl6d5__5/tests/playbooks/tasks/run_test.yml:21 Tuesday 06 February 2024 17:46:24 +0000 (0:00:00.046) 0:00:14.058 ****** included: /WORKDIR/git-bond_options_rewritehl6d5__5/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritehl6d5__5/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 06 February 2024 17:46:24 +0000 (0:00:00.034) 0:00:14.093 ****** included: /WORKDIR/git-bond_options_rewritehl6d5__5/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritehl6d5__5/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 06 February 2024 17:46:24 +0000 (0:00:00.055) 0:00:14.149 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003482", "end": "2024-02-06 17:46:25.055262", "rc": 0, "start": "2024-02-06 17:46:25.051780" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritehl6d5__5/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 06 February 2024 17:46:25 +0000 (0:00:00.144) 0:00:14.293 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritehl6d5__5/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 06 February 2024 17:46:25 +0000 (0:00:00.022) 0:00:14.315 ****** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewritehl6d5__5/tests/playbooks/tasks/run_test.yml:24 Tuesday 06 February 2024 17:46:25 +0000 (0:00:00.022) 0:00:14.338 ****** included: /WORKDIR/git-bond_options_rewritehl6d5__5/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritehl6d5__5/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 06 February 2024 17:46:25 +0000 (0:00:00.037) 0:00:14.376 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 17:46:25 +0000 (0:00:00.035) 0:00:14.412 ****** included: /WORKDIR/git-bond_options_rewritehl6d5__5/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_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 17:46:25 +0000 (0:00:00.040) 0:00:14.453 ****** 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_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 17:46:25 +0000 (0:00:00.027) 0:00:14.480 ****** 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_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 17:46:25 +0000 (0:00:00.022) 0:00:14.502 ****** 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_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 17:46:25 +0000 (0:00:00.022) 0:00:14.524 ****** 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_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 17:46:26 +0000 (0:00:01.504) 0:00:16.029 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-bond_options_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 17:46:27 +0000 (0:00:00.601) 0:00:16.631 ****** 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_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 17:46:27 +0000 (0:00:00.022) 0:00:16.653 ****** 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_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 17:46:27 +0000 (0:00:00.020) 0:00:16.674 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 17:46:27 +0000 (0:00:00.021) 0:00:16.696 ****** 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_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 17:46:27 +0000 (0:00:00.042) 0:00:16.738 ****** 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_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 17:46:27 +0000 (0:00:00.021) 0:00:16.759 ****** 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_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 17:46:27 +0000 (0:00:00.021) 0:00:16.781 ****** 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_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 17:46:27 +0000 (0:00:00.023) 0:00:16.805 ****** 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_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 17:46:27 +0000 (0:00:00.021) 0:00:16.826 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 17:46:27 +0000 (0:00:00.019) 0:00:16.846 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-bond_options_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 17:46:27 +0000 (0:00:00.223) 0:00:17.069 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-14916250tq1sa/tmpt7_8mmoq" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 17:46:28 +0000 (0:00:00.205) 0:00:17.274 ****** 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_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 17:46:28 +0000 (0:00:00.247) 0:00:17.522 ****** 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_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 17:46:28 +0000 (0:00:00.021) 0:00:17.544 ****** 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_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 17:46:28 +0000 (0:00:00.022) 0:00:17.566 ****** 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_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 17:46:28 +0000 (0:00:00.022) 0:00:17.588 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 17:46:28 +0000 (0:00:00.019) 0:00:17.608 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewritehl6d5__5/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 06 February 2024 17:46:28 +0000 (0:00:00.133) 0:00:17.742 ****** 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_rewritehl6d5__5/tests/playbooks/tasks/run_test.yml:30 Tuesday 06 February 2024 17:46:28 +0000 (0:00:00.022) 0:00:17.765 ****** included: /WORKDIR/git-bond_options_rewritehl6d5__5/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritehl6d5__5/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 06 February 2024 17:46:28 +0000 (0:00:00.037) 0:00:17.802 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 17:46:28 +0000 (0:00:00.038) 0:00:17.841 ****** included: /WORKDIR/git-bond_options_rewritehl6d5__5/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_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 17:46:28 +0000 (0:00:00.062) 0:00:17.904 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-bond_options_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 17:46:28 +0000 (0:00:00.026) 0:00:17.931 ****** 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_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 17:46:28 +0000 (0:00:00.021) 0:00:17.952 ****** 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_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 17:46:28 +0000 (0:00:00.020) 0:00:17.973 ****** 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_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 17:46:30 +0000 (0:00:01.561) 0:00:19.535 ****** 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_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 17:46:30 +0000 (0:00:00.605) 0:00:20.140 ****** 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_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 17:46:30 +0000 (0:00:00.041) 0:00:20.181 ****** 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_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 17:46:30 +0000 (0:00:00.021) 0:00:20.202 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 17:46:31 +0000 (0:00:00.023) 0:00:20.226 ****** 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_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 17:46:31 +0000 (0:00:00.043) 0:00:20.269 ****** 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_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 17:46:31 +0000 (0:00:00.021) 0:00:20.291 ****** 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_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 17:46:31 +0000 (0:00:00.021) 0:00:20.312 ****** 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_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 17:46:31 +0000 (0:00:00.024) 0:00:20.337 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-bond_options_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 17:46:31 +0000 (0:00:00.021) 0:00:20.358 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 17:46:31 +0000 (0:00:00.020) 0:00:20.378 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-bond_options_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 17:46:31 +0000 (0:00:00.200) 0:00:20.579 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-14916250tq1sa/tmpi3m6foru" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 17:46:31 +0000 (0:00:00.207) 0:00:20.786 ****** 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_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 17:46:31 +0000 (0:00:00.382) 0:00:21.169 ****** 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_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 17:46:31 +0000 (0:00:00.021) 0:00:21.190 ****** 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_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 17:46:32 +0000 (0:00:00.022) 0:00:21.212 ****** 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_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 17:46:32 +0000 (0:00:00.023) 0:00:21.235 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 17:46:32 +0000 (0:00:00.023) 0:00:21.258 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewritehl6d5__5/tests/playbooks/tasks/run_test.yml:36 Tuesday 06 February 2024 17:46:32 +0000 (0:00:00.135) 0:00:21.394 ****** included: /WORKDIR/git-bond_options_rewritehl6d5__5/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-bond_options_rewritehl6d5__5/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewritehl6d5__5/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 06 February 2024 17:46:32 +0000 (0:00:00.047) 0:00:21.442 ****** included: /WORKDIR/git-bond_options_rewritehl6d5__5/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewritehl6d5__5/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 06 February 2024 17:46:32 +0000 (0:00:00.034) 0:00:21.476 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1707241591.8545449, "block_size": 4096, "blocks": 0, "ctime": 1707241591.853545, "dev": 0, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 6521, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/sys/devices/virtual/net/statebr", "lnk_target": "../../devices/virtual/net/statebr", "mode": "0777", "mtime": 1707241591.853545, "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_rewritehl6d5__5/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 06 February 2024 17:46:32 +0000 (0:00:00.139) 0:00:21.616 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewritehl6d5__5/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 06 February 2024 17:46:32 +0000 (0:00:00.023) 0:00:21.640 ****** included: /WORKDIR/git-bond_options_rewritehl6d5__5/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_rewritehl6d5__5/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 06 February 2024 17:46:32 +0000 (0:00:00.036) 0:00:21.676 ****** 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_rewritehl6d5__5/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 06 February 2024 17:46:32 +0000 (0:00:00.021) 0:00:21.697 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1707241589.883545, "block_size": 4096, "blocks": 8, "ctime": 1707241588.284545, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 3668, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1707241588.284545, "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_rewritehl6d5__5/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 06 February 2024 17:46:32 +0000 (0:00:00.138) 0:00:21.835 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewritehl6d5__5/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 06 February 2024 17:46:32 +0000 (0:00:00.021) 0:00:21.857 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.005582", "end": "2024-02-06 17:46:32.764685", "rc": 1, "start": "2024-02-06 17:46:32.759103" } STDERR: /bin/sh: nmcli: command not found MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-bond_options_rewritehl6d5__5/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 06 February 2024 17:46:32 +0000 (0:00:00.144) 0:00:22.001 ****** 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_rewritehl6d5__5/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 06 February 2024 17:46:32 +0000 (0:00:00.022) 0:00:22.024 ****** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003463", "end": "2024-02-06 17:46:32.931666", "rc": 0, "start": "2024-02-06 17:46:32.928203" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-bond_options_rewritehl6d5__5/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 06 February 2024 17:46:32 +0000 (0:00:00.171) 0:00:22.195 ****** 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_rewritehl6d5__5/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 06 February 2024 17:46:33 +0000 (0:00:00.026) 0:00:22.221 ****** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003343", "end": "2024-02-06 17:46:33.130076", "rc": 0, "start": "2024-02-06 17:46:33.126733" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewritehl6d5__5/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 06 February 2024 17:46:33 +0000 (0:00:00.147) 0:00:22.368 ****** 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_rewritehl6d5__5/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 06 February 2024 17:46:33 +0000 (0:00:00.026) 0:00:22.395 ****** 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_rewritehl6d5__5/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 06 February 2024 17:46:33 +0000 (0:00:00.023) 0:00:22.418 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-bond_options_rewritehl6d5__5/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 06 February 2024 17:46:33 +0000 (0:00:00.022) 0:00:22.441 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewritehl6d5__5/tests/playbooks/tasks/run_test.yml:42 Tuesday 06 February 2024 17:46:33 +0000 (0:00:00.022) 0:00:22.463 ****** TASK [Success in test 'I can activate an existing profile'] ******************** task path: /WORKDIR/git-bond_options_rewritehl6d5__5/tests/playbooks/tasks/run_test.yml:47 Tuesday 06 February 2024 17:46:33 +0000 (0:00:00.019) 0:00:22.482 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-bond_options_rewritehl6d5__5/tests/playbooks/tasks/run_test.yml:66 Tuesday 06 February 2024 17:46:33 +0000 (0:00:00.023) 0:00:22.505 ****** included: /WORKDIR/git-bond_options_rewritehl6d5__5/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewritehl6d5__5/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 06 February 2024 17:46:33 +0000 (0:00:00.039) 0:00:22.545 ****** 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.017071", "end": "2024-02-06 17:46:33.464840", "rc": 0, "start": "2024-02-06 17:46:33.447769" } STDERR: /bin/sh: nmcli: command not found /bin/sh: line 1: nmcli: command not found TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-bond_options_rewritehl6d5__5/tests/playbooks/tests_states.yml:83 Tuesday 06 February 2024 17:46:33 +0000 (0:00:00.162) 0:00:22.707 ****** included: /WORKDIR/git-bond_options_rewritehl6d5__5/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_rewritehl6d5__5/tests/playbooks/tasks/run_test.yml:5 Tuesday 06 February 2024 17:46:33 +0000 (0:00:00.035) 0:00:22.743 ****** ok: [sut] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewritehl6d5__5/tests/playbooks/tasks/run_test.yml:9 Tuesday 06 February 2024 17:46:33 +0000 (0:00:00.021) 0:00:22.764 ****** 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_rewritehl6d5__5/tests/playbooks/tasks/run_test.yml:21 Tuesday 06 February 2024 17:46:33 +0000 (0:00:00.044) 0:00:22.809 ****** included: /WORKDIR/git-bond_options_rewritehl6d5__5/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritehl6d5__5/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 06 February 2024 17:46:33 +0000 (0:00:00.056) 0:00:22.866 ****** included: /WORKDIR/git-bond_options_rewritehl6d5__5/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritehl6d5__5/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 06 February 2024 17:46:33 +0000 (0:00:00.033) 0:00:22.900 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003483", "end": "2024-02-06 17:46:33.805107", "rc": 0, "start": "2024-02-06 17:46:33.801624" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritehl6d5__5/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 06 February 2024 17:46:33 +0000 (0:00:00.142) 0:00:23.043 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritehl6d5__5/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 06 February 2024 17:46:33 +0000 (0:00:00.022) 0:00:23.065 ****** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewritehl6d5__5/tests/playbooks/tasks/run_test.yml:24 Tuesday 06 February 2024 17:46:33 +0000 (0:00:00.021) 0:00:23.086 ****** included: /WORKDIR/git-bond_options_rewritehl6d5__5/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-bond_options_rewritehl6d5__5/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritehl6d5__5/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 06 February 2024 17:46:33 +0000 (0:00:00.040) 0:00:23.127 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 17:46:33 +0000 (0:00:00.035) 0:00:23.162 ****** included: /WORKDIR/git-bond_options_rewritehl6d5__5/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_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 17:46:33 +0000 (0:00:00.039) 0:00:23.201 ****** 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_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 17:46:34 +0000 (0:00:00.024) 0:00:23.226 ****** 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_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 17:46:34 +0000 (0:00:00.020) 0:00:23.246 ****** 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_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 17:46:34 +0000 (0:00:00.019) 0:00:23.266 ****** 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_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 17:46:35 +0000 (0:00:01.541) 0:00:24.807 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-bond_options_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 17:46:36 +0000 (0:00:00.609) 0:00:25.417 ****** 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_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 17:46:36 +0000 (0:00:00.023) 0:00:25.440 ****** 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_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 17:46:36 +0000 (0:00:00.022) 0:00:25.462 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 17:46:36 +0000 (0:00:00.021) 0:00:25.484 ****** 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_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 17:46:36 +0000 (0:00:00.043) 0:00:25.528 ****** 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_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 17:46:36 +0000 (0:00:00.021) 0:00:25.549 ****** 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_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 17:46:36 +0000 (0:00:00.021) 0:00:25.571 ****** 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_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 17:46:36 +0000 (0:00:00.048) 0:00:25.619 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-bond_options_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 17:46:36 +0000 (0:00:00.022) 0:00:25.641 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 17:46:36 +0000 (0:00:00.021) 0:00:25.662 ****** 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_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 17:46:36 +0000 (0:00:00.200) 0:00:25.862 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-14916250tq1sa/tmp011jlwmv" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 17:46:36 +0000 (0:00:00.213) 0:00:26.076 ****** 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_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 17:46:37 +0000 (0:00:00.260) 0:00:26.337 ****** 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_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 17:46:37 +0000 (0:00:00.021) 0:00:26.358 ****** 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_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 17:46:37 +0000 (0:00:00.024) 0:00:26.382 ****** 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_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 17:46:37 +0000 (0:00:00.021) 0:00:26.404 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 17:46:37 +0000 (0:00:00.021) 0:00:26.425 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewritehl6d5__5/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 06 February 2024 17:46:37 +0000 (0:00:00.132) 0:00:26.558 ****** 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_rewritehl6d5__5/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 06 February 2024 17:46:37 +0000 (0:00:00.022) 0:00:26.580 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 17:46:37 +0000 (0:00:00.034) 0:00:26.615 ****** included: /WORKDIR/git-bond_options_rewritehl6d5__5/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_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 17:46:37 +0000 (0:00:00.062) 0:00:26.678 ****** 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_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 17:46:37 +0000 (0:00:00.026) 0:00:26.705 ****** 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_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 17:46:37 +0000 (0:00:00.020) 0:00:26.725 ****** 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_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 17:46:37 +0000 (0:00:00.021) 0:00:26.746 ****** 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_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 17:46:39 +0000 (0:00:01.502) 0:00:28.249 ****** 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_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 17:46:39 +0000 (0:00:00.608) 0:00:28.857 ****** 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_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 17:46:39 +0000 (0:00:00.042) 0:00:28.900 ****** 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_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 17:46:39 +0000 (0:00:00.021) 0:00:28.922 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 17:46:39 +0000 (0:00:00.020) 0:00:28.942 ****** 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_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 17:46:39 +0000 (0:00:00.042) 0:00:28.984 ****** 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_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 17:46:39 +0000 (0:00:00.020) 0:00:29.005 ****** 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_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 17:46:39 +0000 (0:00:00.021) 0:00:29.026 ****** 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_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 17:46:39 +0000 (0:00:00.024) 0:00:29.051 ****** 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_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 17:46:39 +0000 (0:00:00.020) 0:00:29.072 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 17:46:39 +0000 (0:00:00.020) 0:00:29.092 ****** 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_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 17:46:40 +0000 (0:00:00.201) 0:00:29.293 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-14916250tq1sa/tmptxnds6pl" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 17:46:40 +0000 (0:00:00.201) 0:00:29.494 ****** 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_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 17:46:40 +0000 (0:00:00.366) 0:00:29.861 ****** 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_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 17:46:40 +0000 (0:00:00.020) 0:00:29.881 ****** 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_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 17:46:40 +0000 (0:00:00.022) 0:00:29.904 ****** 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_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 17:46:40 +0000 (0:00:00.021) 0:00:29.926 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 17:46:40 +0000 (0:00:00.046) 0:00:29.972 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewritehl6d5__5/tests/playbooks/tasks/run_test.yml:30 Tuesday 06 February 2024 17:46:40 +0000 (0:00:00.132) 0:00:30.105 ****** included: /WORKDIR/git-bond_options_rewritehl6d5__5/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritehl6d5__5/tests/playbooks/tasks/remove_profile.yml:3 Tuesday 06 February 2024 17:46:40 +0000 (0:00:00.037) 0:00:30.143 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 17:46:40 +0000 (0:00:00.039) 0:00:30.183 ****** included: /WORKDIR/git-bond_options_rewritehl6d5__5/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_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 17:46:41 +0000 (0:00:00.039) 0:00:30.222 ****** 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_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 17:46:41 +0000 (0:00:00.025) 0:00:30.247 ****** 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_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 17:46:41 +0000 (0:00:00.019) 0:00:30.267 ****** 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_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 17:46:41 +0000 (0:00:00.020) 0:00:30.288 ****** 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_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 17:46:42 +0000 (0:00:01.517) 0:00:31.805 ****** 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_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 17:46:43 +0000 (0:00:00.602) 0:00:32.407 ****** 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_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 17:46:43 +0000 (0:00:00.022) 0:00:32.430 ****** 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_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 17:46:43 +0000 (0:00:00.021) 0:00:32.452 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 17:46:43 +0000 (0:00:00.022) 0:00:32.474 ****** 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_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 17:46:43 +0000 (0:00:00.043) 0:00:32.518 ****** 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_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 17:46:43 +0000 (0:00:00.023) 0:00:32.541 ****** 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_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 17:46:43 +0000 (0:00:00.024) 0:00:32.565 ****** 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_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 17:46:43 +0000 (0:00:00.024) 0:00:32.590 ****** 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_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 17:46:43 +0000 (0:00:00.021) 0:00:32.612 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 17:46:43 +0000 (0:00:00.021) 0:00:32.633 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-bond_options_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 17:46:43 +0000 (0:00:00.198) 0:00:32.832 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-14916250tq1sa/tmp81h3ugwc" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 17:46:43 +0000 (0:00:00.205) 0:00:33.037 ****** 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_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 17:46:44 +0000 (0:00:00.258) 0:00:33.295 ****** 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_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 17:46:44 +0000 (0:00:00.021) 0:00:33.316 ****** 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_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 17:46:44 +0000 (0:00:00.022) 0:00:33.339 ****** 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_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 17:46:44 +0000 (0:00:00.022) 0:00:33.361 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 17:46:44 +0000 (0:00:00.021) 0:00:33.382 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewritehl6d5__5/tests/playbooks/tasks/run_test.yml:36 Tuesday 06 February 2024 17:46:44 +0000 (0:00:00.132) 0:00:33.514 ****** included: /WORKDIR/git-bond_options_rewritehl6d5__5/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-bond_options_rewritehl6d5__5/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewritehl6d5__5/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 06 February 2024 17:46:44 +0000 (0:00:00.042) 0:00:33.557 ****** included: /WORKDIR/git-bond_options_rewritehl6d5__5/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewritehl6d5__5/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 06 February 2024 17:46:44 +0000 (0:00:00.034) 0:00:33.592 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1707241600.5555449, "block_size": 4096, "blocks": 0, "ctime": 1707241600.553545, "dev": 0, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 6521, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/sys/devices/virtual/net/statebr", "lnk_target": "../../devices/virtual/net/statebr", "mode": "0777", "mtime": 1707241600.553545, "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_rewritehl6d5__5/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 06 February 2024 17:46:44 +0000 (0:00:00.139) 0:00:33.731 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewritehl6d5__5/tests/playbooks/tasks/assert_profile_absent.yml:3 Tuesday 06 February 2024 17:46:44 +0000 (0:00:00.023) 0:00:33.754 ****** included: /WORKDIR/git-bond_options_rewritehl6d5__5/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_rewritehl6d5__5/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 06 February 2024 17:46:44 +0000 (0:00:00.060) 0:00:33.815 ****** 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_rewritehl6d5__5/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 06 February 2024 17:46:44 +0000 (0:00:00.021) 0:00:33.836 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-bond_options_rewritehl6d5__5/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 06 February 2024 17:46:44 +0000 (0:00:00.139) 0:00:33.976 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewritehl6d5__5/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 06 February 2024 17:46:44 +0000 (0:00:00.023) 0:00:33.999 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.005186", "end": "2024-02-06 17:46:44.907472", "rc": 1, "start": "2024-02-06 17:46:44.902286" } STDERR: /bin/sh: nmcli: command not found MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-bond_options_rewritehl6d5__5/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 06 February 2024 17:46:44 +0000 (0:00:00.145) 0:00:34.145 ****** 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_rewritehl6d5__5/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 06 February 2024 17:46:44 +0000 (0:00:00.022) 0:00:34.167 ****** 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_rewritehl6d5__5/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 06 February 2024 17:46:44 +0000 (0:00:00.023) 0:00:34.191 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-bond_options_rewritehl6d5__5/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 06 February 2024 17:46:45 +0000 (0:00:00.023) 0:00:34.215 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewritehl6d5__5/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 06 February 2024 17:46:45 +0000 (0:00:00.024) 0:00:34.240 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-bond_options_rewritehl6d5__5/tests/playbooks/tasks/assert_profile_absent.yml:5 Tuesday 06 February 2024 17:46:45 +0000 (0:00:00.023) 0:00:34.263 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewritehl6d5__5/tests/playbooks/tasks/run_test.yml:42 Tuesday 06 February 2024 17:46:45 +0000 (0:00:00.023) 0:00:34.286 ****** TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /WORKDIR/git-bond_options_rewritehl6d5__5/tests/playbooks/tasks/run_test.yml:47 Tuesday 06 February 2024 17:46:45 +0000 (0:00:00.020) 0:00:34.306 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-bond_options_rewritehl6d5__5/tests/playbooks/tasks/run_test.yml:66 Tuesday 06 February 2024 17:46:45 +0000 (0:00:00.022) 0:00:34.329 ****** included: /WORKDIR/git-bond_options_rewritehl6d5__5/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewritehl6d5__5/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 06 February 2024 17:46:45 +0000 (0:00:00.040) 0:00:34.369 ****** 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.021193", "end": "2024-02-06 17:46:45.292912", "rc": 0, "start": "2024-02-06 17:46:45.271719" } STDERR: /bin/sh: nmcli: command not found /bin/sh: line 1: nmcli: command not found TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-bond_options_rewritehl6d5__5/tests/playbooks/tests_states.yml:103 Tuesday 06 February 2024 17:46:45 +0000 (0:00:00.164) 0:00:34.533 ****** included: /WORKDIR/git-bond_options_rewritehl6d5__5/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_rewritehl6d5__5/tests/playbooks/tasks/run_test.yml:5 Tuesday 06 February 2024 17:46:45 +0000 (0:00:00.063) 0:00:34.597 ****** ok: [sut] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewritehl6d5__5/tests/playbooks/tasks/run_test.yml:9 Tuesday 06 February 2024 17:46:45 +0000 (0:00:00.022) 0:00:34.620 ****** 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_rewritehl6d5__5/tests/playbooks/tasks/run_test.yml:21 Tuesday 06 February 2024 17:46:45 +0000 (0:00:00.047) 0:00:34.667 ****** included: /WORKDIR/git-bond_options_rewritehl6d5__5/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritehl6d5__5/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 06 February 2024 17:46:45 +0000 (0:00:00.035) 0:00:34.702 ****** included: /WORKDIR/git-bond_options_rewritehl6d5__5/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritehl6d5__5/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 06 February 2024 17:46:45 +0000 (0:00:00.033) 0:00:34.736 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003476", "end": "2024-02-06 17:46:45.640837", "rc": 0, "start": "2024-02-06 17:46:45.637361" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritehl6d5__5/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 06 February 2024 17:46:45 +0000 (0:00:00.143) 0:00:34.879 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritehl6d5__5/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 06 February 2024 17:46:45 +0000 (0:00:00.023) 0:00:34.903 ****** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewritehl6d5__5/tests/playbooks/tasks/run_test.yml:24 Tuesday 06 February 2024 17:46:45 +0000 (0:00:00.022) 0:00:34.925 ****** included: /WORKDIR/git-bond_options_rewritehl6d5__5/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-bond_options_rewritehl6d5__5/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-bond_options_rewritehl6d5__5/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritehl6d5__5/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 06 February 2024 17:46:45 +0000 (0:00:00.046) 0:00:34.971 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 17:46:45 +0000 (0:00:00.036) 0:00:35.007 ****** included: /WORKDIR/git-bond_options_rewritehl6d5__5/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_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 17:46:45 +0000 (0:00:00.042) 0:00:35.050 ****** 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_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 17:46:45 +0000 (0:00:00.052) 0:00:35.102 ****** 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_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 17:46:45 +0000 (0:00:00.021) 0:00:35.123 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-bond_options_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 17:46:45 +0000 (0:00:00.021) 0:00:35.145 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-bond_options_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 17:46:47 +0000 (0:00:01.468) 0:00:36.614 ****** 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_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 17:46:48 +0000 (0:00:00.605) 0:00:37.220 ****** 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_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 17:46:48 +0000 (0:00:00.022) 0:00:37.243 ****** 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_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 17:46:48 +0000 (0:00:00.021) 0:00:37.265 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 17:46:48 +0000 (0:00:00.043) 0:00:37.308 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-bond_options_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 17:46:48 +0000 (0:00:00.043) 0:00:37.352 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-bond_options_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 17:46:48 +0000 (0:00:00.021) 0:00:37.373 ****** 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_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 17:46:48 +0000 (0:00:00.021) 0:00:37.395 ****** 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_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 17:46:48 +0000 (0:00:00.025) 0:00:37.420 ****** 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_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 17:46:48 +0000 (0:00:00.020) 0:00:37.441 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 17:46:48 +0000 (0:00:00.021) 0:00:37.462 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-bond_options_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 17:46:48 +0000 (0:00:00.197) 0:00:37.659 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-14916250tq1sa/tmpx_qx5q32" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 17:46:48 +0000 (0:00:00.203) 0:00:37.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_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 17:46:48 +0000 (0:00:00.245) 0:00:38.108 ****** 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_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 17:46:48 +0000 (0:00:00.021) 0:00:38.130 ****** 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_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 17:46:48 +0000 (0:00:00.021) 0:00:38.152 ****** 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_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 17:46:48 +0000 (0:00:00.022) 0:00:38.174 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 17:46:48 +0000 (0:00:00.021) 0:00:38.195 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewritehl6d5__5/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 06 February 2024 17:46:49 +0000 (0:00:00.129) 0:00:38.324 ****** 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_rewritehl6d5__5/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 06 February 2024 17:46:49 +0000 (0:00:00.047) 0:00:38.372 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 17:46:49 +0000 (0:00:00.035) 0:00:38.408 ****** included: /WORKDIR/git-bond_options_rewritehl6d5__5/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_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 17:46:49 +0000 (0:00:00.039) 0:00:38.448 ****** 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_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 17:46:49 +0000 (0:00:00.026) 0:00:38.474 ****** 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_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 17:46:49 +0000 (0:00:00.021) 0:00:38.495 ****** 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_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 17:46:49 +0000 (0:00:00.020) 0:00:38.516 ****** 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_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 17:46:50 +0000 (0:00:01.479) 0:00:39.995 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-bond_options_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 17:46:51 +0000 (0:00:00.628) 0:00:40.624 ****** 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_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 17:46:51 +0000 (0:00:00.022) 0:00:40.647 ****** 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_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 17:46:51 +0000 (0:00:00.021) 0:00:40.668 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 17:46:51 +0000 (0:00:00.020) 0:00:40.689 ****** 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_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 17:46:51 +0000 (0:00:00.042) 0:00:40.731 ****** 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_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 17:46:51 +0000 (0:00:00.021) 0:00:40.753 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-bond_options_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 17:46:51 +0000 (0:00:00.020) 0:00:40.774 ****** 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_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 17:46:51 +0000 (0:00:00.024) 0:00:40.798 ****** 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_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 17:46:51 +0000 (0:00:00.020) 0:00:40.819 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 17:46:51 +0000 (0:00:00.021) 0:00:40.841 ****** 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_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 17:46:51 +0000 (0:00:00.199) 0:00:41.040 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-14916250tq1sa/tmp8ixiuegp" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 17:46:52 +0000 (0:00:00.204) 0:00:41.245 ****** 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_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 17:46:52 +0000 (0:00:00.427) 0:00:41.672 ****** 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_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 17:46:52 +0000 (0:00:00.021) 0:00:41.694 ****** 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_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 17:46:52 +0000 (0:00:00.023) 0:00:41.718 ****** 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_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 17:46:52 +0000 (0:00:00.024) 0:00:41.742 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 17:46:52 +0000 (0:00:00.020) 0:00:41.763 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritehl6d5__5/tests/playbooks/tasks/remove_profile.yml:3 Tuesday 06 February 2024 17:46:52 +0000 (0:00:00.129) 0:00:41.892 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 17:46:52 +0000 (0:00:00.035) 0:00:41.927 ****** included: /WORKDIR/git-bond_options_rewritehl6d5__5/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_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 17:46:52 +0000 (0:00:00.039) 0:00:41.966 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-bond_options_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 17:46:52 +0000 (0:00:00.026) 0:00:41.992 ****** 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_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 17:46:52 +0000 (0:00:00.021) 0:00:42.014 ****** 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_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 17:46:52 +0000 (0:00:00.021) 0:00:42.035 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-bond_options_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 17:46:54 +0000 (0:00:01.468) 0:00:43.503 ****** 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_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 17:46:54 +0000 (0:00:00.591) 0:00:44.095 ****** 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_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 17:46:54 +0000 (0:00:00.022) 0:00:44.117 ****** 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_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 17:46:54 +0000 (0:00:00.021) 0:00:44.139 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 17:46:54 +0000 (0:00:00.021) 0:00:44.161 ****** 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_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 17:46:54 +0000 (0:00:00.042) 0:00:44.203 ****** 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_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 17:46:55 +0000 (0:00:00.021) 0:00:44.225 ****** 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_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 17:46:55 +0000 (0:00:00.021) 0:00:44.246 ****** 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_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 17:46:55 +0000 (0:00:00.024) 0:00:44.270 ****** 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_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 17:46:55 +0000 (0:00:00.022) 0:00:44.293 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 17:46:55 +0000 (0:00:00.021) 0:00:44.314 ****** 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_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 17:46:55 +0000 (0:00:00.218) 0:00:44.533 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-14916250tq1sa/tmpm_590tet" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 17:46:55 +0000 (0:00:00.197) 0:00:44.730 ****** 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_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 17:46:55 +0000 (0:00:00.250) 0:00:44.980 ****** 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_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 17:46:55 +0000 (0:00:00.021) 0:00:45.001 ****** 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_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 17:46:55 +0000 (0:00:00.025) 0:00:45.027 ****** 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_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 17:46:55 +0000 (0:00:00.023) 0:00:45.050 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 17:46:55 +0000 (0:00:00.021) 0:00:45.072 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewritehl6d5__5/tests/playbooks/tasks/run_test.yml:30 Tuesday 06 February 2024 17:46:56 +0000 (0:00:00.136) 0:00:45.209 ****** included: /WORKDIR/git-bond_options_rewritehl6d5__5/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritehl6d5__5/tests/playbooks/tasks/remove+down_profile.yml:3 Tuesday 06 February 2024 17:46:56 +0000 (0:00:00.040) 0:00:45.249 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 17:46:56 +0000 (0:00:00.039) 0:00:45.288 ****** included: /WORKDIR/git-bond_options_rewritehl6d5__5/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_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 17:46:56 +0000 (0:00:00.039) 0:00:45.327 ****** 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_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 17:46:56 +0000 (0:00:00.025) 0:00:45.352 ****** 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_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 17:46:56 +0000 (0:00:00.044) 0:00:45.397 ****** 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_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 17:46:56 +0000 (0:00:00.022) 0:00:45.420 ****** 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_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 17:46:57 +0000 (0:00:01.450) 0:00:46.870 ****** 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_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 17:46:58 +0000 (0:00:00.603) 0:00:47.474 ****** 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_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 17:46:58 +0000 (0:00:00.022) 0:00:47.496 ****** 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_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 17:46:58 +0000 (0:00:00.021) 0:00:47.518 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 17:46:58 +0000 (0:00:00.041) 0:00:47.559 ****** 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_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 17:46:58 +0000 (0:00:00.043) 0:00:47.602 ****** 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_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 17:46:58 +0000 (0:00:00.021) 0:00:47.624 ****** 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_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 17:46:58 +0000 (0:00:00.021) 0:00:47.645 ****** 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_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 17:46:58 +0000 (0:00:00.024) 0:00:47.670 ****** 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_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 17:46:58 +0000 (0:00:00.021) 0:00:47.692 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 17:46:58 +0000 (0:00:00.021) 0:00:47.713 ****** 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_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 17:46:58 +0000 (0:00:00.201) 0:00:47.915 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-14916250tq1sa/tmp0wzhgrvo" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 17:46:58 +0000 (0:00:00.206) 0:00:48.121 ****** 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_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 17:46:59 +0000 (0:00:00.247) 0:00:48.368 ****** 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_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 17:46:59 +0000 (0:00:00.020) 0:00:48.389 ****** 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_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 17:46:59 +0000 (0:00:00.022) 0:00:48.412 ****** 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_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 17:46:59 +0000 (0:00:00.022) 0:00:48.434 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 17:46:59 +0000 (0:00:00.021) 0:00:48.455 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewritehl6d5__5/tests/playbooks/tasks/run_test.yml:36 Tuesday 06 February 2024 17:46:59 +0000 (0:00:00.133) 0:00:48.588 ****** included: /WORKDIR/git-bond_options_rewritehl6d5__5/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewritehl6d5__5/tests/playbooks/tasks/assert_profile_absent.yml:3 Tuesday 06 February 2024 17:46:59 +0000 (0:00:00.062) 0:00:48.651 ****** included: /WORKDIR/git-bond_options_rewritehl6d5__5/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_rewritehl6d5__5/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 06 February 2024 17:46:59 +0000 (0:00:00.036) 0:00:48.688 ****** 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_rewritehl6d5__5/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 06 February 2024 17:46:59 +0000 (0:00:00.022) 0:00:48.710 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-bond_options_rewritehl6d5__5/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 06 February 2024 17:46:59 +0000 (0:00:00.136) 0:00:48.847 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewritehl6d5__5/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 06 February 2024 17:46:59 +0000 (0:00:00.021) 0:00:48.868 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.005233", "end": "2024-02-06 17:46:59.775455", "rc": 1, "start": "2024-02-06 17:46:59.770222" } STDERR: /bin/sh: nmcli: command not found MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-bond_options_rewritehl6d5__5/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 06 February 2024 17:46:59 +0000 (0:00:00.143) 0:00:49.012 ****** 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_rewritehl6d5__5/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 06 February 2024 17:46:59 +0000 (0:00:00.023) 0:00:49.035 ****** 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_rewritehl6d5__5/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 06 February 2024 17:46:59 +0000 (0:00:00.023) 0:00:49.058 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-bond_options_rewritehl6d5__5/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 06 February 2024 17:46:59 +0000 (0:00:00.022) 0:00:49.081 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewritehl6d5__5/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 06 February 2024 17:46:59 +0000 (0:00:00.023) 0:00:49.104 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-bond_options_rewritehl6d5__5/tests/playbooks/tasks/assert_profile_absent.yml:5 Tuesday 06 February 2024 17:46:59 +0000 (0:00:00.023) 0:00:49.127 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewritehl6d5__5/tests/playbooks/tasks/run_test.yml:42 Tuesday 06 February 2024 17:46:59 +0000 (0:00:00.023) 0:00:49.151 ****** 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_rewritehl6d5__5/tests/playbooks/tasks/run_test.yml:47 Tuesday 06 February 2024 17:46:59 +0000 (0:00:00.027) 0:00:49.178 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-bond_options_rewritehl6d5__5/tests/playbooks/tasks/run_test.yml:66 Tuesday 06 February 2024 17:46:59 +0000 (0:00:00.022) 0:00:49.200 ****** included: /WORKDIR/git-bond_options_rewritehl6d5__5/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewritehl6d5__5/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 06 February 2024 17:47:00 +0000 (0:00:00.071) 0:00:49.272 ****** 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.025848", "end": "2024-02-06 17:47:00.200852", "rc": 0, "start": "2024-02-06 17:47:00.175004" } STDERR: /bin/sh: nmcli: command not found /bin/sh: line 1: nmcli: command not found TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-bond_options_rewritehl6d5__5/tests/playbooks/tests_states.yml:126 Tuesday 06 February 2024 17:47:00 +0000 (0:00:00.172) 0:00:49.444 ****** included: /WORKDIR/git-bond_options_rewritehl6d5__5/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_rewritehl6d5__5/tests/playbooks/tasks/run_test.yml:5 Tuesday 06 February 2024 17:47:00 +0000 (0:00:00.039) 0:00:49.483 ****** 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_rewritehl6d5__5/tests/playbooks/tasks/run_test.yml:9 Tuesday 06 February 2024 17:47:00 +0000 (0:00:00.023) 0:00:49.507 ****** ok: [sut] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I will not get an error when I try to remove an absent profile" } ok: [sut] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml", "tasks/activate_profile.yml", "tasks/remove+down_profile.yml" ] } ok: [sut] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove+down_profile.yml" ] } ok: [sut] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_absent.yml", "tasks/get_NetworkManager_NVR.yml" ] } ok: [sut] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": [ { "condition": false, "what": "tasks/assert_device_absent.yml" } ] } ok: [sut] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [sut] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-bond_options_rewritehl6d5__5/tests/playbooks/tasks/run_test.yml:21 Tuesday 06 February 2024 17:47:00 +0000 (0:00:00.046) 0:00:49.554 ****** included: /WORKDIR/git-bond_options_rewritehl6d5__5/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritehl6d5__5/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 06 February 2024 17:47:00 +0000 (0:00:00.035) 0:00:49.589 ****** included: /WORKDIR/git-bond_options_rewritehl6d5__5/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritehl6d5__5/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 06 February 2024 17:47:00 +0000 (0:00:00.033) 0:00:49.623 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003489", "end": "2024-02-06 17:47:00.529785", "rc": 0, "start": "2024-02-06 17:47:00.526296" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritehl6d5__5/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 06 February 2024 17:47:00 +0000 (0:00:00.145) 0:00:49.768 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritehl6d5__5/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 06 February 2024 17:47:00 +0000 (0:00:00.024) 0:00:49.792 ****** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewritehl6d5__5/tests/playbooks/tasks/run_test.yml:24 Tuesday 06 February 2024 17:47:00 +0000 (0:00:00.023) 0:00:49.815 ****** included: /WORKDIR/git-bond_options_rewritehl6d5__5/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-bond_options_rewritehl6d5__5/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-bond_options_rewritehl6d5__5/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritehl6d5__5/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 06 February 2024 17:47:00 +0000 (0:00:00.046) 0:00:49.862 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 17:47:00 +0000 (0:00:00.063) 0:00:49.926 ****** included: /WORKDIR/git-bond_options_rewritehl6d5__5/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_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 17:47:00 +0000 (0:00:00.040) 0:00:49.966 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-bond_options_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 17:47:00 +0000 (0:00:00.028) 0:00:49.994 ****** 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_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 17:47:00 +0000 (0:00:00.021) 0:00:50.015 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-bond_options_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 17:47:00 +0000 (0:00:00.022) 0:00:50.038 ****** 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_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 17:47:02 +0000 (0:00:01.506) 0:00:51.544 ****** 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_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 17:47:02 +0000 (0:00:00.630) 0:00:52.174 ****** 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_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 17:47:02 +0000 (0:00:00.023) 0:00:52.197 ****** 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_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 17:47:03 +0000 (0:00:00.021) 0:00:52.218 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 17:47:03 +0000 (0:00:00.021) 0:00:52.240 ****** 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_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 17:47:03 +0000 (0:00:00.043) 0:00:52.284 ****** 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_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 17:47:03 +0000 (0:00:00.021) 0:00:52.305 ****** 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_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 17:47:03 +0000 (0:00:00.021) 0:00:52.326 ****** 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_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 17:47:03 +0000 (0:00:00.024) 0:00:52.351 ****** 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_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 17:47:03 +0000 (0:00:00.021) 0:00:52.373 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 17:47:03 +0000 (0:00:00.021) 0:00:52.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 : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-bond_options_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 17:47:03 +0000 (0:00:00.203) 0:00:52.597 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-14916250tq1sa/tmpuqcrpks4" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 17:47:03 +0000 (0:00:00.210) 0:00:52.808 ****** 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_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 17:47:03 +0000 (0:00:00.254) 0:00:53.062 ****** 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_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 17:47:03 +0000 (0:00:00.023) 0:00:53.085 ****** 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_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 17:47:03 +0000 (0:00:00.023) 0:00:53.108 ****** 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_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 17:47:03 +0000 (0:00:00.051) 0:00:53.159 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 17:47:03 +0000 (0:00:00.023) 0:00:53.183 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewritehl6d5__5/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 06 February 2024 17:47:04 +0000 (0:00:00.131) 0:00:53.315 ****** 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_rewritehl6d5__5/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 06 February 2024 17:47:04 +0000 (0:00:00.022) 0:00:53.338 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 17:47:04 +0000 (0:00:00.035) 0:00:53.373 ****** included: /WORKDIR/git-bond_options_rewritehl6d5__5/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_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 17:47:04 +0000 (0:00:00.039) 0:00:53.413 ****** 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_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 17:47:04 +0000 (0:00:00.025) 0:00:53.438 ****** 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_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 17:47:04 +0000 (0:00:00.021) 0:00:53.460 ****** 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_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 17:47:04 +0000 (0:00:00.021) 0:00:53.481 ****** 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_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 17:47:05 +0000 (0:00:01.501) 0:00:54.982 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-bond_options_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 17:47:06 +0000 (0:00:00.603) 0:00:55.586 ****** 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_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 17:47:06 +0000 (0:00:00.022) 0:00:55.608 ****** 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_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 17:47:06 +0000 (0:00:00.021) 0:00:55.630 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 17:47:06 +0000 (0:00:00.021) 0:00:55.651 ****** 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_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 17:47:06 +0000 (0:00:00.043) 0:00:55.695 ****** 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_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 17:47:06 +0000 (0:00:00.021) 0:00:55.716 ****** 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_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 17:47:06 +0000 (0:00:00.020) 0:00:55.737 ****** 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_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 17:47:06 +0000 (0:00:00.024) 0:00:55.762 ****** 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_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 17:47:06 +0000 (0:00:00.020) 0:00:55.783 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 17:47:06 +0000 (0:00:00.021) 0:00:55.804 ****** 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_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 17:47:06 +0000 (0:00:00.199) 0:00:56.004 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-14916250tq1sa/tmpr29b8j8v" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 17:47:07 +0000 (0:00:00.228) 0:00:56.232 ****** 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_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 17:47:07 +0000 (0:00:00.378) 0:00:56.610 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 17:47:07 +0000 (0:00:00.021) 0:00:56.631 ****** 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_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 17:47:07 +0000 (0:00:00.022) 0:00:56.654 ****** 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_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 17:47:07 +0000 (0:00:00.022) 0:00:56.676 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 17:47:07 +0000 (0:00:00.020) 0:00:56.696 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritehl6d5__5/tests/playbooks/tasks/remove+down_profile.yml:3 Tuesday 06 February 2024 17:47:07 +0000 (0:00:00.138) 0:00:56.835 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 17:47:07 +0000 (0:00:00.035) 0:00:56.870 ****** included: /WORKDIR/git-bond_options_rewritehl6d5__5/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_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 17:47:07 +0000 (0:00:00.039) 0:00:56.909 ****** 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_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 17:47:07 +0000 (0:00:00.025) 0:00:56.935 ****** 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_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 17:47:07 +0000 (0:00:00.021) 0:00:56.956 ****** 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_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 17:47:07 +0000 (0:00:00.020) 0:00:56.977 ****** 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_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 17:47:09 +0000 (0:00:01.491) 0:00:58.468 ****** 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_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 17:47:09 +0000 (0:00:00.610) 0:00:59.079 ****** 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_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 17:47:09 +0000 (0:00:00.023) 0:00:59.102 ****** 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_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 17:47:09 +0000 (0:00:00.027) 0:00:59.130 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 17:47:09 +0000 (0:00:00.021) 0:00:59.152 ****** 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_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 17:47:09 +0000 (0:00:00.044) 0:00:59.197 ****** 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_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 17:47:10 +0000 (0:00:00.023) 0:00:59.220 ****** 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_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 17:47:10 +0000 (0:00:00.021) 0:00:59.242 ****** 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_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 17:47:10 +0000 (0:00:00.049) 0:00:59.292 ****** 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_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 17:47:10 +0000 (0:00:00.021) 0:00:59.313 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 17:47:10 +0000 (0:00:00.021) 0:00:59.334 ****** 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_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 17:47:10 +0000 (0:00:00.202) 0:00:59.537 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-14916250tq1sa/tmp_feo6okn" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 17:47:10 +0000 (0:00:00.213) 0:00:59.751 ****** 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_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 17:47:10 +0000 (0:00:00.265) 0:01:00.017 ****** 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_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 17:47:10 +0000 (0:00:00.023) 0:01:00.040 ****** 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_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 17:47:10 +0000 (0:00:00.024) 0:01:00.065 ****** 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_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 17:47:10 +0000 (0:00:00.022) 0:01:00.087 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 17:47:10 +0000 (0:00:00.021) 0:01:00.109 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewritehl6d5__5/tests/playbooks/tasks/run_test.yml:30 Tuesday 06 February 2024 17:47:11 +0000 (0:00:00.135) 0:01:00.244 ****** included: /WORKDIR/git-bond_options_rewritehl6d5__5/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritehl6d5__5/tests/playbooks/tasks/remove+down_profile.yml:3 Tuesday 06 February 2024 17:47:11 +0000 (0:00:00.038) 0:01:00.282 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 17:47:11 +0000 (0:00:00.034) 0:01:00.317 ****** included: /WORKDIR/git-bond_options_rewritehl6d5__5/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_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 17:47:11 +0000 (0:00:00.072) 0:01:00.390 ****** 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_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 17:47:11 +0000 (0:00:00.025) 0:01:00.416 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-bond_options_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 17:47:11 +0000 (0:00:00.021) 0:01:00.437 ****** 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_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 17:47:11 +0000 (0:00:00.021) 0:01:00.458 ****** 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_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 17:47:12 +0000 (0:00:01.492) 0:01:01.950 ****** 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_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 17:47:13 +0000 (0:00:00.620) 0:01:02.571 ****** 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_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 17:47:13 +0000 (0:00:00.023) 0:01:02.595 ****** 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_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 17:47:13 +0000 (0:00:00.021) 0:01:02.617 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 17:47:13 +0000 (0:00:00.021) 0:01:02.638 ****** 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_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 17:47:13 +0000 (0:00:00.041) 0:01:02.680 ****** 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_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 17:47:13 +0000 (0:00:00.021) 0:01:02.701 ****** 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_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 17:47:13 +0000 (0:00:00.020) 0:01:02.722 ****** 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_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 17:47:13 +0000 (0:00:00.025) 0:01:02.747 ****** 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_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 17:47:13 +0000 (0:00:00.021) 0:01:02.769 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 17:47:13 +0000 (0:00:00.020) 0:01:02.790 ****** 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_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 17:47:13 +0000 (0:00:00.202) 0:01:02.992 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-14916250tq1sa/tmpbd5v9y2v" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 17:47:13 +0000 (0:00:00.205) 0:01:03.197 ****** 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_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 17:47:14 +0000 (0:00:00.249) 0:01:03.447 ****** 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_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 17:47:14 +0000 (0:00:00.022) 0:01:03.469 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist", "[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present)" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 17:47:14 +0000 (0:00:00.022) 0:01:03.492 ****** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": false, "failed": false, "stderr": "[003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist\n[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present)\n", "stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist", "[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present)" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 17:47:14 +0000 (0:00:00.022) 0:01:03.515 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 17:47:14 +0000 (0:00:00.050) 0:01:03.565 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewritehl6d5__5/tests/playbooks/tasks/run_test.yml:36 Tuesday 06 February 2024 17:47:14 +0000 (0:00:00.135) 0:01:03.700 ****** included: /WORKDIR/git-bond_options_rewritehl6d5__5/tests/playbooks/tasks/assert_profile_absent.yml for sut included: /WORKDIR/git-bond_options_rewritehl6d5__5/tests/playbooks/tasks/get_NetworkManager_NVR.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewritehl6d5__5/tests/playbooks/tasks/assert_profile_absent.yml:3 Tuesday 06 February 2024 17:47:14 +0000 (0:00:00.045) 0:01:03.746 ****** included: /WORKDIR/git-bond_options_rewritehl6d5__5/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_rewritehl6d5__5/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 06 February 2024 17:47:14 +0000 (0:00:00.037) 0:01:03.783 ****** 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_rewritehl6d5__5/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 06 February 2024 17:47:14 +0000 (0:00:00.021) 0:01:03.804 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-bond_options_rewritehl6d5__5/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 06 February 2024 17:47:14 +0000 (0:00:00.136) 0:01:03.940 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewritehl6d5__5/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 06 February 2024 17:47:14 +0000 (0:00:00.021) 0:01:03.962 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.005162", "end": "2024-02-06 17:47:14.866518", "rc": 1, "start": "2024-02-06 17:47:14.861356" } STDERR: /bin/sh: nmcli: command not found MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-bond_options_rewritehl6d5__5/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 06 February 2024 17:47:14 +0000 (0:00:00.141) 0:01:04.103 ****** 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_rewritehl6d5__5/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 06 February 2024 17:47:14 +0000 (0:00:00.024) 0:01:04.128 ****** 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_rewritehl6d5__5/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 06 February 2024 17:47:14 +0000 (0:00:00.023) 0:01:04.151 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-bond_options_rewritehl6d5__5/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 06 February 2024 17:47:14 +0000 (0:00:00.023) 0:01:04.175 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewritehl6d5__5/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 06 February 2024 17:47:14 +0000 (0:00:00.023) 0:01:04.199 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-bond_options_rewritehl6d5__5/tests/playbooks/tasks/assert_profile_absent.yml:5 Tuesday 06 February 2024 17:47:15 +0000 (0:00:00.023) 0:01:04.222 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /WORKDIR/git-bond_options_rewritehl6d5__5/tests/playbooks/tasks/get_NetworkManager_NVR.yml:7 Tuesday 06 February 2024 17:47:15 +0000 (0:00:00.023) 0:01:04.245 ****** ok: [sut] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.388452", "end": "2024-02-06 17:47:15.534011", "rc": 0, "start": "2024-02-06 17:47:15.145559" } TASK [Store NetworkManager version] ******************************************** task path: /WORKDIR/git-bond_options_rewritehl6d5__5/tests/playbooks/tasks/get_NetworkManager_NVR.yml:14 Tuesday 06 February 2024 17:47:15 +0000 (0:00:00.527) 0:01:04.773 ****** ok: [sut] => { "ansible_facts": { "networkmanager_nvr": "" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /WORKDIR/git-bond_options_rewritehl6d5__5/tests/playbooks/tasks/get_NetworkManager_NVR.yml:18 Tuesday 06 February 2024 17:47:15 +0000 (0:00:00.022) 0:01:04.795 ****** ok: [sut] => { "networkmanager_nvr": "" } TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewritehl6d5__5/tests/playbooks/tasks/run_test.yml:42 Tuesday 06 February 2024 17:47:15 +0000 (0:00:00.021) 0:01:04.817 ****** 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_rewritehl6d5__5/tests/playbooks/tasks/run_test.yml:47 Tuesday 06 February 2024 17:47:15 +0000 (0:00:00.026) 0:01:04.844 ****** 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_rewritehl6d5__5/tests/playbooks/tasks/run_test.yml:66 Tuesday 06 February 2024 17:47:15 +0000 (0:00:00.022) 0:01:04.866 ****** included: /WORKDIR/git-bond_options_rewritehl6d5__5/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewritehl6d5__5/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 06 February 2024 17:47:15 +0000 (0:00:00.039) 0:01:04.906 ****** 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.032598", "end": "2024-02-06 17:47:15.841862", "rc": 0, "start": "2024-02-06 17:47:15.809264" } STDERR: /bin/sh: nmcli: command not found /bin/sh: line 1: nmcli: command not found META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=332 changed=13 unreachable=0 failed=0 skipped=227 rescued=0 ignored=10 Tuesday 06 February 2024 17:47:15 +0000 (0:00:00.166) 0:01:05.072 ****** =============================================================================== linux-system-roles.network : Check which services are running ----------- 1.71s /WORKDIR/git-bond_options_rewritehl6d5__5/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_rewritehl6d5__5/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_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Configure networking connection profiles --- 1.55s /WORKDIR/git-bond_options_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/main.yml:125 linux-system-roles.network : Check which services are running ----------- 1.54s /WORKDIR/git-bond_options_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.52s /WORKDIR/git-bond_options_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.51s /WORKDIR/git-bond_options_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.50s /WORKDIR/git-bond_options_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.50s /WORKDIR/git-bond_options_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.50s /WORKDIR/git-bond_options_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.49s /WORKDIR/git-bond_options_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.49s /WORKDIR/git-bond_options_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.48s /WORKDIR/git-bond_options_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.47s /WORKDIR/git-bond_options_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.47s /WORKDIR/git-bond_options_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.45s /WORKDIR/git-bond_options_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Configure networking connection profiles --- 1.38s /WORKDIR/git-bond_options_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/main.yml:125 linux-system-roles.network : Enable network service --------------------- 1.08s /WORKDIR/git-bond_options_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/main.yml:108 linux-system-roles.network : Ensure initscripts network file dependency is present --- 1.05s /WORKDIR/git-bond_options_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/main.yml:116 linux-system-roles.network : Ensure initscripts network file dependency is present --- 0.84s /WORKDIR/git-bond_options_rewritehl6d5__5/tests/roles/linux-system-roles.network/tasks/main.yml:116 ---^---^---^---^---^--- # 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. ---^---^---^---^---^---