# 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_rewriteyaeol4yf/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_rewriteyaeol4yf/tests/tests_states_initscripts.yml:5 Tuesday 06 February 2024 21:28:46 +0000 (0:00:00.012) 0:00:00.012 ****** ok: [sut] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/tests_states_initscripts.yml:8 Tuesday 06 February 2024 21:28:47 +0000 (0:00:00.653) 0:00:00.665 ****** included: /WORKDIR/git-bond_options_rewriteyaeol4yf/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_rewriteyaeol4yf/tests/tasks/el_repo_setup.yml:3 Tuesday 06 February 2024 21:28:47 +0000 (0:00:00.023) 0:00:00.689 ****** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/tasks/el_repo_setup.yml:19 Tuesday 06 February 2024 21:28:47 +0000 (0:00:00.370) 0:00:01.060 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/tasks/el_repo_setup.yml:24 Tuesday 06 February 2024 21:28:47 +0000 (0:00:00.273) 0:00:01.333 ****** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/tasks/el_repo_setup.yml:28 Tuesday 06 February 2024 21:28:47 +0000 (0:00:00.020) 0:00:01.353 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/tasks/el_repo_setup.yml:53 Tuesday 06 February 2024 21:28:47 +0000 (0:00:00.018) 0:00:01.372 ****** included: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 8] *********************************************************** task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/tasks/enable_epel.yml:8 Tuesday 06 February 2024 21:28:47 +0000 (0:00:00.042) 0:00:01.415 ****** 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_rewriteyaeol4yf/tests/tasks/enable_epel.yml:24 Tuesday 06 February 2024 21:28:48 +0000 (0:00:00.257) 0:00:01.672 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/tasks/enable_epel.yml:30 Tuesday 06 February 2024 21:28:48 +0000 (0:00:00.010) 0:00:01.683 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/tasks/enable_epel.yml:35 Tuesday 06 February 2024 21:28:48 +0000 (0:00:00.010) 0:00:01.693 ****** ok: [sut] => { "changed": false, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:00.266895", "end": "2024-02-06 21:28:48.656715", "rc": 0, "start": "2024-02-06 21:28:48.389820" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/tasks/enable_epel.yml:40 Tuesday 06 February 2024 21:28:48 +0000 (0:00:00.482) 0:00:02.176 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'initscripts'] *********************************** task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/tests_states_initscripts.yml:10 Tuesday 06 February 2024 21:28:48 +0000 (0:00:00.029) 0:00:02.206 ****** 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_rewriteyaeol4yf/tests/playbooks/tests_states.yml:3 Tuesday 06 February 2024 21:28:48 +0000 (0:00:00.030) 0:00:02.236 ****** ok: [sut] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/playbooks/tests_states.yml:11 Tuesday 06 February 2024 21:28:49 +0000 (0:00:00.524) 0:00:02.761 ****** ok: [sut] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/playbooks/tests_states.yml:22 Tuesday 06 February 2024 21:28:49 +0000 (0:00:00.010) 0:00:02.772 ****** included: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile] ******************************************** task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/playbooks/tasks/run_test.yml:5 Tuesday 06 February 2024 21:28:49 +0000 (0:00:00.017) 0:00:02.789 ****** ok: [sut] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/playbooks/tasks/run_test.yml:9 Tuesday 06 February 2024 21:28:49 +0000 (0:00:00.012) 0:00:02.802 ****** 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_rewriteyaeol4yf/tests/playbooks/tasks/run_test.yml:21 Tuesday 06 February 2024 21:28:49 +0000 (0:00:00.035) 0:00:02.838 ****** included: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 06 February 2024 21:28:49 +0000 (0:00:00.014) 0:00:02.852 ****** included: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 06 February 2024 21:28:49 +0000 (0:00:00.013) 0:00:02.866 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003586", "end": "2024-02-06 21:28:49.568579", "rc": 0, "start": "2024-02-06 21:28:49.564993" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 06 February 2024 21:28:49 +0000 (0:00:00.215) 0:00:03.081 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 06 February 2024 21:28:49 +0000 (0:00:00.013) 0:00:03.094 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/playbooks/tasks/run_test.yml:24 Tuesday 06 February 2024 21:28:49 +0000 (0:00:00.011) 0:00:03.106 ****** included: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/playbooks/tasks/delete_interface.yml:3 Tuesday 06 February 2024 21:28:49 +0000 (0:00:00.021) 0:00:03.128 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.008891", "end": "2024-02-06 21:28:49.836580", "rc": 1, "start": "2024-02-06 21:28:49.827689" } 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_rewriteyaeol4yf/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 06 February 2024 21:28:49 +0000 (0:00:00.215) 0:00:03.343 ****** included: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 06 February 2024 21:28:49 +0000 (0:00:00.015) 0:00:03.358 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 06 February 2024 21:28:50 +0000 (0:00:00.203) 0:00:03.562 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/playbooks/tasks/run_test.yml:30 Tuesday 06 February 2024 21:28:50 +0000 (0:00:00.013) 0:00:03.575 ****** included: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 06 February 2024 21:28:50 +0000 (0:00:00.018) 0:00:03.594 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 21:28:50 +0000 (0:00:00.032) 0:00:03.627 ****** included: /WORKDIR/git-bond_options_rewriteyaeol4yf/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_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 21:28:50 +0000 (0:00:00.069) 0:00:03.696 ****** 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_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 21:28:50 +0000 (0:00:00.013) 0:00:03.710 ****** 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_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 21:28:50 +0000 (0:00:00.010) 0:00:03.721 ****** 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_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 21:28:50 +0000 (0:00:00.010) 0:00:03.731 ****** 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_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 21:28:52 +0000 (0:00:01.767) 0:00:05.499 ****** 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_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 21:28:53 +0000 (0:00:01.618) 0:00:07.117 ****** 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_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 21:28:53 +0000 (0:00:00.032) 0:00:07.150 ****** 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_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 21:28:53 +0000 (0:00:00.021) 0:00:07.171 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 21:28:53 +0000 (0:00:00.022) 0:00:07.193 ****** 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_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 21:28:53 +0000 (0:00:00.044) 0:00:07.238 ****** 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_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 21:28:53 +0000 (0:00:00.021) 0:00:07.259 ****** 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_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 21:28:53 +0000 (0:00:00.021) 0:00:07.281 ****** 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_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 21:28:53 +0000 (0:00:00.029) 0:00:07.311 ****** 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_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 21:28:53 +0000 (0:00:00.025) 0:00:07.337 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 21:28:53 +0000 (0:00:00.034) 0:00:07.371 ****** 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_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 21:28:54 +0000 (0:00:00.532) 0:00:07.903 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-19890n0qmhdsl/tmpd_9pna1n" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 21:28:54 +0000 (0:00:00.324) 0:00:08.228 ****** 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_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 21:28:55 +0000 (0:00:00.471) 0:00:08.699 ****** 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_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 21:28:55 +0000 (0:00:00.035) 0:00:08.734 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 21:28:55 +0000 (0:00:00.060) 0:00:08.795 ****** 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_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 21:28:55 +0000 (0:00:00.025) 0:00:08.820 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 21:28:55 +0000 (0:00:00.022) 0:00:08.843 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 06 February 2024 21:28:55 +0000 (0:00:00.260) 0:00:09.103 ****** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/playbooks/tasks/run_test.yml:36 Tuesday 06 February 2024 21:28:55 +0000 (0:00:00.024) 0:00:09.128 ****** included: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 06 February 2024 21:28:55 +0000 (0:00:00.043) 0:00:09.172 ****** included: /WORKDIR/git-bond_options_rewriteyaeol4yf/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_rewriteyaeol4yf/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 06 February 2024 21:28:55 +0000 (0:00:00.041) 0:00:09.213 ****** 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_rewriteyaeol4yf/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 06 February 2024 21:28:55 +0000 (0:00:00.037) 0:00:09.251 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1707254935.1783438, "block_size": 4096, "blocks": 8, "ctime": 1707254935.1783438, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 5898113, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1707254935.1783438, "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_rewriteyaeol4yf/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 06 February 2024 21:28:55 +0000 (0:00:00.220) 0:00:09.472 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 06 February 2024 21:28:56 +0000 (0:00:00.025) 0:00:09.497 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021288", "end": "2024-02-06 21:28:56.218815", "rc": 1, "start": "2024-02-06 21:28:56.197527" } 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_rewriteyaeol4yf/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 06 February 2024 21:28:56 +0000 (0:00:00.241) 0:00:09.738 ****** 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_rewriteyaeol4yf/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 06 February 2024 21:28:56 +0000 (0:00:00.026) 0:00:09.765 ****** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003481", "end": "2024-02-06 21:28:56.473536", "rc": 0, "start": "2024-02-06 21:28:56.470055" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 06 February 2024 21:28:56 +0000 (0:00:00.235) 0:00:10.001 ****** 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_rewriteyaeol4yf/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 06 February 2024 21:28:56 +0000 (0:00:00.048) 0:00:10.049 ****** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003477", "end": "2024-02-06 21:28:56.762504", "rc": 0, "start": "2024-02-06 21:28:56.759027" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 06 February 2024 21:28:56 +0000 (0:00:00.234) 0:00:10.283 ****** 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_rewriteyaeol4yf/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 06 February 2024 21:28:56 +0000 (0:00:00.028) 0:00:10.312 ****** 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_rewriteyaeol4yf/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 06 February 2024 21:28:56 +0000 (0:00:00.035) 0:00:10.347 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 06 February 2024 21:28:56 +0000 (0:00:00.027) 0:00:10.374 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/playbooks/tasks/run_test.yml:42 Tuesday 06 February 2024 21:28:56 +0000 (0:00:00.024) 0:00:10.399 ****** 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_rewriteyaeol4yf/tests/playbooks/tasks/run_test.yml:47 Tuesday 06 February 2024 21:28:56 +0000 (0:00:00.024) 0:00:10.424 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/playbooks/tasks/run_test.yml:66 Tuesday 06 February 2024 21:28:56 +0000 (0:00:00.024) 0:00:10.448 ****** included: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 06 February 2024 21:28:57 +0000 (0:00:00.041) 0:00:10.490 ****** 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.040384", "end": "2024-02-06 21:28:57.230805", "rc": 1, "start": "2024-02-06 21:28:57.190421" } 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_rewriteyaeol4yf/tests/playbooks/tests_states.yml:45 Tuesday 06 February 2024 21:28:57 +0000 (0:00:00.284) 0:00:10.774 ****** included: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile without autoconnect] ************************ task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/playbooks/tasks/run_test.yml:5 Tuesday 06 February 2024 21:28:57 +0000 (0:00:00.044) 0:00:10.819 ****** ok: [sut] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/playbooks/tasks/run_test.yml:9 Tuesday 06 February 2024 21:28:57 +0000 (0:00:00.038) 0:00:10.857 ****** 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_rewriteyaeol4yf/tests/playbooks/tasks/run_test.yml:21 Tuesday 06 February 2024 21:28:57 +0000 (0:00:00.055) 0:00:10.912 ****** included: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 06 February 2024 21:28:57 +0000 (0:00:00.060) 0:00:10.973 ****** included: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 06 February 2024 21:28:57 +0000 (0:00:00.046) 0:00:11.020 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003564", "end": "2024-02-06 21:28:57.729256", "rc": 0, "start": "2024-02-06 21:28:57.725692" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 06 February 2024 21:28:57 +0000 (0:00:00.228) 0:00:11.248 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 06 February 2024 21:28:57 +0000 (0:00:00.022) 0:00:11.271 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/playbooks/tasks/run_test.yml:24 Tuesday 06 February 2024 21:28:57 +0000 (0:00:00.021) 0:00:11.292 ****** included: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/playbooks/tasks/delete_interface.yml:3 Tuesday 06 February 2024 21:28:57 +0000 (0:00:00.040) 0:00:11.333 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.006831", "end": "2024-02-06 21:28:58.037635", "rc": 1, "start": "2024-02-06 21:28:58.030804" } 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_rewriteyaeol4yf/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 06 February 2024 21:28:58 +0000 (0:00:00.222) 0:00:11.555 ****** included: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 06 February 2024 21:28:58 +0000 (0:00:00.062) 0:00:11.618 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 06 February 2024 21:28:58 +0000 (0:00:00.221) 0:00:11.840 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/playbooks/tasks/run_test.yml:30 Tuesday 06 February 2024 21:28:58 +0000 (0:00:00.024) 0:00:11.864 ****** included: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Tuesday 06 February 2024 21:28:58 +0000 (0:00:00.040) 0:00:11.904 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 21:28:58 +0000 (0:00:00.042) 0:00:11.947 ****** included: /WORKDIR/git-bond_options_rewriteyaeol4yf/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_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 21:28:58 +0000 (0:00:00.041) 0:00:11.988 ****** 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_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 21:28:58 +0000 (0:00:00.027) 0:00:12.015 ****** 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_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 21:28:58 +0000 (0:00:00.021) 0:00:12.037 ****** 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_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 21:28:58 +0000 (0:00:00.021) 0:00:12.058 ****** 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_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 21:29:00 +0000 (0:00:01.738) 0:00:13.797 ****** 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_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 21:29:01 +0000 (0:00:01.433) 0:00:15.231 ****** 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_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 21:29:01 +0000 (0:00:00.022) 0:00:15.253 ****** 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_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 21:29:01 +0000 (0:00:00.021) 0:00:15.275 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 21:29:01 +0000 (0:00:00.040) 0:00:15.316 ****** 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_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 21:29:01 +0000 (0:00:00.044) 0:00:15.360 ****** 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_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 21:29:01 +0000 (0:00:00.022) 0:00:15.382 ****** 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_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 21:29:01 +0000 (0:00:00.023) 0:00:15.406 ****** 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_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 21:29:01 +0000 (0:00:00.027) 0:00:15.433 ****** 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_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 21:29:01 +0000 (0:00:00.026) 0:00:15.460 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 21:29:01 +0000 (0:00:00.025) 0:00:15.485 ****** 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_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 21:29:02 +0000 (0:00:00.388) 0:00:15.874 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-19890n0qmhdsl/tmp4i6wkeb4" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 21:29:02 +0000 (0:00:00.327) 0:00:16.201 ****** 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_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 21:29:03 +0000 (0:00:00.330) 0:00:16.532 ****** 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_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 21:29:03 +0000 (0:00:00.025) 0:00:16.557 ****** 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_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 21:29:03 +0000 (0:00:00.027) 0:00:16.584 ****** 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_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 21:29:03 +0000 (0:00:00.024) 0:00:16.609 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 21:29:03 +0000 (0:00:00.052) 0:00:16.661 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Tuesday 06 February 2024 21:29:03 +0000 (0:00:00.226) 0:00:16.887 ****** 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_rewriteyaeol4yf/tests/playbooks/tasks/run_test.yml:36 Tuesday 06 February 2024 21:29:03 +0000 (0:00:00.024) 0:00:16.912 ****** included: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/playbooks/tasks/assert_device_absent.yml for sut included: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 06 February 2024 21:29:03 +0000 (0:00:00.046) 0:00:16.959 ****** included: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 06 February 2024 21:29:03 +0000 (0:00:00.037) 0:00:16.996 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 06 February 2024 21:29:03 +0000 (0:00:00.220) 0:00:17.217 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 06 February 2024 21:29:03 +0000 (0:00:00.024) 0:00:17.242 ****** included: /WORKDIR/git-bond_options_rewriteyaeol4yf/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_rewriteyaeol4yf/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 06 February 2024 21:29:03 +0000 (0:00:00.039) 0:00:17.281 ****** 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_rewriteyaeol4yf/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 06 February 2024 21:29:03 +0000 (0:00:00.024) 0:00:17.306 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1707254943.0093403, "block_size": 4096, "blocks": 8, "ctime": 1707254943.0093403, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 5898113, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1707254943.0093403, "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_rewriteyaeol4yf/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 06 February 2024 21:29:04 +0000 (0:00:00.219) 0:00:17.525 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 06 February 2024 21:29:04 +0000 (0:00:00.026) 0:00:17.552 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020503", "end": "2024-02-06 21:29:04.273802", "rc": 1, "start": "2024-02-06 21:29:04.253299" } 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_rewriteyaeol4yf/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 06 February 2024 21:29:04 +0000 (0:00:00.266) 0:00:17.819 ****** 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_rewriteyaeol4yf/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 06 February 2024 21:29:04 +0000 (0:00:00.025) 0:00:17.845 ****** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003537", "end": "2024-02-06 21:29:04.550529", "rc": 0, "start": "2024-02-06 21:29:04.546992" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 06 February 2024 21:29:04 +0000 (0:00:00.227) 0:00:18.073 ****** 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_rewriteyaeol4yf/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 06 February 2024 21:29:04 +0000 (0:00:00.029) 0:00:18.102 ****** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003613", "end": "2024-02-06 21:29:04.808708", "rc": 0, "start": "2024-02-06 21:29:04.805095" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 06 February 2024 21:29:04 +0000 (0:00:00.227) 0:00:18.330 ****** 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_rewriteyaeol4yf/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 06 February 2024 21:29:04 +0000 (0:00:00.027) 0:00:18.358 ****** 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_rewriteyaeol4yf/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 06 February 2024 21:29:04 +0000 (0:00:00.024) 0:00:18.383 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 06 February 2024 21:29:04 +0000 (0:00:00.024) 0:00:18.407 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/playbooks/tasks/run_test.yml:42 Tuesday 06 February 2024 21:29:04 +0000 (0:00:00.022) 0:00:18.430 ****** TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/playbooks/tasks/run_test.yml:47 Tuesday 06 February 2024 21:29:04 +0000 (0:00:00.020) 0:00:18.450 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/playbooks/tasks/run_test.yml:66 Tuesday 06 February 2024 21:29:04 +0000 (0:00:00.022) 0:00:18.473 ****** included: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 06 February 2024 21:29:05 +0000 (0:00:00.043) 0:00:18.517 ****** 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.039844", "end": "2024-02-06 21:29:05.257523", "rc": 1, "start": "2024-02-06 21:29:05.217679" } 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_rewriteyaeol4yf/tests/playbooks/tests_states.yml:65 Tuesday 06 February 2024 21:29:05 +0000 (0:00:00.258) 0:00:18.775 ****** included: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can activate an existing profile] ******************************** task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/playbooks/tasks/run_test.yml:5 Tuesday 06 February 2024 21:29:05 +0000 (0:00:00.060) 0:00:18.835 ****** ok: [sut] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/playbooks/tasks/run_test.yml:9 Tuesday 06 February 2024 21:29:05 +0000 (0:00:00.023) 0:00:18.859 ****** 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_rewriteyaeol4yf/tests/playbooks/tasks/run_test.yml:21 Tuesday 06 February 2024 21:29:05 +0000 (0:00:00.046) 0:00:18.905 ****** included: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 06 February 2024 21:29:05 +0000 (0:00:00.035) 0:00:18.941 ****** included: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 06 February 2024 21:29:05 +0000 (0:00:00.035) 0:00:18.977 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003713", "end": "2024-02-06 21:29:05.677159", "rc": 0, "start": "2024-02-06 21:29:05.673446" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 06 February 2024 21:29:05 +0000 (0:00:00.220) 0:00:19.197 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 06 February 2024 21:29:05 +0000 (0:00:00.023) 0:00:19.220 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/playbooks/tasks/run_test.yml:24 Tuesday 06 February 2024 21:29:05 +0000 (0:00:00.022) 0:00:19.243 ****** included: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 06 February 2024 21:29:05 +0000 (0:00:00.038) 0:00:19.281 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 21:29:05 +0000 (0:00:00.036) 0:00:19.317 ****** included: /WORKDIR/git-bond_options_rewriteyaeol4yf/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_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 21:29:05 +0000 (0:00:00.062) 0:00:19.380 ****** 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_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 21:29:05 +0000 (0:00:00.028) 0:00:19.408 ****** 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_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 21:29:05 +0000 (0:00:00.021) 0:00:19.430 ****** 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_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 21:29:05 +0000 (0:00:00.021) 0:00:19.452 ****** 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_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 21:29:07 +0000 (0:00:01.723) 0:00:21.175 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 21:29:09 +0000 (0:00:01.451) 0:00:22.627 ****** 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_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 21:29:09 +0000 (0:00:00.024) 0:00:22.651 ****** 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_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 21:29:09 +0000 (0:00:00.023) 0:00:22.675 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 21:29:09 +0000 (0:00:00.032) 0:00:22.708 ****** 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_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 21:29:09 +0000 (0:00:00.062) 0:00:22.770 ****** 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_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 21:29:09 +0000 (0:00:00.036) 0:00:22.806 ****** 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_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 21:29:09 +0000 (0:00:00.024) 0:00:22.830 ****** 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_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 21:29:09 +0000 (0:00:00.027) 0:00:22.858 ****** 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_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 21:29:09 +0000 (0:00:00.029) 0:00:22.888 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 21:29:09 +0000 (0:00:00.031) 0:00:22.919 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 21:29:09 +0000 (0:00:00.396) 0:00:23.315 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-19890n0qmhdsl/tmp92fe5i_m" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 21:29:10 +0000 (0:00:00.347) 0:00:23.663 ****** 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_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 21:29:10 +0000 (0:00:00.323) 0:00:23.986 ****** 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_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 21:29:10 +0000 (0:00:00.022) 0:00:24.008 ****** 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_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 21:29:10 +0000 (0:00:00.024) 0:00:24.033 ****** 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_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 21:29:10 +0000 (0:00:00.023) 0:00:24.056 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 21:29:10 +0000 (0:00:00.022) 0:00:24.079 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 06 February 2024 21:29:10 +0000 (0:00:00.210) 0:00:24.289 ****** 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_rewriteyaeol4yf/tests/playbooks/tasks/run_test.yml:30 Tuesday 06 February 2024 21:29:10 +0000 (0:00:00.023) 0:00:24.313 ****** included: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 06 February 2024 21:29:10 +0000 (0:00:00.038) 0:00:24.351 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 21:29:10 +0000 (0:00:00.040) 0:00:24.392 ****** included: /WORKDIR/git-bond_options_rewriteyaeol4yf/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_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 21:29:10 +0000 (0:00:00.040) 0:00:24.432 ****** 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_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 21:29:11 +0000 (0:00:00.057) 0:00:24.490 ****** 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_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 21:29:11 +0000 (0:00:00.023) 0:00:24.513 ****** 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_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 21:29:11 +0000 (0:00:00.022) 0:00:24.535 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 21:29:12 +0000 (0:00:01.712) 0:00:26.247 ****** 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_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 21:29:14 +0000 (0:00:01.488) 0:00:27.736 ****** 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_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 21:29:14 +0000 (0:00:00.024) 0:00:27.760 ****** 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_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 21:29:14 +0000 (0:00:00.022) 0:00:27.783 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 21:29:14 +0000 (0:00:00.028) 0:00:27.812 ****** 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_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 21:29:14 +0000 (0:00:00.061) 0:00:27.874 ****** 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_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 21:29:14 +0000 (0:00:00.023) 0:00:27.897 ****** 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_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 21:29:14 +0000 (0:00:00.024) 0:00:27.921 ****** 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_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 21:29:14 +0000 (0:00:00.030) 0:00:27.952 ****** 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_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 21:29:14 +0000 (0:00:00.025) 0:00:27.978 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 21:29:14 +0000 (0:00:00.023) 0:00:28.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 : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 21:29:14 +0000 (0:00:00.391) 0:00:28.393 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-19890n0qmhdsl/tmpti6wro0k" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 21:29:15 +0000 (0:00:00.329) 0:00:28.723 ****** 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_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 21:29:16 +0000 (0:00:00.814) 0:00:29.537 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 21:29:16 +0000 (0:00:00.030) 0:00:29.567 ****** 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_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 21:29:16 +0000 (0:00:00.031) 0:00:29.599 ****** 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_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 21:29:16 +0000 (0:00:00.027) 0:00:29.627 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 21:29:16 +0000 (0:00:00.043) 0:00:29.670 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/playbooks/tasks/run_test.yml:36 Tuesday 06 February 2024 21:29:16 +0000 (0:00:00.216) 0:00:29.887 ****** included: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 06 February 2024 21:29:16 +0000 (0:00:00.046) 0:00:29.934 ****** included: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 06 February 2024 21:29:16 +0000 (0:00:00.036) 0:00:29.971 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1707254955.9015, "block_size": 4096, "blocks": 0, "ctime": 1707254955.9015, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 28133, "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": 1707254955.9015, "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_rewriteyaeol4yf/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 06 February 2024 21:29:16 +0000 (0:00:00.217) 0:00:30.189 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 06 February 2024 21:29:16 +0000 (0:00:00.024) 0:00:30.214 ****** included: /WORKDIR/git-bond_options_rewriteyaeol4yf/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_rewriteyaeol4yf/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 06 February 2024 21:29:16 +0000 (0:00:00.060) 0:00:30.274 ****** 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_rewriteyaeol4yf/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 06 February 2024 21:29:16 +0000 (0:00:00.023) 0:00:30.298 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1707254955.5853348, "block_size": 4096, "blocks": 8, "ctime": 1707254950.4643369, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 5898113, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1707254950.4643369, "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_rewriteyaeol4yf/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 06 February 2024 21:29:17 +0000 (0:00:00.217) 0:00:30.516 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 06 February 2024 21:29:17 +0000 (0:00:00.024) 0:00:30.540 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021230", "end": "2024-02-06 21:29:17.261119", "rc": 1, "start": "2024-02-06 21:29:17.239889" } 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_rewriteyaeol4yf/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 06 February 2024 21:29:17 +0000 (0:00:00.241) 0:00:30.781 ****** 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_rewriteyaeol4yf/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 06 February 2024 21:29:17 +0000 (0:00:00.023) 0:00:30.805 ****** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003519", "end": "2024-02-06 21:29:17.507282", "rc": 0, "start": "2024-02-06 21:29:17.503763" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 06 February 2024 21:29:17 +0000 (0:00:00.224) 0:00:31.029 ****** 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_rewriteyaeol4yf/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 06 February 2024 21:29:17 +0000 (0:00:00.027) 0:00:31.057 ****** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:01.004754", "end": "2024-02-06 21:29:18.764897", "rc": 0, "start": "2024-02-06 21:29:17.760143" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 06 February 2024 21:29:18 +0000 (0:00:01.229) 0:00:32.286 ****** 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_rewriteyaeol4yf/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 06 February 2024 21:29:18 +0000 (0:00:00.049) 0:00:32.336 ****** 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_rewriteyaeol4yf/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 06 February 2024 21:29:18 +0000 (0:00:00.025) 0:00:32.361 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 06 February 2024 21:29:18 +0000 (0:00:00.024) 0:00:32.385 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/playbooks/tasks/run_test.yml:42 Tuesday 06 February 2024 21:29:18 +0000 (0:00:00.023) 0:00:32.409 ****** TASK [Success in test 'I can activate an existing profile'] ******************** task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/playbooks/tasks/run_test.yml:47 Tuesday 06 February 2024 21:29:18 +0000 (0:00:00.019) 0:00:32.429 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/playbooks/tasks/run_test.yml:66 Tuesday 06 February 2024 21:29:18 +0000 (0:00:00.023) 0:00:32.452 ****** included: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 06 February 2024 21:29:19 +0000 (0:00:00.040) 0:00:32.493 ****** 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.046893", "end": "2024-02-06 21:29:19.240438", "rc": 0, "start": "2024-02-06 21:29:19.193545" } 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_rewriteyaeol4yf/tests/playbooks/tests_states.yml:83 Tuesday 06 February 2024 21:29:19 +0000 (0:00:00.269) 0:00:32.763 ****** included: /WORKDIR/git-bond_options_rewriteyaeol4yf/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_rewriteyaeol4yf/tests/playbooks/tasks/run_test.yml:5 Tuesday 06 February 2024 21:29:19 +0000 (0:00:00.037) 0:00:32.800 ****** ok: [sut] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/playbooks/tasks/run_test.yml:9 Tuesday 06 February 2024 21:29:19 +0000 (0:00:00.023) 0:00:32.824 ****** 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_rewriteyaeol4yf/tests/playbooks/tasks/run_test.yml:21 Tuesday 06 February 2024 21:29:19 +0000 (0:00:00.048) 0:00:32.872 ****** included: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 06 February 2024 21:29:19 +0000 (0:00:00.060) 0:00:32.933 ****** included: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 06 February 2024 21:29:19 +0000 (0:00:00.098) 0:00:33.031 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003629", "end": "2024-02-06 21:29:19.766180", "rc": 0, "start": "2024-02-06 21:29:19.762551" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 06 February 2024 21:29:19 +0000 (0:00:00.262) 0:00:33.293 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 06 February 2024 21:29:19 +0000 (0:00:00.025) 0:00:33.319 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/playbooks/tasks/run_test.yml:24 Tuesday 06 February 2024 21:29:19 +0000 (0:00:00.025) 0:00:33.344 ****** included: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 06 February 2024 21:29:19 +0000 (0:00:00.041) 0:00:33.386 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 21:29:19 +0000 (0:00:00.039) 0:00:33.426 ****** included: /WORKDIR/git-bond_options_rewriteyaeol4yf/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_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 21:29:19 +0000 (0:00:00.042) 0:00:33.468 ****** 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_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 21:29:20 +0000 (0:00:00.027) 0:00:33.496 ****** 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_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 21:29:20 +0000 (0:00:00.022) 0:00:33.519 ****** 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_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 21:29:20 +0000 (0:00:00.023) 0:00:33.543 ****** 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_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 21:29:21 +0000 (0:00:01.718) 0:00:35.261 ****** 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_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 21:29:23 +0000 (0:00:01.433) 0:00:36.694 ****** 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_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 21:29:23 +0000 (0:00:00.024) 0:00:36.719 ****** 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_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 21:29:23 +0000 (0:00:00.023) 0:00:36.742 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 21:29:23 +0000 (0:00:00.045) 0:00:36.788 ****** 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_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 21:29:23 +0000 (0:00:00.046) 0:00:36.834 ****** 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_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 21:29:23 +0000 (0:00:00.022) 0:00:36.857 ****** 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_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 21:29:23 +0000 (0:00:00.024) 0:00:36.881 ****** 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_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 21:29:23 +0000 (0:00:00.029) 0:00:36.911 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 21:29:23 +0000 (0:00:00.022) 0:00:36.934 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 21:29:23 +0000 (0:00:00.023) 0:00:36.957 ****** 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_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 21:29:23 +0000 (0:00:00.393) 0:00:37.350 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-19890n0qmhdsl/tmpao8ctzwy" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 21:29:24 +0000 (0:00:00.327) 0:00:37.678 ****** 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_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 21:29:24 +0000 (0:00:00.336) 0:00:38.014 ****** 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_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 21:29:24 +0000 (0:00:00.025) 0:00:38.039 ****** 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_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 21:29:24 +0000 (0:00:00.036) 0:00:38.076 ****** 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_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 21:29:24 +0000 (0:00:00.032) 0:00:38.109 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 21:29:24 +0000 (0:00:00.069) 0:00:38.178 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 06 February 2024 21:29:24 +0000 (0:00:00.213) 0:00:38.392 ****** 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_rewriteyaeol4yf/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 06 February 2024 21:29:24 +0000 (0:00:00.024) 0:00:38.417 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 21:29:24 +0000 (0:00:00.039) 0:00:38.456 ****** included: /WORKDIR/git-bond_options_rewriteyaeol4yf/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_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 21:29:25 +0000 (0:00:00.041) 0:00:38.497 ****** 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_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 21:29:25 +0000 (0:00:00.028) 0:00:38.526 ****** 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_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 21:29:25 +0000 (0:00:00.029) 0:00:38.555 ****** 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_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 21:29:25 +0000 (0:00:00.024) 0:00:38.579 ****** 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_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 21:29:26 +0000 (0:00:01.734) 0:00:40.314 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 21:29:28 +0000 (0:00:01.436) 0:00:41.750 ****** 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_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 21:29:28 +0000 (0:00:00.023) 0:00:41.774 ****** 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_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 21:29:28 +0000 (0:00:00.022) 0:00:41.796 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 21:29:28 +0000 (0:00:00.023) 0:00:41.819 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 21:29:28 +0000 (0:00:00.044) 0:00:41.864 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 21:29:28 +0000 (0:00:00.022) 0:00:41.887 ****** 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_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 21:29:28 +0000 (0:00:00.021) 0:00:41.909 ****** 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_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 21:29:28 +0000 (0:00:00.048) 0:00:41.958 ****** 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_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 21:29:28 +0000 (0:00:00.022) 0:00:41.980 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 21:29:28 +0000 (0:00:00.022) 0:00:42.002 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 21:29:28 +0000 (0:00:00.383) 0:00:42.386 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-19890n0qmhdsl/tmpu2kz4coa" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 21:29:29 +0000 (0:00:00.320) 0:00:42.706 ****** 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_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 21:29:29 +0000 (0:00:00.607) 0:00:43.314 ****** 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_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 21:29:29 +0000 (0:00:00.021) 0:00:43.336 ****** 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_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 21:29:29 +0000 (0:00:00.023) 0:00:43.359 ****** 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_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 21:29:29 +0000 (0:00:00.024) 0:00:43.384 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 21:29:29 +0000 (0:00:00.024) 0:00:43.409 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/playbooks/tasks/run_test.yml:30 Tuesday 06 February 2024 21:29:30 +0000 (0:00:00.216) 0:00:43.625 ****** included: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/playbooks/tasks/remove_profile.yml:3 Tuesday 06 February 2024 21:29:30 +0000 (0:00:00.067) 0:00:43.692 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 21:29:30 +0000 (0:00:00.043) 0:00:43.736 ****** included: /WORKDIR/git-bond_options_rewriteyaeol4yf/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_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 21:29:30 +0000 (0:00:00.041) 0:00:43.778 ****** 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_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 21:29:30 +0000 (0:00:00.028) 0:00:43.806 ****** 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_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 21:29:30 +0000 (0:00:00.022) 0:00:43.828 ****** 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_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 21:29:30 +0000 (0:00:00.021) 0:00:43.850 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 21:29:32 +0000 (0:00:01.698) 0:00:45.548 ****** 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_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 21:29:33 +0000 (0:00:01.458) 0:00:47.007 ****** 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_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 21:29:33 +0000 (0:00:00.024) 0:00:47.031 ****** 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_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 21:29:33 +0000 (0:00:00.027) 0:00:47.059 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 21:29:33 +0000 (0:00:00.026) 0:00:47.086 ****** 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_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 21:29:33 +0000 (0:00:00.047) 0:00:47.133 ****** 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_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 21:29:33 +0000 (0:00:00.022) 0:00:47.156 ****** 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_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 21:29:33 +0000 (0:00:00.021) 0:00:47.177 ****** 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_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 21:29:33 +0000 (0:00:00.025) 0:00:47.203 ****** 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_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 21:29:33 +0000 (0:00:00.044) 0:00:47.247 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 21:29:33 +0000 (0:00:00.022) 0:00:47.269 ****** 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_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 21:29:34 +0000 (0:00:00.390) 0:00:47.660 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-19890n0qmhdsl/tmpakxs6dfc" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 21:29:34 +0000 (0:00:00.327) 0:00:47.988 ****** 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_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 21:29:34 +0000 (0:00:00.334) 0:00:48.322 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 21:29:34 +0000 (0:00:00.022) 0:00:48.345 ****** 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_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 21:29:34 +0000 (0:00:00.022) 0:00:48.368 ****** 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_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 21:29:34 +0000 (0:00:00.023) 0:00:48.391 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 21:29:34 +0000 (0:00:00.022) 0:00:48.414 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/playbooks/tasks/run_test.yml:36 Tuesday 06 February 2024 21:29:35 +0000 (0:00:00.218) 0:00:48.633 ****** included: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 06 February 2024 21:29:35 +0000 (0:00:00.049) 0:00:48.682 ****** included: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 06 February 2024 21:29:35 +0000 (0:00:00.088) 0:00:48.771 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1707254969.699394, "block_size": 4096, "blocks": 0, "ctime": 1707254969.699394, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 28264, "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": 1707254969.699394, "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_rewriteyaeol4yf/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 06 February 2024 21:29:35 +0000 (0:00:00.217) 0:00:48.989 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/playbooks/tasks/assert_profile_absent.yml:3 Tuesday 06 February 2024 21:29:35 +0000 (0:00:00.024) 0:00:49.013 ****** included: /WORKDIR/git-bond_options_rewriteyaeol4yf/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_rewriteyaeol4yf/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 06 February 2024 21:29:35 +0000 (0:00:00.038) 0:00:49.052 ****** 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_rewriteyaeol4yf/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 06 February 2024 21:29:35 +0000 (0:00:00.022) 0:00:49.074 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 06 February 2024 21:29:35 +0000 (0:00:00.214) 0:00:49.289 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 06 February 2024 21:29:35 +0000 (0:00:00.022) 0:00:49.312 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020291", "end": "2024-02-06 21:29:36.027947", "rc": 1, "start": "2024-02-06 21:29:36.007656" } 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_rewriteyaeol4yf/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 06 February 2024 21:29:36 +0000 (0:00:00.235) 0:00:49.548 ****** 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_rewriteyaeol4yf/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 06 February 2024 21:29:36 +0000 (0:00:00.024) 0:00:49.572 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 06 February 2024 21:29:36 +0000 (0:00:00.024) 0:00:49.596 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 06 February 2024 21:29:36 +0000 (0:00:00.024) 0:00:49.621 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 06 February 2024 21:29:36 +0000 (0:00:00.023) 0:00:49.645 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/playbooks/tasks/assert_profile_absent.yml:5 Tuesday 06 February 2024 21:29:36 +0000 (0:00:00.057) 0:00:49.702 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/playbooks/tasks/run_test.yml:42 Tuesday 06 February 2024 21:29:36 +0000 (0:00:00.043) 0:00:49.745 ****** TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/playbooks/tasks/run_test.yml:47 Tuesday 06 February 2024 21:29:36 +0000 (0:00:00.031) 0:00:49.777 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/playbooks/tasks/run_test.yml:66 Tuesday 06 February 2024 21:29:36 +0000 (0:00:00.027) 0:00:49.804 ****** included: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 06 February 2024 21:29:36 +0000 (0:00:00.052) 0:00:49.857 ****** 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.046339", "end": "2024-02-06 21:29:36.599021", "rc": 0, "start": "2024-02-06 21:29:36.552682" } 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_rewriteyaeol4yf/tests/playbooks/tests_states.yml:103 Tuesday 06 February 2024 21:29:36 +0000 (0:00:00.266) 0:00:50.123 ****** included: /WORKDIR/git-bond_options_rewriteyaeol4yf/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_rewriteyaeol4yf/tests/playbooks/tasks/run_test.yml:5 Tuesday 06 February 2024 21:29:36 +0000 (0:00:00.042) 0:00:50.165 ****** ok: [sut] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/playbooks/tasks/run_test.yml:9 Tuesday 06 February 2024 21:29:36 +0000 (0:00:00.023) 0:00:50.189 ****** 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_rewriteyaeol4yf/tests/playbooks/tasks/run_test.yml:21 Tuesday 06 February 2024 21:29:36 +0000 (0:00:00.051) 0:00:50.241 ****** included: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 06 February 2024 21:29:36 +0000 (0:00:00.041) 0:00:50.283 ****** included: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 06 February 2024 21:29:36 +0000 (0:00:00.038) 0:00:50.321 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003785", "end": "2024-02-06 21:29:37.023404", "rc": 0, "start": "2024-02-06 21:29:37.019619" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 06 February 2024 21:29:37 +0000 (0:00:00.249) 0:00:50.570 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 06 February 2024 21:29:37 +0000 (0:00:00.025) 0:00:50.596 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/playbooks/tasks/run_test.yml:24 Tuesday 06 February 2024 21:29:37 +0000 (0:00:00.024) 0:00:50.620 ****** included: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 06 February 2024 21:29:37 +0000 (0:00:00.048) 0:00:50.668 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 21:29:37 +0000 (0:00:00.038) 0:00:50.707 ****** included: /WORKDIR/git-bond_options_rewriteyaeol4yf/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_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 21:29:37 +0000 (0:00:00.041) 0:00:50.749 ****** 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_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 21:29:37 +0000 (0:00:00.029) 0:00:50.778 ****** 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_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 21:29:37 +0000 (0:00:00.022) 0:00:50.801 ****** 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_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 21:29:37 +0000 (0:00:00.022) 0:00:50.823 ****** 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_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 21:29:39 +0000 (0:00:01.685) 0:00:52.509 ****** 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_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 21:29:40 +0000 (0:00:01.431) 0:00:53.941 ****** 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_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 21:29:40 +0000 (0:00:00.031) 0:00:53.972 ****** 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_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 21:29:40 +0000 (0:00:00.025) 0:00:53.998 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 21:29:40 +0000 (0:00:00.023) 0:00:54.021 ****** 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_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 21:29:40 +0000 (0:00:00.044) 0:00:54.065 ****** 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_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 21:29:40 +0000 (0:00:00.046) 0:00:54.112 ****** 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_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 21:29:40 +0000 (0:00:00.022) 0:00:54.134 ****** 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_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 21:29:40 +0000 (0:00:00.030) 0:00:54.164 ****** 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_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 21:29:40 +0000 (0:00:00.025) 0:00:54.189 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 21:29:40 +0000 (0:00:00.023) 0:00:54.213 ****** 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_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 21:29:41 +0000 (0:00:00.389) 0:00:54.603 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-19890n0qmhdsl/tmpdnbu_t7k" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 21:29:41 +0000 (0:00:00.328) 0:00:54.931 ****** 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_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 21:29:41 +0000 (0:00:00.331) 0:00:55.263 ****** 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_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 21:29:41 +0000 (0:00:00.023) 0:00:55.287 ****** 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_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 21:29:41 +0000 (0:00:00.026) 0:00:55.313 ****** 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_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 21:29:41 +0000 (0:00:00.036) 0:00:55.349 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 21:29:41 +0000 (0:00:00.027) 0:00:55.377 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 06 February 2024 21:29:42 +0000 (0:00:00.252) 0:00:55.629 ****** 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_rewriteyaeol4yf/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 06 February 2024 21:29:42 +0000 (0:00:00.032) 0:00:55.662 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 21:29:42 +0000 (0:00:00.038) 0:00:55.700 ****** included: /WORKDIR/git-bond_options_rewriteyaeol4yf/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_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 21:29:42 +0000 (0:00:00.041) 0:00:55.741 ****** 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_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 21:29:42 +0000 (0:00:00.031) 0:00:55.773 ****** 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_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 21:29:42 +0000 (0:00:00.023) 0:00:55.796 ****** 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_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 21:29:42 +0000 (0:00:00.026) 0:00:55.823 ****** 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_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 21:29:44 +0000 (0:00:01.730) 0:00:57.554 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 21:29:45 +0000 (0:00:01.434) 0:00:58.988 ****** 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_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 21:29:45 +0000 (0:00:00.026) 0:00:59.014 ****** 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_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 21:29:45 +0000 (0:00:00.022) 0:00:59.037 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 21:29:45 +0000 (0:00:00.022) 0:00:59.060 ****** 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_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 21:29:45 +0000 (0:00:00.046) 0:00:59.106 ****** 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_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 21:29:45 +0000 (0:00:00.021) 0:00:59.128 ****** 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_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 21:29:45 +0000 (0:00:00.022) 0:00:59.150 ****** 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_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 21:29:45 +0000 (0:00:00.024) 0:00:59.175 ****** 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_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 21:29:45 +0000 (0:00:00.044) 0:00:59.219 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 21:29:45 +0000 (0:00:00.023) 0:00:59.242 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 21:29:46 +0000 (0:00:00.382) 0:00:59.625 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-19890n0qmhdsl/tmp72qqy_x8" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 21:29:46 +0000 (0:00:00.322) 0:00:59.948 ****** 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_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 21:29:47 +0000 (0:00:00.635) 0:01:00.583 ****** 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_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 21:29:47 +0000 (0:00:00.025) 0:01:00.609 ****** 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_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 21:29:47 +0000 (0:00:00.024) 0:01:00.633 ****** 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_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 21:29:47 +0000 (0:00:00.023) 0:01:00.657 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 21:29:47 +0000 (0:00:00.021) 0:01:00.679 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/playbooks/tasks/remove_profile.yml:3 Tuesday 06 February 2024 21:29:47 +0000 (0:00:00.210) 0:01:00.889 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 21:29:47 +0000 (0:00:00.118) 0:01:01.007 ****** included: /WORKDIR/git-bond_options_rewriteyaeol4yf/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_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 21:29:47 +0000 (0:00:00.056) 0:01:01.064 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 21:29:47 +0000 (0:00:00.039) 0:01:01.103 ****** 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_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 21:29:47 +0000 (0:00:00.040) 0:01:01.144 ****** 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_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 21:29:47 +0000 (0:00:00.023) 0:01:01.167 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 21:29:49 +0000 (0:00:01.717) 0:01:02.884 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 21:29:50 +0000 (0:00:01.458) 0:01:04.343 ****** 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_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 21:29:50 +0000 (0:00:00.024) 0:01:04.367 ****** 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_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 21:29:50 +0000 (0:00:00.023) 0:01:04.391 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 21:29:50 +0000 (0:00:00.023) 0:01:04.414 ****** 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_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 21:29:50 +0000 (0:00:00.047) 0:01:04.462 ****** 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_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 21:29:50 +0000 (0:00:00.025) 0:01:04.487 ****** 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_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 21:29:51 +0000 (0:00:00.031) 0:01:04.519 ****** 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_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 21:29:51 +0000 (0:00:00.028) 0:01:04.547 ****** 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_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 21:29:51 +0000 (0:00:00.022) 0:01:04.570 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 21:29:51 +0000 (0:00:00.022) 0:01:04.592 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 21:29:51 +0000 (0:00:00.389) 0:01:04.981 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-19890n0qmhdsl/tmph2jf6otv" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 21:29:51 +0000 (0:00:00.326) 0:01:05.308 ****** 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_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 21:29:52 +0000 (0:00:00.355) 0:01:05.664 ****** 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_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 21:29:52 +0000 (0:00:00.024) 0:01:05.689 ****** 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_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 21:29:52 +0000 (0:00:00.026) 0:01:05.715 ****** 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_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 21:29:52 +0000 (0:00:00.025) 0:01:05.740 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 21:29:52 +0000 (0:00:00.024) 0:01:05.764 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/playbooks/tasks/run_test.yml:30 Tuesday 06 February 2024 21:29:52 +0000 (0:00:00.217) 0:01:05.982 ****** included: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/playbooks/tasks/remove+down_profile.yml:3 Tuesday 06 February 2024 21:29:52 +0000 (0:00:00.047) 0:01:06.029 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 21:29:52 +0000 (0:00:00.044) 0:01:06.073 ****** included: /WORKDIR/git-bond_options_rewriteyaeol4yf/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_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 21:29:52 +0000 (0:00:00.087) 0:01:06.161 ****** 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_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 21:29:52 +0000 (0:00:00.033) 0:01:06.194 ****** 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_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 21:29:52 +0000 (0:00:00.022) 0:01:06.217 ****** 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_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 21:29:52 +0000 (0:00:00.031) 0:01:06.248 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 21:29:54 +0000 (0:00:01.730) 0:01:07.979 ****** 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_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 21:29:55 +0000 (0:00:01.440) 0:01:09.420 ****** ok: [sut] => {} MSG: Using network provider: initscripts TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 21:29:55 +0000 (0:00:00.023) 0:01:09.443 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 21:29:55 +0000 (0:00:00.021) 0:01:09.465 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 21:29:55 +0000 (0:00:00.021) 0:01:09.487 ****** 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_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 21:29:56 +0000 (0:00:00.043) 0:01:09.530 ****** 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_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 21:29:56 +0000 (0:00:00.022) 0:01:09.553 ****** 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_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 21:29:56 +0000 (0:00:00.024) 0:01:09.577 ****** 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_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 21:29:56 +0000 (0:00:00.025) 0:01:09.603 ****** 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_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 21:29:56 +0000 (0:00:00.022) 0:01:09.625 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 21:29:56 +0000 (0:00:00.022) 0:01:09.647 ****** 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_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 21:29:56 +0000 (0:00:00.384) 0:01:10.031 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-19890n0qmhdsl/tmp180yzl6z" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 21:29:56 +0000 (0:00:00.323) 0:01:10.355 ****** 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_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 21:29:57 +0000 (0:00:00.326) 0:01:10.682 ****** 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_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 21:29:57 +0000 (0:00:00.025) 0:01:10.707 ****** 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_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 21:29:57 +0000 (0:00:00.025) 0:01:10.733 ****** 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_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 21:29:57 +0000 (0:00:00.024) 0:01:10.757 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 21:29:57 +0000 (0:00:00.023) 0:01:10.780 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/playbooks/tasks/run_test.yml:36 Tuesday 06 February 2024 21:29:57 +0000 (0:00:00.242) 0:01:11.023 ****** included: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/playbooks/tasks/assert_profile_absent.yml:3 Tuesday 06 February 2024 21:29:57 +0000 (0:00:00.043) 0:01:11.067 ****** included: /WORKDIR/git-bond_options_rewriteyaeol4yf/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_rewriteyaeol4yf/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 06 February 2024 21:29:57 +0000 (0:00:00.049) 0:01:11.116 ****** 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_rewriteyaeol4yf/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 06 February 2024 21:29:57 +0000 (0:00:00.024) 0:01:11.141 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 06 February 2024 21:29:57 +0000 (0:00:00.232) 0:01:11.373 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 06 February 2024 21:29:57 +0000 (0:00:00.050) 0:01:11.423 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020817", "end": "2024-02-06 21:29:58.145053", "rc": 1, "start": "2024-02-06 21:29:58.124236" } 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_rewriteyaeol4yf/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 06 February 2024 21:29:58 +0000 (0:00:00.277) 0:01:11.701 ****** 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_rewriteyaeol4yf/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 06 February 2024 21:29:58 +0000 (0:00:00.032) 0:01:11.733 ****** 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_rewriteyaeol4yf/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 06 February 2024 21:29:58 +0000 (0:00:00.027) 0:01:11.761 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 06 February 2024 21:29:58 +0000 (0:00:00.044) 0:01:11.805 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 06 February 2024 21:29:58 +0000 (0:00:00.025) 0:01:11.830 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/playbooks/tasks/assert_profile_absent.yml:5 Tuesday 06 February 2024 21:29:58 +0000 (0:00:00.045) 0:01:11.876 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/playbooks/tasks/run_test.yml:42 Tuesday 06 February 2024 21:29:58 +0000 (0:00:00.027) 0:01:11.904 ****** 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_rewriteyaeol4yf/tests/playbooks/tasks/run_test.yml:47 Tuesday 06 February 2024 21:29:58 +0000 (0:00:00.027) 0:01:11.932 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/playbooks/tasks/run_test.yml:66 Tuesday 06 February 2024 21:29:58 +0000 (0:00:00.026) 0:01:11.958 ****** included: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 06 February 2024 21:29:58 +0000 (0:00:00.045) 0:01:12.004 ****** 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.048862", "end": "2024-02-06 21:29:58.755027", "rc": 0, "start": "2024-02-06 21:29:58.706165" } 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_rewriteyaeol4yf/tests/playbooks/tests_states.yml:126 Tuesday 06 February 2024 21:29:58 +0000 (0:00:00.290) 0:01:12.294 ****** included: /WORKDIR/git-bond_options_rewriteyaeol4yf/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_rewriteyaeol4yf/tests/playbooks/tasks/run_test.yml:5 Tuesday 06 February 2024 21:29:58 +0000 (0:00:00.118) 0:01:12.413 ****** 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_rewriteyaeol4yf/tests/playbooks/tasks/run_test.yml:9 Tuesday 06 February 2024 21:29:58 +0000 (0:00:00.035) 0:01:12.448 ****** 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_rewriteyaeol4yf/tests/playbooks/tasks/run_test.yml:21 Tuesday 06 February 2024 21:29:59 +0000 (0:00:00.062) 0:01:12.511 ****** included: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 06 February 2024 21:29:59 +0000 (0:00:00.038) 0:01:12.550 ****** included: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 06 February 2024 21:29:59 +0000 (0:00:00.041) 0:01:12.591 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003646", "end": "2024-02-06 21:29:59.313402", "rc": 0, "start": "2024-02-06 21:29:59.309756" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 06 February 2024 21:29:59 +0000 (0:00:00.264) 0:01:12.856 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 06 February 2024 21:29:59 +0000 (0:00:00.037) 0:01:12.894 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/playbooks/tasks/run_test.yml:24 Tuesday 06 February 2024 21:29:59 +0000 (0:00:00.038) 0:01:12.932 ****** included: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 06 February 2024 21:29:59 +0000 (0:00:00.050) 0:01:12.983 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 21:29:59 +0000 (0:00:00.037) 0:01:13.021 ****** included: /WORKDIR/git-bond_options_rewriteyaeol4yf/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_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 21:29:59 +0000 (0:00:00.041) 0:01:13.062 ****** 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_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 21:29:59 +0000 (0:00:00.053) 0:01:13.115 ****** 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_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 21:29:59 +0000 (0:00:00.022) 0:01:13.138 ****** 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_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 21:29:59 +0000 (0:00:00.021) 0:01:13.160 ****** 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_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 21:30:01 +0000 (0:00:01.741) 0:01:14.901 ****** 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_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 21:30:02 +0000 (0:00:01.531) 0:01:16.433 ****** 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_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 21:30:02 +0000 (0:00:00.032) 0:01:16.466 ****** 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_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 21:30:03 +0000 (0:00:00.026) 0:01:16.492 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 21:30:03 +0000 (0:00:00.023) 0:01:16.516 ****** 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_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 21:30:03 +0000 (0:00:00.047) 0:01:16.563 ****** 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_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 21:30:03 +0000 (0:00:00.024) 0:01:16.587 ****** 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_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 21:30:03 +0000 (0:00:00.021) 0:01:16.609 ****** 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_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 21:30:03 +0000 (0:00:00.025) 0:01:16.635 ****** 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_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 21:30:03 +0000 (0:00:00.022) 0:01:16.657 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 21:30:03 +0000 (0:00:00.021) 0:01:16.678 ****** 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_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 21:30:03 +0000 (0:00:00.391) 0:01:17.070 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-19890n0qmhdsl/tmp5l23nw1k" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 21:30:03 +0000 (0:00:00.352) 0:01:17.423 ****** 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_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 21:30:04 +0000 (0:00:00.409) 0:01:17.832 ****** 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_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 21:30:04 +0000 (0:00:00.024) 0:01:17.857 ****** 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_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 21:30:04 +0000 (0:00:00.026) 0:01:17.883 ****** 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_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 21:30:04 +0000 (0:00:00.034) 0:01:17.917 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 21:30:04 +0000 (0:00:00.022) 0:01:17.940 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 06 February 2024 21:30:04 +0000 (0:00:00.217) 0:01:18.158 ****** 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_rewriteyaeol4yf/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 06 February 2024 21:30:04 +0000 (0:00:00.023) 0:01:18.181 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 21:30:04 +0000 (0:00:00.037) 0:01:18.218 ****** included: /WORKDIR/git-bond_options_rewriteyaeol4yf/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_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 21:30:04 +0000 (0:00:00.040) 0:01:18.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_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 21:30:04 +0000 (0:00:00.028) 0:01:18.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_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 21:30:04 +0000 (0:00:00.021) 0:01:18.309 ****** 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_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 21:30:04 +0000 (0:00:00.021) 0:01:18.330 ****** 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_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 21:30:06 +0000 (0:00:01.744) 0:01:20.075 ****** 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_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 21:30:08 +0000 (0:00:01.433) 0:01:21.509 ****** 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_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 21:30:08 +0000 (0:00:00.023) 0:01:21.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_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 21:30:08 +0000 (0:00:00.046) 0:01:21.579 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 21:30:08 +0000 (0:00:00.022) 0:01:21.602 ****** 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_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 21:30:08 +0000 (0:00:00.050) 0:01:21.652 ****** 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_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 21:30:08 +0000 (0:00:00.026) 0:01:21.679 ****** 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_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 21:30:08 +0000 (0:00:00.032) 0:01:21.711 ****** 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_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 21:30:08 +0000 (0:00:00.035) 0:01:21.747 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 21:30:08 +0000 (0:00:00.034) 0:01:21.782 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 21:30:08 +0000 (0:00:00.022) 0:01:21.804 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 21:30:08 +0000 (0:00:00.386) 0:01:22.190 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-19890n0qmhdsl/tmpbrcqs5x2" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 21:30:09 +0000 (0:00:00.324) 0:01:22.515 ****** 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_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 21:30:09 +0000 (0:00:00.606) 0:01:23.122 ****** 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_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 21:30:09 +0000 (0:00:00.022) 0:01:23.144 ****** 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_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 21:30:09 +0000 (0:00:00.047) 0:01:23.192 ****** 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_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 21:30:09 +0000 (0:00:00.025) 0:01:23.217 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 21:30:09 +0000 (0:00:00.021) 0:01:23.239 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/playbooks/tasks/remove+down_profile.yml:3 Tuesday 06 February 2024 21:30:09 +0000 (0:00:00.213) 0:01:23.452 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 21:30:10 +0000 (0:00:00.036) 0:01:23.489 ****** included: /WORKDIR/git-bond_options_rewriteyaeol4yf/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_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 21:30:10 +0000 (0:00:00.040) 0:01:23.530 ****** 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_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 21:30:10 +0000 (0:00:00.028) 0:01:23.559 ****** 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_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 21:30:10 +0000 (0:00:00.023) 0:01:23.582 ****** 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_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 21:30:10 +0000 (0:00:00.023) 0:01:23.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 : Check which packages are installed] ********* task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 21:30:11 +0000 (0:00:01.744) 0:01:25.350 ****** 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_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 21:30:13 +0000 (0:00:01.439) 0:01:26.790 ****** 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_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 21:30:13 +0000 (0:00:00.024) 0:01:26.814 ****** 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_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 21:30:13 +0000 (0:00:00.021) 0:01:26.836 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 21:30:13 +0000 (0:00:00.022) 0:01:26.858 ****** 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_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 21:30:13 +0000 (0:00:00.044) 0:01:26.903 ****** 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_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 21:30:13 +0000 (0:00:00.042) 0:01:26.946 ****** 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_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 21:30:13 +0000 (0:00:00.022) 0:01:26.968 ****** 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_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 21:30:13 +0000 (0:00:00.024) 0:01:26.993 ****** 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_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 21:30:13 +0000 (0:00:00.021) 0:01:27.015 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 21:30:13 +0000 (0:00:00.021) 0:01:27.036 ****** 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_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 21:30:13 +0000 (0:00:00.389) 0:01:27.426 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-19890n0qmhdsl/tmpgj_n_rh7" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 21:30:14 +0000 (0:00:00.326) 0:01:27.752 ****** 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_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 21:30:14 +0000 (0:00:00.345) 0:01:28.098 ****** 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_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 21:30:14 +0000 (0:00:00.022) 0:01:28.121 ****** 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_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 21:30:14 +0000 (0:00:00.024) 0:01:28.146 ****** 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_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 21:30:14 +0000 (0:00:00.022) 0:01:28.169 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 21:30:14 +0000 (0:00:00.021) 0:01:28.190 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/playbooks/tasks/run_test.yml:30 Tuesday 06 February 2024 21:30:14 +0000 (0:00:00.219) 0:01:28.410 ****** included: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/playbooks/tasks/remove+down_profile.yml:3 Tuesday 06 February 2024 21:30:14 +0000 (0:00:00.040) 0:01:28.451 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 21:30:14 +0000 (0:00:00.037) 0:01:28.489 ****** included: /WORKDIR/git-bond_options_rewriteyaeol4yf/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_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 21:30:15 +0000 (0:00:00.041) 0:01:28.530 ****** 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_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 21:30:15 +0000 (0:00:00.028) 0:01:28.559 ****** 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_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 21:30:15 +0000 (0:00:00.022) 0:01:28.581 ****** 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_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 21:30:15 +0000 (0:00:00.021) 0:01:28.603 ****** 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_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 21:30:16 +0000 (0:00:01.719) 0:01:30.322 ****** 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_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 21:30:18 +0000 (0:00:01.436) 0:01:31.759 ****** 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_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 21:30:18 +0000 (0:00:00.029) 0:01:31.789 ****** 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_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 21:30:18 +0000 (0:00:00.023) 0:01:31.812 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 21:30:18 +0000 (0:00:00.022) 0:01:31.835 ****** 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_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 21:30:18 +0000 (0:00:00.045) 0:01:31.881 ****** 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_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 21:30:18 +0000 (0:00:00.025) 0:01:31.906 ****** 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_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 21:30:18 +0000 (0:00:00.024) 0:01:31.930 ****** 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_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 21:30:18 +0000 (0:00:00.052) 0:01:31.982 ****** 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_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 21:30:18 +0000 (0:00:00.022) 0:01:32.005 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 21:30:18 +0000 (0:00:00.022) 0:01:32.027 ****** 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_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 21:30:18 +0000 (0:00:00.383) 0:01:32.411 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-19890n0qmhdsl/tmpe00wk6ny" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 21:30:19 +0000 (0:00:00.317) 0:01:32.728 ****** 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_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 21:30:19 +0000 (0:00:00.318) 0:01:33.046 ****** 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_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 21:30:19 +0000 (0:00:00.022) 0:01:33.069 ****** 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_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 21:30:19 +0000 (0:00:00.022) 0:01:33.092 ****** 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_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 21:30:19 +0000 (0:00:00.023) 0:01:33.115 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 21:30:19 +0000 (0:00:00.022) 0:01:33.138 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/playbooks/tasks/run_test.yml:36 Tuesday 06 February 2024 21:30:19 +0000 (0:00:00.211) 0:01:33.349 ****** included: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/playbooks/tasks/assert_profile_absent.yml for sut included: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/playbooks/tasks/get_NetworkManager_NVR.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/playbooks/tasks/assert_profile_absent.yml:3 Tuesday 06 February 2024 21:30:19 +0000 (0:00:00.078) 0:01:33.428 ****** included: /WORKDIR/git-bond_options_rewriteyaeol4yf/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_rewriteyaeol4yf/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 06 February 2024 21:30:19 +0000 (0:00:00.039) 0:01:33.468 ****** 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_rewriteyaeol4yf/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 06 February 2024 21:30:20 +0000 (0:00:00.023) 0:01:33.492 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 06 February 2024 21:30:20 +0000 (0:00:00.216) 0:01:33.708 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 06 February 2024 21:30:20 +0000 (0:00:00.023) 0:01:33.732 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020977", "end": "2024-02-06 21:30:20.452172", "rc": 1, "start": "2024-02-06 21:30:20.431195" } 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_rewriteyaeol4yf/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 06 February 2024 21:30:20 +0000 (0:00:00.239) 0:01:33.972 ****** 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_rewriteyaeol4yf/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 06 February 2024 21:30:20 +0000 (0:00:00.024) 0:01:33.996 ****** 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_rewriteyaeol4yf/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 06 February 2024 21:30:20 +0000 (0:00:00.022) 0:01:34.019 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 06 February 2024 21:30:20 +0000 (0:00:00.027) 0:01:34.046 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 06 February 2024 21:30:20 +0000 (0:00:00.024) 0:01:34.071 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/playbooks/tasks/assert_profile_absent.yml:5 Tuesday 06 February 2024 21:30:20 +0000 (0:00:00.023) 0:01:34.094 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/playbooks/tasks/get_NetworkManager_NVR.yml:7 Tuesday 06 February 2024 21:30:20 +0000 (0:00:00.027) 0:01:34.121 ****** ok: [sut] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:01.034106", "end": "2024-02-06 21:30:21.858743", "rc": 0, "start": "2024-02-06 21:30:20.824637" } STDOUT: NetworkManager-1.40.16-14.el8 TASK [Store NetworkManager version] ******************************************** task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/playbooks/tasks/get_NetworkManager_NVR.yml:14 Tuesday 06 February 2024 21:30:21 +0000 (0:00:01.257) 0:01:35.379 ****** ok: [sut] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.40.16-14.el8" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/playbooks/tasks/get_NetworkManager_NVR.yml:18 Tuesday 06 February 2024 21:30:21 +0000 (0:00:00.024) 0:01:35.404 ****** ok: [sut] => { "networkmanager_nvr": "NetworkManager-1.40.16-14.el8" } TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/playbooks/tasks/run_test.yml:42 Tuesday 06 February 2024 21:30:21 +0000 (0:00:00.023) 0:01:35.427 ****** 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_rewriteyaeol4yf/tests/playbooks/tasks/run_test.yml:47 Tuesday 06 February 2024 21:30:21 +0000 (0:00:00.027) 0:01:35.455 ****** 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_rewriteyaeol4yf/tests/playbooks/tasks/run_test.yml:66 Tuesday 06 February 2024 21:30:21 +0000 (0:00:00.025) 0:01:35.480 ****** included: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 06 February 2024 21:30:22 +0000 (0:00:00.045) 0:01:35.525 ****** 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.048701", "end": "2024-02-06 21:30:22.277801", "rc": 0, "start": "2024-02-06 21:30:22.229100" } 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 21:30:22 +0000 (0:00:00.259) 0:01:35.785 ****** =============================================================================== linux-system-roles.network : Configure networking connection profiles --- 2.66s /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:125 linux-system-roles.network : Enable network service --------------------- 2.10s /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:108 linux-system-roles.network : Configure networking connection profiles --- 1.87s /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:125 linux-system-roles.network : Check which services are running ----------- 1.77s /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.74s /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.74s /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.74s /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.74s /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.73s /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.73s /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.73s /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.72s /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.72s /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.72s /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.72s /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.71s /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.70s /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.69s /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Ensure initscripts network file dependency is present --- 1.68s /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:116 linux-system-roles.network : Check which packages are installed --------- 1.62s /WORKDIR/git-bond_options_rewriteyaeol4yf/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. ---^---^---^---^---^---