# 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_rewrite3sfbnkgm/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_rewrite3sfbnkgm/tests/tests_states_initscripts.yml:5 Tuesday 06 February 2024 21:36:56 +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_rewrite3sfbnkgm/tests/tests_states_initscripts.yml:8 Tuesday 06 February 2024 21:36:57 +0000 (0:00:00.890) 0:00:00.902 ****** included: /WORKDIR/git-bond_options_rewrite3sfbnkgm/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_rewrite3sfbnkgm/tests/tasks/el_repo_setup.yml:3 Tuesday 06 February 2024 21:36:57 +0000 (0:00:00.023) 0:00:00.926 ****** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/tasks/el_repo_setup.yml:19 Tuesday 06 February 2024 21:36:57 +0000 (0:00:00.216) 0:00:01.142 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/tasks/el_repo_setup.yml:24 Tuesday 06 February 2024 21:36:57 +0000 (0:00:00.186) 0:00:01.329 ****** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/tasks/el_repo_setup.yml:28 Tuesday 06 February 2024 21:36:57 +0000 (0:00:00.020) 0:00:01.350 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/tasks/el_repo_setup.yml:53 Tuesday 06 February 2024 21:36:57 +0000 (0:00:00.018) 0:00:01.368 ****** included: /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 6] *********************************************************** task path: /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/tasks/enable_epel.yml:8 Tuesday 06 February 2024 21:36:57 +0000 (0:00:00.032) 0:00:01.400 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Install yum-utils package] *********************************************** task path: /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/tasks/enable_epel.yml:24 Tuesday 06 February 2024 21:36:57 +0000 (0:00:00.011) 0:00:01.412 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/tasks/enable_epel.yml:30 Tuesday 06 February 2024 21:36:57 +0000 (0:00:00.010) 0:00:01.422 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/tasks/enable_epel.yml:35 Tuesday 06 February 2024 21:36:57 +0000 (0:00:00.010) 0:00:01.432 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/tasks/enable_epel.yml:40 Tuesday 06 February 2024 21:36:57 +0000 (0:00:00.010) 0:00:01.443 ****** 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_rewrite3sfbnkgm/tests/tests_states_initscripts.yml:10 Tuesday 06 February 2024 21:36:58 +0000 (0:00:00.429) 0:00:01.872 ****** 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_rewrite3sfbnkgm/tests/playbooks/tests_states.yml:3 Tuesday 06 February 2024 21:36:58 +0000 (0:00:00.011) 0:00:01.884 ****** ok: [sut] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/playbooks/tests_states.yml:11 Tuesday 06 February 2024 21:36:58 +0000 (0:00:00.701) 0:00:02.585 ****** ok: [sut] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/playbooks/tests_states.yml:22 Tuesday 06 February 2024 21:36:58 +0000 (0:00:00.011) 0:00:02.597 ****** included: /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile] ******************************************** task path: /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/playbooks/tasks/run_test.yml:5 Tuesday 06 February 2024 21:36:58 +0000 (0:00:00.017) 0:00:02.615 ****** ok: [sut] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/playbooks/tasks/run_test.yml:9 Tuesday 06 February 2024 21:36:58 +0000 (0:00:00.011) 0:00:02.627 ****** 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_rewrite3sfbnkgm/tests/playbooks/tasks/run_test.yml:21 Tuesday 06 February 2024 21:36:58 +0000 (0:00:00.035) 0:00:02.663 ****** included: /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 06 February 2024 21:36:58 +0000 (0:00:00.017) 0:00:02.680 ****** included: /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 06 February 2024 21:36:58 +0000 (0:00:00.014) 0:00:02.695 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003272", "end": "2024-02-06 21:36:59.087787", "rc": 0, "start": "2024-02-06 21:36:59.084515" } STDOUT: dummy0 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 06 February 2024 21:36:59 +0000 (0:00:00.186) 0:00:02.882 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "dummy0", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 06 February 2024 21:36:59 +0000 (0:00:00.012) 0:00:02.895 ****** ok: [sut] => {} MSG: current_interfaces: ['dummy0', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/playbooks/tasks/run_test.yml:24 Tuesday 06 February 2024 21:36:59 +0000 (0:00:00.011) 0:00:02.907 ****** included: /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/playbooks/tasks/delete_interface.yml:3 Tuesday 06 February 2024 21:36:59 +0000 (0:00:00.022) 0:00:02.930 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.026457", "end": "2024-02-06 21:36:59.279557", "rc": 255, "start": "2024-02-06 21:36:59.253100" } 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_rewrite3sfbnkgm/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 06 February 2024 21:36:59 +0000 (0:00:00.143) 0:00:03.073 ****** included: /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 06 February 2024 21:36:59 +0000 (0:00:00.017) 0:00:03.091 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 06 February 2024 21:36:59 +0000 (0:00:00.120) 0:00:03.211 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/playbooks/tasks/run_test.yml:30 Tuesday 06 February 2024 21:36:59 +0000 (0:00:00.013) 0:00:03.224 ****** included: /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 06 February 2024 21:36:59 +0000 (0:00:00.021) 0:00:03.246 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 21:36:59 +0000 (0:00:00.033) 0:00:03.279 ****** included: /WORKDIR/git-bond_options_rewrite3sfbnkgm/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_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 21:36:59 +0000 (0:00:00.072) 0:00:03.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 : Check if system is ostree] ****************** task path: /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 21:36:59 +0000 (0:00:00.013) 0:00:03.365 ****** 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_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 21:36:59 +0000 (0:00:00.010) 0:00:03.376 ****** 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_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 21:36:59 +0000 (0:00:00.010) 0:00:03.386 ****** 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_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 21:37:01 +0000 (0:00:01.821) 0:00:05.208 ****** 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_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 21:37:02 +0000 (0:00:00.706) 0:00:05.914 ****** 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_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 21:37:02 +0000 (0:00:00.022) 0:00:05.937 ****** 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_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 21:37:02 +0000 (0:00:00.021) 0:00:05.958 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 21:37:02 +0000 (0:00:00.019) 0:00:05.978 ****** 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_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 21:37:02 +0000 (0:00:00.057) 0:00:06.035 ****** 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_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 21:37:02 +0000 (0:00:00.021) 0:00:06.056 ****** 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_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 21:37:02 +0000 (0:00:00.021) 0:00:06.078 ****** 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_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 21:37:02 +0000 (0:00:00.024) 0:00:06.102 ****** 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_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 21:37:02 +0000 (0:00:00.020) 0:00:06.123 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 21:37:02 +0000 (0:00:00.019) 0:00:06.143 ****** 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_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 21:37:02 +0000 (0:00:00.271) 0:00:06.414 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-14251cob6zz3y/tmpf5la1dj1" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 21:37:02 +0000 (0:00:00.196) 0:00:06.611 ****** 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_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 21:37:03 +0000 (0:00:00.354) 0:00:06.966 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 21:37:03 +0000 (0:00:00.021) 0:00:06.987 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 21:37:03 +0000 (0:00:00.021) 0:00:07.009 ****** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 21:37:03 +0000 (0:00:00.022) 0:00:07.032 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 21:37:03 +0000 (0:00:00.020) 0:00:07.052 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 06 February 2024 21:37:03 +0000 (0:00:00.194) 0:00:07.247 ****** 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_rewrite3sfbnkgm/tests/playbooks/tasks/run_test.yml:36 Tuesday 06 February 2024 21:37:03 +0000 (0:00:00.041) 0:00:07.289 ****** included: /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 06 February 2024 21:37:03 +0000 (0:00:00.040) 0:00:07.329 ****** included: /WORKDIR/git-bond_options_rewrite3sfbnkgm/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_rewrite3sfbnkgm/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 06 February 2024 21:37:03 +0000 (0:00:00.037) 0:00:07.367 ****** 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_rewrite3sfbnkgm/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 06 February 2024 21:37:03 +0000 (0:00:00.020) 0:00:07.387 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1707255423.1595895, "block_size": 4096, "blocks": 8, "ctime": 1707255423.1595895, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 18846, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1707255423.1595895, "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_rewrite3sfbnkgm/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 06 February 2024 21:37:03 +0000 (0:00:00.127) 0:00:07.515 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 06 February 2024 21:37:03 +0000 (0:00:00.022) 0:00:07.537 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.006578", "end": "2024-02-06 21:37:03.872901", "rc": 1, "start": "2024-02-06 21:37:03.866323" } STDERR: Error: Object 'connection' is unknown, try 'nmcli help'. MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 06 February 2024 21:37:03 +0000 (0:00:00.139) 0:00:07.677 ****** 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_rewrite3sfbnkgm/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 06 February 2024 21:37:03 +0000 (0:00:00.022) 0:00:07.699 ****** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003088", "end": "2024-02-06 21:37:04.028811", "rc": 0, "start": "2024-02-06 21:37:04.025723" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 06 February 2024 21:37:03 +0000 (0:00:00.133) 0:00:07.833 ****** 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_rewrite3sfbnkgm/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 06 February 2024 21:37:04 +0000 (0:00:00.027) 0:00:07.860 ****** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003108", "end": "2024-02-06 21:37:04.191955", "rc": 0, "start": "2024-02-06 21:37:04.188847" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 06 February 2024 21:37:04 +0000 (0:00:00.136) 0:00:07.997 ****** 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_rewrite3sfbnkgm/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 06 February 2024 21:37:04 +0000 (0:00:00.025) 0:00:08.022 ****** 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_rewrite3sfbnkgm/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 06 February 2024 21:37:04 +0000 (0:00:00.022) 0:00:08.045 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 06 February 2024 21:37:04 +0000 (0:00:00.044) 0:00:08.089 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/playbooks/tasks/run_test.yml:42 Tuesday 06 February 2024 21:37:04 +0000 (0:00:00.023) 0:00:08.113 ****** 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_rewrite3sfbnkgm/tests/playbooks/tasks/run_test.yml:47 Tuesday 06 February 2024 21:37:04 +0000 (0:00:00.023) 0:00:08.137 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/playbooks/tasks/run_test.yml:66 Tuesday 06 February 2024 21:37:04 +0000 (0:00:00.021) 0:00:08.159 ****** included: /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 06 February 2024 21:37:04 +0000 (0:00:00.039) 0:00:08.198 ****** 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.042082", "end": "2024-02-06 21:37:04.565063", "rc": 255, "start": "2024-02-06 21:37:04.522981" } STDERR: Error: Can't obtain connections: settings services are not running. Error: Can't obtain connections: settings services are not running. Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/playbooks/tests_states.yml:45 Tuesday 06 February 2024 21:37:04 +0000 (0:00:00.169) 0:00:08.368 ****** included: /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile without autoconnect] ************************ task path: /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/playbooks/tasks/run_test.yml:5 Tuesday 06 February 2024 21:37:04 +0000 (0:00:00.035) 0:00:08.404 ****** ok: [sut] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/playbooks/tasks/run_test.yml:9 Tuesday 06 February 2024 21:37:04 +0000 (0:00:00.021) 0:00:08.425 ****** 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_rewrite3sfbnkgm/tests/playbooks/tasks/run_test.yml:21 Tuesday 06 February 2024 21:37:04 +0000 (0:00:00.043) 0:00:08.469 ****** included: /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 06 February 2024 21:37:04 +0000 (0:00:00.034) 0:00:08.504 ****** included: /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 06 February 2024 21:37:04 +0000 (0:00:00.033) 0:00:08.537 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003196", "end": "2024-02-06 21:37:04.865210", "rc": 0, "start": "2024-02-06 21:37:04.862014" } STDOUT: dummy0 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 06 February 2024 21:37:04 +0000 (0:00:00.152) 0:00:08.689 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "dummy0", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 06 February 2024 21:37:04 +0000 (0:00:00.022) 0:00:08.712 ****** ok: [sut] => {} MSG: current_interfaces: ['dummy0', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/playbooks/tasks/run_test.yml:24 Tuesday 06 February 2024 21:37:04 +0000 (0:00:00.021) 0:00:08.733 ****** included: /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/playbooks/tasks/delete_interface.yml:3 Tuesday 06 February 2024 21:37:04 +0000 (0:00:00.040) 0:00:08.774 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.004644", "end": "2024-02-06 21:37:05.105022", "rc": 255, "start": "2024-02-06 21:37:05.100378" } 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_rewrite3sfbnkgm/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 06 February 2024 21:37:05 +0000 (0:00:00.134) 0:00:08.908 ****** included: /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 06 February 2024 21:37:05 +0000 (0:00:00.035) 0:00:08.944 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 06 February 2024 21:37:05 +0000 (0:00:00.128) 0:00:09.072 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/playbooks/tasks/run_test.yml:30 Tuesday 06 February 2024 21:37:05 +0000 (0:00:00.023) 0:00:09.096 ****** included: /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Tuesday 06 February 2024 21:37:05 +0000 (0:00:00.038) 0:00:09.135 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 21:37:05 +0000 (0:00:00.039) 0:00:09.175 ****** included: /WORKDIR/git-bond_options_rewrite3sfbnkgm/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_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 21:37:05 +0000 (0:00:00.038) 0:00:09.214 ****** 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_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 21:37:05 +0000 (0:00:00.048) 0:00:09.262 ****** 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_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 21:37:05 +0000 (0:00:00.021) 0:00:09.284 ****** 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_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 21:37:05 +0000 (0:00:00.021) 0:00:09.305 ****** 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_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 21:37:07 +0000 (0:00:01.593) 0:00:10.899 ****** 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_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 21:37:07 +0000 (0:00:00.575) 0:00:11.475 ****** 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_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 21:37:07 +0000 (0:00:00.022) 0:00:11.497 ****** 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_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 21:37:07 +0000 (0:00:00.040) 0:00:11.538 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 21:37:07 +0000 (0:00:00.021) 0:00:11.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_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 21:37:07 +0000 (0:00:00.042) 0:00:11.601 ****** 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_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 21:37:07 +0000 (0:00:00.021) 0:00:11.623 ****** 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_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 21:37:07 +0000 (0:00:00.020) 0:00:11.644 ****** 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_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 21:37:07 +0000 (0:00:00.024) 0:00:11.668 ****** 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_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 21:37:07 +0000 (0:00:00.021) 0:00:11.690 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 21:37:07 +0000 (0:00:00.021) 0:00:11.711 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 21:37:08 +0000 (0:00:00.187) 0:00:11.899 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-14251cob6zz3y/tmpujvdeksb" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 21:37:08 +0000 (0:00:00.191) 0:00:12.090 ****** 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_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 21:37:08 +0000 (0:00:00.233) 0:00:12.324 ****** 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_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 21:37:08 +0000 (0:00:00.021) 0:00:12.345 ****** 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_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 21:37:08 +0000 (0:00:00.021) 0:00:12.367 ****** 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_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 21:37:08 +0000 (0:00:00.022) 0:00:12.390 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 21:37:08 +0000 (0:00:00.019) 0:00:12.409 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Tuesday 06 February 2024 21:37:08 +0000 (0:00:00.125) 0:00:12.535 ****** 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_rewrite3sfbnkgm/tests/playbooks/tasks/run_test.yml:36 Tuesday 06 February 2024 21:37:08 +0000 (0:00:00.023) 0:00:12.558 ****** included: /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/playbooks/tasks/assert_device_absent.yml for sut included: /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 06 February 2024 21:37:08 +0000 (0:00:00.042) 0:00:12.601 ****** included: /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 06 February 2024 21:37:08 +0000 (0:00:00.035) 0:00:12.637 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 06 February 2024 21:37:08 +0000 (0:00:00.128) 0:00:12.766 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 06 February 2024 21:37:08 +0000 (0:00:00.023) 0:00:12.789 ****** included: /WORKDIR/git-bond_options_rewrite3sfbnkgm/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_rewrite3sfbnkgm/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 06 February 2024 21:37:08 +0000 (0:00:00.036) 0:00:12.826 ****** 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_rewrite3sfbnkgm/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 06 February 2024 21:37:09 +0000 (0:00:00.021) 0:00:12.847 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1707255428.5185895, "block_size": 4096, "blocks": 8, "ctime": 1707255428.5185895, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 18846, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1707255428.5185895, "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_rewrite3sfbnkgm/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 06 February 2024 21:37:09 +0000 (0:00:00.125) 0:00:12.973 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 06 February 2024 21:37:09 +0000 (0:00:00.022) 0:00:12.995 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.006443", "end": "2024-02-06 21:37:09.325996", "rc": 1, "start": "2024-02-06 21:37:09.319553" } STDERR: Error: Object 'connection' is unknown, try 'nmcli help'. MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 06 February 2024 21:37:09 +0000 (0:00:00.133) 0:00:13.129 ****** 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_rewrite3sfbnkgm/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 06 February 2024 21:37:09 +0000 (0:00:00.022) 0:00:13.151 ****** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003069", "end": "2024-02-06 21:37:09.482384", "rc": 0, "start": "2024-02-06 21:37:09.479315" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 06 February 2024 21:37:09 +0000 (0:00:00.158) 0:00:13.310 ****** 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_rewrite3sfbnkgm/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 06 February 2024 21:37:09 +0000 (0:00:00.027) 0:00:13.337 ****** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003202", "end": "2024-02-06 21:37:09.669856", "rc": 0, "start": "2024-02-06 21:37:09.666654" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 06 February 2024 21:37:09 +0000 (0:00:00.138) 0:00:13.476 ****** 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_rewrite3sfbnkgm/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 06 February 2024 21:37:09 +0000 (0:00:00.025) 0:00:13.502 ****** 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_rewrite3sfbnkgm/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 06 February 2024 21:37:09 +0000 (0:00:00.023) 0:00:13.525 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 06 February 2024 21:37:09 +0000 (0:00:00.023) 0:00:13.549 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/playbooks/tasks/run_test.yml:42 Tuesday 06 February 2024 21:37:09 +0000 (0:00:00.021) 0:00:13.571 ****** TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/playbooks/tasks/run_test.yml:47 Tuesday 06 February 2024 21:37:09 +0000 (0:00:00.019) 0:00:13.590 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/playbooks/tasks/run_test.yml:66 Tuesday 06 February 2024 21:37:09 +0000 (0:00:00.022) 0:00:13.613 ****** included: /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 06 February 2024 21:37:09 +0000 (0:00:00.039) 0:00:13.653 ****** 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.022215", "end": "2024-02-06 21:37:10.001731", "rc": 255, "start": "2024-02-06 21:37:09.979516" } STDERR: Error: Can't obtain connections: settings services are not running. Error: Can't obtain connections: settings services are not running. Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/playbooks/tests_states.yml:65 Tuesday 06 February 2024 21:37:09 +0000 (0:00:00.152) 0:00:13.805 ****** included: /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can activate an existing profile] ******************************** task path: /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/playbooks/tasks/run_test.yml:5 Tuesday 06 February 2024 21:37:09 +0000 (0:00:00.036) 0:00:13.841 ****** ok: [sut] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/playbooks/tasks/run_test.yml:9 Tuesday 06 February 2024 21:37:10 +0000 (0:00:00.021) 0:00:13.862 ****** 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_rewrite3sfbnkgm/tests/playbooks/tasks/run_test.yml:21 Tuesday 06 February 2024 21:37:10 +0000 (0:00:00.068) 0:00:13.931 ****** included: /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 06 February 2024 21:37:10 +0000 (0:00:00.034) 0:00:13.966 ****** included: /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 06 February 2024 21:37:10 +0000 (0:00:00.033) 0:00:13.999 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003278", "end": "2024-02-06 21:37:10.327622", "rc": 0, "start": "2024-02-06 21:37:10.324344" } STDOUT: dummy0 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 06 February 2024 21:37:10 +0000 (0:00:00.131) 0:00:14.131 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "dummy0", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 06 February 2024 21:37:10 +0000 (0:00:00.022) 0:00:14.154 ****** ok: [sut] => {} MSG: current_interfaces: ['dummy0', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/playbooks/tasks/run_test.yml:24 Tuesday 06 February 2024 21:37:10 +0000 (0:00:00.021) 0:00:14.175 ****** included: /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 06 February 2024 21:37:10 +0000 (0:00:00.037) 0:00:14.212 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 21:37:10 +0000 (0:00:00.035) 0:00:14.248 ****** included: /WORKDIR/git-bond_options_rewrite3sfbnkgm/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_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 21:37:10 +0000 (0:00:00.039) 0:00:14.287 ****** 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_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 21:37:10 +0000 (0:00:00.025) 0:00:14.312 ****** 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_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 21:37:10 +0000 (0:00:00.021) 0:00:14.334 ****** 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_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 21:37:10 +0000 (0:00:00.019) 0:00:14.353 ****** 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_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 21:37:12 +0000 (0:00:01.554) 0:00:15.908 ****** 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_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 21:37:12 +0000 (0:00:00.566) 0:00:16.475 ****** 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_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 21:37:12 +0000 (0:00:00.022) 0:00:16.497 ****** 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_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 21:37:12 +0000 (0:00:00.021) 0:00:16.519 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 21:37:12 +0000 (0:00:00.021) 0:00:16.540 ****** 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_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 21:37:12 +0000 (0:00:00.042) 0:00:16.582 ****** 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_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 21:37:12 +0000 (0:00:00.039) 0:00:16.621 ****** 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_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 21:37:12 +0000 (0:00:00.021) 0:00:16.643 ****** 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_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 21:37:12 +0000 (0:00:00.024) 0:00:16.668 ****** 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_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 21:37:12 +0000 (0:00:00.021) 0:00:16.689 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 21:37:12 +0000 (0:00:00.020) 0:00:16.710 ****** 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_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 21:37:13 +0000 (0:00:00.188) 0:00:16.898 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-14251cob6zz3y/tmp8cgu083l" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 21:37:13 +0000 (0:00:00.191) 0:00:17.089 ****** 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_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 21:37:13 +0000 (0:00:00.232) 0:00:17.322 ****** 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_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 21:37:13 +0000 (0:00:00.021) 0:00:17.343 ****** 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_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 21:37:13 +0000 (0:00:00.022) 0:00:17.365 ****** 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_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 21:37:13 +0000 (0:00:00.022) 0:00:17.388 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 21:37:13 +0000 (0:00:00.020) 0:00:17.409 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 06 February 2024 21:37:13 +0000 (0:00:00.122) 0:00:17.532 ****** 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_rewrite3sfbnkgm/tests/playbooks/tasks/run_test.yml:30 Tuesday 06 February 2024 21:37:13 +0000 (0:00:00.022) 0:00:17.554 ****** included: /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 06 February 2024 21:37:13 +0000 (0:00:00.060) 0:00:17.615 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 21:37:13 +0000 (0:00:00.040) 0:00:17.656 ****** included: /WORKDIR/git-bond_options_rewrite3sfbnkgm/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_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 21:37:13 +0000 (0:00:00.039) 0:00:17.695 ****** 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_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 21:37:13 +0000 (0:00:00.026) 0:00:17.722 ****** 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_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 21:37:13 +0000 (0:00:00.021) 0:00:17.744 ****** 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_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 21:37:13 +0000 (0:00:00.021) 0:00:17.765 ****** 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_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 21:37:15 +0000 (0:00:01.536) 0:00:19.301 ****** 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_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 21:37:16 +0000 (0:00:00.587) 0:00:19.888 ****** 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_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 21:37:16 +0000 (0:00:00.022) 0:00:19.911 ****** 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_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 21:37:16 +0000 (0:00:00.021) 0:00:19.932 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 21:37:16 +0000 (0:00:00.021) 0:00:19.954 ****** 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_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 21:37:16 +0000 (0:00:00.042) 0:00:19.996 ****** 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_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 21:37:16 +0000 (0:00:00.021) 0:00:20.018 ****** 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_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 21:37:16 +0000 (0:00:00.021) 0:00:20.039 ****** 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_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 21:37:16 +0000 (0:00:00.024) 0:00:20.064 ****** 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_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 21:37:16 +0000 (0:00:00.021) 0:00:20.085 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 21:37:16 +0000 (0:00:00.021) 0:00:20.106 ****** 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_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 21:37:16 +0000 (0:00:00.188) 0:00:20.295 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-14251cob6zz3y/tmplcfc6iwv" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 21:37:16 +0000 (0:00:00.211) 0:00:20.506 ****** 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_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 21:37:17 +0000 (0:00:00.365) 0:00:20.871 ****** 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_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 21:37:17 +0000 (0:00:00.021) 0:00:20.893 ****** 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_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 21:37:17 +0000 (0:00:00.022) 0:00:20.915 ****** 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_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 21:37:17 +0000 (0:00:00.022) 0:00:20.938 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 21:37:17 +0000 (0:00:00.021) 0:00:20.959 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/playbooks/tasks/run_test.yml:36 Tuesday 06 February 2024 21:37:17 +0000 (0:00:00.126) 0:00:21.086 ****** included: /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 06 February 2024 21:37:17 +0000 (0:00:00.042) 0:00:21.129 ****** included: /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 06 February 2024 21:37:17 +0000 (0:00:00.035) 0:00:21.164 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1707255436.9825895, "block_size": 4096, "blocks": 0, "ctime": 1707255436.9815896, "dev": 0, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 6553, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/sys/devices/virtual/net/statebr", "lnk_target": "../../devices/virtual/net/statebr", "mode": "0777", "mtime": 1707255436.9815896, "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_rewrite3sfbnkgm/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 06 February 2024 21:37:17 +0000 (0:00:00.128) 0:00:21.292 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 06 February 2024 21:37:17 +0000 (0:00:00.023) 0:00:21.316 ****** included: /WORKDIR/git-bond_options_rewrite3sfbnkgm/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_rewrite3sfbnkgm/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 06 February 2024 21:37:17 +0000 (0:00:00.036) 0:00:21.352 ****** 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_rewrite3sfbnkgm/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 06 February 2024 21:37:17 +0000 (0:00:00.044) 0:00:21.396 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1707255435.0875895, "block_size": 4096, "blocks": 8, "ctime": 1707255433.5165896, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 18846, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1707255433.5165896, "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_rewrite3sfbnkgm/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 06 February 2024 21:37:17 +0000 (0:00:00.129) 0:00:21.526 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 06 February 2024 21:37:17 +0000 (0:00:00.024) 0:00:21.550 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.006474", "end": "2024-02-06 21:37:17.881801", "rc": 1, "start": "2024-02-06 21:37:17.875327" } STDERR: Error: Object 'connection' is unknown, try 'nmcli help'. MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 06 February 2024 21:37:17 +0000 (0:00:00.134) 0:00:21.685 ****** 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_rewrite3sfbnkgm/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 06 February 2024 21:37:17 +0000 (0:00:00.022) 0:00:21.707 ****** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003089", "end": "2024-02-06 21:37:18.041467", "rc": 0, "start": "2024-02-06 21:37:18.038378" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 06 February 2024 21:37:18 +0000 (0:00:00.140) 0:00:21.848 ****** 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_rewrite3sfbnkgm/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 06 February 2024 21:37:18 +0000 (0:00:00.026) 0:00:21.874 ****** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003094", "end": "2024-02-06 21:37:18.207028", "rc": 0, "start": "2024-02-06 21:37:18.203934" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 06 February 2024 21:37:18 +0000 (0:00:00.138) 0:00:22.013 ****** 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_rewrite3sfbnkgm/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 06 February 2024 21:37:18 +0000 (0:00:00.025) 0:00:22.039 ****** 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_rewrite3sfbnkgm/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 06 February 2024 21:37:18 +0000 (0:00:00.023) 0:00:22.062 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 06 February 2024 21:37:18 +0000 (0:00:00.023) 0:00:22.086 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/playbooks/tasks/run_test.yml:42 Tuesday 06 February 2024 21:37:18 +0000 (0:00:00.021) 0:00:22.108 ****** TASK [Success in test 'I can activate an existing profile'] ******************** task path: /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/playbooks/tasks/run_test.yml:47 Tuesday 06 February 2024 21:37:18 +0000 (0:00:00.019) 0:00:22.128 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/playbooks/tasks/run_test.yml:66 Tuesday 06 February 2024 21:37:18 +0000 (0:00:00.021) 0:00:22.149 ****** included: /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 06 February 2024 21:37:18 +0000 (0:00:00.062) 0:00:22.212 ****** 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.036226", "end": "2024-02-06 21:37:18.574624", "rc": 0, "start": "2024-02-06 21:37:18.538398" } STDERR: Error: Can't obtain connections: settings services are not running. Error: Can't obtain connections: settings services are not running. TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/playbooks/tests_states.yml:83 Tuesday 06 February 2024 21:37:18 +0000 (0:00:00.170) 0:00:22.382 ****** included: /WORKDIR/git-bond_options_rewrite3sfbnkgm/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_rewrite3sfbnkgm/tests/playbooks/tasks/run_test.yml:5 Tuesday 06 February 2024 21:37:18 +0000 (0:00:00.036) 0:00:22.419 ****** ok: [sut] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/playbooks/tasks/run_test.yml:9 Tuesday 06 February 2024 21:37:18 +0000 (0:00:00.021) 0:00:22.441 ****** 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_rewrite3sfbnkgm/tests/playbooks/tasks/run_test.yml:21 Tuesday 06 February 2024 21:37:18 +0000 (0:00:00.044) 0:00:22.485 ****** included: /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 06 February 2024 21:37:18 +0000 (0:00:00.034) 0:00:22.520 ****** included: /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 06 February 2024 21:37:18 +0000 (0:00:00.033) 0:00:22.554 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003196", "end": "2024-02-06 21:37:18.880474", "rc": 0, "start": "2024-02-06 21:37:18.877278" } STDOUT: dummy0 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 06 February 2024 21:37:18 +0000 (0:00:00.129) 0:00:22.684 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "dummy0", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 06 February 2024 21:37:18 +0000 (0:00:00.022) 0:00:22.706 ****** ok: [sut] => {} MSG: current_interfaces: ['dummy0', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/playbooks/tasks/run_test.yml:24 Tuesday 06 February 2024 21:37:18 +0000 (0:00:00.020) 0:00:22.727 ****** included: /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 06 February 2024 21:37:18 +0000 (0:00:00.041) 0:00:22.769 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 21:37:18 +0000 (0:00:00.057) 0:00:22.826 ****** included: /WORKDIR/git-bond_options_rewrite3sfbnkgm/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_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 21:37:19 +0000 (0:00:00.040) 0:00:22.867 ****** 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_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 21:37:19 +0000 (0:00:00.026) 0:00:22.893 ****** 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_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 21:37:19 +0000 (0:00:00.021) 0:00:22.915 ****** 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_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 21:37:19 +0000 (0:00:00.021) 0:00:22.936 ****** 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_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 21:37:20 +0000 (0:00:01.603) 0:00:24.539 ****** 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_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 21:37:21 +0000 (0:00:00.613) 0:00:25.153 ****** 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_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 21:37:21 +0000 (0:00:00.023) 0:00:25.176 ****** 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_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 21:37:21 +0000 (0:00:00.021) 0:00:25.197 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 21:37:21 +0000 (0:00:00.019) 0:00:25.217 ****** 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_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 21:37:21 +0000 (0:00:00.042) 0:00:25.260 ****** 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_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 21:37:21 +0000 (0:00:00.021) 0:00:25.281 ****** 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_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 21:37:21 +0000 (0:00:00.021) 0:00:25.302 ****** 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_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 21:37:21 +0000 (0:00:00.024) 0:00:25.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 : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 21:37:21 +0000 (0:00:00.020) 0:00:25.347 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 21:37:21 +0000 (0:00:00.020) 0:00:25.368 ****** 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_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 21:37:21 +0000 (0:00:00.185) 0:00:25.554 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-14251cob6zz3y/tmph_dxip9r" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 21:37:21 +0000 (0:00:00.198) 0:00:25.752 ****** 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_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 21:37:22 +0000 (0:00:00.261) 0:00:26.013 ****** 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_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 21:37:22 +0000 (0:00:00.043) 0:00:26.056 ****** 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_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 21:37:22 +0000 (0:00:00.023) 0:00:26.079 ****** 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_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 21:37:22 +0000 (0:00:00.022) 0:00:26.102 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 21:37:22 +0000 (0:00:00.021) 0:00:26.123 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 06 February 2024 21:37:22 +0000 (0:00:00.123) 0:00:26.247 ****** 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_rewrite3sfbnkgm/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 06 February 2024 21:37:22 +0000 (0:00:00.022) 0:00:26.269 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 21:37:22 +0000 (0:00:00.035) 0:00:26.305 ****** included: /WORKDIR/git-bond_options_rewrite3sfbnkgm/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_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 21:37:22 +0000 (0:00:00.039) 0:00:26.344 ****** 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_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 21:37:22 +0000 (0:00:00.026) 0:00:26.371 ****** 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_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 21:37:22 +0000 (0:00:00.021) 0:00:26.392 ****** 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_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 21:37:22 +0000 (0:00:00.020) 0:00:26.413 ****** 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_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 21:37:24 +0000 (0:00:01.566) 0:00:27.980 ****** 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_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 21:37:24 +0000 (0:00:00.573) 0:00:28.553 ****** ok: [sut] => {} MSG: Using network provider: initscripts TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 21:37:24 +0000 (0:00:00.022) 0:00:28.576 ****** 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_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 21:37:24 +0000 (0:00:00.020) 0:00:28.597 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 21:37:24 +0000 (0:00:00.021) 0:00:28.619 ****** 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_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 21:37:24 +0000 (0:00:00.041) 0:00:28.660 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 21:37:24 +0000 (0:00:00.021) 0:00:28.682 ****** 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_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 21:37:24 +0000 (0:00:00.020) 0:00:28.702 ****** 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_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 21:37:24 +0000 (0:00:00.024) 0:00:28.727 ****** 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_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 21:37:24 +0000 (0:00:00.040) 0:00:28.768 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 21:37:24 +0000 (0:00:00.022) 0:00:28.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_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 21:37:25 +0000 (0:00:00.189) 0:00:28.979 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-14251cob6zz3y/tmpygx3tfz4" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 21:37:25 +0000 (0:00:00.193) 0:00:29.172 ****** 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_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 21:37:25 +0000 (0:00:00.354) 0:00:29.527 ****** 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_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 21:37:25 +0000 (0:00:00.021) 0:00:29.549 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err=''" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 21:37:25 +0000 (0:00:00.022) 0:00:29.571 ****** 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_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 21:37:25 +0000 (0:00:00.022) 0:00:29.593 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 21:37:25 +0000 (0:00:00.021) 0:00:29.615 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/playbooks/tasks/run_test.yml:30 Tuesday 06 February 2024 21:37:25 +0000 (0:00:00.122) 0:00:29.737 ****** included: /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/playbooks/tasks/remove_profile.yml:3 Tuesday 06 February 2024 21:37:25 +0000 (0:00:00.038) 0:00:29.775 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 21:37:25 +0000 (0:00:00.062) 0:00:29.838 ****** included: /WORKDIR/git-bond_options_rewrite3sfbnkgm/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_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 21:37:26 +0000 (0:00:00.039) 0:00:29.878 ****** 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_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 21:37:26 +0000 (0:00:00.026) 0:00:29.904 ****** 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_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 21:37:26 +0000 (0:00:00.021) 0:00:29.926 ****** 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_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 21:37:26 +0000 (0:00:00.021) 0:00:29.947 ****** 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_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 21:37:27 +0000 (0:00:01.572) 0:00:31.520 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 21:37:28 +0000 (0:00:00.600) 0:00:32.120 ****** 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_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 21:37:28 +0000 (0:00:00.022) 0:00:32.143 ****** 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_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 21:37:28 +0000 (0:00:00.021) 0:00:32.165 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 21:37:28 +0000 (0:00:00.021) 0:00:32.186 ****** 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_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 21:37:28 +0000 (0:00:00.041) 0:00:32.228 ****** 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_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 21:37:28 +0000 (0:00:00.021) 0:00:32.250 ****** 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_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 21:37:28 +0000 (0:00:00.021) 0:00:32.271 ****** 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_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 21:37:28 +0000 (0:00:00.026) 0:00:32.297 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 21:37:28 +0000 (0:00:00.021) 0:00:32.319 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 21:37:28 +0000 (0:00:00.021) 0:00:32.340 ****** 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_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 21:37:28 +0000 (0:00:00.188) 0:00:32.529 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-14251cob6zz3y/tmp29xdkl6h" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 21:37:28 +0000 (0:00:00.188) 0:00:32.717 ****** 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_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 21:37:29 +0000 (0:00:00.237) 0:00:32.954 ****** 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_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 21:37:29 +0000 (0:00:00.021) 0:00:32.975 ****** 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_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 21:37:29 +0000 (0:00:00.048) 0:00:33.024 ****** 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_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 21:37:29 +0000 (0:00:00.023) 0:00:33.048 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 21:37:29 +0000 (0:00:00.021) 0:00:33.069 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/playbooks/tasks/run_test.yml:36 Tuesday 06 February 2024 21:37:29 +0000 (0:00:00.122) 0:00:33.191 ****** included: /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 06 February 2024 21:37:29 +0000 (0:00:00.042) 0:00:33.234 ****** included: /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 06 February 2024 21:37:29 +0000 (0:00:00.034) 0:00:33.269 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1707255445.6555896, "block_size": 4096, "blocks": 0, "ctime": 1707255445.6515896, "dev": 0, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 6553, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/sys/devices/virtual/net/statebr", "lnk_target": "../../devices/virtual/net/statebr", "mode": "0777", "mtime": 1707255445.6515896, "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_rewrite3sfbnkgm/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 06 February 2024 21:37:29 +0000 (0:00:00.131) 0:00:33.400 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/playbooks/tasks/assert_profile_absent.yml:3 Tuesday 06 February 2024 21:37:29 +0000 (0:00:00.023) 0:00:33.424 ****** included: /WORKDIR/git-bond_options_rewrite3sfbnkgm/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_rewrite3sfbnkgm/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 06 February 2024 21:37:29 +0000 (0:00:00.036) 0:00:33.460 ****** 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_rewrite3sfbnkgm/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 06 February 2024 21:37:29 +0000 (0:00:00.020) 0:00:33.481 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 06 February 2024 21:37:29 +0000 (0:00:00.127) 0:00:33.609 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 06 February 2024 21:37:29 +0000 (0:00:00.021) 0:00:33.630 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.006609", "end": "2024-02-06 21:37:29.964921", "rc": 1, "start": "2024-02-06 21:37:29.958312" } STDERR: Error: Object 'connection' is unknown, try 'nmcli help'. MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 06 February 2024 21:37:29 +0000 (0:00:00.163) 0:00:33.793 ****** 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_rewrite3sfbnkgm/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 06 February 2024 21:37:29 +0000 (0:00:00.022) 0:00:33.816 ****** 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_rewrite3sfbnkgm/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 06 February 2024 21:37:29 +0000 (0:00:00.024) 0:00:33.841 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 06 February 2024 21:37:30 +0000 (0:00:00.023) 0:00:33.864 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 06 February 2024 21:37:30 +0000 (0:00:00.022) 0:00:33.886 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/playbooks/tasks/assert_profile_absent.yml:5 Tuesday 06 February 2024 21:37:30 +0000 (0:00:00.024) 0:00:33.910 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/playbooks/tasks/run_test.yml:42 Tuesday 06 February 2024 21:37:30 +0000 (0:00:00.023) 0:00:33.934 ****** TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/playbooks/tasks/run_test.yml:47 Tuesday 06 February 2024 21:37:30 +0000 (0:00:00.019) 0:00:33.954 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/playbooks/tasks/run_test.yml:66 Tuesday 06 February 2024 21:37:30 +0000 (0:00:00.022) 0:00:33.977 ****** included: /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 06 February 2024 21:37:30 +0000 (0:00:00.039) 0:00:34.017 ****** 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.037283", "end": "2024-02-06 21:37:30.384651", "rc": 0, "start": "2024-02-06 21:37:30.347368" } STDERR: Error: Can't obtain connections: settings services are not running. Error: Can't obtain connections: settings services are not running. TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/playbooks/tests_states.yml:103 Tuesday 06 February 2024 21:37:30 +0000 (0:00:00.177) 0:00:34.194 ****** included: /WORKDIR/git-bond_options_rewrite3sfbnkgm/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_rewrite3sfbnkgm/tests/playbooks/tasks/run_test.yml:5 Tuesday 06 February 2024 21:37:30 +0000 (0:00:00.035) 0:00:34.230 ****** ok: [sut] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/playbooks/tasks/run_test.yml:9 Tuesday 06 February 2024 21:37:30 +0000 (0:00:00.022) 0:00:34.252 ****** 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_rewrite3sfbnkgm/tests/playbooks/tasks/run_test.yml:21 Tuesday 06 February 2024 21:37:30 +0000 (0:00:00.045) 0:00:34.297 ****** included: /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 06 February 2024 21:37:30 +0000 (0:00:00.060) 0:00:34.358 ****** included: /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 06 February 2024 21:37:30 +0000 (0:00:00.034) 0:00:34.393 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003197", "end": "2024-02-06 21:37:30.720045", "rc": 0, "start": "2024-02-06 21:37:30.716848" } STDOUT: dummy0 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 06 February 2024 21:37:30 +0000 (0:00:00.130) 0:00:34.524 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "dummy0", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 06 February 2024 21:37:30 +0000 (0:00:00.022) 0:00:34.546 ****** ok: [sut] => {} MSG: current_interfaces: ['dummy0', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/playbooks/tasks/run_test.yml:24 Tuesday 06 February 2024 21:37:30 +0000 (0:00:00.021) 0:00:34.568 ****** included: /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 06 February 2024 21:37:30 +0000 (0:00:00.044) 0:00:34.612 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 21:37:30 +0000 (0:00:00.035) 0:00:34.648 ****** included: /WORKDIR/git-bond_options_rewrite3sfbnkgm/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_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 21:37:30 +0000 (0:00:00.039) 0:00:34.688 ****** 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_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 21:37:30 +0000 (0:00:00.026) 0:00:34.715 ****** 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_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 21:37:30 +0000 (0:00:00.021) 0:00:34.736 ****** 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_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 21:37:30 +0000 (0:00:00.020) 0:00:34.757 ****** 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_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 21:37:32 +0000 (0:00:01.535) 0:00:36.293 ****** 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_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 21:37:33 +0000 (0:00:00.573) 0:00:36.866 ****** 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_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 21:37:33 +0000 (0:00:00.022) 0:00:36.889 ****** 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_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 21:37:33 +0000 (0:00:00.021) 0:00:36.910 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 21:37:33 +0000 (0:00:00.021) 0:00:36.932 ****** 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_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 21:37:33 +0000 (0:00:00.042) 0:00:36.975 ****** 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_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 21:37:33 +0000 (0:00:00.040) 0:00:37.016 ****** 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_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 21:37:33 +0000 (0:00:00.023) 0:00:37.039 ****** 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_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 21:37:33 +0000 (0:00:00.024) 0:00:37.064 ****** 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_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 21:37:33 +0000 (0:00:00.021) 0:00:37.085 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 21:37:33 +0000 (0:00:00.019) 0:00:37.105 ****** 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_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 21:37:33 +0000 (0:00:00.188) 0:00:37.293 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-14251cob6zz3y/tmpm941icmc" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 21:37:33 +0000 (0:00:00.189) 0:00:37.483 ****** 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_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 21:37:33 +0000 (0:00:00.236) 0:00:37.719 ****** 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_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 21:37:33 +0000 (0:00:00.021) 0:00:37.740 ****** 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_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 21:37:33 +0000 (0:00:00.022) 0:00:37.763 ****** 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_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 21:37:33 +0000 (0:00:00.022) 0:00:37.786 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 21:37:33 +0000 (0:00:00.020) 0:00:37.806 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 06 February 2024 21:37:34 +0000 (0:00:00.123) 0:00:37.930 ****** 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_rewrite3sfbnkgm/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 06 February 2024 21:37:34 +0000 (0:00:00.022) 0:00:37.953 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 21:37:34 +0000 (0:00:00.058) 0:00:38.011 ****** included: /WORKDIR/git-bond_options_rewrite3sfbnkgm/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_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 21:37:34 +0000 (0:00:00.040) 0:00:38.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 : Check if system is ostree] ****************** task path: /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 21:37:34 +0000 (0:00:00.025) 0:00:38.077 ****** 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_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 21:37:34 +0000 (0:00:00.020) 0:00:38.097 ****** 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_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 21:37:34 +0000 (0:00:00.020) 0:00:38.118 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 21:37:35 +0000 (0:00:01.525) 0:00:39.644 ****** 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_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 21:37:36 +0000 (0:00:00.606) 0:00:40.250 ****** 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_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 21:37:36 +0000 (0:00:00.023) 0:00:40.273 ****** 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_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 21:37:36 +0000 (0:00:00.020) 0:00:40.294 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 21:37:36 +0000 (0:00:00.020) 0:00:40.315 ****** 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_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 21:37:36 +0000 (0:00:00.042) 0:00:40.357 ****** 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_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 21:37:36 +0000 (0:00:00.020) 0:00:40.378 ****** 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_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 21:37:36 +0000 (0:00:00.020) 0:00:40.398 ****** 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_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 21:37:36 +0000 (0:00:00.024) 0:00:40.422 ****** 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_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 21:37:36 +0000 (0:00:00.021) 0:00:40.444 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 21:37:36 +0000 (0:00:00.020) 0:00:40.464 ****** 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_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 21:37:36 +0000 (0:00:00.185) 0:00:40.649 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-14251cob6zz3y/tmpagn4oaj3" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 21:37:36 +0000 (0:00:00.188) 0:00:40.837 ****** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active) [003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err='' TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 21:37:37 +0000 (0:00:00.347) 0:00:41.185 ****** 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_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 21:37:37 +0000 (0:00:00.045) 0:00:41.230 ****** 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_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 21:37:37 +0000 (0:00:00.023) 0:00:41.253 ****** 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_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 21:37:37 +0000 (0:00:00.022) 0:00:41.276 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 21:37:37 +0000 (0:00:00.021) 0:00:41.297 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/playbooks/tasks/remove_profile.yml:3 Tuesday 06 February 2024 21:37:37 +0000 (0:00:00.122) 0:00:41.420 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 21:37:37 +0000 (0:00:00.035) 0:00:41.456 ****** included: /WORKDIR/git-bond_options_rewrite3sfbnkgm/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_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 21:37:37 +0000 (0:00:00.040) 0:00:41.496 ****** 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_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 21:37:37 +0000 (0:00:00.026) 0:00:41.523 ****** 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_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 21:37:37 +0000 (0:00:00.021) 0:00:41.544 ****** 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_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 21:37:37 +0000 (0:00:00.020) 0:00:41.565 ****** 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_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 21:37:39 +0000 (0:00:01.545) 0:00:43.111 ****** 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_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 21:37:39 +0000 (0:00:00.573) 0:00:43.684 ****** 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_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 21:37:39 +0000 (0:00:00.022) 0:00:43.707 ****** 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_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 21:37:39 +0000 (0:00:00.021) 0:00:43.729 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 21:37:39 +0000 (0:00:00.021) 0:00:43.750 ****** 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_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 21:37:39 +0000 (0:00:00.042) 0:00:43.792 ****** 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_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 21:37:39 +0000 (0:00:00.021) 0:00:43.814 ****** 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_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 21:37:39 +0000 (0:00:00.021) 0:00:43.836 ****** 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_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 21:37:40 +0000 (0:00:00.024) 0:00:43.860 ****** 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_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 21:37:40 +0000 (0:00:00.021) 0:00:43.882 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 21:37:40 +0000 (0:00:00.042) 0:00:43.924 ****** 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_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 21:37:40 +0000 (0:00:00.186) 0:00:44.111 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-14251cob6zz3y/tmph6q4gmju" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 21:37:40 +0000 (0:00:00.190) 0:00:44.301 ****** 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_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 21:37:40 +0000 (0:00:00.235) 0:00:44.537 ****** 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_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 21:37:40 +0000 (0:00:00.021) 0:00:44.558 ****** 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_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 21:37:40 +0000 (0:00:00.022) 0:00:44.581 ****** 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_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 21:37:40 +0000 (0:00:00.022) 0:00:44.604 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 21:37:40 +0000 (0:00:00.021) 0:00:44.625 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/playbooks/tasks/run_test.yml:30 Tuesday 06 February 2024 21:37:40 +0000 (0:00:00.124) 0:00:44.749 ****** included: /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/playbooks/tasks/remove+down_profile.yml:3 Tuesday 06 February 2024 21:37:40 +0000 (0:00:00.038) 0:00:44.788 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 21:37:40 +0000 (0:00:00.039) 0:00:44.828 ****** included: /WORKDIR/git-bond_options_rewrite3sfbnkgm/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_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 21:37:41 +0000 (0:00:00.063) 0:00:44.891 ****** 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_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 21:37:41 +0000 (0:00:00.027) 0:00:44.919 ****** 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_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 21:37:41 +0000 (0:00:00.021) 0:00:44.941 ****** 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_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 21:37:41 +0000 (0:00:00.021) 0:00:44.962 ****** 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_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 21:37:42 +0000 (0:00:01.520) 0:00:46.483 ****** 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_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 21:37:43 +0000 (0:00:00.567) 0:00:47.051 ****** 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_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 21:37:43 +0000 (0:00:00.042) 0:00:47.093 ****** 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_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 21:37:43 +0000 (0:00:00.021) 0:00:47.115 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 21:37:43 +0000 (0:00:00.021) 0:00:47.136 ****** 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_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 21:37:43 +0000 (0:00:00.042) 0:00:47.179 ****** 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_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 21:37:43 +0000 (0:00:00.021) 0:00:47.200 ****** 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_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 21:37:43 +0000 (0:00:00.021) 0:00:47.221 ****** 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_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 21:37:43 +0000 (0:00:00.024) 0:00:47.246 ****** 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_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 21:37:43 +0000 (0:00:00.020) 0:00:47.267 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 21:37:43 +0000 (0:00:00.020) 0:00:47.287 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 21:37:43 +0000 (0:00:00.187) 0:00:47.474 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-14251cob6zz3y/tmpic9e236h" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 21:37:43 +0000 (0:00:00.189) 0:00:47.664 ****** 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_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 21:37:44 +0000 (0:00:00.237) 0:00:47.901 ****** 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_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 21:37:44 +0000 (0:00:00.021) 0:00:47.923 ****** 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_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 21:37:44 +0000 (0:00:00.022) 0:00:47.945 ****** 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_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 21:37:44 +0000 (0:00:00.022) 0:00:47.968 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 21:37:44 +0000 (0:00:00.044) 0:00:48.012 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/playbooks/tasks/run_test.yml:36 Tuesday 06 February 2024 21:37:44 +0000 (0:00:00.125) 0:00:48.138 ****** included: /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/playbooks/tasks/assert_profile_absent.yml:3 Tuesday 06 February 2024 21:37:44 +0000 (0:00:00.040) 0:00:48.178 ****** included: /WORKDIR/git-bond_options_rewrite3sfbnkgm/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_rewrite3sfbnkgm/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 06 February 2024 21:37:44 +0000 (0:00:00.037) 0:00:48.215 ****** 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_rewrite3sfbnkgm/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 06 February 2024 21:37:44 +0000 (0:00:00.021) 0:00:48.237 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 06 February 2024 21:37:44 +0000 (0:00:00.127) 0:00:48.364 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 06 February 2024 21:37:44 +0000 (0:00:00.021) 0:00:48.386 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.007009", "end": "2024-02-06 21:37:44.718857", "rc": 1, "start": "2024-02-06 21:37:44.711848" } STDERR: Error: Object 'connection' is unknown, try 'nmcli help'. MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 06 February 2024 21:37:44 +0000 (0:00:00.136) 0:00:48.522 ****** 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_rewrite3sfbnkgm/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 06 February 2024 21:37:44 +0000 (0:00:00.022) 0:00:48.545 ****** 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_rewrite3sfbnkgm/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 06 February 2024 21:37:44 +0000 (0:00:00.023) 0:00:48.568 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 06 February 2024 21:37:44 +0000 (0:00:00.022) 0:00:48.590 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 06 February 2024 21:37:44 +0000 (0:00:00.024) 0:00:48.614 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/playbooks/tasks/assert_profile_absent.yml:5 Tuesday 06 February 2024 21:37:44 +0000 (0:00:00.022) 0:00:48.637 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/playbooks/tasks/run_test.yml:42 Tuesday 06 February 2024 21:37:44 +0000 (0:00:00.022) 0:00:48.659 ****** 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_rewrite3sfbnkgm/tests/playbooks/tasks/run_test.yml:47 Tuesday 06 February 2024 21:37:44 +0000 (0:00:00.049) 0:00:48.709 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/playbooks/tasks/run_test.yml:66 Tuesday 06 February 2024 21:37:44 +0000 (0:00:00.023) 0:00:48.732 ****** included: /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 06 February 2024 21:37:44 +0000 (0:00:00.039) 0:00:48.772 ****** 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.032104", "end": "2024-02-06 21:37:45.129683", "rc": 0, "start": "2024-02-06 21:37:45.097579" } STDERR: Error: Can't obtain connections: settings services are not running. Error: Can't obtain connections: settings services are not running. TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/playbooks/tests_states.yml:126 Tuesday 06 February 2024 21:37:45 +0000 (0:00:00.165) 0:00:48.937 ****** included: /WORKDIR/git-bond_options_rewrite3sfbnkgm/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_rewrite3sfbnkgm/tests/playbooks/tasks/run_test.yml:5 Tuesday 06 February 2024 21:37:45 +0000 (0:00:00.036) 0:00:48.974 ****** 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_rewrite3sfbnkgm/tests/playbooks/tasks/run_test.yml:9 Tuesday 06 February 2024 21:37:45 +0000 (0:00:00.022) 0:00:48.997 ****** 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_rewrite3sfbnkgm/tests/playbooks/tasks/run_test.yml:21 Tuesday 06 February 2024 21:37:45 +0000 (0:00:00.045) 0:00:49.042 ****** included: /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 06 February 2024 21:37:45 +0000 (0:00:00.034) 0:00:49.077 ****** included: /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 06 February 2024 21:37:45 +0000 (0:00:00.033) 0:00:49.111 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003316", "end": "2024-02-06 21:37:45.446787", "rc": 0, "start": "2024-02-06 21:37:45.443471" } STDOUT: dummy0 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 06 February 2024 21:37:45 +0000 (0:00:00.138) 0:00:49.250 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "dummy0", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 06 February 2024 21:37:45 +0000 (0:00:00.022) 0:00:49.272 ****** ok: [sut] => {} MSG: current_interfaces: ['dummy0', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/playbooks/tasks/run_test.yml:24 Tuesday 06 February 2024 21:37:45 +0000 (0:00:00.021) 0:00:49.293 ****** included: /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 06 February 2024 21:37:45 +0000 (0:00:00.086) 0:00:49.380 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 21:37:45 +0000 (0:00:00.036) 0:00:49.416 ****** included: /WORKDIR/git-bond_options_rewrite3sfbnkgm/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_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 21:37:45 +0000 (0:00:00.040) 0:00:49.456 ****** 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_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 21:37:45 +0000 (0:00:00.025) 0:00:49.481 ****** 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_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 21:37:45 +0000 (0:00:00.021) 0:00:49.503 ****** 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_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 21:37:45 +0000 (0:00:00.021) 0:00:49.525 ****** 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_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 21:37:47 +0000 (0:00:01.536) 0:00:51.062 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 21:37:47 +0000 (0:00:00.587) 0:00:51.650 ****** 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_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 21:37:47 +0000 (0:00:00.022) 0:00:51.673 ****** 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_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 21:37:47 +0000 (0:00:00.021) 0:00:51.694 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 21:37:47 +0000 (0:00:00.021) 0:00:51.715 ****** 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_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 21:37:47 +0000 (0:00:00.043) 0:00:51.759 ****** 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_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 21:37:47 +0000 (0:00:00.021) 0:00:51.780 ****** 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_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 21:37:47 +0000 (0:00:00.021) 0:00:51.802 ****** 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_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 21:37:47 +0000 (0:00:00.025) 0:00:51.827 ****** 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_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 21:37:48 +0000 (0:00:00.020) 0:00:51.848 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 21:37:48 +0000 (0:00:00.021) 0:00:51.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 : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 21:37:48 +0000 (0:00:00.189) 0:00:52.059 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-14251cob6zz3y/tmpkaunri0w" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 21:37:48 +0000 (0:00:00.213) 0:00:52.272 ****** 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_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 21:37:48 +0000 (0:00:00.234) 0:00:52.507 ****** 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_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 21:37:48 +0000 (0:00:00.021) 0:00:52.529 ****** 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_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 21:37:48 +0000 (0:00:00.022) 0:00:52.552 ****** 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_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 21:37:48 +0000 (0:00:00.023) 0:00:52.575 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 21:37:48 +0000 (0:00:00.021) 0:00:52.597 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 06 February 2024 21:37:48 +0000 (0:00:00.128) 0:00:52.725 ****** 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_rewrite3sfbnkgm/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 06 February 2024 21:37:48 +0000 (0:00:00.022) 0:00:52.747 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 21:37:48 +0000 (0:00:00.035) 0:00:52.783 ****** included: /WORKDIR/git-bond_options_rewrite3sfbnkgm/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_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 21:37:48 +0000 (0:00:00.039) 0:00:52.822 ****** 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_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 21:37:49 +0000 (0:00:00.025) 0:00:52.848 ****** 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_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 21:37:49 +0000 (0:00:00.021) 0:00:52.869 ****** 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_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 21:37:49 +0000 (0:00:00.020) 0:00:52.890 ****** 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_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 21:37:50 +0000 (0:00:01.534) 0:00:54.425 ****** 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_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 21:37:51 +0000 (0:00:00.570) 0:00:54.996 ****** 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_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 21:37:51 +0000 (0:00:00.022) 0:00:55.018 ****** 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_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 21:37:51 +0000 (0:00:00.021) 0:00:55.040 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 21:37:51 +0000 (0:00:00.021) 0:00:55.061 ****** 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_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 21:37:51 +0000 (0:00:00.042) 0:00:55.104 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 21:37:51 +0000 (0:00:00.040) 0:00:55.145 ****** 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_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 21:37:51 +0000 (0:00:00.021) 0:00:55.167 ****** 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_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 21:37:51 +0000 (0:00:00.024) 0:00:55.192 ****** 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_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 21:37:51 +0000 (0:00:00.021) 0:00:55.213 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 21:37:51 +0000 (0:00:00.019) 0:00:55.233 ****** 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_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 21:37:51 +0000 (0:00:00.187) 0:00:55.420 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-14251cob6zz3y/tmpsipq_8h7" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 21:37:51 +0000 (0:00:00.186) 0:00:55.607 ****** 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_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 21:37:52 +0000 (0:00:00.342) 0:00:55.950 ****** 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_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 21:37:52 +0000 (0:00:00.022) 0:00:55.972 ****** 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_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 21:37:52 +0000 (0:00:00.022) 0:00:55.994 ****** 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_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 21:37:52 +0000 (0:00:00.022) 0:00:56.017 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 21:37:52 +0000 (0:00:00.020) 0:00:56.038 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/playbooks/tasks/remove+down_profile.yml:3 Tuesday 06 February 2024 21:37:52 +0000 (0:00:00.122) 0:00:56.160 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 21:37:52 +0000 (0:00:00.058) 0:00:56.219 ****** included: /WORKDIR/git-bond_options_rewrite3sfbnkgm/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_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 21:37:52 +0000 (0:00:00.040) 0:00:56.259 ****** 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_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 21:37:52 +0000 (0:00:00.026) 0:00:56.286 ****** 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_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 21:37:52 +0000 (0:00:00.021) 0:00:56.307 ****** 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_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 21:37:52 +0000 (0:00:00.021) 0:00:56.328 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 21:37:54 +0000 (0:00:01.521) 0:00:57.850 ****** 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_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 21:37:54 +0000 (0:00:00.584) 0:00:58.435 ****** 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_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 21:37:54 +0000 (0:00:00.023) 0:00:58.458 ****** 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_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 21:37:54 +0000 (0:00:00.020) 0:00:58.479 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 21:37:54 +0000 (0:00:00.021) 0:00:58.500 ****** 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_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 21:37:54 +0000 (0:00:00.042) 0:00:58.543 ****** 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_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 21:37:54 +0000 (0:00:00.021) 0:00:58.565 ****** 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_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 21:37:54 +0000 (0:00:00.020) 0:00:58.586 ****** 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_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 21:37:54 +0000 (0:00:00.025) 0:00:58.611 ****** 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_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 21:37:54 +0000 (0:00:00.021) 0:00:58.632 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 21:37:54 +0000 (0:00:00.020) 0:00:58.653 ****** 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_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 21:37:54 +0000 (0:00:00.186) 0:00:58.839 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-14251cob6zz3y/tmp0yt4ajbj" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 21:37:55 +0000 (0:00:00.192) 0:00:59.032 ****** 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_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 21:37:55 +0000 (0:00:00.241) 0:00:59.273 ****** 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_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 21:37:55 +0000 (0:00:00.021) 0:00:59.294 ****** 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_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 21:37:55 +0000 (0:00:00.048) 0:00:59.343 ****** 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_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 21:37:55 +0000 (0:00:00.023) 0:00:59.367 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 21:37:55 +0000 (0:00:00.021) 0:00:59.389 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/playbooks/tasks/run_test.yml:30 Tuesday 06 February 2024 21:37:55 +0000 (0:00:00.127) 0:00:59.516 ****** included: /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/playbooks/tasks/remove+down_profile.yml:3 Tuesday 06 February 2024 21:37:55 +0000 (0:00:00.039) 0:00:59.555 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 21:37:55 +0000 (0:00:00.036) 0:00:59.591 ****** included: /WORKDIR/git-bond_options_rewrite3sfbnkgm/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_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 21:37:55 +0000 (0:00:00.040) 0:00:59.631 ****** 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_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 21:37:55 +0000 (0:00:00.026) 0:00:59.658 ****** 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_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 21:37:55 +0000 (0:00:00.021) 0:00:59.679 ****** 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_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 21:37:55 +0000 (0:00:00.020) 0:00:59.700 ****** 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_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 21:37:57 +0000 (0:00:01.529) 0:01:01.230 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 21:37:57 +0000 (0:00:00.573) 0:01:01.804 ****** 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_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 21:37:57 +0000 (0:00:00.023) 0:01:01.827 ****** 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_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 21:37:58 +0000 (0:00:00.021) 0:01:01.849 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 21:37:58 +0000 (0:00:00.021) 0:01:01.870 ****** 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_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 21:37:58 +0000 (0:00:00.042) 0:01:01.912 ****** 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_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 21:37:58 +0000 (0:00:00.021) 0:01:01.934 ****** 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_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 21:37:58 +0000 (0:00:00.021) 0:01:01.955 ****** 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_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 21:37:58 +0000 (0:00:00.024) 0:01:01.979 ****** 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_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 21:37:58 +0000 (0:00:00.021) 0:01:02.000 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 21:37:58 +0000 (0:00:00.042) 0:01:02.042 ****** 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_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 21:37:58 +0000 (0:00:00.187) 0:01:02.230 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-14251cob6zz3y/tmp2d591e06" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 21:37:58 +0000 (0:00:00.189) 0:01:02.420 ****** 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_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 21:37:58 +0000 (0:00:00.231) 0:01:02.651 ****** 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_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 21:37:58 +0000 (0:00:00.021) 0:01:02.673 ****** 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_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 21:37:58 +0000 (0:00:00.022) 0:01:02.696 ****** 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_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 21:37:58 +0000 (0:00:00.022) 0:01:02.718 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 21:37:58 +0000 (0:00:00.021) 0:01:02.740 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/playbooks/tasks/run_test.yml:36 Tuesday 06 February 2024 21:37:59 +0000 (0:00:00.124) 0:01:02.864 ****** included: /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/playbooks/tasks/assert_profile_absent.yml for sut included: /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/playbooks/tasks/get_NetworkManager_NVR.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/playbooks/tasks/assert_profile_absent.yml:3 Tuesday 06 February 2024 21:37:59 +0000 (0:00:00.043) 0:01:02.908 ****** included: /WORKDIR/git-bond_options_rewrite3sfbnkgm/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_rewrite3sfbnkgm/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 06 February 2024 21:37:59 +0000 (0:00:00.036) 0:01:02.944 ****** 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_rewrite3sfbnkgm/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 06 February 2024 21:37:59 +0000 (0:00:00.021) 0:01:02.965 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 06 February 2024 21:37:59 +0000 (0:00:00.149) 0:01:03.115 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 06 February 2024 21:37:59 +0000 (0:00:00.022) 0:01:03.137 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.006468", "end": "2024-02-06 21:37:59.471661", "rc": 1, "start": "2024-02-06 21:37:59.465193" } STDERR: Error: Object 'connection' is unknown, try 'nmcli help'. MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 06 February 2024 21:37:59 +0000 (0:00:00.138) 0:01:03.275 ****** 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_rewrite3sfbnkgm/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 06 February 2024 21:37:59 +0000 (0:00:00.022) 0:01:03.298 ****** 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_rewrite3sfbnkgm/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 06 February 2024 21:37:59 +0000 (0:00:00.023) 0:01:03.321 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 06 February 2024 21:37:59 +0000 (0:00:00.022) 0:01:03.343 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 06 February 2024 21:37:59 +0000 (0:00:00.023) 0:01:03.367 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/playbooks/tasks/assert_profile_absent.yml:5 Tuesday 06 February 2024 21:37:59 +0000 (0:00:00.022) 0:01:03.389 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/playbooks/tasks/get_NetworkManager_NVR.yml:7 Tuesday 06 February 2024 21:37:59 +0000 (0:00:00.023) 0:01:03.413 ****** ok: [sut] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.380095", "end": "2024-02-06 21:38:00.118014", "rc": 0, "start": "2024-02-06 21:37:59.737919" } STDOUT: NetworkManager-0.8.1-113.el6 TASK [Store NetworkManager version] ******************************************** task path: /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/playbooks/tasks/get_NetworkManager_NVR.yml:14 Tuesday 06 February 2024 21:38:00 +0000 (0:00:00.513) 0:01:03.926 ****** ok: [sut] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-0.8.1-113.el6" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/playbooks/tasks/get_NetworkManager_NVR.yml:18 Tuesday 06 February 2024 21:38:00 +0000 (0:00:00.022) 0:01:03.949 ****** ok: [sut] => { "networkmanager_nvr": "NetworkManager-0.8.1-113.el6" } TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/playbooks/tasks/run_test.yml:42 Tuesday 06 February 2024 21:38:00 +0000 (0:00:00.021) 0:01:03.970 ****** 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_rewrite3sfbnkgm/tests/playbooks/tasks/run_test.yml:47 Tuesday 06 February 2024 21:38:00 +0000 (0:00:00.024) 0:01:03.995 ****** 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_rewrite3sfbnkgm/tests/playbooks/tasks/run_test.yml:66 Tuesday 06 February 2024 21:38:00 +0000 (0:00:00.021) 0:01:04.016 ****** included: /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 06 February 2024 21:38:00 +0000 (0:00:00.063) 0:01:04.080 ****** 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.030798", "end": "2024-02-06 21:38:00.437579", "rc": 0, "start": "2024-02-06 21:38:00.406781" } STDERR: Error: Can't obtain connections: settings services are not running. Error: Can't obtain connections: settings services are not running. META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=332 changed=13 unreachable=0 failed=0 skipped=227 rescued=0 ignored=10 Tuesday 06 February 2024 21:38:00 +0000 (0:00:00.151) 0:01:04.232 ****** =============================================================================== linux-system-roles.network : Check which services are running ----------- 1.82s /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.60s /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.59s /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.57s /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.57s /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.55s /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.55s /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.54s /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.54s /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.54s /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.53s /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.53s /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.53s /WORKDIR/git-bond_options_rewrite3sfbnkgm/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_rewrite3sfbnkgm/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_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Configure networking connection profiles --- 1.41s /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/main.yml:125 linux-system-roles.network : Configure networking connection profiles --- 1.32s /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/main.yml:125 linux-system-roles.network : Enable network service --------------------- 1.02s /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/main.yml:108 linux-system-roles.network : Ensure initscripts network file dependency is present --- 0.99s /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/roles/linux-system-roles.network/tasks/main.yml:116 Gathering Facts --------------------------------------------------------- 0.89s /WORKDIR/git-bond_options_rewrite3sfbnkgm/tests/tests_states_initscripts.yml:5 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- [WARNING]: Consider using the yum, dnf or zypper module rather than running 'rpm'. If you need to use command because yum, dnf or zypper is insufficient you can add 'warn: false' to this command task or set 'command_warnings=False' in ansible.cfg to get rid of this message. ---^---^---^---^---^---