# 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_rewritecy7fk_as/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_rewritecy7fk_as/tests/tests_states_initscripts.yml:5 Tuesday 06 February 2024 22:29:22 +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_rewritecy7fk_as/tests/tests_states_initscripts.yml:8 Tuesday 06 February 2024 22:29:23 +0000 (0:00:00.891) 0:00:00.902 ****** included: /WORKDIR/git-bond_options_rewritecy7fk_as/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_rewritecy7fk_as/tests/tasks/el_repo_setup.yml:3 Tuesday 06 February 2024 22:29:23 +0000 (0:00:00.024) 0:00:00.927 ****** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-bond_options_rewritecy7fk_as/tests/tasks/el_repo_setup.yml:19 Tuesday 06 February 2024 22:29:23 +0000 (0:00:00.229) 0:00:01.156 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-bond_options_rewritecy7fk_as/tests/tasks/el_repo_setup.yml:24 Tuesday 06 February 2024 22:29:23 +0000 (0:00:00.179) 0:00:01.335 ****** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-bond_options_rewritecy7fk_as/tests/tasks/el_repo_setup.yml:28 Tuesday 06 February 2024 22:29:23 +0000 (0:00:00.021) 0:00:01.356 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-bond_options_rewritecy7fk_as/tests/tasks/el_repo_setup.yml:53 Tuesday 06 February 2024 22:29:23 +0000 (0:00:00.018) 0:00:01.374 ****** included: /WORKDIR/git-bond_options_rewritecy7fk_as/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 6] *********************************************************** task path: /WORKDIR/git-bond_options_rewritecy7fk_as/tests/tasks/enable_epel.yml:8 Tuesday 06 February 2024 22:29:23 +0000 (0:00:00.032) 0:00:01.407 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Install yum-utils package] *********************************************** task path: /WORKDIR/git-bond_options_rewritecy7fk_as/tests/tasks/enable_epel.yml:24 Tuesday 06 February 2024 22:29:23 +0000 (0:00:00.011) 0:00:01.419 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-bond_options_rewritecy7fk_as/tests/tasks/enable_epel.yml:30 Tuesday 06 February 2024 22:29:23 +0000 (0:00:00.010) 0:00:01.429 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-bond_options_rewritecy7fk_as/tests/tasks/enable_epel.yml:35 Tuesday 06 February 2024 22:29:23 +0000 (0:00:00.010) 0:00:01.439 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-bond_options_rewritecy7fk_as/tests/tasks/enable_epel.yml:40 Tuesday 06 February 2024 22:29:23 +0000 (0:00:00.010) 0:00:01.450 ****** 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_rewritecy7fk_as/tests/tests_states_initscripts.yml:10 Tuesday 06 February 2024 22:29:24 +0000 (0:00:00.434) 0:00:01.884 ****** 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_rewritecy7fk_as/tests/playbooks/tests_states.yml:3 Tuesday 06 February 2024 22:29:24 +0000 (0:00:00.011) 0:00:01.896 ****** ok: [sut] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-bond_options_rewritecy7fk_as/tests/playbooks/tests_states.yml:11 Tuesday 06 February 2024 22:29:24 +0000 (0:00:00.717) 0:00:02.613 ****** ok: [sut] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-bond_options_rewritecy7fk_as/tests/playbooks/tests_states.yml:22 Tuesday 06 February 2024 22:29:24 +0000 (0:00:00.012) 0:00:02.625 ****** included: /WORKDIR/git-bond_options_rewritecy7fk_as/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile] ******************************************** task path: /WORKDIR/git-bond_options_rewritecy7fk_as/tests/playbooks/tasks/run_test.yml:5 Tuesday 06 February 2024 22:29:24 +0000 (0:00:00.018) 0:00:02.644 ****** ok: [sut] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewritecy7fk_as/tests/playbooks/tasks/run_test.yml:9 Tuesday 06 February 2024 22:29:24 +0000 (0:00:00.011) 0:00:02.656 ****** 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_rewritecy7fk_as/tests/playbooks/tasks/run_test.yml:21 Tuesday 06 February 2024 22:29:24 +0000 (0:00:00.035) 0:00:02.692 ****** included: /WORKDIR/git-bond_options_rewritecy7fk_as/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritecy7fk_as/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 06 February 2024 22:29:24 +0000 (0:00:00.017) 0:00:02.709 ****** included: /WORKDIR/git-bond_options_rewritecy7fk_as/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritecy7fk_as/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 06 February 2024 22:29:24 +0000 (0:00:00.015) 0:00:02.725 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003102", "end": "2024-02-06 22:29:25.069171", "rc": 0, "start": "2024-02-06 22:29:25.066069" } STDOUT: dummy0 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritecy7fk_as/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 06 February 2024 22:29:25 +0000 (0:00:00.185) 0:00:02.910 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "dummy0", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritecy7fk_as/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 06 February 2024 22:29:25 +0000 (0:00:00.013) 0:00:02.923 ****** ok: [sut] => {} MSG: current_interfaces: ['dummy0', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewritecy7fk_as/tests/playbooks/tasks/run_test.yml:24 Tuesday 06 February 2024 22:29:25 +0000 (0:00:00.011) 0:00:02.935 ****** included: /WORKDIR/git-bond_options_rewritecy7fk_as/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-bond_options_rewritecy7fk_as/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-bond_options_rewritecy7fk_as/tests/playbooks/tasks/delete_interface.yml:3 Tuesday 06 February 2024 22:29:25 +0000 (0:00:00.021) 0:00:02.957 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.029701", "end": "2024-02-06 22:29:25.263630", "rc": 255, "start": "2024-02-06 22:29:25.233929" } 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_rewritecy7fk_as/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 06 February 2024 22:29:25 +0000 (0:00:00.148) 0:00:03.106 ****** included: /WORKDIR/git-bond_options_rewritecy7fk_as/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewritecy7fk_as/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 06 February 2024 22:29:25 +0000 (0:00:00.017) 0:00:03.123 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-bond_options_rewritecy7fk_as/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 06 February 2024 22:29:25 +0000 (0:00:00.119) 0:00:03.243 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewritecy7fk_as/tests/playbooks/tasks/run_test.yml:30 Tuesday 06 February 2024 22:29:25 +0000 (0:00:00.014) 0:00:03.257 ****** included: /WORKDIR/git-bond_options_rewritecy7fk_as/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritecy7fk_as/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 06 February 2024 22:29:25 +0000 (0:00:00.020) 0:00:03.278 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 22:29:25 +0000 (0:00:00.035) 0:00:03.313 ****** included: /WORKDIR/git-bond_options_rewritecy7fk_as/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_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 22:29:25 +0000 (0:00:00.071) 0:00:03.384 ****** 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_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 22:29:25 +0000 (0:00:00.013) 0:00:03.398 ****** 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_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 22:29:25 +0000 (0:00:00.012) 0:00:03.410 ****** 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_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 22:29:25 +0000 (0:00:00.010) 0:00:03.421 ****** 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_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 22:29:27 +0000 (0:00:01.775) 0:00:05.196 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-bond_options_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 22:29:28 +0000 (0:00:00.694) 0:00:05.891 ****** 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_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 22:29:28 +0000 (0:00:00.022) 0:00:05.913 ****** 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_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 22:29:28 +0000 (0:00:00.021) 0:00:05.934 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 22:29:28 +0000 (0:00:00.020) 0:00:05.955 ****** 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_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 22:29:28 +0000 (0:00:00.058) 0:00:06.013 ****** 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_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 22:29:28 +0000 (0:00:00.021) 0:00:06.035 ****** 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_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 22:29:28 +0000 (0:00:00.021) 0:00:06.056 ****** 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_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 22:29:28 +0000 (0:00:00.024) 0:00:06.081 ****** 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_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 22:29:28 +0000 (0:00:00.020) 0:00:06.102 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 22:29:28 +0000 (0:00:00.021) 0:00:06.123 ****** 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_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 22:29:28 +0000 (0:00:00.272) 0:00:06.396 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-14254fa3dph7g/tmp7aebj0sp" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 22:29:28 +0000 (0:00:00.192) 0:00:06.588 ****** 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_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 22:29:29 +0000 (0:00:00.344) 0:00:06.933 ****** 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_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 22:29:29 +0000 (0:00:00.021) 0:00:06.954 ****** 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_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 22:29:29 +0000 (0:00:00.021) 0:00:06.976 ****** 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_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 22:29:29 +0000 (0:00:00.022) 0:00:06.998 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 22:29:29 +0000 (0:00:00.020) 0:00:07.019 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewritecy7fk_as/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 06 February 2024 22:29:29 +0000 (0:00:00.194) 0:00:07.213 ****** 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_rewritecy7fk_as/tests/playbooks/tasks/run_test.yml:36 Tuesday 06 February 2024 22:29:29 +0000 (0:00:00.041) 0:00:07.255 ****** included: /WORKDIR/git-bond_options_rewritecy7fk_as/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewritecy7fk_as/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 06 February 2024 22:29:29 +0000 (0:00:00.039) 0:00:07.294 ****** included: /WORKDIR/git-bond_options_rewritecy7fk_as/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_rewritecy7fk_as/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 06 February 2024 22:29:29 +0000 (0:00:00.036) 0:00:07.331 ****** 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_rewritecy7fk_as/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 06 February 2024 22:29:29 +0000 (0:00:00.021) 0:00:07.352 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1707258569.081014, "block_size": 4096, "blocks": 8, "ctime": 1707258569.081014, "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": 1707258569.081014, "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_rewritecy7fk_as/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 06 February 2024 22:29:29 +0000 (0:00:00.123) 0:00:07.476 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewritecy7fk_as/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 06 February 2024 22:29:29 +0000 (0:00:00.022) 0:00:07.499 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.006413", "end": "2024-02-06 22:29:29.781648", "rc": 1, "start": "2024-02-06 22:29:29.775235" } 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_rewritecy7fk_as/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 06 February 2024 22:29:29 +0000 (0:00:00.131) 0:00:07.631 ****** 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_rewritecy7fk_as/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 06 February 2024 22:29:29 +0000 (0:00:00.022) 0:00:07.653 ****** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003066", "end": "2024-02-06 22:29:29.933621", "rc": 0, "start": "2024-02-06 22:29:29.930555" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-bond_options_rewritecy7fk_as/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 06 February 2024 22:29:29 +0000 (0:00:00.132) 0:00:07.785 ****** 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_rewritecy7fk_as/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 06 February 2024 22:29:29 +0000 (0:00:00.026) 0:00:07.812 ****** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003001", "end": "2024-02-06 22:29:30.094292", "rc": 0, "start": "2024-02-06 22:29:30.091291" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewritecy7fk_as/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 06 February 2024 22:29:30 +0000 (0:00:00.132) 0:00:07.945 ****** 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_rewritecy7fk_as/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 06 February 2024 22:29:30 +0000 (0:00:00.027) 0:00:07.972 ****** 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_rewritecy7fk_as/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 06 February 2024 22:29:30 +0000 (0:00:00.023) 0:00:07.995 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-bond_options_rewritecy7fk_as/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 06 February 2024 22:29:30 +0000 (0:00:00.048) 0:00:08.044 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewritecy7fk_as/tests/playbooks/tasks/run_test.yml:42 Tuesday 06 February 2024 22:29:30 +0000 (0:00:00.024) 0:00:08.068 ****** 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_rewritecy7fk_as/tests/playbooks/tasks/run_test.yml:47 Tuesday 06 February 2024 22:29:30 +0000 (0:00:00.025) 0:00:08.094 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-bond_options_rewritecy7fk_as/tests/playbooks/tasks/run_test.yml:66 Tuesday 06 February 2024 22:29:30 +0000 (0:00:00.022) 0:00:08.116 ****** included: /WORKDIR/git-bond_options_rewritecy7fk_as/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewritecy7fk_as/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 06 February 2024 22:29:30 +0000 (0:00:00.039) 0:00:08.156 ****** 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.041468", "end": "2024-02-06 22:29:30.473659", "rc": 255, "start": "2024-02-06 22:29:30.432191" } 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_rewritecy7fk_as/tests/playbooks/tests_states.yml:45 Tuesday 06 February 2024 22:29:30 +0000 (0:00:00.167) 0:00:08.323 ****** included: /WORKDIR/git-bond_options_rewritecy7fk_as/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile without autoconnect] ************************ task path: /WORKDIR/git-bond_options_rewritecy7fk_as/tests/playbooks/tasks/run_test.yml:5 Tuesday 06 February 2024 22:29:30 +0000 (0:00:00.035) 0:00:08.359 ****** ok: [sut] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewritecy7fk_as/tests/playbooks/tasks/run_test.yml:9 Tuesday 06 February 2024 22:29:30 +0000 (0:00:00.021) 0:00:08.380 ****** 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_rewritecy7fk_as/tests/playbooks/tasks/run_test.yml:21 Tuesday 06 February 2024 22:29:30 +0000 (0:00:00.045) 0:00:08.425 ****** included: /WORKDIR/git-bond_options_rewritecy7fk_as/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritecy7fk_as/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 06 February 2024 22:29:30 +0000 (0:00:00.033) 0:00:08.459 ****** included: /WORKDIR/git-bond_options_rewritecy7fk_as/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritecy7fk_as/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 06 February 2024 22:29:30 +0000 (0:00:00.032) 0:00:08.492 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003114", "end": "2024-02-06 22:29:30.778282", "rc": 0, "start": "2024-02-06 22:29:30.775168" } STDOUT: dummy0 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritecy7fk_as/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 06 February 2024 22:29:30 +0000 (0:00:00.158) 0:00:08.651 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "dummy0", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritecy7fk_as/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 06 February 2024 22:29:30 +0000 (0:00:00.022) 0:00:08.673 ****** ok: [sut] => {} MSG: current_interfaces: ['dummy0', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewritecy7fk_as/tests/playbooks/tasks/run_test.yml:24 Tuesday 06 February 2024 22:29:30 +0000 (0:00:00.022) 0:00:08.696 ****** included: /WORKDIR/git-bond_options_rewritecy7fk_as/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-bond_options_rewritecy7fk_as/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-bond_options_rewritecy7fk_as/tests/playbooks/tasks/delete_interface.yml:3 Tuesday 06 February 2024 22:29:30 +0000 (0:00:00.040) 0:00:08.736 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.004562", "end": "2024-02-06 22:29:31.017185", "rc": 255, "start": "2024-02-06 22:29:31.012623" } 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_rewritecy7fk_as/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 06 February 2024 22:29:30 +0000 (0:00:00.129) 0:00:08.866 ****** included: /WORKDIR/git-bond_options_rewritecy7fk_as/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewritecy7fk_as/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 06 February 2024 22:29:31 +0000 (0:00:00.034) 0:00:08.900 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-bond_options_rewritecy7fk_as/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 06 February 2024 22:29:31 +0000 (0:00:00.124) 0:00:09.025 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewritecy7fk_as/tests/playbooks/tasks/run_test.yml:30 Tuesday 06 February 2024 22:29:31 +0000 (0:00:00.023) 0:00:09.049 ****** included: /WORKDIR/git-bond_options_rewritecy7fk_as/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritecy7fk_as/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Tuesday 06 February 2024 22:29:31 +0000 (0:00:00.038) 0:00:09.088 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 22:29:31 +0000 (0:00:00.039) 0:00:09.127 ****** included: /WORKDIR/git-bond_options_rewritecy7fk_as/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_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 22:29:31 +0000 (0:00:00.038) 0:00:09.166 ****** 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_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 22:29:31 +0000 (0:00:00.049) 0:00:09.215 ****** 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_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 22:29:31 +0000 (0:00:00.021) 0:00:09.237 ****** 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_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 22:29:31 +0000 (0:00:00.021) 0:00:09.258 ****** 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_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 22:29:32 +0000 (0:00:01.565) 0:00:10.824 ****** 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_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 22:29:33 +0000 (0:00:00.561) 0:00:11.385 ****** 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_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 22:29:33 +0000 (0:00:00.022) 0:00:11.407 ****** 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_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 22:29:33 +0000 (0:00:00.040) 0:00:11.448 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 22:29:33 +0000 (0:00:00.021) 0:00:11.469 ****** 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_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 22:29:33 +0000 (0:00:00.042) 0:00:11.512 ****** 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_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 22:29:33 +0000 (0:00:00.021) 0:00:11.533 ****** 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_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 22:29:33 +0000 (0:00:00.020) 0:00:11.554 ****** 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_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 22:29:33 +0000 (0:00:00.025) 0:00:11.580 ****** 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_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 22:29:33 +0000 (0:00:00.021) 0:00:11.601 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 22:29:33 +0000 (0:00:00.020) 0:00:11.621 ****** 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_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 22:29:33 +0000 (0:00:00.186) 0:00:11.808 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-14254fa3dph7g/tmpxyll1bt2" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 22:29:34 +0000 (0:00:00.191) 0:00:11.999 ****** 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_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 22:29:34 +0000 (0:00:00.227) 0:00:12.227 ****** 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_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 22:29:34 +0000 (0:00:00.020) 0:00:12.248 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 22:29:34 +0000 (0:00:00.022) 0:00:12.270 ****** 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_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 22:29:34 +0000 (0:00:00.022) 0:00:12.293 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 22:29:34 +0000 (0:00:00.020) 0:00:12.314 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewritecy7fk_as/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Tuesday 06 February 2024 22:29:34 +0000 (0:00:00.144) 0:00:12.458 ****** 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_rewritecy7fk_as/tests/playbooks/tasks/run_test.yml:36 Tuesday 06 February 2024 22:29:34 +0000 (0:00:00.023) 0:00:12.481 ****** included: /WORKDIR/git-bond_options_rewritecy7fk_as/tests/playbooks/tasks/assert_device_absent.yml for sut included: /WORKDIR/git-bond_options_rewritecy7fk_as/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewritecy7fk_as/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 06 February 2024 22:29:34 +0000 (0:00:00.042) 0:00:12.524 ****** included: /WORKDIR/git-bond_options_rewritecy7fk_as/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewritecy7fk_as/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 06 February 2024 22:29:34 +0000 (0:00:00.035) 0:00:12.559 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-bond_options_rewritecy7fk_as/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 06 February 2024 22:29:34 +0000 (0:00:00.126) 0:00:12.685 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewritecy7fk_as/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 06 February 2024 22:29:34 +0000 (0:00:00.023) 0:00:12.709 ****** included: /WORKDIR/git-bond_options_rewritecy7fk_as/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_rewritecy7fk_as/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 06 February 2024 22:29:34 +0000 (0:00:00.037) 0:00:12.746 ****** 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_rewritecy7fk_as/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 06 February 2024 22:29:34 +0000 (0:00:00.022) 0:00:12.769 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1707258574.3750138, "block_size": 4096, "blocks": 8, "ctime": 1707258574.3750138, "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": 1707258574.3750138, "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_rewritecy7fk_as/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 06 February 2024 22:29:35 +0000 (0:00:00.124) 0:00:12.893 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewritecy7fk_as/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 06 February 2024 22:29:35 +0000 (0:00:00.022) 0:00:12.915 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.006958", "end": "2024-02-06 22:29:35.200152", "rc": 1, "start": "2024-02-06 22:29:35.193194" } 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_rewritecy7fk_as/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 06 February 2024 22:29:35 +0000 (0:00:00.134) 0:00:13.050 ****** 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_rewritecy7fk_as/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 06 February 2024 22:29:35 +0000 (0:00:00.022) 0:00:13.072 ****** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003111", "end": "2024-02-06 22:29:35.356765", "rc": 0, "start": "2024-02-06 22:29:35.353654" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-bond_options_rewritecy7fk_as/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 06 February 2024 22:29:35 +0000 (0:00:00.159) 0:00:13.231 ****** 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_rewritecy7fk_as/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 06 February 2024 22:29:35 +0000 (0:00:00.027) 0:00:13.259 ****** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003023", "end": "2024-02-06 22:29:35.540431", "rc": 0, "start": "2024-02-06 22:29:35.537408" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewritecy7fk_as/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 06 February 2024 22:29:35 +0000 (0:00:00.133) 0:00:13.393 ****** 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_rewritecy7fk_as/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 06 February 2024 22:29:35 +0000 (0:00:00.026) 0:00:13.419 ****** 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_rewritecy7fk_as/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 06 February 2024 22:29:35 +0000 (0:00:00.024) 0:00:13.444 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-bond_options_rewritecy7fk_as/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 06 February 2024 22:29:35 +0000 (0:00:00.024) 0:00:13.468 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewritecy7fk_as/tests/playbooks/tasks/run_test.yml:42 Tuesday 06 February 2024 22:29:35 +0000 (0:00:00.022) 0:00:13.490 ****** TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /WORKDIR/git-bond_options_rewritecy7fk_as/tests/playbooks/tasks/run_test.yml:47 Tuesday 06 February 2024 22:29:35 +0000 (0:00:00.020) 0:00:13.510 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-bond_options_rewritecy7fk_as/tests/playbooks/tasks/run_test.yml:66 Tuesday 06 February 2024 22:29:35 +0000 (0:00:00.022) 0:00:13.532 ****** included: /WORKDIR/git-bond_options_rewritecy7fk_as/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewritecy7fk_as/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 06 February 2024 22:29:35 +0000 (0:00:00.039) 0:00:13.572 ****** 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.023790", "end": "2024-02-06 22:29:35.872608", "rc": 255, "start": "2024-02-06 22:29:35.848818" } 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_rewritecy7fk_as/tests/playbooks/tests_states.yml:65 Tuesday 06 February 2024 22:29:35 +0000 (0:00:00.150) 0:00:13.723 ****** included: /WORKDIR/git-bond_options_rewritecy7fk_as/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can activate an existing profile] ******************************** task path: /WORKDIR/git-bond_options_rewritecy7fk_as/tests/playbooks/tasks/run_test.yml:5 Tuesday 06 February 2024 22:29:35 +0000 (0:00:00.036) 0:00:13.759 ****** ok: [sut] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewritecy7fk_as/tests/playbooks/tasks/run_test.yml:9 Tuesday 06 February 2024 22:29:35 +0000 (0:00:00.022) 0:00:13.781 ****** 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_rewritecy7fk_as/tests/playbooks/tasks/run_test.yml:21 Tuesday 06 February 2024 22:29:35 +0000 (0:00:00.070) 0:00:13.852 ****** included: /WORKDIR/git-bond_options_rewritecy7fk_as/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritecy7fk_as/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 06 February 2024 22:29:36 +0000 (0:00:00.034) 0:00:13.886 ****** included: /WORKDIR/git-bond_options_rewritecy7fk_as/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritecy7fk_as/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 06 February 2024 22:29:36 +0000 (0:00:00.033) 0:00:13.920 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003105", "end": "2024-02-06 22:29:36.200378", "rc": 0, "start": "2024-02-06 22:29:36.197273" } STDOUT: dummy0 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritecy7fk_as/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 06 February 2024 22:29:36 +0000 (0:00:00.130) 0:00:14.050 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "dummy0", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritecy7fk_as/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 06 February 2024 22:29:36 +0000 (0:00:00.022) 0:00:14.073 ****** ok: [sut] => {} MSG: current_interfaces: ['dummy0', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewritecy7fk_as/tests/playbooks/tasks/run_test.yml:24 Tuesday 06 February 2024 22:29:36 +0000 (0:00:00.021) 0:00:14.094 ****** included: /WORKDIR/git-bond_options_rewritecy7fk_as/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritecy7fk_as/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 06 February 2024 22:29:36 +0000 (0:00:00.038) 0:00:14.132 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 22:29:36 +0000 (0:00:00.035) 0:00:14.168 ****** included: /WORKDIR/git-bond_options_rewritecy7fk_as/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_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 22:29:36 +0000 (0:00:00.039) 0:00:14.207 ****** 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_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 22:29:36 +0000 (0:00:00.025) 0:00:14.233 ****** 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_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 22:29:36 +0000 (0:00:00.021) 0:00:14.255 ****** 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_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 22:29:36 +0000 (0:00:00.021) 0:00:14.276 ****** 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_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 22:29:37 +0000 (0:00:01.575) 0:00:15.851 ****** 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_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 22:29:38 +0000 (0:00:00.568) 0:00:16.420 ****** 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_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 22:29:38 +0000 (0:00:00.022) 0:00:16.443 ****** 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_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 22:29:38 +0000 (0:00:00.020) 0:00:16.464 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 22:29:38 +0000 (0:00:00.021) 0:00:16.485 ****** 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_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 22:29:38 +0000 (0:00:00.043) 0:00:16.528 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-bond_options_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 22:29:38 +0000 (0:00:00.039) 0:00:16.567 ****** 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_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 22:29:38 +0000 (0:00:00.021) 0:00:16.589 ****** 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_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 22:29:38 +0000 (0:00:00.023) 0:00:16.613 ****** 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_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 22:29:38 +0000 (0:00:00.021) 0:00:16.634 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 22:29:38 +0000 (0:00:00.021) 0:00:16.656 ****** 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_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 22:29:38 +0000 (0:00:00.185) 0:00:16.841 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-14254fa3dph7g/tmpuvzmalfr" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 22:29:39 +0000 (0:00:00.189) 0:00:17.031 ****** 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_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 22:29:39 +0000 (0:00:00.237) 0:00:17.268 ****** 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_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 22:29:39 +0000 (0:00:00.021) 0:00:17.290 ****** 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_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 22:29:39 +0000 (0:00:00.021) 0:00:17.312 ****** 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_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 22:29:39 +0000 (0:00:00.022) 0:00:17.334 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 22:29:39 +0000 (0:00:00.020) 0:00:17.354 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewritecy7fk_as/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 06 February 2024 22:29:39 +0000 (0:00:00.125) 0:00:17.479 ****** 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_rewritecy7fk_as/tests/playbooks/tasks/run_test.yml:30 Tuesday 06 February 2024 22:29:39 +0000 (0:00:00.021) 0:00:17.501 ****** included: /WORKDIR/git-bond_options_rewritecy7fk_as/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritecy7fk_as/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 06 February 2024 22:29:39 +0000 (0:00:00.061) 0:00:17.563 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 22:29:39 +0000 (0:00:00.039) 0:00:17.603 ****** included: /WORKDIR/git-bond_options_rewritecy7fk_as/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_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 22:29:39 +0000 (0:00:00.039) 0:00:17.642 ****** 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_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 22:29:39 +0000 (0:00:00.027) 0:00:17.669 ****** 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_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 22:29:39 +0000 (0:00:00.021) 0:00:17.691 ****** 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_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 22:29:39 +0000 (0:00:00.020) 0:00:17.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 : Check which packages are installed] ********* task path: /WORKDIR/git-bond_options_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 22:29:41 +0000 (0:00:01.530) 0:00:19.242 ****** 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_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 22:29:41 +0000 (0:00:00.586) 0:00:19.829 ****** 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_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 22:29:41 +0000 (0:00:00.022) 0:00:19.852 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-bond_options_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 22:29:41 +0000 (0:00:00.020) 0:00:19.873 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 22:29:42 +0000 (0:00:00.021) 0:00:19.894 ****** 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_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 22:29:42 +0000 (0:00:00.042) 0:00:19.936 ****** 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_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 22:29:42 +0000 (0:00:00.021) 0:00:19.958 ****** 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_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 22:29:42 +0000 (0:00:00.021) 0:00:19.979 ****** 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_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 22:29:42 +0000 (0:00:00.024) 0:00:20.003 ****** 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_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 22:29:42 +0000 (0:00:00.021) 0:00:20.025 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 22:29:42 +0000 (0:00:00.021) 0:00:20.046 ****** 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_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 22:29:42 +0000 (0:00:00.184) 0:00:20.230 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-14254fa3dph7g/tmpngrp6ya2" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 22:29:42 +0000 (0:00:00.211) 0:00:20.442 ****** 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_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 22:29:42 +0000 (0:00:00.361) 0:00:20.803 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 22:29:42 +0000 (0:00:00.021) 0:00:20.825 ****** 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_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 22:29:42 +0000 (0:00:00.022) 0:00:20.848 ****** 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_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 22:29:42 +0000 (0:00:00.022) 0:00:20.870 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 22:29:43 +0000 (0:00:00.021) 0:00:20.892 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewritecy7fk_as/tests/playbooks/tasks/run_test.yml:36 Tuesday 06 February 2024 22:29:43 +0000 (0:00:00.128) 0:00:21.020 ****** included: /WORKDIR/git-bond_options_rewritecy7fk_as/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-bond_options_rewritecy7fk_as/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewritecy7fk_as/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 06 February 2024 22:29:43 +0000 (0:00:00.042) 0:00:21.063 ****** included: /WORKDIR/git-bond_options_rewritecy7fk_as/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewritecy7fk_as/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 06 February 2024 22:29:43 +0000 (0:00:00.035) 0:00:21.098 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1707258582.8720138, "block_size": 4096, "blocks": 0, "ctime": 1707258582.8680139, "dev": 0, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 6543, "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": 1707258582.8680139, "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_rewritecy7fk_as/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 06 February 2024 22:29:43 +0000 (0:00:00.130) 0:00:21.229 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewritecy7fk_as/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 06 February 2024 22:29:43 +0000 (0:00:00.024) 0:00:21.254 ****** included: /WORKDIR/git-bond_options_rewritecy7fk_as/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_rewritecy7fk_as/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 06 February 2024 22:29:43 +0000 (0:00:00.036) 0:00:21.290 ****** 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_rewritecy7fk_as/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 06 February 2024 22:29:43 +0000 (0:00:00.047) 0:00:21.338 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1707258580.982014, "block_size": 4096, "blocks": 8, "ctime": 1707258579.4150138, "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": 1707258579.4150138, "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_rewritecy7fk_as/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 06 February 2024 22:29:43 +0000 (0:00:00.128) 0:00:21.466 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewritecy7fk_as/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 06 February 2024 22:29:43 +0000 (0:00:00.022) 0:00:21.489 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.006460", "end": "2024-02-06 22:29:43.772764", "rc": 1, "start": "2024-02-06 22:29:43.766304" } 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_rewritecy7fk_as/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 06 February 2024 22:29:43 +0000 (0:00:00.133) 0:00:21.622 ****** 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_rewritecy7fk_as/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 06 February 2024 22:29:43 +0000 (0:00:00.022) 0:00:21.644 ****** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003058", "end": "2024-02-06 22:29:43.927302", "rc": 0, "start": "2024-02-06 22:29:43.924244" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-bond_options_rewritecy7fk_as/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 06 February 2024 22:29:43 +0000 (0:00:00.134) 0:00:21.779 ****** 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_rewritecy7fk_as/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 06 February 2024 22:29:43 +0000 (0:00:00.027) 0:00:21.806 ****** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003094", "end": "2024-02-06 22:29:44.089053", "rc": 0, "start": "2024-02-06 22:29:44.085959" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewritecy7fk_as/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 06 February 2024 22:29:44 +0000 (0:00:00.133) 0:00:21.940 ****** 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_rewritecy7fk_as/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 06 February 2024 22:29:44 +0000 (0:00:00.026) 0:00:21.966 ****** 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_rewritecy7fk_as/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 06 February 2024 22:29:44 +0000 (0:00:00.023) 0:00:21.990 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-bond_options_rewritecy7fk_as/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 06 February 2024 22:29:44 +0000 (0:00:00.023) 0:00:22.014 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewritecy7fk_as/tests/playbooks/tasks/run_test.yml:42 Tuesday 06 February 2024 22:29:44 +0000 (0:00:00.021) 0:00:22.036 ****** TASK [Success in test 'I can activate an existing profile'] ******************** task path: /WORKDIR/git-bond_options_rewritecy7fk_as/tests/playbooks/tasks/run_test.yml:47 Tuesday 06 February 2024 22:29:44 +0000 (0:00:00.019) 0:00:22.056 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-bond_options_rewritecy7fk_as/tests/playbooks/tasks/run_test.yml:66 Tuesday 06 February 2024 22:29:44 +0000 (0:00:00.022) 0:00:22.078 ****** included: /WORKDIR/git-bond_options_rewritecy7fk_as/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewritecy7fk_as/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 06 February 2024 22:29:44 +0000 (0:00:00.064) 0:00:22.143 ****** 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.026409", "end": "2024-02-06 22:29:44.447971", "rc": 0, "start": "2024-02-06 22:29:44.421562" } 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_rewritecy7fk_as/tests/playbooks/tests_states.yml:83 Tuesday 06 February 2024 22:29:44 +0000 (0:00:00.159) 0:00:22.302 ****** included: /WORKDIR/git-bond_options_rewritecy7fk_as/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_rewritecy7fk_as/tests/playbooks/tasks/run_test.yml:5 Tuesday 06 February 2024 22:29:44 +0000 (0:00:00.036) 0:00:22.339 ****** ok: [sut] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewritecy7fk_as/tests/playbooks/tasks/run_test.yml:9 Tuesday 06 February 2024 22:29:44 +0000 (0:00:00.022) 0:00:22.362 ****** 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_rewritecy7fk_as/tests/playbooks/tasks/run_test.yml:21 Tuesday 06 February 2024 22:29:44 +0000 (0:00:00.044) 0:00:22.406 ****** included: /WORKDIR/git-bond_options_rewritecy7fk_as/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritecy7fk_as/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 06 February 2024 22:29:44 +0000 (0:00:00.034) 0:00:22.441 ****** included: /WORKDIR/git-bond_options_rewritecy7fk_as/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritecy7fk_as/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 06 February 2024 22:29:44 +0000 (0:00:00.033) 0:00:22.474 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003203", "end": "2024-02-06 22:29:44.754605", "rc": 0, "start": "2024-02-06 22:29:44.751402" } STDOUT: dummy0 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritecy7fk_as/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 06 February 2024 22:29:44 +0000 (0:00:00.130) 0:00:22.605 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "dummy0", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritecy7fk_as/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 06 February 2024 22:29:44 +0000 (0:00:00.023) 0:00:22.629 ****** ok: [sut] => {} MSG: current_interfaces: ['dummy0', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewritecy7fk_as/tests/playbooks/tasks/run_test.yml:24 Tuesday 06 February 2024 22:29:44 +0000 (0:00:00.021) 0:00:22.651 ****** included: /WORKDIR/git-bond_options_rewritecy7fk_as/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-bond_options_rewritecy7fk_as/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritecy7fk_as/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 06 February 2024 22:29:44 +0000 (0:00:00.040) 0:00:22.691 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 22:29:44 +0000 (0:00:00.063) 0:00:22.755 ****** included: /WORKDIR/git-bond_options_rewritecy7fk_as/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_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 22:29:44 +0000 (0:00:00.040) 0:00:22.795 ****** 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_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 22:29:44 +0000 (0:00:00.027) 0:00:22.822 ****** 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_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 22:29:44 +0000 (0:00:00.021) 0:00:22.844 ****** 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_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 22:29:44 +0000 (0:00:00.021) 0:00:22.865 ****** 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_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 22:29:46 +0000 (0:00:01.595) 0:00:24.460 ****** 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_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 22:29:47 +0000 (0:00:00.616) 0:00:25.077 ****** 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_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 22:29:47 +0000 (0:00:00.022) 0:00:25.100 ****** 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_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 22:29:47 +0000 (0:00:00.020) 0:00:25.121 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 22:29:47 +0000 (0:00:00.021) 0:00:25.142 ****** 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_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 22:29:47 +0000 (0:00:00.043) 0:00:25.186 ****** 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_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 22:29:47 +0000 (0:00:00.021) 0:00:25.207 ****** 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_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 22:29:47 +0000 (0:00:00.021) 0:00:25.229 ****** 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_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 22:29:47 +0000 (0:00:00.024) 0:00:25.253 ****** 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_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 22:29:47 +0000 (0:00:00.020) 0:00:25.274 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 22:29:47 +0000 (0:00:00.021) 0:00:25.295 ****** 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_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 22:29:47 +0000 (0:00:00.186) 0:00:25.482 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-14254fa3dph7g/tmpxwwh7ljq" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 22:29:47 +0000 (0:00:00.189) 0:00:25.671 ****** 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_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 22:29:48 +0000 (0:00:00.272) 0:00:25.944 ****** 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_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 22:29:48 +0000 (0:00:00.044) 0:00:25.989 ****** 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_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 22:29:48 +0000 (0:00:00.022) 0:00:26.012 ****** 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_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 22:29:48 +0000 (0:00:00.022) 0:00:26.034 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 22:29:48 +0000 (0:00:00.021) 0:00:26.055 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewritecy7fk_as/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 06 February 2024 22:29:48 +0000 (0:00:00.124) 0:00:26.180 ****** 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_rewritecy7fk_as/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 06 February 2024 22:29:48 +0000 (0:00:00.022) 0:00:26.203 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 22:29:48 +0000 (0:00:00.035) 0:00:26.238 ****** included: /WORKDIR/git-bond_options_rewritecy7fk_as/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_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 22:29:48 +0000 (0:00:00.039) 0:00:26.278 ****** 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_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 22:29:48 +0000 (0:00:00.027) 0:00:26.305 ****** 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_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 22:29:48 +0000 (0:00:00.021) 0:00:26.327 ****** 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_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 22:29:48 +0000 (0:00:00.020) 0:00:26.348 ****** 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_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 22:29:50 +0000 (0:00:01.541) 0:00:27.889 ****** 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_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 22:29:50 +0000 (0:00:00.566) 0:00:28.455 ****** 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_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 22:29:50 +0000 (0:00:00.022) 0:00:28.477 ****** 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_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 22:29:50 +0000 (0:00:00.021) 0:00:28.498 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 22:29:50 +0000 (0:00:00.021) 0:00:28.520 ****** 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_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 22:29:50 +0000 (0:00:00.041) 0:00:28.562 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-bond_options_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 22:29:50 +0000 (0:00:00.021) 0:00:28.583 ****** 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_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 22:29:50 +0000 (0:00:00.021) 0:00:28.604 ****** 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_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 22:29:50 +0000 (0:00:00.024) 0:00:28.628 ****** 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_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 22:29:50 +0000 (0:00:00.044) 0:00:28.673 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 22:29:50 +0000 (0:00:00.022) 0:00:28.695 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-bond_options_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 22:29:51 +0000 (0:00:00.188) 0:00:28.883 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-14254fa3dph7g/tmpla74ul71" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 22:29:51 +0000 (0:00:00.195) 0:00:29.078 ****** 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_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 22:29:51 +0000 (0:00:00.351) 0:00:29.430 ****** 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_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 22:29:51 +0000 (0:00:00.021) 0:00:29.451 ****** 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_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 22:29:51 +0000 (0:00:00.022) 0:00:29.474 ****** 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_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 22:29:51 +0000 (0:00:00.023) 0:00:29.497 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 22:29:51 +0000 (0:00:00.021) 0:00:29.518 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewritecy7fk_as/tests/playbooks/tasks/run_test.yml:30 Tuesday 06 February 2024 22:29:51 +0000 (0:00:00.124) 0:00:29.642 ****** included: /WORKDIR/git-bond_options_rewritecy7fk_as/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritecy7fk_as/tests/playbooks/tasks/remove_profile.yml:3 Tuesday 06 February 2024 22:29:51 +0000 (0:00:00.037) 0:00:29.680 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 22:29:51 +0000 (0:00:00.062) 0:00:29.742 ****** included: /WORKDIR/git-bond_options_rewritecy7fk_as/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_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 22:29:51 +0000 (0:00:00.039) 0:00:29.782 ****** 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_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 22:29:51 +0000 (0:00:00.026) 0:00:29.808 ****** 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_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 22:29:51 +0000 (0:00:00.020) 0:00:29.829 ****** 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_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 22:29:51 +0000 (0:00:00.021) 0:00:29.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 : Check which packages are installed] ********* task path: /WORKDIR/git-bond_options_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 22:29:53 +0000 (0:00:01.540) 0:00:31.391 ****** 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_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 22:29:54 +0000 (0:00:00.578) 0:00:31.969 ****** ok: [sut] => {} MSG: Using network provider: initscripts TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-bond_options_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 22:29:54 +0000 (0:00:00.022) 0:00:31.992 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-bond_options_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 22:29:54 +0000 (0:00:00.021) 0:00:32.013 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 22:29:54 +0000 (0:00:00.020) 0:00:32.034 ****** 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_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 22:29:54 +0000 (0:00:00.042) 0:00:32.077 ****** 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_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 22:29:54 +0000 (0:00:00.021) 0:00:32.099 ****** 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_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 22:29:54 +0000 (0:00:00.020) 0:00:32.120 ****** 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_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 22:29:54 +0000 (0:00:00.026) 0:00:32.146 ****** 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_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 22:29:54 +0000 (0:00:00.021) 0:00:32.167 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 22:29:54 +0000 (0:00:00.021) 0:00:32.189 ****** 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_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 22:29:54 +0000 (0:00:00.183) 0:00:32.372 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-14254fa3dph7g/tmp2ea0v8ga" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 22:29:54 +0000 (0:00:00.185) 0:00:32.558 ****** 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_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 22:29:54 +0000 (0:00:00.234) 0:00:32.792 ****** 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_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 22:29:54 +0000 (0:00:00.020) 0:00:32.813 ****** 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_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 22:29:54 +0000 (0:00:00.046) 0:00:32.860 ****** 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_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 22:29:55 +0000 (0:00:00.024) 0:00:32.884 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 22:29:55 +0000 (0:00:00.020) 0:00:32.905 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewritecy7fk_as/tests/playbooks/tasks/run_test.yml:36 Tuesday 06 February 2024 22:29:55 +0000 (0:00:00.120) 0:00:33.026 ****** included: /WORKDIR/git-bond_options_rewritecy7fk_as/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-bond_options_rewritecy7fk_as/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewritecy7fk_as/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 06 February 2024 22:29:55 +0000 (0:00:00.042) 0:00:33.069 ****** included: /WORKDIR/git-bond_options_rewritecy7fk_as/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewritecy7fk_as/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 06 February 2024 22:29:55 +0000 (0:00:00.034) 0:00:33.103 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1707258591.515014, "block_size": 4096, "blocks": 0, "ctime": 1707258591.505014, "dev": 0, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 6543, "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": 1707258591.505014, "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_rewritecy7fk_as/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 06 February 2024 22:29:55 +0000 (0:00:00.125) 0:00:33.229 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewritecy7fk_as/tests/playbooks/tasks/assert_profile_absent.yml:3 Tuesday 06 February 2024 22:29:55 +0000 (0:00:00.023) 0:00:33.252 ****** included: /WORKDIR/git-bond_options_rewritecy7fk_as/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_rewritecy7fk_as/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 06 February 2024 22:29:55 +0000 (0:00:00.036) 0:00:33.288 ****** 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_rewritecy7fk_as/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 06 February 2024 22:29:55 +0000 (0:00:00.020) 0:00:33.309 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-bond_options_rewritecy7fk_as/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 06 February 2024 22:29:55 +0000 (0:00:00.123) 0:00:33.432 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewritecy7fk_as/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 06 February 2024 22:29:55 +0000 (0:00:00.021) 0:00:33.454 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.006320", "end": "2024-02-06 22:29:55.736228", "rc": 1, "start": "2024-02-06 22:29:55.729908" } 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_rewritecy7fk_as/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 06 February 2024 22:29:55 +0000 (0:00:00.155) 0:00:33.609 ****** 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_rewritecy7fk_as/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 06 February 2024 22:29:55 +0000 (0:00:00.022) 0:00:33.632 ****** 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_rewritecy7fk_as/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 06 February 2024 22:29:55 +0000 (0:00:00.024) 0:00:33.657 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-bond_options_rewritecy7fk_as/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 06 February 2024 22:29:55 +0000 (0:00:00.022) 0:00:33.679 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewritecy7fk_as/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 06 February 2024 22:29:55 +0000 (0:00:00.022) 0:00:33.702 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-bond_options_rewritecy7fk_as/tests/playbooks/tasks/assert_profile_absent.yml:5 Tuesday 06 February 2024 22:29:55 +0000 (0:00:00.023) 0:00:33.726 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewritecy7fk_as/tests/playbooks/tasks/run_test.yml:42 Tuesday 06 February 2024 22:29:55 +0000 (0:00:00.023) 0:00:33.750 ****** TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /WORKDIR/git-bond_options_rewritecy7fk_as/tests/playbooks/tasks/run_test.yml:47 Tuesday 06 February 2024 22:29:55 +0000 (0:00:00.019) 0:00:33.769 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-bond_options_rewritecy7fk_as/tests/playbooks/tasks/run_test.yml:66 Tuesday 06 February 2024 22:29:55 +0000 (0:00:00.022) 0:00:33.792 ****** included: /WORKDIR/git-bond_options_rewritecy7fk_as/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewritecy7fk_as/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 06 February 2024 22:29:55 +0000 (0:00:00.040) 0:00:33.833 ****** 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.044939", "end": "2024-02-06 22:29:56.157020", "rc": 0, "start": "2024-02-06 22:29:56.112081" } 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_rewritecy7fk_as/tests/playbooks/tests_states.yml:103 Tuesday 06 February 2024 22:29:56 +0000 (0:00:00.177) 0:00:34.010 ****** included: /WORKDIR/git-bond_options_rewritecy7fk_as/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_rewritecy7fk_as/tests/playbooks/tasks/run_test.yml:5 Tuesday 06 February 2024 22:29:56 +0000 (0:00:00.035) 0:00:34.045 ****** ok: [sut] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewritecy7fk_as/tests/playbooks/tasks/run_test.yml:9 Tuesday 06 February 2024 22:29:56 +0000 (0:00:00.022) 0:00:34.067 ****** 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_rewritecy7fk_as/tests/playbooks/tasks/run_test.yml:21 Tuesday 06 February 2024 22:29:56 +0000 (0:00:00.044) 0:00:34.112 ****** included: /WORKDIR/git-bond_options_rewritecy7fk_as/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritecy7fk_as/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 06 February 2024 22:29:56 +0000 (0:00:00.058) 0:00:34.171 ****** included: /WORKDIR/git-bond_options_rewritecy7fk_as/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritecy7fk_as/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 06 February 2024 22:29:56 +0000 (0:00:00.033) 0:00:34.204 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003097", "end": "2024-02-06 22:29:56.483664", "rc": 0, "start": "2024-02-06 22:29:56.480567" } STDOUT: dummy0 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritecy7fk_as/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 06 February 2024 22:29:56 +0000 (0:00:00.128) 0:00:34.332 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "dummy0", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritecy7fk_as/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 06 February 2024 22:29:56 +0000 (0:00:00.022) 0:00:34.355 ****** ok: [sut] => {} MSG: current_interfaces: ['dummy0', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewritecy7fk_as/tests/playbooks/tasks/run_test.yml:24 Tuesday 06 February 2024 22:29:56 +0000 (0:00:00.021) 0:00:34.376 ****** included: /WORKDIR/git-bond_options_rewritecy7fk_as/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-bond_options_rewritecy7fk_as/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-bond_options_rewritecy7fk_as/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritecy7fk_as/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 06 February 2024 22:29:56 +0000 (0:00:00.043) 0:00:34.420 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 22:29:56 +0000 (0:00:00.035) 0:00:34.455 ****** included: /WORKDIR/git-bond_options_rewritecy7fk_as/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_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 22:29:56 +0000 (0:00:00.038) 0:00:34.494 ****** 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_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 22:29:56 +0000 (0:00:00.025) 0:00:34.520 ****** 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_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 22:29:56 +0000 (0:00:00.021) 0:00:34.541 ****** 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_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 22:29:56 +0000 (0:00:00.020) 0:00:34.562 ****** 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_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 22:29:58 +0000 (0:00:01.545) 0:00:36.108 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-bond_options_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 22:29:58 +0000 (0:00:00.566) 0:00:36.674 ****** 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_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 22:29:58 +0000 (0:00:00.022) 0:00:36.696 ****** 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_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 22:29:58 +0000 (0:00:00.021) 0:00:36.718 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 22:29:58 +0000 (0:00:00.021) 0:00:36.740 ****** 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_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 22:29:58 +0000 (0:00:00.043) 0:00:36.783 ****** 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_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 22:29:58 +0000 (0:00:00.042) 0:00:36.826 ****** 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_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 22:29:58 +0000 (0:00:00.021) 0:00:36.847 ****** 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_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 22:29:58 +0000 (0:00:00.024) 0:00:36.872 ****** 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_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 22:29:59 +0000 (0:00:00.021) 0:00:36.893 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 22:29:59 +0000 (0:00:00.021) 0:00:36.914 ****** 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_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 22:29:59 +0000 (0:00:00.183) 0:00:37.098 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-14254fa3dph7g/tmpntrb15h5" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 22:29:59 +0000 (0:00:00.186) 0:00:37.285 ****** 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_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 22:29:59 +0000 (0:00:00.229) 0:00:37.514 ****** 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_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 22:29:59 +0000 (0:00:00.020) 0:00:37.535 ****** 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_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 22:29:59 +0000 (0:00:00.022) 0:00:37.558 ****** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 22:29:59 +0000 (0:00:00.022) 0:00:37.580 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 22:29:59 +0000 (0:00:00.020) 0:00:37.601 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewritecy7fk_as/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 06 February 2024 22:29:59 +0000 (0:00:00.121) 0:00:37.723 ****** 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_rewritecy7fk_as/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 06 February 2024 22:29:59 +0000 (0:00:00.022) 0:00:37.745 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 22:29:59 +0000 (0:00:00.059) 0:00:37.805 ****** included: /WORKDIR/git-bond_options_rewritecy7fk_as/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_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 22:29:59 +0000 (0:00:00.039) 0:00:37.844 ****** 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_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 22:29:59 +0000 (0:00:00.025) 0:00:37.870 ****** 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_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 22:30:00 +0000 (0:00:00.021) 0:00:37.892 ****** 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_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 22:30:00 +0000 (0:00:00.020) 0:00:37.912 ****** 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_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 22:30:01 +0000 (0:00:01.512) 0:00:39.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_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 22:30:02 +0000 (0:00:00.645) 0:00:40.070 ****** 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_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 22:30:02 +0000 (0:00:00.023) 0:00:40.094 ****** 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_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 22:30:02 +0000 (0:00:00.020) 0:00:40.114 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 22:30:02 +0000 (0:00:00.021) 0:00:40.135 ****** 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_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 22:30:02 +0000 (0:00:00.042) 0:00:40.178 ****** 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_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 22:30:02 +0000 (0:00:00.021) 0:00:40.199 ****** 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_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 22:30:02 +0000 (0:00:00.021) 0:00:40.220 ****** 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_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 22:30:02 +0000 (0:00:00.024) 0:00:40.245 ****** 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_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 22:30:02 +0000 (0:00:00.021) 0:00:40.266 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 22:30:02 +0000 (0:00:00.021) 0:00:40.288 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-bond_options_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 22:30:02 +0000 (0:00:00.190) 0:00:40.478 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-14254fa3dph7g/tmpdrmqnqvm" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 22:30:02 +0000 (0:00:00.191) 0:00:40.670 ****** 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_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 22:30:03 +0000 (0:00:00.407) 0:00:41.078 ****** 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_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 22:30:03 +0000 (0:00:00.021) 0:00:41.100 ****** 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_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 22:30:03 +0000 (0:00:00.022) 0:00:41.123 ****** 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_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 22:30:03 +0000 (0:00:00.022) 0:00:41.146 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 22:30:03 +0000 (0:00:00.021) 0:00:41.167 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritecy7fk_as/tests/playbooks/tasks/remove_profile.yml:3 Tuesday 06 February 2024 22:30:03 +0000 (0:00:00.122) 0:00:41.289 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 22:30:03 +0000 (0:00:00.035) 0:00:41.325 ****** included: /WORKDIR/git-bond_options_rewritecy7fk_as/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_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 22:30:03 +0000 (0:00:00.039) 0:00:41.364 ****** 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_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 22:30:03 +0000 (0:00:00.026) 0:00:41.391 ****** 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_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 22:30:03 +0000 (0:00:00.021) 0:00:41.412 ****** 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_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 22:30:03 +0000 (0:00:00.021) 0:00:41.434 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-bond_options_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 22:30:05 +0000 (0:00:01.645) 0:00:43.079 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-bond_options_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 22:30:05 +0000 (0:00:00.570) 0:00:43.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_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 22:30:05 +0000 (0:00:00.022) 0:00:43.672 ****** 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_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 22:30:05 +0000 (0:00:00.021) 0:00:43.694 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 22:30:05 +0000 (0:00:00.020) 0:00:43.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_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 22:30:05 +0000 (0:00:00.042) 0:00:43.757 ****** 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_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 22:30:05 +0000 (0:00:00.021) 0:00:43.778 ****** 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_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 22:30:05 +0000 (0:00:00.021) 0:00:43.799 ****** 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_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 22:30:05 +0000 (0:00:00.026) 0:00:43.826 ****** 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_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 22:30:05 +0000 (0:00:00.048) 0:00:43.874 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 22:30:06 +0000 (0:00:00.021) 0:00:43.896 ****** 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_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 22:30:06 +0000 (0:00:00.186) 0:00:44.082 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-14254fa3dph7g/tmpb70kd6sn" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 22:30:06 +0000 (0:00:00.189) 0:00:44.272 ****** 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_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 22:30:06 +0000 (0:00:00.237) 0:00:44.509 ****** 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_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 22:30:06 +0000 (0:00:00.020) 0:00:44.530 ****** 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_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 22:30:06 +0000 (0:00:00.023) 0:00:44.554 ****** 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_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 22:30:06 +0000 (0:00:00.024) 0:00:44.578 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 22:30:06 +0000 (0:00:00.020) 0:00:44.599 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewritecy7fk_as/tests/playbooks/tasks/run_test.yml:30 Tuesday 06 February 2024 22:30:06 +0000 (0:00:00.125) 0:00:44.724 ****** included: /WORKDIR/git-bond_options_rewritecy7fk_as/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritecy7fk_as/tests/playbooks/tasks/remove+down_profile.yml:3 Tuesday 06 February 2024 22:30:06 +0000 (0:00:00.038) 0:00:44.763 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 22:30:06 +0000 (0:00:00.038) 0:00:44.802 ****** included: /WORKDIR/git-bond_options_rewritecy7fk_as/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_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 22:30:06 +0000 (0:00:00.064) 0:00:44.866 ****** 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_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 22:30:07 +0000 (0:00:00.027) 0:00:44.894 ****** 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_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 22:30:07 +0000 (0:00:00.021) 0:00:44.916 ****** 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_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 22:30:07 +0000 (0:00:00.021) 0:00:44.937 ****** 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_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 22:30:08 +0000 (0:00:01.551) 0:00:46.488 ****** 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_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 22:30:09 +0000 (0:00:00.585) 0:00:47.073 ****** 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_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 22:30:09 +0000 (0:00:00.023) 0:00:47.097 ****** 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_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 22:30:09 +0000 (0:00:00.021) 0:00:47.118 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 22:30:09 +0000 (0:00:00.021) 0:00:47.139 ****** 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_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 22:30:09 +0000 (0:00:00.042) 0:00:47.182 ****** 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_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 22:30:09 +0000 (0:00:00.021) 0:00:47.203 ****** 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_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 22:30:09 +0000 (0:00:00.021) 0:00:47.225 ****** 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_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 22:30:09 +0000 (0:00:00.024) 0:00:47.249 ****** 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_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 22:30:09 +0000 (0:00:00.021) 0:00:47.271 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 22:30:09 +0000 (0:00:00.021) 0:00:47.292 ****** 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_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 22:30:09 +0000 (0:00:00.188) 0:00:47.481 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-14254fa3dph7g/tmp7707r4om" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 22:30:09 +0000 (0:00:00.194) 0:00:47.675 ****** 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_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 22:30:10 +0000 (0:00:00.230) 0:00:47.905 ****** 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_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 22:30:10 +0000 (0:00:00.021) 0:00:47.926 ****** 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_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 22:30:10 +0000 (0:00:00.021) 0:00:47.948 ****** 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_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 22:30:10 +0000 (0:00:00.049) 0:00:47.998 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 22:30:10 +0000 (0:00:00.022) 0:00:48.020 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewritecy7fk_as/tests/playbooks/tasks/run_test.yml:36 Tuesday 06 February 2024 22:30:10 +0000 (0:00:00.122) 0:00:48.143 ****** included: /WORKDIR/git-bond_options_rewritecy7fk_as/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewritecy7fk_as/tests/playbooks/tasks/assert_profile_absent.yml:3 Tuesday 06 February 2024 22:30:10 +0000 (0:00:00.038) 0:00:48.182 ****** included: /WORKDIR/git-bond_options_rewritecy7fk_as/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_rewritecy7fk_as/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 06 February 2024 22:30:10 +0000 (0:00:00.036) 0:00:48.218 ****** 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_rewritecy7fk_as/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 06 February 2024 22:30:10 +0000 (0:00:00.021) 0:00:48.240 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-bond_options_rewritecy7fk_as/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 06 February 2024 22:30:10 +0000 (0:00:00.126) 0:00:48.366 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewritecy7fk_as/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 06 February 2024 22:30:10 +0000 (0:00:00.020) 0:00:48.387 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.006481", "end": "2024-02-06 22:30:10.672868", "rc": 1, "start": "2024-02-06 22:30:10.666387" } 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_rewritecy7fk_as/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 06 February 2024 22:30:10 +0000 (0:00:00.132) 0:00:48.520 ****** 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_rewritecy7fk_as/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 06 February 2024 22:30:10 +0000 (0:00:00.022) 0:00:48.543 ****** 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_rewritecy7fk_as/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 06 February 2024 22:30:10 +0000 (0:00:00.022) 0:00:48.565 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-bond_options_rewritecy7fk_as/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 06 February 2024 22:30:10 +0000 (0:00:00.021) 0:00:48.587 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewritecy7fk_as/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 06 February 2024 22:30:10 +0000 (0:00:00.022) 0:00:48.609 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-bond_options_rewritecy7fk_as/tests/playbooks/tasks/assert_profile_absent.yml:5 Tuesday 06 February 2024 22:30:10 +0000 (0:00:00.022) 0:00:48.631 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewritecy7fk_as/tests/playbooks/tasks/run_test.yml:42 Tuesday 06 February 2024 22:30:10 +0000 (0:00:00.064) 0:00:48.696 ****** 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_rewritecy7fk_as/tests/playbooks/tasks/run_test.yml:47 Tuesday 06 February 2024 22:30:10 +0000 (0:00:00.026) 0:00:48.722 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-bond_options_rewritecy7fk_as/tests/playbooks/tasks/run_test.yml:66 Tuesday 06 February 2024 22:30:10 +0000 (0:00:00.022) 0:00:48.744 ****** included: /WORKDIR/git-bond_options_rewritecy7fk_as/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewritecy7fk_as/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 06 February 2024 22:30:10 +0000 (0:00:00.041) 0:00:48.786 ****** 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.046250", "end": "2024-02-06 22:30:11.111995", "rc": 0, "start": "2024-02-06 22:30:11.065745" } 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_rewritecy7fk_as/tests/playbooks/tests_states.yml:126 Tuesday 06 February 2024 22:30:11 +0000 (0:00:00.179) 0:00:48.965 ****** included: /WORKDIR/git-bond_options_rewritecy7fk_as/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_rewritecy7fk_as/tests/playbooks/tasks/run_test.yml:5 Tuesday 06 February 2024 22:30:11 +0000 (0:00:00.036) 0:00:49.001 ****** 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_rewritecy7fk_as/tests/playbooks/tasks/run_test.yml:9 Tuesday 06 February 2024 22:30:11 +0000 (0:00:00.022) 0:00:49.024 ****** 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_rewritecy7fk_as/tests/playbooks/tasks/run_test.yml:21 Tuesday 06 February 2024 22:30:11 +0000 (0:00:00.045) 0:00:49.070 ****** included: /WORKDIR/git-bond_options_rewritecy7fk_as/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritecy7fk_as/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 06 February 2024 22:30:11 +0000 (0:00:00.034) 0:00:49.104 ****** included: /WORKDIR/git-bond_options_rewritecy7fk_as/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritecy7fk_as/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 06 February 2024 22:30:11 +0000 (0:00:00.032) 0:00:49.137 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003530", "end": "2024-02-06 22:30:11.423009", "rc": 0, "start": "2024-02-06 22:30:11.419479" } STDOUT: dummy0 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritecy7fk_as/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 06 February 2024 22:30:11 +0000 (0:00:00.133) 0:00:49.271 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "dummy0", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritecy7fk_as/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 06 February 2024 22:30:11 +0000 (0:00:00.050) 0:00:49.321 ****** ok: [sut] => {} MSG: current_interfaces: ['dummy0', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewritecy7fk_as/tests/playbooks/tasks/run_test.yml:24 Tuesday 06 February 2024 22:30:11 +0000 (0:00:00.022) 0:00:49.344 ****** included: /WORKDIR/git-bond_options_rewritecy7fk_as/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-bond_options_rewritecy7fk_as/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-bond_options_rewritecy7fk_as/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritecy7fk_as/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 06 February 2024 22:30:11 +0000 (0:00:00.046) 0:00:49.390 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 22:30:11 +0000 (0:00:00.035) 0:00:49.426 ****** included: /WORKDIR/git-bond_options_rewritecy7fk_as/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_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 22:30:11 +0000 (0:00:00.039) 0:00:49.466 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-bond_options_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 22:30:11 +0000 (0:00:00.025) 0:00:49.491 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-bond_options_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 22:30:11 +0000 (0:00:00.021) 0:00:49.512 ****** 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_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 22:30:11 +0000 (0:00:00.023) 0:00:49.536 ****** 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_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 22:30:13 +0000 (0:00:01.558) 0:00:51.094 ****** 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_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 22:30:13 +0000 (0:00:00.570) 0:00:51.665 ****** 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_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 22:30:13 +0000 (0:00:00.023) 0:00:51.688 ****** 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_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 22:30:13 +0000 (0:00:00.020) 0:00:51.709 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 22:30:13 +0000 (0:00:00.021) 0:00:51.730 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-bond_options_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 22:30:13 +0000 (0:00:00.043) 0:00:51.774 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-bond_options_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 22:30:13 +0000 (0:00:00.021) 0:00:51.795 ****** 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_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 22:30:13 +0000 (0:00:00.021) 0:00:51.817 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-bond_options_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 22:30:13 +0000 (0:00:00.024) 0:00:51.841 ****** 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_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 22:30:13 +0000 (0:00:00.021) 0:00:51.863 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 22:30:14 +0000 (0:00:00.021) 0:00:51.884 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-bond_options_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 22:30:14 +0000 (0:00:00.210) 0:00:52.095 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-14254fa3dph7g/tmpkz45ornh" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 22:30:14 +0000 (0:00:00.195) 0:00:52.290 ****** 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_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 22:30:14 +0000 (0:00:00.232) 0:00:52.523 ****** 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_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 22:30:14 +0000 (0:00:00.022) 0:00:52.545 ****** 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_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 22:30:14 +0000 (0:00:00.022) 0:00:52.568 ****** 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_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 22:30:14 +0000 (0:00:00.023) 0:00:52.591 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 22:30:14 +0000 (0:00:00.021) 0:00:52.613 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewritecy7fk_as/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 06 February 2024 22:30:14 +0000 (0:00:00.124) 0:00:52.737 ****** 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_rewritecy7fk_as/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 06 February 2024 22:30:14 +0000 (0:00:00.023) 0:00:52.760 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 22:30:14 +0000 (0:00:00.036) 0:00:52.797 ****** included: /WORKDIR/git-bond_options_rewritecy7fk_as/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_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 22:30:14 +0000 (0:00:00.040) 0:00:52.838 ****** 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_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 22:30:14 +0000 (0:00:00.026) 0:00:52.864 ****** 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_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 22:30:15 +0000 (0:00:00.021) 0:00:52.886 ****** 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_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 22:30:15 +0000 (0:00:00.053) 0:00:52.939 ****** 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_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 22:30:16 +0000 (0:00:01.535) 0:00:54.475 ****** 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_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 22:30:17 +0000 (0:00:00.562) 0:00:55.037 ****** 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_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 22:30:17 +0000 (0:00:00.023) 0:00:55.060 ****** 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_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 22:30:17 +0000 (0:00:00.021) 0:00:55.082 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 22:30:17 +0000 (0:00:00.021) 0:00:55.103 ****** 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_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 22:30:17 +0000 (0:00:00.065) 0:00:55.168 ****** 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_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 22:30:17 +0000 (0:00:00.021) 0:00:55.189 ****** 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_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 22:30:17 +0000 (0:00:00.021) 0:00:55.211 ****** 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_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 22:30:17 +0000 (0:00:00.024) 0:00:55.236 ****** 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_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 22:30:17 +0000 (0:00:00.021) 0:00:55.257 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 22:30:17 +0000 (0:00:00.021) 0:00:55.278 ****** 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_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 22:30:17 +0000 (0:00:00.184) 0:00:55.462 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-14254fa3dph7g/tmpg7i4qtz7" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 22:30:17 +0000 (0:00:00.188) 0:00:55.651 ****** 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_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 22:30:18 +0000 (0:00:00.343) 0:00:55.994 ****** 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_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 22:30:18 +0000 (0:00:00.021) 0:00:56.016 ****** 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_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 22:30:18 +0000 (0:00:00.022) 0:00:56.038 ****** 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_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 22:30:18 +0000 (0:00:00.022) 0:00:56.061 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 22:30:18 +0000 (0:00:00.020) 0:00:56.082 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritecy7fk_as/tests/playbooks/tasks/remove+down_profile.yml:3 Tuesday 06 February 2024 22:30:18 +0000 (0:00:00.129) 0:00:56.212 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 22:30:18 +0000 (0:00:00.060) 0:00:56.272 ****** included: /WORKDIR/git-bond_options_rewritecy7fk_as/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_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 22:30:18 +0000 (0:00:00.039) 0:00:56.312 ****** 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_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 22:30:18 +0000 (0:00:00.026) 0:00:56.338 ****** 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_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 22:30:18 +0000 (0:00:00.020) 0:00:56.359 ****** 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_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 22:30:18 +0000 (0:00:00.021) 0:00:56.381 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-bond_options_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 22:30:20 +0000 (0:00:01.538) 0:00:57.919 ****** 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_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 22:30:20 +0000 (0:00:00.620) 0:00:58.540 ****** ok: [sut] => {} MSG: Using network provider: initscripts TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-bond_options_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 22:30:20 +0000 (0:00:00.023) 0:00:58.563 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-bond_options_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 22:30:20 +0000 (0:00:00.021) 0:00:58.585 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 22:30:20 +0000 (0:00:00.020) 0:00:58.606 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-bond_options_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 22:30:20 +0000 (0:00:00.043) 0:00:58.649 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-bond_options_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 22:30:20 +0000 (0:00:00.021) 0:00:58.671 ****** 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_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 22:30:20 +0000 (0:00:00.020) 0:00:58.691 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-bond_options_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 22:30:20 +0000 (0:00:00.024) 0:00:58.716 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-bond_options_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 22:30:20 +0000 (0:00:00.021) 0:00:58.738 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 22:30:20 +0000 (0:00:00.020) 0:00:58.759 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-bond_options_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 22:30:21 +0000 (0:00:00.185) 0:00:58.944 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-14254fa3dph7g/tmp1fao0tik" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 22:30:21 +0000 (0:00:00.187) 0:00:59.132 ****** 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_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 22:30:21 +0000 (0:00:00.292) 0:00:59.425 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 22:30:21 +0000 (0:00:00.021) 0:00:59.446 ****** 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_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 22:30:21 +0000 (0:00:00.024) 0:00:59.471 ****** 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_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 22:30:21 +0000 (0:00:00.023) 0:00:59.495 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 22:30:21 +0000 (0:00:00.022) 0:00:59.518 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewritecy7fk_as/tests/playbooks/tasks/run_test.yml:30 Tuesday 06 February 2024 22:30:21 +0000 (0:00:00.123) 0:00:59.641 ****** included: /WORKDIR/git-bond_options_rewritecy7fk_as/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritecy7fk_as/tests/playbooks/tasks/remove+down_profile.yml:3 Tuesday 06 February 2024 22:30:21 +0000 (0:00:00.039) 0:00:59.680 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 22:30:21 +0000 (0:00:00.036) 0:00:59.716 ****** included: /WORKDIR/git-bond_options_rewritecy7fk_as/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_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 22:30:21 +0000 (0:00:00.039) 0:00:59.756 ****** 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_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 22:30:21 +0000 (0:00:00.027) 0:00:59.784 ****** 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_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 22:30:21 +0000 (0:00:00.021) 0:00:59.806 ****** 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_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 22:30:21 +0000 (0:00:00.020) 0:00:59.827 ****** 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_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 22:30:23 +0000 (0:00:01.526) 0:01:01.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 : Print network provider] ********************* task path: /WORKDIR/git-bond_options_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 22:30:24 +0000 (0:00:00.568) 0:01:01.921 ****** 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_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 22:30:24 +0000 (0:00:00.022) 0:01:01.944 ****** 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_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 22:30:24 +0000 (0:00:00.021) 0:01:01.966 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 22:30:24 +0000 (0:00:00.021) 0:01:01.987 ****** 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_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 22:30:24 +0000 (0:00:00.044) 0:01:02.032 ****** 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_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 22:30:24 +0000 (0:00:00.021) 0:01:02.053 ****** 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_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 22:30:24 +0000 (0:00:00.021) 0:01:02.075 ****** 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_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 22:30:24 +0000 (0:00:00.049) 0:01:02.124 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-bond_options_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 22:30:24 +0000 (0:00:00.021) 0:01:02.146 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 22:30:24 +0000 (0:00:00.021) 0:01:02.167 ****** 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_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 22:30:24 +0000 (0:00:00.186) 0:01:02.353 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-14254fa3dph7g/tmpn3qmeltq" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 22:30:24 +0000 (0:00:00.190) 0:01:02.544 ****** 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_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 22:30:24 +0000 (0:00:00.228) 0:01:02.772 ****** 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_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 22:30:24 +0000 (0:00:00.021) 0:01:02.793 ****** 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_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 22:30:24 +0000 (0:00:00.022) 0:01:02.816 ****** 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_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 22:30:24 +0000 (0:00:00.023) 0:01:02.839 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 22:30:24 +0000 (0:00:00.021) 0:01:02.860 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewritecy7fk_as/tests/playbooks/tasks/run_test.yml:36 Tuesday 06 February 2024 22:30:25 +0000 (0:00:00.128) 0:01:02.989 ****** included: /WORKDIR/git-bond_options_rewritecy7fk_as/tests/playbooks/tasks/assert_profile_absent.yml for sut included: /WORKDIR/git-bond_options_rewritecy7fk_as/tests/playbooks/tasks/get_NetworkManager_NVR.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewritecy7fk_as/tests/playbooks/tasks/assert_profile_absent.yml:3 Tuesday 06 February 2024 22:30:25 +0000 (0:00:00.042) 0:01:03.032 ****** included: /WORKDIR/git-bond_options_rewritecy7fk_as/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_rewritecy7fk_as/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 06 February 2024 22:30:25 +0000 (0:00:00.063) 0:01:03.095 ****** 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_rewritecy7fk_as/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 06 February 2024 22:30:25 +0000 (0:00:00.022) 0:01:03.118 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-bond_options_rewritecy7fk_as/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 06 February 2024 22:30:25 +0000 (0:00:00.125) 0:01:03.243 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewritecy7fk_as/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 06 February 2024 22:30:25 +0000 (0:00:00.021) 0:01:03.265 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.006528", "end": "2024-02-06 22:30:25.551873", "rc": 1, "start": "2024-02-06 22:30:25.545345" } 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_rewritecy7fk_as/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 06 February 2024 22:30:25 +0000 (0:00:00.135) 0:01:03.400 ****** 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_rewritecy7fk_as/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 06 February 2024 22:30:25 +0000 (0:00:00.022) 0:01:03.423 ****** 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_rewritecy7fk_as/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 06 February 2024 22:30:25 +0000 (0:00:00.022) 0:01:03.446 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-bond_options_rewritecy7fk_as/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 06 February 2024 22:30:25 +0000 (0:00:00.023) 0:01:03.469 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewritecy7fk_as/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 06 February 2024 22:30:25 +0000 (0:00:00.022) 0:01:03.491 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-bond_options_rewritecy7fk_as/tests/playbooks/tasks/assert_profile_absent.yml:5 Tuesday 06 February 2024 22:30:25 +0000 (0:00:00.023) 0:01:03.514 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /WORKDIR/git-bond_options_rewritecy7fk_as/tests/playbooks/tasks/get_NetworkManager_NVR.yml:7 Tuesday 06 February 2024 22:30:25 +0000 (0:00:00.024) 0:01:03.539 ****** ok: [sut] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.372395", "end": "2024-02-06 22:30:26.189956", "rc": 0, "start": "2024-02-06 22:30:25.817561" } STDOUT: NetworkManager-0.8.1-113.el6 TASK [Store NetworkManager version] ******************************************** task path: /WORKDIR/git-bond_options_rewritecy7fk_as/tests/playbooks/tasks/get_NetworkManager_NVR.yml:14 Tuesday 06 February 2024 22:30:26 +0000 (0:00:00.500) 0:01:04.039 ****** ok: [sut] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-0.8.1-113.el6" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /WORKDIR/git-bond_options_rewritecy7fk_as/tests/playbooks/tasks/get_NetworkManager_NVR.yml:18 Tuesday 06 February 2024 22:30:26 +0000 (0:00:00.021) 0:01:04.061 ****** ok: [sut] => { "networkmanager_nvr": "NetworkManager-0.8.1-113.el6" } TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewritecy7fk_as/tests/playbooks/tasks/run_test.yml:42 Tuesday 06 February 2024 22:30:26 +0000 (0:00:00.021) 0:01:04.082 ****** 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_rewritecy7fk_as/tests/playbooks/tasks/run_test.yml:47 Tuesday 06 February 2024 22:30:26 +0000 (0:00:00.048) 0:01:04.131 ****** 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_rewritecy7fk_as/tests/playbooks/tasks/run_test.yml:66 Tuesday 06 February 2024 22:30:26 +0000 (0:00:00.022) 0:01:04.153 ****** included: /WORKDIR/git-bond_options_rewritecy7fk_as/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewritecy7fk_as/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 06 February 2024 22:30:26 +0000 (0:00:00.040) 0:01:04.194 ****** 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.030864", "end": "2024-02-06 22:30:26.507980", "rc": 0, "start": "2024-02-06 22:30:26.477116" } 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 22:30:26 +0000 (0:00:00.154) 0:01:04.348 ****** =============================================================================== linux-system-roles.network : Check which services are running ----------- 1.78s /WORKDIR/git-bond_options_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.65s /WORKDIR/git-bond_options_rewritecy7fk_as/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_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.58s /WORKDIR/git-bond_options_rewritecy7fk_as/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_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.56s /WORKDIR/git-bond_options_rewritecy7fk_as/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_rewritecy7fk_as/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_rewritecy7fk_as/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_rewritecy7fk_as/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_rewritecy7fk_as/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_rewritecy7fk_as/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_rewritecy7fk_as/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_rewritecy7fk_as/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_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.51s /WORKDIR/git-bond_options_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Configure networking connection profiles --- 1.46s /WORKDIR/git-bond_options_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/main.yml:125 linux-system-roles.network : Configure networking connection profiles --- 1.32s /WORKDIR/git-bond_options_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/main.yml:125 linux-system-roles.network : Enable network service --------------------- 1.04s /WORKDIR/git-bond_options_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/main.yml:108 linux-system-roles.network : Ensure initscripts network file dependency is present --- 0.95s /WORKDIR/git-bond_options_rewritecy7fk_as/tests/roles/linux-system-roles.network/tasks/main.yml:116 Gathering Facts --------------------------------------------------------- 0.89s /WORKDIR/git-bond_options_rewritecy7fk_as/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. ---^---^---^---^---^---