# 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_rewritexh39axfg/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_rewritexh39axfg/tests/tests_states_initscripts.yml:5 Tuesday 06 February 2024 17:33:18 +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_rewritexh39axfg/tests/tests_states_initscripts.yml:8 Tuesday 06 February 2024 17:33:18 +0000 (0:00:00.618) 0:00:00.630 ****** included: /WORKDIR/git-bond_options_rewritexh39axfg/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_rewritexh39axfg/tests/tasks/el_repo_setup.yml:3 Tuesday 06 February 2024 17:33:18 +0000 (0:00:00.021) 0:00:00.651 ****** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/tasks/el_repo_setup.yml:19 Tuesday 06 February 2024 17:33:19 +0000 (0:00:00.352) 0:00:01.003 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/tasks/el_repo_setup.yml:24 Tuesday 06 February 2024 17:33:19 +0000 (0:00:00.250) 0:00:01.254 ****** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/tasks/el_repo_setup.yml:28 Tuesday 06 February 2024 17:33:19 +0000 (0:00:00.019) 0:00:01.274 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/tasks/el_repo_setup.yml:53 Tuesday 06 February 2024 17:33:19 +0000 (0:00:00.016) 0:00:01.291 ****** included: /WORKDIR/git-bond_options_rewritexh39axfg/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 8] *********************************************************** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/tasks/enable_epel.yml:8 Tuesday 06 February 2024 17:33:19 +0000 (0:00:00.029) 0:00:01.320 ****** ok: [sut] => { "attempts": 1, "changed": false, "cmd": [ "rpm", "-iv", "https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm" ], "rc": 0 } STDOUT: skipped, since /etc/yum.repos.d/epel.repo exists TASK [Install yum-utils package] *********************************************** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/tasks/enable_epel.yml:24 Tuesday 06 February 2024 17:33:19 +0000 (0:00:00.243) 0:00:01.564 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/tasks/enable_epel.yml:30 Tuesday 06 February 2024 17:33:19 +0000 (0:00:00.010) 0:00:01.574 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/tasks/enable_epel.yml:35 Tuesday 06 February 2024 17:33:19 +0000 (0:00:00.010) 0:00:01.585 ****** ok: [sut] => { "changed": false, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:01.253592", "end": "2024-02-06 17:33:21.095233", "rc": 0, "start": "2024-02-06 17:33:19.841641" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/tasks/enable_epel.yml:40 Tuesday 06 February 2024 17:33:21 +0000 (0:00:01.441) 0:00:03.026 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'initscripts'] *********************************** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/tests_states_initscripts.yml:10 Tuesday 06 February 2024 17:33:21 +0000 (0:00:00.010) 0:00:03.037 ****** 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_rewritexh39axfg/tests/playbooks/tests_states.yml:3 Tuesday 06 February 2024 17:33:21 +0000 (0:00:00.009) 0:00:03.046 ****** ok: [sut] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tests_states.yml:11 Tuesday 06 February 2024 17:33:21 +0000 (0:00:00.493) 0:00:03.540 ****** ok: [sut] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tests_states.yml:22 Tuesday 06 February 2024 17:33:21 +0000 (0:00:00.010) 0:00:03.551 ****** included: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile] ******************************************** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/run_test.yml:5 Tuesday 06 February 2024 17:33:21 +0000 (0:00:00.016) 0:00:03.567 ****** ok: [sut] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/run_test.yml:9 Tuesday 06 February 2024 17:33:21 +0000 (0:00:00.010) 0:00:03.578 ****** 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_rewritexh39axfg/tests/playbooks/tasks/run_test.yml:21 Tuesday 06 February 2024 17:33:21 +0000 (0:00:00.034) 0:00:03.612 ****** included: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 06 February 2024 17:33:21 +0000 (0:00:00.013) 0:00:03.625 ****** included: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 06 February 2024 17:33:21 +0000 (0:00:00.013) 0:00:03.639 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003619", "end": "2024-02-06 17:33:21.898098", "rc": 0, "start": "2024-02-06 17:33:21.894479" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 06 February 2024 17:33:21 +0000 (0:00:00.190) 0:00:03.829 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 06 February 2024 17:33:21 +0000 (0:00:00.011) 0:00:03.841 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/run_test.yml:24 Tuesday 06 February 2024 17:33:21 +0000 (0:00:00.012) 0:00:03.853 ****** included: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/delete_interface.yml:3 Tuesday 06 February 2024 17:33:21 +0000 (0:00:00.020) 0:00:03.874 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.008441", "end": "2024-02-06 17:33:22.140550", "rc": 1, "start": "2024-02-06 17:33:22.132109" } 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_rewritexh39axfg/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 06 February 2024 17:33:22 +0000 (0:00:00.196) 0:00:04.071 ****** included: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 06 February 2024 17:33:22 +0000 (0:00:00.014) 0:00:04.086 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 06 February 2024 17:33:22 +0000 (0:00:00.186) 0:00:04.273 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/run_test.yml:30 Tuesday 06 February 2024 17:33:22 +0000 (0:00:00.011) 0:00:04.285 ****** included: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 06 February 2024 17:33:22 +0000 (0:00:00.017) 0:00:04.302 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 17:33:22 +0000 (0:00:00.032) 0:00:04.334 ****** included: /WORKDIR/git-bond_options_rewritexh39axfg/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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 17:33:22 +0000 (0:00:00.067) 0:00:04.402 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 17:33:22 +0000 (0:00:00.012) 0:00:04.414 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 17:33:22 +0000 (0:00:00.009) 0:00:04.423 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 17:33:22 +0000 (0:00:00.009) 0:00:04.433 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 17:33:24 +0000 (0:00:01.596) 0:00:06.030 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 17:33:25 +0000 (0:00:01.453) 0:00:07.483 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 17:33:25 +0000 (0:00:00.023) 0:00:07.507 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 17:33:25 +0000 (0:00:00.022) 0:00:07.529 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 17:33:25 +0000 (0:00:00.022) 0:00:07.551 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 17:33:25 +0000 (0:00:00.044) 0:00:07.595 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 17:33:25 +0000 (0:00:00.021) 0:00:07.617 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 17:33:25 +0000 (0:00:00.022) 0:00:07.639 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 17:33:25 +0000 (0:00:00.025) 0:00:07.665 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 17:33:25 +0000 (0:00:00.021) 0:00:07.687 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 17:33:25 +0000 (0:00:00.022) 0:00:07.709 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 17:33:26 +0000 (0:00:00.470) 0:00:08.180 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-18665mvj549lb/tmpfiau9wpx" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 17:33:26 +0000 (0:00:00.300) 0:00:08.480 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 17:33:26 +0000 (0:00:00.415) 0:00:08.895 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 17:33:27 +0000 (0:00:00.022) 0:00:08.917 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 17:33:27 +0000 (0:00:00.022) 0:00:08.939 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 17:33:27 +0000 (0:00:00.022) 0:00:08.962 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 17:33:27 +0000 (0:00:00.020) 0:00:08.983 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 06 February 2024 17:33:27 +0000 (0:00:00.238) 0:00:09.221 ****** 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_rewritexh39axfg/tests/playbooks/tasks/run_test.yml:36 Tuesday 06 February 2024 17:33:27 +0000 (0:00:00.022) 0:00:09.244 ****** included: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 06 February 2024 17:33:27 +0000 (0:00:00.042) 0:00:09.286 ****** included: /WORKDIR/git-bond_options_rewritexh39axfg/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_rewritexh39axfg/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 06 February 2024 17:33:27 +0000 (0:00:00.039) 0:00:09.325 ****** 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_rewritexh39axfg/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 06 February 2024 17:33:27 +0000 (0:00:00.021) 0:00:09.347 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1707240806.953069, "block_size": 4096, "blocks": 8, "ctime": 1707240806.954069, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 5898121, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1707240806.954069, "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_rewritexh39axfg/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 06 February 2024 17:33:27 +0000 (0:00:00.194) 0:00:09.542 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 06 February 2024 17:33:27 +0000 (0:00:00.043) 0:00:09.585 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022366", "end": "2024-02-06 17:33:27.862697", "rc": 1, "start": "2024-02-06 17:33:27.840331" } 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_rewritexh39axfg/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 06 February 2024 17:33:27 +0000 (0:00:00.218) 0:00:09.804 ****** 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_rewritexh39axfg/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 06 February 2024 17:33:27 +0000 (0:00:00.023) 0:00:09.827 ****** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003316", "end": "2024-02-06 17:33:28.088837", "rc": 0, "start": "2024-02-06 17:33:28.085521" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 06 February 2024 17:33:28 +0000 (0:00:00.204) 0:00:10.032 ****** 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_rewritexh39axfg/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 06 February 2024 17:33:28 +0000 (0:00:00.027) 0:00:10.059 ****** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003110", "end": "2024-02-06 17:33:28.317507", "rc": 0, "start": "2024-02-06 17:33:28.314397" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 06 February 2024 17:33:28 +0000 (0:00:00.200) 0:00:10.260 ****** 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_rewritexh39axfg/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 06 February 2024 17:33:28 +0000 (0:00:00.026) 0:00:10.286 ****** 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_rewritexh39axfg/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 06 February 2024 17:33:28 +0000 (0:00:00.024) 0:00:10.310 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 06 February 2024 17:33:28 +0000 (0:00:00.024) 0:00:10.334 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/run_test.yml:42 Tuesday 06 February 2024 17:33:28 +0000 (0:00:00.022) 0:00:10.356 ****** 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_rewritexh39axfg/tests/playbooks/tasks/run_test.yml:47 Tuesday 06 February 2024 17:33:28 +0000 (0:00:00.025) 0:00:10.382 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/run_test.yml:66 Tuesday 06 February 2024 17:33:28 +0000 (0:00:00.022) 0:00:10.404 ****** included: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 06 February 2024 17:33:28 +0000 (0:00:00.040) 0:00:10.444 ****** 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.043031", "end": "2024-02-06 17:33:28.742935", "rc": 1, "start": "2024-02-06 17:33:28.699904" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tests_states.yml:45 Tuesday 06 February 2024 17:33:28 +0000 (0:00:00.259) 0:00:10.704 ****** included: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile without autoconnect] ************************ task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/run_test.yml:5 Tuesday 06 February 2024 17:33:28 +0000 (0:00:00.038) 0:00:10.743 ****** ok: [sut] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/run_test.yml:9 Tuesday 06 February 2024 17:33:28 +0000 (0:00:00.021) 0:00:10.764 ****** 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_rewritexh39axfg/tests/playbooks/tasks/run_test.yml:21 Tuesday 06 February 2024 17:33:28 +0000 (0:00:00.045) 0:00:10.810 ****** included: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 06 February 2024 17:33:28 +0000 (0:00:00.035) 0:00:10.846 ****** included: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 06 February 2024 17:33:28 +0000 (0:00:00.034) 0:00:10.880 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003513", "end": "2024-02-06 17:33:29.139109", "rc": 0, "start": "2024-02-06 17:33:29.135596" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 06 February 2024 17:33:29 +0000 (0:00:00.200) 0:00:11.081 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 06 February 2024 17:33:29 +0000 (0:00:00.022) 0:00:11.104 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/run_test.yml:24 Tuesday 06 February 2024 17:33:29 +0000 (0:00:00.021) 0:00:11.125 ****** included: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/delete_interface.yml:3 Tuesday 06 February 2024 17:33:29 +0000 (0:00:00.041) 0:00:11.167 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.006739", "end": "2024-02-06 17:33:29.427839", "rc": 1, "start": "2024-02-06 17:33:29.421100" } 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_rewritexh39axfg/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 06 February 2024 17:33:29 +0000 (0:00:00.222) 0:00:11.390 ****** included: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 06 February 2024 17:33:29 +0000 (0:00:00.035) 0:00:11.425 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 06 February 2024 17:33:29 +0000 (0:00:00.196) 0:00:11.622 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/run_test.yml:30 Tuesday 06 February 2024 17:33:29 +0000 (0:00:00.024) 0:00:11.647 ****** included: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Tuesday 06 February 2024 17:33:29 +0000 (0:00:00.039) 0:00:11.687 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 17:33:29 +0000 (0:00:00.041) 0:00:11.728 ****** included: /WORKDIR/git-bond_options_rewritexh39axfg/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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 17:33:29 +0000 (0:00:00.041) 0:00:11.770 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 17:33:29 +0000 (0:00:00.028) 0:00:11.798 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 17:33:29 +0000 (0:00:00.022) 0:00:11.820 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 17:33:29 +0000 (0:00:00.021) 0:00:11.842 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 17:33:31 +0000 (0:00:01.568) 0:00:13.410 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 17:33:32 +0000 (0:00:01.306) 0:00:14.716 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 17:33:32 +0000 (0:00:00.023) 0:00:14.740 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 17:33:32 +0000 (0:00:00.021) 0:00:14.762 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 17:33:32 +0000 (0:00:00.038) 0:00:14.800 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 17:33:32 +0000 (0:00:00.044) 0:00:14.844 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 17:33:32 +0000 (0:00:00.021) 0:00:14.866 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 17:33:32 +0000 (0:00:00.022) 0:00:14.888 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 17:33:32 +0000 (0:00:00.025) 0:00:14.913 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 17:33:33 +0000 (0:00:00.021) 0:00:14.935 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 17:33:33 +0000 (0:00:00.021) 0:00:14.956 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 17:33:33 +0000 (0:00:00.350) 0:00:15.307 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-18665mvj549lb/tmpeoqiminn" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 17:33:33 +0000 (0:00:00.300) 0:00:15.608 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 17:33:33 +0000 (0:00:00.296) 0:00:15.904 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 17:33:34 +0000 (0:00:00.021) 0:00:15.926 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 17:33:34 +0000 (0:00:00.022) 0:00:15.948 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 17:33:34 +0000 (0:00:00.022) 0:00:15.971 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 17:33:34 +0000 (0:00:00.041) 0:00:16.013 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Tuesday 06 February 2024 17:33:34 +0000 (0:00:00.196) 0:00:16.209 ****** 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_rewritexh39axfg/tests/playbooks/tasks/run_test.yml:36 Tuesday 06 February 2024 17:33:34 +0000 (0:00:00.025) 0:00:16.235 ****** included: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/assert_device_absent.yml for sut included: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 06 February 2024 17:33:34 +0000 (0:00:00.045) 0:00:16.280 ****** included: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 06 February 2024 17:33:34 +0000 (0:00:00.036) 0:00:16.316 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 06 February 2024 17:33:34 +0000 (0:00:00.200) 0:00:16.517 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 06 February 2024 17:33:34 +0000 (0:00:00.023) 0:00:16.541 ****** included: /WORKDIR/git-bond_options_rewritexh39axfg/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_rewritexh39axfg/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 06 February 2024 17:33:34 +0000 (0:00:00.038) 0:00:16.579 ****** 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_rewritexh39axfg/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 06 February 2024 17:33:34 +0000 (0:00:00.021) 0:00:16.601 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1707240813.960931, "block_size": 4096, "blocks": 8, "ctime": 1707240813.961931, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 5898121, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1707240813.961931, "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_rewritexh39axfg/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 06 February 2024 17:33:34 +0000 (0:00:00.201) 0:00:16.802 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 06 February 2024 17:33:34 +0000 (0:00:00.023) 0:00:16.825 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022466", "end": "2024-02-06 17:33:35.104603", "rc": 1, "start": "2024-02-06 17:33:35.082137" } 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_rewritexh39axfg/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 06 February 2024 17:33:35 +0000 (0:00:00.220) 0:00:17.045 ****** 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_rewritexh39axfg/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 06 February 2024 17:33:35 +0000 (0:00:00.023) 0:00:17.069 ****** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003327", "end": "2024-02-06 17:33:35.331441", "rc": 0, "start": "2024-02-06 17:33:35.328114" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 06 February 2024 17:33:35 +0000 (0:00:00.206) 0:00:17.276 ****** 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_rewritexh39axfg/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 06 February 2024 17:33:35 +0000 (0:00:00.026) 0:00:17.303 ****** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003331", "end": "2024-02-06 17:33:35.565500", "rc": 0, "start": "2024-02-06 17:33:35.562169" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 06 February 2024 17:33:35 +0000 (0:00:00.207) 0:00:17.510 ****** 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_rewritexh39axfg/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 06 February 2024 17:33:35 +0000 (0:00:00.026) 0:00:17.537 ****** 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_rewritexh39axfg/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 06 February 2024 17:33:35 +0000 (0:00:00.023) 0:00:17.561 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 06 February 2024 17:33:35 +0000 (0:00:00.024) 0:00:17.585 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/run_test.yml:42 Tuesday 06 February 2024 17:33:35 +0000 (0:00:00.023) 0:00:17.609 ****** TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/run_test.yml:47 Tuesday 06 February 2024 17:33:35 +0000 (0:00:00.020) 0:00:17.629 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/run_test.yml:66 Tuesday 06 February 2024 17:33:35 +0000 (0:00:00.023) 0:00:17.653 ****** included: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 06 February 2024 17:33:35 +0000 (0:00:00.040) 0:00:17.694 ****** 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.044162", "end": "2024-02-06 17:33:35.997729", "rc": 1, "start": "2024-02-06 17:33:35.953567" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tests_states.yml:65 Tuesday 06 February 2024 17:33:36 +0000 (0:00:00.245) 0:00:17.939 ****** included: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can activate an existing profile] ******************************** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/run_test.yml:5 Tuesday 06 February 2024 17:33:36 +0000 (0:00:00.061) 0:00:18.000 ****** ok: [sut] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/run_test.yml:9 Tuesday 06 February 2024 17:33:36 +0000 (0:00:00.023) 0:00:18.023 ****** 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_rewritexh39axfg/tests/playbooks/tasks/run_test.yml:21 Tuesday 06 February 2024 17:33:36 +0000 (0:00:00.044) 0:00:18.068 ****** included: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 06 February 2024 17:33:36 +0000 (0:00:00.037) 0:00:18.106 ****** included: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 06 February 2024 17:33:36 +0000 (0:00:00.035) 0:00:18.141 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003472", "end": "2024-02-06 17:33:36.401964", "rc": 0, "start": "2024-02-06 17:33:36.398492" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 06 February 2024 17:33:36 +0000 (0:00:00.203) 0:00:18.344 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 06 February 2024 17:33:36 +0000 (0:00:00.023) 0:00:18.368 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/run_test.yml:24 Tuesday 06 February 2024 17:33:36 +0000 (0:00:00.021) 0:00:18.389 ****** included: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 06 February 2024 17:33:36 +0000 (0:00:00.038) 0:00:18.427 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 17:33:36 +0000 (0:00:00.036) 0:00:18.463 ****** included: /WORKDIR/git-bond_options_rewritexh39axfg/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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 17:33:36 +0000 (0:00:00.062) 0:00:18.526 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 17:33:36 +0000 (0:00:00.027) 0:00:18.553 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 17:33:36 +0000 (0:00:00.022) 0:00:18.575 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 17:33:36 +0000 (0:00:00.021) 0:00:18.597 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 17:33:38 +0000 (0:00:01.608) 0:00:20.205 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 17:33:39 +0000 (0:00:01.306) 0:00:21.512 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 17:33:39 +0000 (0:00:00.023) 0:00:21.535 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 17:33:39 +0000 (0:00:00.021) 0:00:21.557 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 17:33:39 +0000 (0:00:00.021) 0:00:21.578 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 17:33:39 +0000 (0:00:00.044) 0:00:21.622 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 17:33:39 +0000 (0:00:00.023) 0:00:21.646 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 17:33:39 +0000 (0:00:00.022) 0:00:21.668 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 17:33:39 +0000 (0:00:00.026) 0:00:21.694 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 17:33:39 +0000 (0:00:00.022) 0:00:21.717 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 17:33:39 +0000 (0:00:00.022) 0:00:21.739 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 17:33:40 +0000 (0:00:00.348) 0:00:22.088 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-18665mvj549lb/tmp7r1dzl87" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 17:33:40 +0000 (0:00:00.301) 0:00:22.389 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 17:33:40 +0000 (0:00:00.295) 0:00:22.684 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 17:33:40 +0000 (0:00:00.021) 0:00:22.706 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 17:33:40 +0000 (0:00:00.022) 0:00:22.729 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 17:33:40 +0000 (0:00:00.023) 0:00:22.752 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 17:33:40 +0000 (0:00:00.021) 0:00:22.773 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 06 February 2024 17:33:41 +0000 (0:00:00.195) 0:00:22.968 ****** 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_rewritexh39axfg/tests/playbooks/tasks/run_test.yml:30 Tuesday 06 February 2024 17:33:41 +0000 (0:00:00.022) 0:00:22.991 ****** included: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 06 February 2024 17:33:41 +0000 (0:00:00.039) 0:00:23.031 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 17:33:41 +0000 (0:00:00.040) 0:00:23.071 ****** included: /WORKDIR/git-bond_options_rewritexh39axfg/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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 17:33:41 +0000 (0:00:00.041) 0:00:23.113 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 17:33:41 +0000 (0:00:00.064) 0:00:23.177 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 17:33:41 +0000 (0:00:00.022) 0:00:23.199 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 17:33:41 +0000 (0:00:00.022) 0:00:23.221 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 17:33:42 +0000 (0:00:01.612) 0:00:24.834 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 17:33:44 +0000 (0:00:01.323) 0:00:26.158 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 17:33:44 +0000 (0:00:00.023) 0:00:26.181 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 17:33:44 +0000 (0:00:00.022) 0:00:26.203 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 17:33:44 +0000 (0:00:00.022) 0:00:26.226 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 17:33:44 +0000 (0:00:00.043) 0:00:26.269 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 17:33:44 +0000 (0:00:00.022) 0:00:26.292 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 17:33:44 +0000 (0:00:00.022) 0:00:26.315 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 17:33:44 +0000 (0:00:00.023) 0:00:26.339 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 17:33:44 +0000 (0:00:00.022) 0:00:26.361 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 17:33:44 +0000 (0:00:00.021) 0:00:26.382 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 17:33:44 +0000 (0:00:00.346) 0:00:26.729 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-18665mvj549lb/tmp6vs7co8c" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 17:33:45 +0000 (0:00:00.303) 0:00:27.033 ****** 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='b''', err='b"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\n"' TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 17:33:45 +0000 (0:00:00.605) 0:00:27.638 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 17:33:45 +0000 (0:00:00.022) 0:00:27.661 ****** 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='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 17:33:45 +0000 (0:00:00.023) 0:00:27.684 ****** 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='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'\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='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 17:33:45 +0000 (0:00:00.023) 0:00:27.708 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 17:33:45 +0000 (0:00:00.022) 0:00:27.730 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/run_test.yml:36 Tuesday 06 February 2024 17:33:46 +0000 (0:00:00.198) 0:00:27.929 ****** included: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 06 February 2024 17:33:46 +0000 (0:00:00.044) 0:00:27.973 ****** included: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 06 February 2024 17:33:46 +0000 (0:00:00.035) 0:00:28.008 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1707240825.5990374, "block_size": 4096, "blocks": 0, "ctime": 1707240825.5990374, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 37591, "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": 1707240825.5990374, "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_rewritexh39axfg/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 06 February 2024 17:33:46 +0000 (0:00:00.199) 0:00:28.208 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 06 February 2024 17:33:46 +0000 (0:00:00.024) 0:00:28.232 ****** included: /WORKDIR/git-bond_options_rewritexh39axfg/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_rewritexh39axfg/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 06 February 2024 17:33:46 +0000 (0:00:00.061) 0:00:28.294 ****** 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_rewritexh39axfg/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 06 February 2024 17:33:46 +0000 (0:00:00.024) 0:00:28.318 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1707240825.4177072, "block_size": 4096, "blocks": 8, "ctime": 1707240820.7407987, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 5898121, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1707240820.7407987, "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_rewritexh39axfg/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 06 February 2024 17:33:46 +0000 (0:00:00.198) 0:00:28.516 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 06 February 2024 17:33:46 +0000 (0:00:00.023) 0:00:28.540 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022843", "end": "2024-02-06 17:33:46.820737", "rc": 1, "start": "2024-02-06 17:33:46.797894" } 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_rewritexh39axfg/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 06 February 2024 17:33:46 +0000 (0:00:00.222) 0:00:28.763 ****** 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_rewritexh39axfg/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 06 February 2024 17:33:46 +0000 (0:00:00.023) 0:00:28.786 ****** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003349", "end": "2024-02-06 17:33:47.049407", "rc": 0, "start": "2024-02-06 17:33:47.046058" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 06 February 2024 17:33:47 +0000 (0:00:00.206) 0:00:28.993 ****** 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_rewritexh39axfg/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 06 February 2024 17:33:47 +0000 (0:00:00.028) 0:00:29.022 ****** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003429", "end": "2024-02-06 17:33:47.285688", "rc": 0, "start": "2024-02-06 17:33:47.282259" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 06 February 2024 17:33:47 +0000 (0:00:00.207) 0:00:29.229 ****** 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_rewritexh39axfg/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 06 February 2024 17:33:47 +0000 (0:00:00.027) 0:00:29.257 ****** 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_rewritexh39axfg/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 06 February 2024 17:33:47 +0000 (0:00:00.024) 0:00:29.281 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 06 February 2024 17:33:47 +0000 (0:00:00.024) 0:00:29.305 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/run_test.yml:42 Tuesday 06 February 2024 17:33:47 +0000 (0:00:00.022) 0:00:29.328 ****** TASK [Success in test 'I can activate an existing profile'] ******************** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/run_test.yml:47 Tuesday 06 February 2024 17:33:47 +0000 (0:00:00.042) 0:00:29.370 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/run_test.yml:66 Tuesday 06 February 2024 17:33:47 +0000 (0:00:00.023) 0:00:29.394 ****** included: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 06 February 2024 17:33:47 +0000 (0:00:00.041) 0:00:29.435 ****** 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.050699", "end": "2024-02-06 17:33:47.743043", "rc": 0, "start": "2024-02-06 17:33:47.692344" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tests_states.yml:83 Tuesday 06 February 2024 17:33:47 +0000 (0:00:00.251) 0:00:29.686 ****** included: /WORKDIR/git-bond_options_rewritexh39axfg/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_rewritexh39axfg/tests/playbooks/tasks/run_test.yml:5 Tuesday 06 February 2024 17:33:47 +0000 (0:00:00.038) 0:00:29.724 ****** ok: [sut] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/run_test.yml:9 Tuesday 06 February 2024 17:33:47 +0000 (0:00:00.023) 0:00:29.748 ****** 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_rewritexh39axfg/tests/playbooks/tasks/run_test.yml:21 Tuesday 06 February 2024 17:33:47 +0000 (0:00:00.045) 0:00:29.793 ****** included: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 06 February 2024 17:33:47 +0000 (0:00:00.035) 0:00:29.828 ****** included: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 06 February 2024 17:33:47 +0000 (0:00:00.034) 0:00:29.863 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003500", "end": "2024-02-06 17:33:48.123162", "rc": 0, "start": "2024-02-06 17:33:48.119662" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 06 February 2024 17:33:48 +0000 (0:00:00.202) 0:00:30.066 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 06 February 2024 17:33:48 +0000 (0:00:00.022) 0:00:30.088 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/run_test.yml:24 Tuesday 06 February 2024 17:33:48 +0000 (0:00:00.045) 0:00:30.134 ****** included: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 06 February 2024 17:33:48 +0000 (0:00:00.044) 0:00:30.179 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 17:33:48 +0000 (0:00:00.039) 0:00:30.218 ****** included: /WORKDIR/git-bond_options_rewritexh39axfg/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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 17:33:48 +0000 (0:00:00.041) 0:00:30.259 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 17:33:48 +0000 (0:00:00.028) 0:00:30.287 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 17:33:48 +0000 (0:00:00.022) 0:00:30.310 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 17:33:48 +0000 (0:00:00.021) 0:00:30.331 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 17:33:49 +0000 (0:00:01.562) 0:00:31.893 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 17:33:51 +0000 (0:00:01.304) 0:00:33.198 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 17:33:51 +0000 (0:00:00.023) 0:00:33.222 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 17:33:51 +0000 (0:00:00.021) 0:00:33.243 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 17:33:51 +0000 (0:00:00.022) 0:00:33.266 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 17:33:51 +0000 (0:00:00.044) 0:00:33.310 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 17:33:51 +0000 (0:00:00.021) 0:00:33.332 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 17:33:51 +0000 (0:00:00.022) 0:00:33.354 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 17:33:51 +0000 (0:00:00.046) 0:00:33.400 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 17:33:51 +0000 (0:00:00.022) 0:00:33.422 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 17:33:51 +0000 (0:00:00.022) 0:00:33.445 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 17:33:51 +0000 (0:00:00.343) 0:00:33.788 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-18665mvj549lb/tmpfar4sn1t" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 17:33:52 +0000 (0:00:00.296) 0:00:34.085 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 17:33:52 +0000 (0:00:00.293) 0:00:34.378 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 17:33:52 +0000 (0:00:00.022) 0:00:34.400 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 17:33:52 +0000 (0:00:00.023) 0:00:34.423 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 17:33:52 +0000 (0:00:00.022) 0:00:34.446 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 17:33:52 +0000 (0:00:00.022) 0:00:34.469 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 06 February 2024 17:33:52 +0000 (0:00:00.191) 0:00:34.660 ****** 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_rewritexh39axfg/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 06 February 2024 17:33:52 +0000 (0:00:00.024) 0:00:34.685 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 17:33:52 +0000 (0:00:00.062) 0:00:34.747 ****** included: /WORKDIR/git-bond_options_rewritexh39axfg/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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 17:33:52 +0000 (0:00:00.043) 0:00:34.790 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 17:33:52 +0000 (0:00:00.028) 0:00:34.819 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 17:33:52 +0000 (0:00:00.022) 0:00:34.842 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 17:33:52 +0000 (0:00:00.022) 0:00:34.864 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 17:33:54 +0000 (0:00:01.540) 0:00:36.405 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 17:33:55 +0000 (0:00:01.323) 0:00:37.728 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 17:33:55 +0000 (0:00:00.023) 0:00:37.751 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 17:33:55 +0000 (0:00:00.022) 0:00:37.773 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 17:33:55 +0000 (0:00:00.022) 0:00:37.796 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 17:33:55 +0000 (0:00:00.042) 0:00:37.838 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 17:33:55 +0000 (0:00:00.022) 0:00:37.861 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 17:33:55 +0000 (0:00:00.022) 0:00:37.884 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 17:33:55 +0000 (0:00:00.025) 0:00:37.909 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 17:33:56 +0000 (0:00:00.022) 0:00:37.931 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 17:33:56 +0000 (0:00:00.022) 0:00:37.954 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 17:33:56 +0000 (0:00:00.370) 0:00:38.325 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-18665mvj549lb/tmpa8ihy_s6" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 17:33:56 +0000 (0:00:00.298) 0:00:38.623 ****** 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='b''', err='b"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\n"' TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 17:33:57 +0000 (0:00:00.564) 0:00:39.187 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 17:33:57 +0000 (0:00:00.021) 0:00:39.209 ****** 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='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 17:33:57 +0000 (0:00:00.023) 0:00:39.232 ****** 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='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'\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='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 17:33:57 +0000 (0:00:00.023) 0:00:39.256 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 17:33:57 +0000 (0:00:00.021) 0:00:39.278 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/run_test.yml:30 Tuesday 06 February 2024 17:33:57 +0000 (0:00:00.192) 0:00:39.470 ****** included: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/remove_profile.yml:3 Tuesday 06 February 2024 17:33:57 +0000 (0:00:00.039) 0:00:39.510 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 17:33:57 +0000 (0:00:00.040) 0:00:39.550 ****** included: /WORKDIR/git-bond_options_rewritexh39axfg/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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 17:33:57 +0000 (0:00:00.065) 0:00:39.616 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 17:33:57 +0000 (0:00:00.028) 0:00:39.644 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 17:33:57 +0000 (0:00:00.022) 0:00:39.667 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 17:33:57 +0000 (0:00:00.022) 0:00:39.689 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 17:33:59 +0000 (0:00:01.569) 0:00:41.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 : Print network provider] ********************* task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 17:34:00 +0000 (0:00:01.310) 0:00:42.568 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 17:34:00 +0000 (0:00:00.023) 0:00:42.591 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 17:34:00 +0000 (0:00:00.022) 0:00:42.614 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 17:34:00 +0000 (0:00:00.022) 0:00:42.636 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 17:34:00 +0000 (0:00:00.042) 0:00:42.679 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 17:34:00 +0000 (0:00:00.022) 0:00:42.701 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 17:34:00 +0000 (0:00:00.022) 0:00:42.723 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 17:34:00 +0000 (0:00:00.025) 0:00:42.748 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 17:34:00 +0000 (0:00:00.022) 0:00:42.771 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 17:34:00 +0000 (0:00:00.023) 0:00:42.795 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 17:34:01 +0000 (0:00:00.350) 0:00:43.145 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-18665mvj549lb/tmpoav2crzn" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 17:34:01 +0000 (0:00:00.300) 0:00:43.445 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 17:34:01 +0000 (0:00:00.307) 0:00:43.752 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 17:34:01 +0000 (0:00:00.022) 0:00:43.775 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 17:34:01 +0000 (0:00:00.022) 0:00:43.798 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 17:34:01 +0000 (0:00:00.023) 0:00:43.821 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 17:34:01 +0000 (0:00:00.022) 0:00:43.844 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/run_test.yml:36 Tuesday 06 February 2024 17:34:02 +0000 (0:00:00.194) 0:00:44.038 ****** included: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 06 February 2024 17:34:02 +0000 (0:00:00.046) 0:00:44.085 ****** included: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 06 February 2024 17:34:02 +0000 (0:00:00.037) 0:00:44.123 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1707240837.1516879, "block_size": 4096, "blocks": 0, "ctime": 1707240837.1516879, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 37722, "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": 1707240837.1516879, "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_rewritexh39axfg/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 06 February 2024 17:34:02 +0000 (0:00:00.200) 0:00:44.323 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/assert_profile_absent.yml:3 Tuesday 06 February 2024 17:34:02 +0000 (0:00:00.023) 0:00:44.347 ****** included: /WORKDIR/git-bond_options_rewritexh39axfg/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_rewritexh39axfg/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 06 February 2024 17:34:02 +0000 (0:00:00.063) 0:00:44.410 ****** 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_rewritexh39axfg/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 06 February 2024 17:34:02 +0000 (0:00:00.022) 0:00:44.432 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 06 February 2024 17:34:02 +0000 (0:00:00.198) 0:00:44.630 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 06 February 2024 17:34:02 +0000 (0:00:00.021) 0:00:44.652 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.023301", "end": "2024-02-06 17:34:02.934442", "rc": 1, "start": "2024-02-06 17:34:02.911141" } 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_rewritexh39axfg/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 06 February 2024 17:34:02 +0000 (0:00:00.224) 0:00:44.876 ****** 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_rewritexh39axfg/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 06 February 2024 17:34:02 +0000 (0:00:00.023) 0:00:44.900 ****** 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_rewritexh39axfg/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 06 February 2024 17:34:03 +0000 (0:00:00.023) 0:00:44.924 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 06 February 2024 17:34:03 +0000 (0:00:00.023) 0:00:44.947 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 06 February 2024 17:34:03 +0000 (0:00:00.023) 0:00:44.970 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/assert_profile_absent.yml:5 Tuesday 06 February 2024 17:34:03 +0000 (0:00:00.023) 0:00:44.994 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/run_test.yml:42 Tuesday 06 February 2024 17:34:03 +0000 (0:00:00.023) 0:00:45.017 ****** TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/run_test.yml:47 Tuesday 06 February 2024 17:34:03 +0000 (0:00:00.020) 0:00:45.038 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/run_test.yml:66 Tuesday 06 February 2024 17:34:03 +0000 (0:00:00.022) 0:00:45.061 ****** included: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 06 February 2024 17:34:03 +0000 (0:00:00.065) 0:00:45.127 ****** 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.054287", "end": "2024-02-06 17:34:03.438270", "rc": 0, "start": "2024-02-06 17:34:03.383983" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tests_states.yml:103 Tuesday 06 February 2024 17:34:03 +0000 (0:00:00.255) 0:00:45.383 ****** included: /WORKDIR/git-bond_options_rewritexh39axfg/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_rewritexh39axfg/tests/playbooks/tasks/run_test.yml:5 Tuesday 06 February 2024 17:34:03 +0000 (0:00:00.037) 0:00:45.420 ****** ok: [sut] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/run_test.yml:9 Tuesday 06 February 2024 17:34:03 +0000 (0:00:00.022) 0:00:45.443 ****** 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_rewritexh39axfg/tests/playbooks/tasks/run_test.yml:21 Tuesday 06 February 2024 17:34:03 +0000 (0:00:00.046) 0:00:45.490 ****** included: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 06 February 2024 17:34:03 +0000 (0:00:00.036) 0:00:45.526 ****** included: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 06 February 2024 17:34:03 +0000 (0:00:00.034) 0:00:45.561 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003546", "end": "2024-02-06 17:34:03.821702", "rc": 0, "start": "2024-02-06 17:34:03.818156" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 06 February 2024 17:34:03 +0000 (0:00:00.203) 0:00:45.764 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 06 February 2024 17:34:03 +0000 (0:00:00.023) 0:00:45.788 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/run_test.yml:24 Tuesday 06 February 2024 17:34:03 +0000 (0:00:00.021) 0:00:45.809 ****** included: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 06 February 2024 17:34:03 +0000 (0:00:00.072) 0:00:45.882 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 17:34:04 +0000 (0:00:00.037) 0:00:45.919 ****** included: /WORKDIR/git-bond_options_rewritexh39axfg/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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 17:34:04 +0000 (0:00:00.041) 0:00:45.961 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 17:34:04 +0000 (0:00:00.027) 0:00:45.989 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 17:34:04 +0000 (0:00:00.022) 0:00:46.011 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 17:34:04 +0000 (0:00:00.022) 0:00:46.034 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 17:34:05 +0000 (0:00:01.571) 0:00:47.605 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 17:34:07 +0000 (0:00:01.330) 0:00:48.935 ****** ok: [sut] => {} MSG: Using network provider: initscripts TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 17:34:07 +0000 (0:00:00.023) 0:00:48.958 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 17:34:07 +0000 (0:00:00.022) 0:00:48.981 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 17:34:07 +0000 (0:00:00.022) 0:00:49.003 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 17:34:07 +0000 (0:00:00.043) 0:00:49.047 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 17:34:07 +0000 (0:00:00.022) 0:00:49.069 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 17:34:07 +0000 (0:00:00.022) 0:00:49.091 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 17:34:07 +0000 (0:00:00.024) 0:00:49.116 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 17:34:07 +0000 (0:00:00.022) 0:00:49.138 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 17:34:07 +0000 (0:00:00.045) 0:00:49.184 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 17:34:07 +0000 (0:00:00.348) 0:00:49.532 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-18665mvj549lb/tmpt419mb0l" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 17:34:07 +0000 (0:00:00.298) 0:00:49.831 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 17:34:08 +0000 (0:00:00.293) 0:00:50.124 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 17:34:08 +0000 (0:00:00.022) 0:00:50.147 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 17:34:08 +0000 (0:00:00.022) 0:00:50.170 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 17:34:08 +0000 (0:00:00.023) 0:00:50.193 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 17:34:08 +0000 (0:00:00.022) 0:00:50.215 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 06 February 2024 17:34:08 +0000 (0:00:00.194) 0:00:50.410 ****** 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_rewritexh39axfg/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 06 February 2024 17:34:08 +0000 (0:00:00.022) 0:00:50.433 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 17:34:08 +0000 (0:00:00.036) 0:00:50.469 ****** included: /WORKDIR/git-bond_options_rewritexh39axfg/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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 17:34:08 +0000 (0:00:00.062) 0:00:50.532 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 17:34:08 +0000 (0:00:00.028) 0:00:50.560 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 17:34:08 +0000 (0:00:00.022) 0:00:50.583 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 17:34:08 +0000 (0:00:00.021) 0:00:50.604 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 17:34:10 +0000 (0:00:01.594) 0:00:52.199 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 17:34:11 +0000 (0:00:01.308) 0:00:53.508 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 17:34:11 +0000 (0:00:00.024) 0:00:53.532 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 17:34:11 +0000 (0:00:00.022) 0:00:53.554 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 17:34:11 +0000 (0:00:00.022) 0:00:53.576 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 17:34:11 +0000 (0:00:00.045) 0:00:53.622 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 17:34:11 +0000 (0:00:00.023) 0:00:53.645 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 17:34:11 +0000 (0:00:00.021) 0:00:53.667 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 17:34:11 +0000 (0:00:00.025) 0:00:53.693 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 17:34:11 +0000 (0:00:00.022) 0:00:53.715 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 17:34:11 +0000 (0:00:00.021) 0:00:53.736 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 17:34:12 +0000 (0:00:00.349) 0:00:54.086 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-18665mvj549lb/tmpjp1s1l8r" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 17:34:12 +0000 (0:00:00.309) 0:00:54.396 ****** 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='b''', err='b"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\n"' TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 17:34:13 +0000 (0:00:00.561) 0:00:54.957 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 17:34:13 +0000 (0:00:00.022) 0:00:54.980 ****** 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='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 17:34:13 +0000 (0:00:00.023) 0:00:55.003 ****** 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='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'\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='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 17:34:13 +0000 (0:00:00.022) 0:00:55.026 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 17:34:13 +0000 (0:00:00.022) 0:00:55.048 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/remove_profile.yml:3 Tuesday 06 February 2024 17:34:13 +0000 (0:00:00.193) 0:00:55.242 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 17:34:13 +0000 (0:00:00.037) 0:00:55.279 ****** included: /WORKDIR/git-bond_options_rewritexh39axfg/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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 17:34:13 +0000 (0:00:00.040) 0:00:55.319 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 17:34:13 +0000 (0:00:00.027) 0:00:55.346 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 17:34:13 +0000 (0:00:00.021) 0:00:55.368 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 17:34:13 +0000 (0:00:00.045) 0:00:55.414 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 17:34:15 +0000 (0:00:01.586) 0:00:57.001 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 17:34:16 +0000 (0:00:01.309) 0:00:58.310 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 17:34:16 +0000 (0:00:00.024) 0:00:58.335 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 17:34:16 +0000 (0:00:00.043) 0:00:58.379 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 17:34:16 +0000 (0:00:00.024) 0:00:58.404 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 17:34:16 +0000 (0:00:00.045) 0:00:58.450 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 17:34:16 +0000 (0:00:00.023) 0:00:58.473 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 17:34:16 +0000 (0:00:00.022) 0:00:58.495 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 17:34:16 +0000 (0:00:00.025) 0:00:58.521 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 17:34:16 +0000 (0:00:00.022) 0:00:58.543 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 17:34:16 +0000 (0:00:00.022) 0:00:58.565 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 17:34:17 +0000 (0:00:00.348) 0:00:58.913 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-18665mvj549lb/tmpub57k1ud" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 17:34:17 +0000 (0:00:00.299) 0:00:59.213 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 17:34:17 +0000 (0:00:00.300) 0:00:59.513 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 17:34:17 +0000 (0:00:00.022) 0:00:59.535 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 17:34:17 +0000 (0:00:00.023) 0:00:59.559 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 17:34:17 +0000 (0:00:00.047) 0:00:59.607 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 17:34:17 +0000 (0:00:00.023) 0:00:59.630 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/run_test.yml:30 Tuesday 06 February 2024 17:34:17 +0000 (0:00:00.194) 0:00:59.825 ****** included: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/remove+down_profile.yml:3 Tuesday 06 February 2024 17:34:17 +0000 (0:00:00.041) 0:00:59.866 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 17:34:17 +0000 (0:00:00.042) 0:00:59.908 ****** included: /WORKDIR/git-bond_options_rewritexh39axfg/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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 17:34:18 +0000 (0:00:00.040) 0:00:59.949 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 17:34:18 +0000 (0:00:00.027) 0:00:59.976 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 17:34:18 +0000 (0:00:00.022) 0:00:59.998 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 17:34:18 +0000 (0:00:00.021) 0:01:00.020 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 17:34:19 +0000 (0:00:01.593) 0:01:01.614 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 17:34:21 +0000 (0:00:01.307) 0:01:02.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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 17:34:21 +0000 (0:00:00.024) 0:01:02.946 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 17:34:21 +0000 (0:00:00.022) 0:01:02.969 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 17:34:21 +0000 (0:00:00.022) 0:01:02.991 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 17:34:21 +0000 (0:00:00.066) 0:01:03.058 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 17:34:21 +0000 (0:00:00.022) 0:01:03.080 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 17:34:21 +0000 (0:00:00.022) 0:01:03.102 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 17:34:21 +0000 (0:00:00.025) 0:01:03.128 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 17:34:21 +0000 (0:00:00.021) 0:01:03.149 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 17:34:21 +0000 (0:00:00.022) 0:01:03.171 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 17:34:21 +0000 (0:00:00.346) 0:01:03.518 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-18665mvj549lb/tmpf7pia402" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 17:34:21 +0000 (0:00:00.297) 0:01:03.815 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 17:34:22 +0000 (0:00:00.290) 0:01:04.106 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 17:34:22 +0000 (0:00:00.021) 0:01:04.128 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 17:34:22 +0000 (0:00:00.023) 0:01:04.151 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 17:34:22 +0000 (0:00:00.023) 0:01:04.174 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 17:34:22 +0000 (0:00:00.021) 0:01:04.196 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/run_test.yml:36 Tuesday 06 February 2024 17:34:22 +0000 (0:00:00.192) 0:01:04.388 ****** included: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/assert_profile_absent.yml:3 Tuesday 06 February 2024 17:34:22 +0000 (0:00:00.041) 0:01:04.430 ****** included: /WORKDIR/git-bond_options_rewritexh39axfg/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_rewritexh39axfg/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 06 February 2024 17:34:22 +0000 (0:00:00.037) 0:01:04.467 ****** 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_rewritexh39axfg/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 06 February 2024 17:34:22 +0000 (0:00:00.022) 0:01:04.489 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 06 February 2024 17:34:22 +0000 (0:00:00.197) 0:01:04.687 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 06 February 2024 17:34:22 +0000 (0:00:00.021) 0:01:04.708 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022724", "end": "2024-02-06 17:34:22.985683", "rc": 1, "start": "2024-02-06 17:34:22.962959" } 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_rewritexh39axfg/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 06 February 2024 17:34:23 +0000 (0:00:00.219) 0:01:04.928 ****** 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_rewritexh39axfg/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 06 February 2024 17:34:23 +0000 (0:00:00.023) 0:01:04.951 ****** 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_rewritexh39axfg/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 06 February 2024 17:34:23 +0000 (0:00:00.023) 0:01:04.975 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 06 February 2024 17:34:23 +0000 (0:00:00.023) 0:01:04.998 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 06 February 2024 17:34:23 +0000 (0:00:00.021) 0:01:05.020 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/assert_profile_absent.yml:5 Tuesday 06 February 2024 17:34:23 +0000 (0:00:00.022) 0:01:05.042 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/run_test.yml:42 Tuesday 06 February 2024 17:34:23 +0000 (0:00:00.047) 0:01:05.090 ****** 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_rewritexh39axfg/tests/playbooks/tasks/run_test.yml:47 Tuesday 06 February 2024 17:34:23 +0000 (0:00:00.026) 0:01:05.116 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/run_test.yml:66 Tuesday 06 February 2024 17:34:23 +0000 (0:00:00.023) 0:01:05.139 ****** included: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 06 February 2024 17:34:23 +0000 (0:00:00.040) 0:01:05.180 ****** 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.053875", "end": "2024-02-06 17:34:23.489042", "rc": 0, "start": "2024-02-06 17:34:23.435167" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tests_states.yml:126 Tuesday 06 February 2024 17:34:23 +0000 (0:00:00.254) 0:01:05.434 ****** included: /WORKDIR/git-bond_options_rewritexh39axfg/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_rewritexh39axfg/tests/playbooks/tasks/run_test.yml:5 Tuesday 06 February 2024 17:34:23 +0000 (0:00:00.037) 0:01:05.471 ****** 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_rewritexh39axfg/tests/playbooks/tasks/run_test.yml:9 Tuesday 06 February 2024 17:34:23 +0000 (0:00:00.022) 0:01:05.494 ****** 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_rewritexh39axfg/tests/playbooks/tasks/run_test.yml:21 Tuesday 06 February 2024 17:34:23 +0000 (0:00:00.045) 0:01:05.539 ****** included: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 06 February 2024 17:34:23 +0000 (0:00:00.036) 0:01:05.576 ****** included: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 06 February 2024 17:34:23 +0000 (0:00:00.034) 0:01:05.610 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003517", "end": "2024-02-06 17:34:23.867509", "rc": 0, "start": "2024-02-06 17:34:23.863992" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 06 February 2024 17:34:23 +0000 (0:00:00.198) 0:01:05.809 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 06 February 2024 17:34:23 +0000 (0:00:00.057) 0:01:05.866 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/run_test.yml:24 Tuesday 06 February 2024 17:34:23 +0000 (0:00:00.024) 0:01:05.891 ****** included: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 06 February 2024 17:34:24 +0000 (0:00:00.045) 0:01:05.937 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 17:34:24 +0000 (0:00:00.037) 0:01:05.975 ****** included: /WORKDIR/git-bond_options_rewritexh39axfg/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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 17:34:24 +0000 (0:00:00.043) 0:01:06.018 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 17:34:24 +0000 (0:00:00.027) 0:01:06.046 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 17:34:24 +0000 (0:00:00.022) 0:01:06.069 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 17:34:24 +0000 (0:00:00.022) 0:01:06.091 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 17:34:25 +0000 (0:00:01.546) 0:01:07.638 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 17:34:27 +0000 (0:00:01.305) 0:01:08.944 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 17:34:27 +0000 (0:00:00.023) 0:01:08.968 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 17:34:27 +0000 (0:00:00.023) 0:01:08.991 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 17:34:27 +0000 (0:00:00.022) 0:01:09.013 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 17:34:27 +0000 (0:00:00.044) 0:01:09.058 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 17:34:27 +0000 (0:00:00.023) 0:01:09.081 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 17:34:27 +0000 (0:00:00.023) 0:01:09.104 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 17:34:27 +0000 (0:00:00.067) 0:01:09.172 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 17:34:27 +0000 (0:00:00.022) 0:01:09.194 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 17:34:27 +0000 (0:00:00.022) 0:01:09.217 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 17:34:27 +0000 (0:00:00.344) 0:01:09.561 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-18665mvj549lb/tmp0ph4jpah" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 17:34:27 +0000 (0:00:00.297) 0:01:09.858 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 17:34:28 +0000 (0:00:00.292) 0:01:10.150 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 17:34:28 +0000 (0:00:00.022) 0:01:10.173 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 17:34:28 +0000 (0:00:00.022) 0:01:10.195 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 17:34:28 +0000 (0:00:00.023) 0:01:10.218 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 17:34:28 +0000 (0:00:00.022) 0:01:10.240 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 06 February 2024 17:34:28 +0000 (0:00:00.193) 0:01:10.434 ****** 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_rewritexh39axfg/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 06 February 2024 17:34:28 +0000 (0:00:00.022) 0:01:10.457 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 17:34:28 +0000 (0:00:00.060) 0:01:10.517 ****** included: /WORKDIR/git-bond_options_rewritexh39axfg/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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 17:34:28 +0000 (0:00:00.040) 0:01:10.558 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 17:34:28 +0000 (0:00:00.027) 0:01:10.586 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 17:34:28 +0000 (0:00:00.021) 0:01:10.607 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 17:34:28 +0000 (0:00:00.024) 0:01:10.632 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 17:34:30 +0000 (0:00:01.550) 0:01:12.182 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 17:34:31 +0000 (0:00:01.330) 0:01:13.512 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 17:34:31 +0000 (0:00:00.023) 0:01:13.536 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 17:34:31 +0000 (0:00:00.021) 0:01:13.558 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 17:34:31 +0000 (0:00:00.021) 0:01:13.579 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 17:34:31 +0000 (0:00:00.043) 0:01:13.623 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 17:34:31 +0000 (0:00:00.021) 0:01:13.645 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 17:34:31 +0000 (0:00:00.021) 0:01:13.666 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 17:34:31 +0000 (0:00:00.024) 0:01:13.691 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 17:34:31 +0000 (0:00:00.021) 0:01:13.712 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 17:34:31 +0000 (0:00:00.021) 0:01:13.734 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 17:34:32 +0000 (0:00:00.346) 0:01:14.081 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-18665mvj549lb/tmp35txo4x4" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 17:34:32 +0000 (0:00:00.299) 0:01:14.380 ****** 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='b''', err='b"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\n"' TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 17:34:33 +0000 (0:00:00.557) 0:01:14.938 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 17:34:33 +0000 (0:00:00.023) 0:01:14.961 ****** 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='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 17:34:33 +0000 (0:00:00.023) 0:01:14.984 ****** 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='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'\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='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 17:34:33 +0000 (0:00:00.023) 0:01:15.007 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 17:34:33 +0000 (0:00:00.022) 0:01:15.030 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/remove+down_profile.yml:3 Tuesday 06 February 2024 17:34:33 +0000 (0:00:00.193) 0:01:15.223 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 17:34:33 +0000 (0:00:00.036) 0:01:15.259 ****** included: /WORKDIR/git-bond_options_rewritexh39axfg/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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 17:34:33 +0000 (0:00:00.065) 0:01:15.325 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 17:34:33 +0000 (0:00:00.028) 0:01:15.353 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 17:34:33 +0000 (0:00:00.022) 0:01:15.376 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 17:34:33 +0000 (0:00:00.022) 0:01:15.398 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 17:34:35 +0000 (0:00:01.576) 0:01:16.975 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 17:34:36 +0000 (0:00:01.326) 0:01:18.302 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 17:34:36 +0000 (0:00:00.023) 0:01:18.325 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 17:34:36 +0000 (0:00:00.022) 0:01:18.347 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 17:34:36 +0000 (0:00:00.022) 0:01:18.369 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 17:34:36 +0000 (0:00:00.043) 0:01:18.413 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 17:34:36 +0000 (0:00:00.022) 0:01:18.436 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 17:34:36 +0000 (0:00:00.022) 0:01:18.458 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 17:34:36 +0000 (0:00:00.025) 0:01:18.483 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 17:34:36 +0000 (0:00:00.022) 0:01:18.506 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 17:34:36 +0000 (0:00:00.022) 0:01:18.528 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 17:34:36 +0000 (0:00:00.348) 0:01:18.876 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-18665mvj549lb/tmp_najqi4_" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 17:34:37 +0000 (0:00:00.298) 0:01:19.174 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 17:34:37 +0000 (0:00:00.359) 0:01:19.534 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 17:34:37 +0000 (0:00:00.022) 0:01:19.557 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 17:34:37 +0000 (0:00:00.022) 0:01:19.580 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 17:34:37 +0000 (0:00:00.023) 0:01:19.603 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 17:34:37 +0000 (0:00:00.022) 0:01:19.626 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/run_test.yml:30 Tuesday 06 February 2024 17:34:37 +0000 (0:00:00.194) 0:01:19.820 ****** included: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/remove+down_profile.yml:3 Tuesday 06 February 2024 17:34:37 +0000 (0:00:00.039) 0:01:19.860 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 17:34:37 +0000 (0:00:00.037) 0:01:19.898 ****** included: /WORKDIR/git-bond_options_rewritexh39axfg/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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 17:34:38 +0000 (0:00:00.040) 0:01:19.938 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 17:34:38 +0000 (0:00:00.026) 0:01:19.965 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 17:34:38 +0000 (0:00:00.021) 0:01:19.986 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 17:34:38 +0000 (0:00:00.021) 0:01:20.008 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 17:34:39 +0000 (0:00:01.549) 0:01:21.557 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 17:34:40 +0000 (0:00:01.304) 0:01:22.862 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 17:34:40 +0000 (0:00:00.023) 0:01:22.885 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 17:34:41 +0000 (0:00:00.040) 0:01:22.925 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 17:34:41 +0000 (0:00:00.022) 0:01:22.948 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 17:34:41 +0000 (0:00:00.043) 0:01:22.992 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 17:34:41 +0000 (0:00:00.022) 0:01:23.014 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 17:34:41 +0000 (0:00:00.022) 0:01:23.036 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 17:34:41 +0000 (0:00:00.025) 0:01:23.061 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 17:34:41 +0000 (0:00:00.022) 0:01:23.084 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 17:34:41 +0000 (0:00:00.022) 0:01:23.106 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 17:34:41 +0000 (0:00:00.344) 0:01:23.451 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-18665mvj549lb/tmp8d6raxwd" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 17:34:41 +0000 (0:00:00.296) 0:01:23.747 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 17:34:42 +0000 (0:00:00.289) 0:01:24.037 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 17:34:42 +0000 (0:00:00.022) 0:01:24.059 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 17:34:42 +0000 (0:00:00.022) 0:01:24.081 ****** 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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 17:34:42 +0000 (0:00:00.047) 0:01:24.129 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 17:34:42 +0000 (0:00:00.022) 0:01:24.151 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/run_test.yml:36 Tuesday 06 February 2024 17:34:42 +0000 (0:00:00.193) 0:01:24.345 ****** included: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/assert_profile_absent.yml for sut included: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/get_NetworkManager_NVR.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/assert_profile_absent.yml:3 Tuesday 06 February 2024 17:34:42 +0000 (0:00:00.044) 0:01:24.390 ****** included: /WORKDIR/git-bond_options_rewritexh39axfg/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_rewritexh39axfg/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 06 February 2024 17:34:42 +0000 (0:00:00.038) 0:01:24.428 ****** 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_rewritexh39axfg/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 06 February 2024 17:34:42 +0000 (0:00:00.021) 0:01:24.450 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 06 February 2024 17:34:42 +0000 (0:00:00.195) 0:01:24.646 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 06 February 2024 17:34:42 +0000 (0:00:00.023) 0:01:24.669 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022989", "end": "2024-02-06 17:34:42.950211", "rc": 1, "start": "2024-02-06 17:34:42.927222" } 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_rewritexh39axfg/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 06 February 2024 17:34:42 +0000 (0:00:00.222) 0:01:24.891 ****** 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_rewritexh39axfg/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 06 February 2024 17:34:43 +0000 (0:00:00.023) 0:01:24.915 ****** 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_rewritexh39axfg/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 06 February 2024 17:34:43 +0000 (0:00:00.022) 0:01:24.938 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 06 February 2024 17:34:43 +0000 (0:00:00.022) 0:01:24.960 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 06 February 2024 17:34:43 +0000 (0:00:00.047) 0:01:25.008 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/assert_profile_absent.yml:5 Tuesday 06 February 2024 17:34:43 +0000 (0:00:00.023) 0:01:25.031 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/get_NetworkManager_NVR.yml:7 Tuesday 06 February 2024 17:34:43 +0000 (0:00:00.026) 0:01:25.058 ****** ok: [sut] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.945729", "end": "2024-02-06 17:34:44.260300", "rc": 0, "start": "2024-02-06 17:34:43.314571" } STDOUT: NetworkManager-1.40.16-14.el8 TASK [Store NetworkManager version] ******************************************** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/get_NetworkManager_NVR.yml:14 Tuesday 06 February 2024 17:34:44 +0000 (0:00:01.146) 0:01:26.204 ****** ok: [sut] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.40.16-14.el8" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/get_NetworkManager_NVR.yml:18 Tuesday 06 February 2024 17:34:44 +0000 (0:00:00.024) 0:01:26.228 ****** ok: [sut] => { "networkmanager_nvr": "NetworkManager-1.40.16-14.el8" } TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/run_test.yml:42 Tuesday 06 February 2024 17:34:44 +0000 (0:00:00.023) 0:01:26.251 ****** 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_rewritexh39axfg/tests/playbooks/tasks/run_test.yml:47 Tuesday 06 February 2024 17:34:44 +0000 (0:00:00.025) 0:01:26.277 ****** 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_rewritexh39axfg/tests/playbooks/tasks/run_test.yml:66 Tuesday 06 February 2024 17:34:44 +0000 (0:00:00.023) 0:01:26.300 ****** included: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewritexh39axfg/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 06 February 2024 17:34:44 +0000 (0:00:00.041) 0:01:26.342 ****** 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.050197", "end": "2024-02-06 17:34:44.647992", "rc": 0, "start": "2024-02-06 17:34:44.597795" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=333 changed=13 unreachable=0 failed=0 skipped=226 rescued=0 ignored=10 Tuesday 06 February 2024 17:34:44 +0000 (0:00:00.237) 0:01:26.579 ****** =============================================================================== linux-system-roles.network : Configure networking connection profiles --- 2.29s /WORKDIR/git-bond_options_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:125 linux-system-roles.network : Enable network service --------------------- 1.86s /WORKDIR/git-bond_options_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:108 linux-system-roles.network : Check which services are running ----------- 1.61s /WORKDIR/git-bond_options_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.61s /WORKDIR/git-bond_options_rewritexh39axfg/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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.59s /WORKDIR/git-bond_options_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.59s /WORKDIR/git-bond_options_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Configure networking connection profiles --- 1.59s /WORKDIR/git-bond_options_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:125 linux-system-roles.network : Check which services are running ----------- 1.59s /WORKDIR/git-bond_options_rewritexh39axfg/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_rewritexh39axfg/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_rewritexh39axfg/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_rewritexh39axfg/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_rewritexh39axfg/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_rewritexh39axfg/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_rewritexh39axfg/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_rewritexh39axfg/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_rewritexh39axfg/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_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Ensure initscripts network file dependency is present --- 1.49s /WORKDIR/git-bond_options_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/main.yml:116 linux-system-roles.network : Check which packages are installed --------- 1.45s /WORKDIR/git-bond_options_rewritexh39axfg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- [WARNING]: Consider using the dnf module rather than running 'dnf'. If you need to use command because dnf 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. [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. ---^---^---^---^---^---